Reference

Class

RiString

Name

pos

Description Returns an array of part-of-speech tags (from the PENN tag set), one per word, using RiTa.tokenize() and RiTa.getPosTags()
Syntax
pos();
Returns
String[]strings of pos, one per word
Example
myRiString = new RiString("He ate the apple."); 
myRiString.pos(); // returns -> prp vbd dt nn .
Platform Java / Javascript