Beispiel #1
0
 public LWClassifier(McoModel mcoModel, string prefixFileName, bool _excludeNullValues)
 {
     model             = (MaltLibModel)mcoModel.GetMcoEntryObject(prefixFileName + ".moo");
     featureMap        = (FeatureMap)mcoModel.GetMcoEntryObject(prefixFileName + ".map");
     excludeNullValues = _excludeNullValues;
 }
Beispiel #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public Object getConfigFileEntryObject(String fileName) throws org.maltparser.core.exception.MaltChainedException
        public object getConfigFileEntryObject(string fileName)
        {
            return(mcoModel.GetMcoEntryObject(fileName));
        }