You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to support matching on patterns of strings / POS tags with expressions similar to NLTK's, for example:
grammar=r""" NP: {<DT|PP\$>?<JJ>*<NN>} # chunk determiner/possessive, adjectives and nouns {<NNP>+} # chunk sequences of proper nouns"""
But with a few changes:
I don't want to use the string representation (this seems like a /great/ place for an eDSL)
I want support for literal strings, literal tokens, and tags.
I'd like to build this on an API that essentially does regex parsing, but by taking a sequence of equality relations across tokens, rather than strict equality. So, instead of expressing the pattern in terms of specific tokens, you can express it in terms of predicates.
The text was updated successfully, but these errors were encountered:
I want to support matching on patterns of strings / POS tags with expressions similar to NLTK's, for example:
But with a few changes:
The text was updated successfully, but these errors were encountered: