Closed dishmint closed 2 months ago
It's because the generated pattern doesn't include whitespace.
See also:
In[100]:= FormatLexicalPattern[lp]
Out[100]= "PRONOUNVERBPREPOSITIONDETERMINERNOUNNOUNPUNCTUATION"
Works now
In[13]:= FormatLexicalPattern[lexpatt]
Out[13]= "PRONOUN VERB PREPOSITION DETERMINER grocery store."
Notice that
grocerystore
lost the white space.