我試圖使用斯坦福NLP實現NER(命名實體提取)。 的最終目標是將自由文本轉換爲查詢格式。 我創建了一個自定義詞典和我能夠提取的實體,並建立查詢 people who are from newyork
我將建立查詢 select * from people where region = 'newyork'
但在聲明中被否定 人誰的問題來不是從紐約 如何從這個聲明中提取負面情況,有沒有任何
我剛開始使用NLTK,我認爲我需要完成的任務非常簡單。 我需要解析一些文檔,並提取對某些實體的情緒。例如以下句子的整體情緒: Tea is great. However, I hate coffee.
是負數,但我想提取單個預定義實體的情緒。特別是,在前面的例子中,我想用我的實體('tea', 'coffee')來提供NLTK,並能夠分別提取sentiment('tea')和sentiment
我有一個超過200萬名稱,階段,位置等數據庫/字典。示例數據如下: 「A person who never made a mistake never tried anything new」
「Nelson Mandela」
「United States of America」
「I didn't attend the funeral, but I sent a nice letter