Do you know where your variables are? | |
PerlMonks |
Re^3: OT - Hemingway Editor (was: Re^4: How to count the vocabulary of an author?)by choroba (Cardinal) |
on Jun 14, 2021 at 15:35 UTC ( [id://11133851]=note: print w/replies, xml ) | Need Help?? |
Ever tried saying it to an average English speaker? The lack of grammar keeps related phrases closer to each other which helps parsing a lot. For free word order languages, grammar seems to help, but due to homonymy (or homography) you usually don't have a solid foundation to base the grammar on. The most advanced system nowadays are based on Machine Learning, so there's no grammar involved at all, you just need large training data.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|