Class |
RiTa
|
Name |
posInline
|
Description |
Takes an string returns a combined string of the form:'The/dt doctor/nn treated/vbd dogs/nns' using lowercased tags from the Penn tag set |
Example |
sentence = "The doctors treated dogs"; pos = RiTa.posInline(sentence);
tokenArray = RiTa.tokenize(sentence); pos = RiTa.posInline(tokenArray);
|
Parameters |
String or String[] | the text(or text array) to tag |
---|
boolean | use simple tags or not (optional, default=false) |
---|
Object (or Map in Java) | optional way to set the option
{boolean} options.simple: use simple tags or not, default=false |
---|
|
Returns |
String | a combined string of words and pos tags |
---|
|
Related |
tmp_related |
Note |
tmp_note |
Syntax |
RiTa.posInline(word); RiTa.posInline(word, simpleTags); RiTa.posInline(word, option);
|
Constants |
tmp_relatedConstants
|
Platform |
Java / JavaScript |
|
|