public List <ElementaryProcess> naivGenOSFromClousesTree(List <ClausesTree> tree, ISentence sent) { List <ElementaryProcess> textAsProcess = new List <ElementaryProcess>(); for (int i = 0; i < tree.Count; i++) { ElementaryProcess ep = new ElementaryProcess(tree[i]); SemanticSearchWithProbabilytis search = new SemanticSearchWithProbabilytis(tree[i], sent, i); ep = search.optimazatorsSearch() as ElementaryProcess; textAsProcess.Add(ep); } return(textAsProcess); }
public SemanticSearch(ClausesTree clausesTree, ISentence sent) { this.clausesTree = clausesTree; this.sent = sent; ep = new ElementaryProcess(); }