nltk.Production.is_nonlexical

Production.is_nonlexical()[source]

Return True if the right-hand side only contains Nonterminals

Return type:bool