Learn R Programming

Rtextrankr (version 1.0.0)

co_occurence: Calculate a Jaccard Index between two sentences. Example will be shown in github.

Description

Calculate a Jaccard Index between two sentences. Example will be shown in github.

Usage

co_occurence(sentence1, sentence2)

Arguments

sentence1
The first character string.
sentence2
The second character string.

Value

a Jaccard Index between two sentences by generalized set of noun word.

References

Tan, Pang-Ning; Steinbach, Michael; Kumar, Vipin (2005), Introduction to Data Mining, ISBN 0-321-32136-7.