nltk.CFG.min_len

CFG.min_len()[source]

Return the right-hand side length of the shortest grammar production.