Class Language
- Namespace
- NOpenNLP.Tools.Langdetect
- Assembly
- NOpenNLP.Tools.dll
Class for holding the document language and its confidence.
public class Language
- Inheritance
-
Language
- Inherited Members
Constructors
Language(string, double)
Class for holding the document language and its confidence.
public Language(string lang, double confidence = 0)
Parameters
Properties
Confidence
public double Confidence { get; }
Property Value
Lang
public string Lang { get; }
Property Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.