public synchronized String[] getChunks(String[] words, String[] tags, double[] probs) {String[] chunks = chunker.chunk(words, tags);if (probs != null)chunker.probs(probs);return chunks;}
public virtual string[] GetChunks(string[] words, string[] tags, double[] probs){lock (this){string[] chunks = chunker.chunk(words, tags);if (probs != null)chunker.probs(probs);return chunks;}}