Class PortugueseContractionUtility
Utility class to handle Portuguese contractions.
Some Corpora splits contractions in its parts, for example, "da" > "de" + "a", but according to the fase of language processing, NER for instance, we can't decide if to split a contraction or not, specially because contractions inside names are not separated, but outside are.
Note: Do not use this class, internal use only!public class PortugueseContractionUtility
- Inheritance
-
PortugueseContractionUtility
- Inherited Members
Fields
Contractions
protected static readonly IDictionary<string, string> Contractions
Field Value
Methods
ToContraction(string, string)
Merges a contraction.
public static string? ToContraction(string left, string right)
Parameters
Returns
- string
the merged contraction, or
nullif the parts do not form one