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

wordbreaker breaks on long line #20

Open
GoogleCodeExporter opened this issue Jun 1, 2015 · 0 comments
Open

wordbreaker breaks on long line #20

GoogleCodeExporter opened this issue Jun 1, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

wordbreaker breaks on long line 
and it is also generally not possible to use dicts bigger than 512 chars.

What steps will reproduce the problem?
1. use a line longer than 512 chars in the dict file (aka wordbreaker-dict.txt)
2. if chat at 511 is not a "space", one gets "bad freqdict line: zero freq"

What is the expected output? 
- program runs
What do you see instead?
- program breaks with "bad freqdict line: zero freq"

What version of the product are you using? 
- development
On what operating system?
- linux
Please provide any additional information below.
- program should support also multi-lines dict files.
- program should read line by line till end of file.

Original issue reported on code.google.com by aab...@gmail.com on 9 Jun 2013 at 10:56

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