Skip to content

Python + NLP + Chaos = Python Interpreter Tears 😱😈

License

Notifications You must be signed in to change notification settings

joaopspsps/cursedngrams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

cursedngrams

Usage

./cursedngrams.py N [START...] <WORDS.txt

The program reads a sequence of WORDS from the standard input, breaks WORDS into N-grams, and uses the N-grams to continue the sequence START (if given).

Details:

  • WORDS are split by any whitespace character.
  • If N is less than 2, it is automatically set to 2.

For example:

./cursedngrams.py 3 The ship <moby-dick.txt

Roadmap

  • Make it more cursed.

Development

  • Disable LSP and linter.

See also

License

Apache-2.0 license.

About

Python + NLP + Chaos = Python Interpreter Tears 😱😈

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages