Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Italic definition null #15

Open
chmeyer opened this issue Aug 4, 2015 · 2 comments
Open

Italic definition null #15

chmeyer opened this issue Aug 4, 2015 · 2 comments

Comments

@chmeyer
Copy link
Member

chmeyer commented Aug 4, 2015

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

@chmeyer
Copy link
Member Author

chmeyer commented Aug 4, 2015

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

@chmeyer
Copy link
Member Author

chmeyer commented Aug 4, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant