def main(cls, argv): engine = WordNetSynonymEngine(argv[1]) text = "The quick brown fox jumps over the lazy dogs" AnalyzerUtils.displayTokensWithPositions(SynonymAnalyzer(engine), text) text = "\"Oh, we get both kinds - country AND western!\" - B.B." AnalyzerUtils.displayTokensWithPositions(SynonymAnalyzer(engine), text)
def main(cls): text = "The quick brown fox jumps over the lazy dogs" AnalyzerUtils.displayTokensWithPositions(cls.porterAnalyzer, text) print ''