| Package | Description |
|---|---|
| org.icij.datashare.function | |
| org.icij.datashare.text | |
| org.icij.datashare.text.indexing | |
| org.icij.datashare.text.nlp |
| Modifier and Type | Field and Description |
|---|---|
static java.util.function.Function<String,Language> |
Functions.parseLanguage |
| Modifier and Type | Method and Description |
|---|---|
Language |
NamedEntity.getExtractorLanguage() |
Language |
Document.getLanguage() |
static Language |
Language.parse(String language) |
static Language |
Language.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Language[] |
Language.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static NamedEntity |
NamedEntity.create(NamedEntity.Category cat,
String mention,
int offset,
String doc,
String rootDoc,
Pipeline.Type extr,
Language extrLang) |
static NamedEntity |
NamedEntity.create(NamedEntity.Category cat,
String mention,
long offset,
String doc,
Pipeline.Type extr,
Language extrLang) |
DocumentBuilder |
DocumentBuilder.with(Language language) |
| Constructor and Description |
|---|
Document(Project project,
Path filePath,
String content,
Language language,
Charset charset,
String mimetype,
Map<String,Object> metadata,
Document.Status status,
HashSet<Pipeline.Type> nerTags,
Document parentDocument,
Long contentLength) |
Document(Project project,
Path filePath,
String content,
Language language,
Charset charset,
String mimetype,
Map<String,Object> metadata,
Document.Status status,
Long contentLength) |
Document(Project project,
Path filePath,
String content,
Language language,
Charset charset,
String mimetype,
Map<String,Object> metadata,
Document.Status status,
Set<Pipeline.Type> nerTags,
Long contentLength) |
Document(Project project,
String id,
Path filePath,
String content,
Language language,
Charset charset,
String mimetype,
Map<String,Object> metadata,
Document.Status status,
Set<Pipeline.Type> nerTags,
Date extractionDate,
String parentDocument,
String rootDocument,
Short extractionLevel,
Long contentLength) |
Document(String id,
Project project,
Path filePath,
String content,
Language language,
Charset charset,
String mimetype,
Map<String,Object> metadata,
Document.Status status,
Set<Pipeline.Type> nerTags,
Long contentLength) |
| Modifier and Type | Method and Description |
|---|---|
Language |
LanguageGuesser.guess(String text) |
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentHashMap<Language,Semaphore> |
AbstractModels.modelLock |
protected Map<Language,T> |
AbstractModels.models |
| Modifier and Type | Method and Description |
|---|---|
Language |
Annotations.getLanguage() |
| Modifier and Type | Method and Description |
|---|---|
abstract Map<Language,Set<NlpStage>> |
AbstractPipeline.supportedStages() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractModels.downloadIfNecessary(Language language) |
T |
AbstractModels.get(Language language) |
Path |
AbstractModels.getModelsBasePath(Language language) |
Path |
AbstractModels.getModelsFilesystemPath(Language language) |
Optional<String> |
Pipeline.getPosTagSet(Language language) |
boolean |
Pipeline.initialize(Language language) |
boolean |
AbstractPipeline.initialize(Language language)
Prepare pipeline run
Check language support for implied stages.
|
boolean |
AbstractModels.isLoaded(Language language) |
protected boolean |
AbstractModels.isPresent(Language language) |
protected abstract T |
AbstractModels.loadModelFile(Language language) |
boolean |
Pipeline.supports(NlpStage stage,
Language language)
Is stage supported for language?
|
boolean |
AbstractPipeline.supports(NlpStage stage,
Language language)
Is stage supported for language?
|
void |
Pipeline.terminate(Language language) |
void |
AbstractPipeline.terminate(Language language)
Post-processing operations
|
void |
AbstractModels.unload(Language language) |
| Constructor and Description |
|---|
Annotations(String documentId,
Pipeline.Type pipelineType,
Language language) |
Copyright © 2020–2021 ICIJ. All rights reserved.