Method AssignClass
AssignClass(String)
Assign a class (with score) to the given text string
Declaration
public virtual ClassificationResult<BytesRef> AssignClass(string inputDocument)
Parameters
Type | Name | Description |
---|---|---|
System.String | inputDocument | a string containing text to be classified |
Returns
Type | Description |
---|---|
ClassificationResult<BytesRef> | a ClassificationResult<T> holding assigned class of type BytesRef and score |