org.allenai.nlpstack.parse.poly.polyparser
Counts the number of tokens in a parse source (not including nexus tokens).
Counts the number of tokens in a parse source (not including nexus tokens).
the parse source
true if you don't want to count punctutation tokens (i.e. tokens whose .cpos property is ".")
the total number of tokens in the parse source