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

Added Words #23

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Added Words #23

wants to merge 15 commits into from

Conversation

YafahEdelman
Copy link
Contributor

It can now treat words as tokens in addition to chars using the -words command line option. For some reason this uses a huge amount of ram proportional to the size of the vocabulary. I was not able to run it on tinyshakespeare but instead had to run it on the first 150K of tinyshakespeare. A words is defined a sequence of consecutive letters or any one non-letter symbol. The way I did this may not always be pretty (although I think it is reasonably nice) as this was the first lua programming I have ever done.

@YafahEdelman
Copy link
Contributor Author

Finished and working with no bugs found. Ready for merging.

@YafahEdelman
Copy link
Contributor Author

Tests here appear to be causing trouble, I'm not sure why.

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

Successfully merging this pull request may close these issues.

1 participant