'stopwords' не является экспортируемым объектом из 'namespace: tokenizers' - PullRequest
0 голосов
/ 27 февраля 2019
test_txt = c("i am living in a new apartment in new york city", 
             "new york is the same as new york city", 
             "san francisco is very expensive city", 
             "who claimed that model works?")
it = itoken(test_txt, n_chunks = 1, progressbar = FALSE)
it_phrases = model$transform(it)
it_phrases$nextElem()

it = itoken(txt)
v = create_vocabulary(it, stopwords = tokenizers::stopwords("en"))

Error in is.character(stopwords) : 
  'stopwords' is not an exported object from 'namespace:tokenizers'

Я столкнулся с этой ошибкой и не могу устранить ее самостоятельно.Пожалуйста, помогите с ошибкой.Спасибо

...