简体   繁体   中英

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

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

You can use .literal property to get the exact text that was recognized as the detected entity. Eg <?@automotive_and_vehicles.literal?> in your example.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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