public class PortugueseContractionUtility extends Object
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!
Modifier and Type | Field and Description |
---|---|
protected static Map<String,String> |
CONTRACTIONS |
Constructor and Description |
---|
PortugueseContractionUtility() |
Modifier and Type | Method and Description |
---|---|
static String |
toContraction(String left,
String right)
Merges a contraction
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.