./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:
WORDSare split by any whitespace character.- If
Nis less than 2, it is automatically set to 2.
For example:
./cursedngrams.py 3 The ship <moby-dick.txt
- Make it more cursed.
- Disable LSP and linter.
