Skip to content

hetong007/rLTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rLTP

Build Status

An r package for ltp-cloud service. To get a valid API_Key please register on ltp-cloud and visit Dashboard.

Another package of mine for NLP online service interface is pullword.

I borrowed some pieces of codes from tmcn to do encoding conversion.

Installation:

It is on CRAN now. Install the stable version by

install.packages('rLTP')

For up-to-date version please run

require(devtools)
install_github('hetong007/rLTP')

We here publicly provide a token for trying the following example:

require(rLTP)
options(ltp_api_key='l2T9N724koSqEcDJvQHtRGVV2erajgPOgB0FAcLj')
ltp('我告诉你们,我是身经百战的,见得多啦,西方的哪一个国家我没有去过,你们也知道美国的华莱士,比你们不知高到哪里去,我跟他谈笑风生,只是媒体也要提高自己知识水平,识得唔识得呀!你们有一个好,全世界甚么地方,你们跑得最快,但是问来问去的问题呀,too simple,sometimes naive,识得唔识得?')
ltp('根据碳碳键键能能否否定定律一或定律二?')

LTP-Cloud now Also provides official Sample R code.

About

An r package for ltp-cloud service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published