hanlp.extractWords: Extract key words.

Description Usage Arguments Value Author(s) Examples

Description

A function extract key words from text ,textRank algorithm .

Usage

1
hanlp.extractWords(text = "", size = 10)

Arguments

text

A Chinese sentence in UTF-8 .

size

the number of key words.

Value

a vector of words which have been extracted.

Author(s)

https://github.com/qxde01/RHanLP

Examples

1
2
3
4
## Not run: 
hanlp.extractWords("hello world!")

## End(Not run)

qxde01/RHanLP documentation built on May 13, 2019, 8:39 a.m.