Sort by

recency

|

7 Discussions

|

  • + 0 comments

    Hi everyone,

    I am working on a test related to POS tagging on the HackerRank through Fresco Play platform(TCS learning paltform). In my code, I need to use the following line:

    import os, import nltk, os.environ['NLTK_DATA'] = os.getcwd() + "/nltk_data", nltk_pos_tags = nltk.pos_tag(words)

    However, when I run this, I get the following error:

    Attempted to load taggers/averaged_perceptron_tagger_eng I have verified that the file averaged_perceptron_tagger.pickle exists in the expected directory. Here are the details:

    Path: /tmp/submission/20250629/05/53/hackerrank-b813a3a4362460f3b4dee7f6c8755415/code/nltk_data/taggers/averaged_perceptron_tagger

    Files in directory: ['averaged_perceptron_tagger.pickle']

    Despite this, the error suggests it is looking for averaged_perceptron_tagger_eng instead of averaged_perceptron_tagger.

    Could someone please help me understand what I am doing wrong or how to fix this issue?

    Thanks in advance!

  • + 0 comments

    With 3+ million users and operations in over 190 countries, WhiteBIT has rapidly grown into a trusted platform, offering top-tier trading infrastructure, seamless API integrations, and personalized support. And I sincerely recommend you to explore WhiteBIT cryptocurrency services for market makers https://institutional.whitebit.com/market-makers . This will really expand your horizons. Through personalized agreements, WhiteBIT offers favorable fee structures and rebates tailored to market makers. The more liquidity you provide, the more you earn — it's that simple.

  • + 0 comments

    The Problem really should explain what tags are expected. I googled "Pen Tree Tagset" and found the "Penn Treebank Tagset", but the tags don't match. E.g., according to the site I found, "VBN" is only for verbs that are a variation of "be", which "caught" most certainly is not.

  • + 0 comments

    The/DT planet/NN Jupiter/NNP and/CC its/PPS moons/NNS are/VBP in/IN effect/NN a/DT minisolar/JJ system/NN ,/, and/CC Jupiter/NNP itself/PRP is/VBZ often/RB called/VBN a/DT star/NN that/IN never/RB caught/VBD fire/NN ./. Using Stanford CoreNLP.But solution is not being accepted why?

  • + 2 comments

    Seems to me like "caught" is a past tense not a past participle. It would be a past participle if for example it was used as "has caught".