public synchronized Span[] splitSentences(String line) {if (sentenceSplitter != null) {return sentenceSplitter.sentPosDetect(line);} else {Span[] shorty = new Span[1];shorty[0] = new Span(0, line.length());return shorty;}}

public synchronized Span [ ] splitSentences ( String line ) { if ( sentenceSplitter != null ) { return sentenceSplitter . sentPosDetect ( line ) ; } else { Span [ ] shorty = new Span [ 1 ] ; shorty [ 0 ] = new Span ( 0 , line . length ( ) ) ; return shorty ; } }
public virtual Span[] SplitSentences(string line){lock (this){if (sentenceSplitter != null){return sentenceSplitter.sentPosDetect(line);}else{Span[] shorty = new Span[1];shorty[0] = new Span(0, line.Length);return shorty;}}}
