Class RsLang
java.lang.Object
org.apache.uima.analysis_engine.impl.RsLang
Class used to canonicalize language string
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ConcurrentMap<String,
String> global set for canonical language strings -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static String
getCanonicalLanguageString
(String language)
-
Field Details
-
canonicalLanguageStrings
global set for canonical language strings
-
-
Constructor Details
-
RsLang
public RsLang()
-
-
Method Details
-
getCanonicalLanguageString
- Parameters:
language
-- Returns:
- x-unspecified if lang is null or a canonical version of the lang string
-