public synchronized Span[] getTerms(String sentence) {if (tokenizer == null) {Span[] span1 = new Span[1];span1[0] = new Span(0, sentence.length());return span1;}return tokenizer.tokenizePos(sentence);}

public synchronized Span [ ] getTerms ( String sentence ) { if ( tokenizer == null ) { Span [ ] span1 = new Span [ 1 ] ; span1 [ 0 ] = new Span ( 0 , sentence . length ( ) ) ; return span1 ; } return tokenizer . tokenizePos ( sentence ) ; }
public virtual Span[] GetTerms(string sentence){lock (this){if (tokenizer == null){Span[] span1 = new Span[1];span1[0] = new Span(0, sentence.Length);return span1;}return tokenizer.tokenizePos(sentence);}}
