Error using Stanford POS Tagger in NLTK Python

后端 未结 1 688
离开以前
离开以前 2020-12-17 17:42

I am trying to use Stanford POS Tagger in NLTK but I am not able to run the example code given here http://www.nltk.org/api/nltk.tag.html#module-nltk.tag.stanford

         


        
1条回答
  •  生来不讨喜
    2020-12-17 18:26

    Note : Just posting it as answer to help in case others face this issue in future

    I finally found out what I did wrong.. it turned out to be a blunder.

    Tagger file name is not 'english-bidirectional-distim.tagger' but 'english-bidirectional-distsim.tagger'.

    0 讨论(0)
提交回复
热议问题