in reply to Problem with a text-parsing regex
Rather than trying to roll your own regex (and depending on what you're trying to do with this next) you probably want to look at CPAN and search for NLP modules (Natural Language Processing) instead. Those are likely going to do what you want WRT removing not-words as well as being able to give you more info about the words/tokens it extracts.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with a text-parsing regex
by ibm1620 (Hermit) on May 07, 2022 at 21:00 UTC | |
by tangent (Parson) on May 07, 2022 at 23:44 UTC |