dkpro-jwktl
dkpro-jwktl copied to clipboard
Italic definition null
Originally reported on Google Code with ID 15
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.
Reported by aronicafrancesco on 2015-04-21 10:28:24
Sorry, it seems that it doesn't parse the span with class use-with-mention.
Reported by aronicafrancesco on 2015-04-21 16:24:53
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/tudarmstadt/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.
Reported by chmeyer.de on 2015-04-22 09:43:00
- Labels added: Component-Parser