Nothing
commLTP = function(input, mission = 'ws', api_key)
{
addr = 'http://api.ltp-cloud.com/analysis/'
if(mission=='ws')
return_format = 'plain'
else
return_format = 'json'
result = postForm(uri = addr,
style = "post",
'text' = input,
'api_key' = api_key,
'pattern' = mission,
'format' = return_format)
Encoding(result)='UTF-8'
if (return_format!='plain')
{
if (Sys.info()['sysname']=='Windows')
result = iconv(result,'UTF-8','GBK')
return(result)
}
result = parseLTP(result)
result
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.