Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
623 B

  1. From toot https://mspsocial.net/@earthtopus/110325319793286894
  2. https://federation.p1k3.com/@earthtopus@mspsocial.net/110325319839116047 -
  3. @brennen oh, OK. I want a thesaurus mapping English headwords to
  4. Anglish-only synonyms.
  5. Here (https://www.gutenberg.org/dirs/3/2/0/3202/files/mthesaur.txt) is a 24
  6. MB file comprising a thesaurus of line-initial "$headword" followed by many
  7. substrings of ",$synonym".
  8. I want to preserve all headwords intact while removing all ",$synonym"
  9. substrings that contain Es. I think that's all of it.
  10. The mthesaur.txt here is a 2-line sample of the full file.