Exemple #1
0
 public override string ToString()
 {
     return('\'' + valueOriginal + "'  [" + startIndex + ":" + length + "]  " +
            '\'' + nerInputType.ToString() + "'  " +
            '\'' + ((nerOutputType == NerOutputType.O) ? "-" : nerOutputType.ToString()) + '\''
            );
 }
Exemple #2
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()) + "']"
            );
 }