简体   繁体   English

如何从实体ibm watson对话中获取同义词值

[英]how to get synonym value from entities ibm watson conversation

i have work-space in www.ibmwatsonconversation.com in this work-space i have an entity of automotive_and_vehicles in this entity have a value of vehicle brand this value have many synonyms like opel isuzu bmw ford bently ... (30 synonyms) like it showed in this two pic entities+vehicle brand,synonyms 我在这个工作区的www.ibmwatsonconversation.com中有一个工作区,我在这个实体中有一个Automotive_and_vehicles实体,这个实体具有车辆品牌的价值,这个值有很多同义词,例如opel isuzu bmw ford bent ...(30同义词)像它显示在这两个图片实体+车辆品牌中,同义词

I succeed to get the entity and value in java code but when i want to get the synonym value i can't this is the output script=> script+output pic 我成功获取了Java代码中的实体和值,但是当我想获取同义词值时,我不能输出脚本=> script + output pic

You can use .literal property to get the exact text that was recognized as the detected entity. 您可以使用.literal属性获取被识别为检测到的实体的确切文本。 Eg <?@automotive_and_vehicles.literal?> in your example. 例如,在您的示例中为<?@automotive_and_vehicles.literal?>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM