本文介绍了Java Stanford NLP:部分语音标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Stanford NLP,演示,提供如下输出:

The Stanford NLP, demo'd here, gives an output like this:

Colorless/JJ green/JJ ideas/NNS sleep/VBP furiously/RB ./.

语音标签的含义是什么?我无法找到正式名单。它是斯坦福自己的系统,还是使用通用标签? (例如,什么是 JJ ?)

What do the Part of Speech tags mean? I am unable to find an official list. Is it Stanford's own system, or are they using universal tags? (What is JJ, for instance?)

此外,当我在翻译句子时,寻找名词例如,我最终做了一些事情,比如查看标签 .contains('N')。这感觉很弱。有没有更好的方法以编程方式搜索某个词性?

Also, when I am iterating through the sentences, looking for nouns, for instance, I end up doing something like checking to see if the tag .contains('N'). This feels pretty weak. Is there a better way to programmatically search for a certain part of speech?

推荐答案

。请查看 ps。

JJ是形容词。 NNS是名词,复数。 VBP是动词现在时态。 RB是副词。

JJ is adjective. NNS is noun, plural. VBP is verb present tense. RB is adverb.

这是英语。对于中国人来说,它是宾夕法尼亚中国树库。而对于德语来说,它是NEGRA语料库。

That's for english. For chinese, it's the Penn Chinese Treebank. And for german it's the NEGRA corpus.


  1. CC协调连接

  2. CD基数

  3. DT确定者

  4. EX存在于那里

  5. FW外来词

  6. IN介词或从属连词

  7. JJ形容词

  8. JJR形容词,比较

  9. JJS形容词,最高级

  10. LS列表项目标记

  11. MD模态

  12. NN名词,单数或质量

  13. NNS名词,复数

  14. NNP专有名词,单数

  15. NNPS专有名词,复数

  16. PDT Predeterminer

  17. POS Possessive结束

  18. PRP人称代词

  19. PRP $占有代词

  20. RB副词

  21. RBR副词,比较

  22. RBS副词,最高级

  23. RP粒子

  24. SYM符号

  25. TO

  26. UH Interjection

  27. VB Verb,基本形式

  28. VBD动词,过去时

  29. VBG动词,动名词或现在分词

  30. VBN动词,过去分词

  31. VBP动词,非第三人称单数礼物

  32. VBZ Verb,第三人称单数礼物

  33. WDT Whdeterminer

  34. WP Whpronoun

  35. WP $ Possessive whpronoun

  36. WRB Whadverb

  1. CC Coordinating conjunction
  2. CD Cardinal number
  3. DT Determiner
  4. EX Existential there
  5. FW Foreign word
  6. IN Preposition or subordinating conjunction
  7. JJ Adjective
  8. JJR Adjective, comparative
  9. JJS Adjective, superlative
  10. LS List item marker
  11. MD Modal
  12. NN Noun, singular or mass
  13. NNS Noun, plural
  14. NNP Proper noun, singular
  15. NNPS Proper noun, plural
  16. PDT Predeterminer
  17. POS Possessive ending
  18. PRP Personal pronoun
  19. PRP$ Possessive pronoun
  20. RB Adverb
  21. RBR Adverb, comparative
  22. RBS Adverb, superlative
  23. RP Particle
  24. SYM Symbol
  25. TO to
  26. UH Interjection
  27. VB Verb, base form
  28. VBD Verb, past tense
  29. VBG Verb, gerund or present participle
  30. VBN Verb, past participle
  31. VBP Verb, non­3rd person singular present
  32. VBZ Verb, 3rd person singular present
  33. WDT Wh­determiner
  34. WP Wh­pronoun
  35. WP$ Possessive wh­pronoun
  36. WRB Wh­adverb


这篇关于Java Stanford NLP:部分语音标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 22:25