To read Context Free Grammars we can use
nltk.CFG.fromstring(""" S-> NP VP`... """)
But it can't read a feature based grammar which is like?
S -> NP[NUM=?n] VP[NUM=?n]
So how to read feature based grammar from a string without actually having to save it in a fcfg file to load it later?