(self, filename)
Load the grammar tables from a pickle file.
Load the grammar tables from a pickle file.
Load the grammar tables from a pickle file .
def load(self, filename):
        """Load the grammar tables from a pickle file."""
        with open(filename, "rb") as f:
            d = pickle.load(f)
        self.__dict__.update(d)
def load ( self , filename ) : with open ( filename , "rb" ) as f : d = pickle . load ( f ) self . __dict__ . update ( d )