3 ms·
> Computers are not smart enough yet to understand why "Lolita, light of my life, fire of my loins. My sin, my soul. Lo-lee-ta: the tip of the tongue taking a t
by syllogism 13y ago
> Computers are not smart enough yet to understand why "Lolita, light of my life, fire of my loins. My sin, my soul. Lo-lee-ta: the tip of the tongue taking a trip of three steps down the palate to tap, at three, on the teeth. Lo. Lee. Ta." is a complete, perfect paragraph. It doesn't have a verb and it looks like Lola is misspelled multiple times, so it doesn't pass the subset of grammar rules set up in the backend. But the meaning, the essence of the paragraph is clear.
Eh, this isn't so infeasible. Any wide-coverage, statistical grammar will have a TOP --> NP production, as well as the usual TOP --> S. i.e. the grammar must accept NP-only sentences; they're too common to reject as mistakes.
I think it's reasonable to have a linter that throws a warning for that sort of sentence though. By all means dismiss them. But it can help you catch things you didn't intend.