### Note: Can not display Chinese character here.
words = "hello world"
test1 = worker()
test1 <= words
test <= "./temp.txt"
engine2 = worker("hmm")
engine2 <= "./temp.txt"
engine2$write = T
engine2 <= "./temp.txt"
engine3 = worker(type = "mix", dict = "dict_path",symbol = T)
engine3 <= "./temp.txt"
### Keyword Extraction
keys = worker("keywords", topn = 1)
keys <= words
### Speech Tagging
tagger = worker("tag")
tagger <= words
### Simhash
simhasher = worker("simhash", topn = 1)
simhasher <= words
distance("hello world" , "hello world!" , simhasher)
show_dictpath()
Run the code above in your browser using DataLab