:exclamation: This is a read-only mirror of the CRAN R package repository. udpipe — Tokenization, Parts of Speech Tagging, Lemmatization and Dependency Parsing with the 'UDPipe' 'NLP' Toolkit. Homepage: https://bnosac.github.io/udpipe/en/index.html, https://github.com/bnosac/udpipe
I tried with many regex, even as simple as just pattern = "DTJJ" but none works. It seems the regex option does not work.
I have also tested that regex works on the machine (an ubuntu server) by checking out the grep family of commands in R. So regex does not work in the udipe function only,
I am running side by side the same code, same data on two machines.
One is on udpipe 0.4 and the other on udpipe 0.5 version.
The
keywords_phrases()
function is broken on 0.5 if we useis_regex=T
Consider the sample example in your help document.
The above should work in both 0.4 & 0.5.
Now consider the same example but with the function executed with
is_regex=T
I tried with many regex, even as simple as just
pattern = "DTJJ"
but none works. It seems the regex option does not work.I have also tested that regex works on the machine (an ubuntu server) by checking out the
grep
family of commands in R. So regex does not work in the udipe function only,