示例#1
0
def kimmo_chart_parse(sentence, grammar, kimmo):
    tokens = list(wordpunct(sentence))
    demo = ChartDemo(grammar, tokens, initfunc=chart_kimmo(kimmo))
    demo.mainloop()
示例#2
0
def kimmo_chart_parse(sentence, grammar, kimmo):
    tokens = list(wordpunct(sentence))
    demo = ChartDemo(grammar, tokens, initfunc=chart_kimmo(kimmo))
    demo.mainloop()
示例#3
0
def tagged_chart_parse(sentence, grammar, tagger):
    tokens = list(wordpunct(sentence))
    demo = ChartDemo(grammar, tokens, initfunc=chart_tagger(tagger))
    demo.mainloop()
示例#4
0
def tagged_chart_parse(sentence, grammar, tagger):
    tokens = list(wordpunct(sentence))
    demo = ChartDemo(grammar, tokens, initfunc=chart_tagger(tagger))
    demo.mainloop()