예제 #1
0
        //	public void updateFeatureModel() throws MaltChainedException {
        //		featureModel.update();
        //	}

//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void finalizeSentence(org.maltparser.core.syntaxgraph.DependencyStructure dependencyGraph) throws org.maltparser.core.exception.MaltChainedException
        public virtual void finalizeSentence(IDependencyStructure dependencyGraph)
        {
            if (instanceModel != null)
            {
                instanceModel.finalizeSentence(dependencyGraph);
            }
        }
예제 #2
0
        //	public void updateFeatureModel() throws MaltChainedException {
        //		featureModel.update();
        //	}

//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void finalizeSentence(org.maltparser.core.syntaxgraph.DependencyStructure dependencyGraph) throws org.maltparser.core.exception.MaltChainedException
        public virtual void finalizeSentence(IDependencyStructure dependencyGraph)
        {
            if (instanceModel != null)
            {
                instanceModel.finalizeSentence(dependencyGraph);
            }
            if (children != null)
            {
                foreach (DecisionModel child in children.Values)
                {
                    child.finalizeSentence(dependencyGraph);
                }
            }
        }