Just another Perl shrine | |
PerlMonks |
Re: Problem with a text-parsing regexby Fletch (Bishop) |
on May 07, 2022 at 20:05 UTC ( [id://11143650]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|