gpt4 book ai didi

nlp - Ruta 中的字符串连接

转载 作者:行者123 更新时间:2023-12-04 13:19:08 24 4
gpt4 key购买 nike

有人知道我在 Ruta 中的字符串连接有什么问题吗?

    FOREACH (d) IngredientConcept{} {    d{->CREATE(Entity, "label"="Drug", "value"= d.conceptID + "_" + d.dictCanon)};    }

Caused by: org.apache.uima.ruta.extensions.RutaParseRuntimeException: Error in Anonymous, line 28, "+": expected RPAREN, but found PLUS

感谢您的帮助。菲利普

最佳答案

你试过这个吗: "value"= ""+ d.conceptID + "_"+ d.dictCanon

关于nlp - Ruta 中的字符串连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56161904/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com