我在 Demos | Demo 里 parse 以下一句:
Leeyay made a whooshing, breathy sound that I thought meant they were either frustrated or sad. “Yes,” they agreed.
结果如下:
不知道为什么前半句没有显示 lemma。
我在本地尝试 RESTful APIs,print(HanLP("Leeyay made a whooshing, breathy sound that I thought meant they were either frustrated or sad. “Yes,” they agreed."))
执行结果的 “lem” 部分摘录如下:
"lem": [
["leeyay", "made", "a", "whooshing", ",", "breathy", "sound", "that", "i", "thought", "meant", "they", "be", "either", "frustrated", "or", "sad", "."],
["“", "yes", ",", "”", "they", "agreed", "."]
],
几乎都错了。