Exemple #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void setDefaultRootEdgeLabels(String rootLabelOption, java.util.SortedMap<String, org.maltparser.core.symbol.SymbolTable> edgeSymbolTables) throws org.maltparser.core.exception.MaltChainedException
        public virtual void SetDefaultRootEdgeLabels(string rootLabelOption, SortedDictionary <string, SymbolTable> edgeSymbolTables)
        {
            if (rootLabels == null)
            {
                rootLabels = new RootLabels();
            }
            rootLabels.setRootLabels(rootLabelOption, edgeSymbolTables);
        }
Exemple #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void setDefaultRootEdgeLabel(org.maltparser.core.symbol.SymbolTable table, String defaultRootSymbol) throws org.maltparser.core.exception.MaltChainedException
        public virtual void SetDefaultRootEdgeLabel(SymbolTable table, string defaultRootSymbol)
        {
            if (rootLabels == null)
            {
                rootLabels = new RootLabels();
            }
            rootLabels.setDefaultRootLabel(table, defaultRootSymbol);
        }