
Ricardo F. answered 06/10/21
Senior Software Engineer, 30+ years teaching and coding
Yes, Perl is really good to process text and natural language, the Perl Regex, for example. I can say it's better for custom solutions.
See here the Perl module Lingua::StanfordCoreNLP, binding to the Stanford NLP, original in Java:
https://metacpan.org/pod/Lingua::StanfordCoreNLP
You will find several modules on CPAN, for NLP, implementing bindings, and API clients to NLP services (IBM, Google, etc):
https://metacpan.org/search?size=20&q=nlp.
Or try the Lingua modules:
https://metacpan.org/search?q=lingua
Enjoy!