unDocUMeantIt / koRpus.lang.en

R package adding support for English to the koRpus package
GNU General Public License v3.0
0 stars 0 forks source link

Error when trying to set/detect language (English) #2

Closed kellykendro closed 1 year ago

kellykendro commented 1 year ago

Due to these issues, I can't move forward with the analysis. My original code, which loaded koRpus, had this line:

hdd <- HDD(text)

which resulted in this error message:

Error: No language specified!

I then loaded koRpus.lang.en and attempted the same line which resulted in this error message:

Error in HDD(text) : could not find function "HDD"

The same error regarding HDD also occurred when I tried the following lines:

koRpus::hdd <- HDD(text)

koRpus.lang.en::hdd <- HDD(text)

I was also unable to set the language manually using:

setCorpusLanguage("en")

hdd <- HDD(text, lang="en")

unDocUMeantIt commented 1 year ago

i can't replicate the issue. could you please post a complete reproduceable portion of code and not just the line that fails with an error?

some hints:

kellykendro commented 1 year ago

Thank you! I found the issue; it was with TreeTagger.