summaryrefslogtreecommitdiffstats
path: root/gpt_adventure.py
diff options
context:
space:
mode:
authorRose Hogenson <rhogenson@posteo.net>2022-02-15 06:22:00 -0800
committerRose Hogenson <rhogenson@posteo.net>2022-02-15 06:22:00 -0800
commit87cbdc4ec89fa8d54ab3123449c6397fe235f29c (patch)
treeeb9b443a32767cc27ced1c080cda92b5e61cf309 /gpt_adventure.py
parentFormat with black. (diff)
downloadgpt-adventure-87cbdc4ec89fa8d54ab3123449c6397fe235f29c.tar.zst
Use a naive regexp to strip extra output.
The sentence tokenizer wasn't correct because not all sentences end in periods. The current regexp doesn't handle punctuation inside words such as apostrophes or abbreviations, but we're trying it. Maybe a tokenizer would be better?
Diffstat (limited to 'gpt_adventure.py')
0 files changed, 0 insertions, 0 deletions