inarahd / jwktl

Automatically exported from code.google.com/p/jwktl
0 stars 0 forks source link

Italic definition null #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.entries = dict.getEntriesForWord("the", filter, true);
2.entry.getSenses()
3.sense.getGloss().getPlainText()

What is the expected output? 
Definite grammatical article that implies necessarily that an entity it 
articulates is presupposed; something already mentioned, or completely 
specified later in that same sentence, or assumed already completely specified. 

What do you see instead?
null

What version of the product are you using? On what operating system?
1.0.1, OsX 10.9..5

Please provide any additional information below.
It seems that the italic font is not parsed.

Original issue reported on code.google.com by aronicaf...@gmail.com on 21 Apr 2015 at 10:28

GoogleCodeExporter commented 9 years ago
Sorry, it seems that it doesn't parse the span with class use-with-mention.

Original comment by aronicaf...@gmail.com on 21 Apr 2015 at 4:24

GoogleCodeExporter commented 9 years ago
You can try calling getGloss().getText() which should return the original text 
containing all wiki markup, see 
https://code.google.com/p/jwktl/source/browse/trunk/jwktl/src/main/java/de/tudar
mstadt/ukp/jwktl/api/IWikiString.java for documentation. Note that this could, 
unfortunately, still contain errors in cases when the format differs from what 
the automatic extractor expects to find. If you are interested in developing a 
fix, we're happy to integrate it.

Original comment by chmeyer.de on 22 Apr 2015 at 9:43