Learn R Programming

jiebaR (version 0.11)

<=.simhash: Simhash symbol

Description

Simhash symbol to compute simhash.

Usage

# S3 method for simhash
<=(jiebar, code)

# S3 method for simhash [(jiebar, code)

Arguments

jiebar

jiebaR Worker.

code

A Chinese sentence or the path of a text file.

Examples

Run this code
# NOT RUN {
words = "hello world"
test1 = worker("simhash",topn=1)
test1 <= words
# }

Run the code above in your browser using DataLab