nltk.SteppingRecursiveDescentParser.match¶
-
SteppingRecursiveDescentParser.
match
()[source]¶ Match the first element of the frontier. In particular, if the first element of the frontier has the same type as the next text token, then substitute the text token into the tree.
Returns: The token matched, if a match operation was performed. If no match was performed, return None Return type: str or None