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()) + "']" ); }
public static string ToText(this SyntaxRoleType syntaxRoleType) { return(syntaxRoleType.ToString()); }