给出的句子如下:
'the people are all watching and listening to the bikers on the corner of the road'
'woman on snow skis being pulled by dogs.'
(Actually, the sentences I want to process are captions in MSCOCO datatset)我想要提取句子中的场景/位置词。例如,“路”,“雪”,这里是场景/地点的词。
我试过在stanfordcorenlp,但它只能提取位置名称,而不是一个场景词。
有人能给我一个关于如何提取这些词的线索吗?谢谢。
发布于 2018-10-11 22:05:39
你可以训练你自己的NER模型,也可以尝试找到一个适合你的需求。如果您决定使用第一种方法,官方文档将描述如何做到这一点:https://nlp.stanford.edu/software/crf-faq.shtml#a
真幸运!
https://stackoverflow.com/questions/52762688
复制相似问题