Uses of Class
edu.upf.taln.dri.lib.model.ext.LangENUM
-
Packages that use LangENUM Package Description edu.upf.taln.dri.lib edu.upf.taln.dri.lib.model edu.upf.taln.dri.lib.model.ext edu.upf.taln.dri.lib.postproc edu.upf.taln.dri.module.parser -
-
Uses of LangENUM in edu.upf.taln.dri.lib
Fields in edu.upf.taln.dri.lib with type parameters of type LangENUM Modifier and Type Field Description protected static Map<LangENUM,MateParser>
Factory. MateParsersLang_Resource
-
Uses of LangENUM in edu.upf.taln.dri.lib.model
Method parameters in edu.upf.taln.dri.lib.model with type arguments of type LangENUM Modifier and Type Method Description static void
DocumentImpl. initDocPointers(ImporterPDFX ref1, ImporterPDFEXT ref2, ImporterGROBID ref3, ImporterJATS ref4, Map<LangENUM,MateParser> ref5, RhetoricalClassifier ref6, TermAnnotator ref7, MetaAnnotator ref8, LanguageDetector ref9, InlineCitationSpotter ref10, CitationLinker ref11, BiblioEntryParser ref12, HeaderAnalyzer ref13, CorefChainBuilder ref14, BabelnetAnnotator ref15, LexRankSummarizer ref16, TitleSimSummarizer ref17, gate.CorpusController ref18, gate.CorpusController ref19, gate.CorpusController ref20, gate.CorpusController ref21, gate.CorpusController ref22, gate.CorpusController ref23, gate.CorpusController ref24)
-
Uses of LangENUM in edu.upf.taln.dri.lib.model.ext
Methods in edu.upf.taln.dri.lib.model.ext that return LangENUM Modifier and Type Method Description LangENUM
Section. getLanguage()
Get the language of the section titleLangENUM
SectionImpl. getLanguage()
LangENUM
Sentence. getLanguage()
Get the language of the sentenceLangENUM
SentenceImpl. getLanguage()
static LangENUM
LangENUM. valueOf(String name)
Returns the enum constant of this type with the specified name.static LangENUM[]
LangENUM. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in edu.upf.taln.dri.lib.model.ext that return types with arguments of type LangENUM Modifier and Type Method Description Map<LangENUM,List<String>>
Header. getKeywords()
Get the language specific list of keywordsMap<LangENUM,List<String>>
HeaderImpl. getKeywords()
Map<LangENUM,String>
Header. getTitles()
The titles of the paper (each one with its own language) Useful in case of papers with multiple titles in multiple languages.Map<LangENUM,String>
HeaderImpl. getTitles()
Methods in edu.upf.taln.dri.lib.model.ext with parameters of type LangENUM Modifier and Type Method Description void
HeaderImpl. addTitle(LangENUM language, String title)
void
HeaderImpl. setKeyword(LangENUM lang, List<String> keywords)
void
SectionImpl. setLanguage(LangENUM languge)
void
SentenceImpl. setLanguage(LangENUM languge)
-
Uses of LangENUM in edu.upf.taln.dri.lib.postproc
Fields in edu.upf.taln.dri.lib.postproc with type parameters of type LangENUM Modifier and Type Field Description protected static Map<LangENUM,MateParser>
SpanishParser. MateParsersLang_Resource
-
Uses of LangENUM in edu.upf.taln.dri.module.parser
Method parameters in edu.upf.taln.dri.module.parser with type arguments of type LangENUM Modifier and Type Method Description static void
MateParser. languageAwareAnnotationParsing(boolean isLangAware, Map<LangENUM,MateParser> parsersLangMap, gate.Document doc, gate.Annotation sentenceAnn, String sentAnnSet, String sentAnnType, String tokenAnnSet, String tokenAnnType)
static void
MateParser. languageAwareAnnotationParsing(boolean isLangAware, Map<LangENUM,MateParser> parsersLangMap, gate.Document doc, List<gate.Annotation> sentenceAnnList, String sentAnnSet, String sentAnnType, String tokenAnnSet, String tokenAnnType)
Given a map of parsers instances for different languages, determine the majority language from the list of sentence annotations and parse all the sentence annotations by means of the parser for that language.
-