from extractor import GrammarExtractor