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

NoSuchElementException is thrown for some weird sentences #31

Open
asher-stern opened this issue Jun 29, 2017 · 1 comment
Open

NoSuchElementException is thrown for some weird sentences #31

asher-stern opened this issue Jun 29, 2017 · 1 comment

Comments

@asher-stern
Copy link

Exception in thread "main" java.util.NoSuchElementException
	at java.util.StringTokenizer.nextToken(StringTokenizer.java:349)
	at edu.cmu.cs.lti.ark.fn.utils.DataPoint.buildParsesForLine(DataPoint.java:171)
	at edu.cmu.cs.lti.ark.fn.utils.DataPointWithFrameElements.<init>(DataPointWithFrameElements.java:86)
	at edu.cmu.cs.lti.ark.fn.parsing.DataPrep.load(DataPrep.java:176)
	at edu.cmu.cs.lti.ark.fn.parsing.DataPrep.<init>(DataPrep.java:103)
	at edu.cmu.cs.lti.ark.fn.parsing.CreateAlphabet.getDataPoints(CreateAlphabet.java:124)
	at edu.cmu.cs.lti.ark.fn.parsing.CreateAlphabet.run(CreateAlphabet.java:76)
	at edu.cmu.cs.lti.ark.fn.parsing.ParserDriver.identifyArguments(ParserDriver.java:307)
	at edu.cmu.cs.lti.ark.fn.parsing.ParserDriver.runParser(ParserDriver.java:238)
	at edu.cmu.cs.lti.ark.fn.parsing.ParserDriver.main(ParserDriver.java:108)

This happens for the attached file, whose contents are merely:

| origin = 

When running bin/fnParserDriverMalt.sh (specifying xml format)

failure.txt

@asher-stern
Copy link
Author

In version v3.0-alpha-04

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