public class TermSuite
extends java.lang.Object
Constructor and Description |
---|
TermSuite() |
public static java.lang.String currentVersion()
public static TerminoExtractor terminoExtractor()
public static BilingualAligner bilingualAligner()
public static ExtractorOptions getDefaultExtractorConfig(Lang lang)
public static LanguageService getLanguageService()
public static IndexedCorpus toIndexedCorpus(XMICorpus preprocessedCorpus, int maxSize)
IndexedCorpus
and import a XMICorpus
into it.preprocessedCorpus
- The preprocessed corpus to be importedmaxSize
- The maximun number of terms to keep in memory during importIndexedCorpus
ImporterService
public static void importCorpus(XMICorpus preprocessedCorpus, IndexedCorpus indexedCorpus, int maxSize)
XMICorpus
into an existing IndexedCorpus
.preprocessedCorpus
- The XMICorpus
indexedCorpus
- The IndexedCorpus
maxSize
- The maximun number of terms to keep in memory during importpublic static CorpusService getCorpusService()
public static Preprocessor preprocessor()
public static ImporterService terminologyImporter(IndexedCorpus indexedCorpus, int maxSize)
public static IndexService getIndexService(IndexedCorpus indexedCorpus)
public static TerminologyService getTerminologyService(IndexedCorpus indexedCorpus)
public static com.google.inject.Injector indexedCorpusInjector(IndexedCorpus indexedCorpus)
public static com.google.inject.Injector importerInjector(IndexedCorpus indexedCorpus, int maxSize)
public static TerminologyService toService(IndexedCorpus corpus)
public static TerminologyFilterer terminologyFilterer()
public static TerminologyService getTerminologyService(Terminology sourceTermino)