I am trying to fit a model to dfm I created using quanteda. I am getting the following error. Any ideas??
tModel <- textmodel(udfm1,model = "NB", smooth=1)
Error in textmodel(udfm1, model = "NB", smooth = 1) :
model NB not implemented.
p.s. I am creating a model to predict the next word for mobile application. I only know Naive Bayes and am not familiar with the other models in this package. So feel free to recommend.