bnosac / crfsuite

Labelling Sequential Data in Natural Language Processing with R - using CRFsuite
Other
62 stars 12 forks source link

typo #17

Open jwijffels opened 2 years ago

jwijffels commented 2 years ago

https://github.com/bnosac/crfsuite/blob/master/vignettes/crfsuite-nlp.Rmd#L98 should be x <- x[, token_next := txt_sprintf("token[w+1]=%s", token_next), by = list(doc_id)] instead of x <- x[, token_next := txt_sprintf("token[w-1]=%s", token_next), by = list(doc_id)]