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

Multithread Exception #40

Open
weidler opened this issue Sep 26, 2016 · 0 comments
Open

Multithread Exception #40

weidler opened this issue Sep 26, 2016 · 0 comments

Comments

@weidler
Copy link

weidler commented Sep 26, 2016

Hi,
when running the Parser with a large inputfile of ~171000 sentences, i get some of these exceptions:

Exception in thread "pool-1-thread-4" java.lang.ClassCastException

Exception in thread "pool-1-thread-2" java.lang.ClassCastException: edu.uw.easysrl.semantics.SkolemTerm cannot be cast to edu.uw.easysrl.semantics.Sentence

...

Is this skipping a sentence? The Parser doesnt stop with the Exception, but it would be very unfortunate if it skips sentences as i have to have the corpus sentences in the same order as the output of the parser. If it is skipping, can I do anything to prevent this exception?

Thanks for the great tool btw!

EDIT: Its definitly skipping sentences :/

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

No branches or pull requests

1 participant