gkunter / coquery

Coquery is a free corpus query tool for linguists, lexicographers, translators, and anybody who wishes to search and analyse a text corpus.
GNU General Public License v3.0
18 stars 4 forks source link

Context viewer sometimes messes up tags #57

Closed gkunter closed 8 years ago

gkunter commented 9 years ago

Originally reported by: gkunter (Bitbucket: gkunter, GitHub: gkunter)


PROBLEM: The context viewer sometimes messes up the tags. For example, in the BNC when displaying the first hit for the query opium poppies with a context size of 19 words, the following output is produced:

#!xml
<None>other by rugged mountain ranges of crystalline rocks, sub-tropical crops such as rice, tobacco, cotton and <b> opium </b> <b> poppies </b> are grown. Total rainfall is low, with many places receiving under 500 mm (20 in)

Other context sizes work okay.


gkunter commented 9 years ago

Original comment by gkunter (Bitbucket: gkunter, GitHub: gkunter):


Fix Issue #57 (caused by tag elements that are unsupported, but were still processed)