Given a set of features and properties, the parser pool should either return a parser from an internal pool or create and store a new parser instance if one does not exist.
假定有一组特性和性质,解析器池应该从内部池中返回一个解析器,如果内部池中没有解析器,那么解析器池应该创建并保存一个新的解析器实例。
Even beyond top-down and shift-reduce parser, NLTK also offers "chart parsers" that create partial hypotheses that a given sequence can be continued to fulfill a rule.
甚至,除了top - down和shift - reduce解析器以外,NLTK还提供了“chart解析器”,它可以创建部分假定,这样一个给定的序列就可以继而完成一个规则。
This file name is given to the parser for processing.
该文件名交给语法分析器进行处理。
应用推荐