diff options
| author | Rose Hogenson <rhogenson@posteo.net> | 2022-02-15 06:22:00 -0800 |
|---|---|---|
| committer | Rose Hogenson <rhogenson@posteo.net> | 2022-02-15 06:22:00 -0800 |
| commit | 87cbdc4ec89fa8d54ab3123449c6397fe235f29c (patch) | |
| tree | eb9b443a32767cc27ced1c080cda92b5e61cf309 /gpt_adventure.py | |
| parent | Format with black. (diff) | |
| download | gpt-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
