Ejemplo n.º 1
0
 public override string ToString()
 {
     return(
         ((Parent != null) ? ('\'' + NerOutputType.ToString() + '\'') : "ROOT") +
         ", transitions(descendants): " + Transitions.Length + ", ngrams: " + Ngrams.Count
         );
 }
Ejemplo n.º 2
0
 public override string ToString()
 {
     return('\'' + valueOriginal + "'  [" + startIndex + ":" + length + "]  " +
            '\'' + nerInputType.ToString() + "'  " +
            '\'' + ((nerOutputType == NerOutputType.O) ? "-" : nerOutputType.ToString()) + '\''
            );
 }
Ejemplo n.º 3
0
 public override string ToString()
 {
     return('\'' + valueUpper + " (" + valueOriginal + ")', [" + startIndex + ":" + length + "], " +
            "N:['" + nerInputType.ToString() + "'  " +
            '\'' + ((nerOutputType == NerOutputType.O) ? "-" : nerOutputType.ToString()) + '\'' +
            ((NerNext != null) ? " {-chain-}" : string.Empty) + "], " +
            "P:['" + posTaggerInputType.ToString() + "'  " +
            '\'' + ((posTaggerOutputType == PosTaggerOutputType.Other) ? "-" : posTaggerOutputType.ToString()) + '\'' +
            ((posTaggerExtraWordType != PosTaggerExtraWordType.__DEFAULT__) ? (" (is-" + posTaggerExtraWordType.ToString().ToLowerInvariant() + ')') : string.Empty) + "], " +
            "M:" + morphology.ToString() +
            ", " +
            "S:['" + ((syntaxRoleType == SyntaxRoleType.Other) ? "-" : syntaxRoleType.ToString()) + "']"
            );
 }
Ejemplo n.º 4
0
 public override string ToString()
 {
     return(((Parent != null) ? ('\'' + NerOutputType.ToString() + '\'') : "ROOT") +
            ", transitions(descendants): " + ((_TransDict != null) ? _TransDict.Count : 0) + ", ngrams: " + ((_Ngrams != null) ? _Ngrams.Count : 0)
            );
 }