public List<SegToken> process(String sentence) {SegGraph segGraph = createSegGraph(sentence);BiSegGraph biSegGraph = new BiSegGraph(segGraph);List<SegToken> shortPath = biSegGraph.getShortPath();return shortPath;}
public virtual IList<SegToken> Process(string sentence){SegGraph segGraph = CreateSegGraph(sentence);BiSegGraph biSegGraph = new BiSegGraph(segGraph);IList<SegToken> shortPath = biSegGraph.GetShortPath();return shortPath;}