|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.text.linguistic.LexicalDataLoaderDescriptor.AttributeBuilder
public static class LexicalDataLoaderDescriptor.AttributeBuilder
Attribute map builder for the LexicalDataLoader component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.
| Field Summary | |
|---|---|
Map<String,Object> |
map
The attribute map populated by this builder. |
| Constructor Summary | |
|---|---|
protected |
LexicalDataLoaderDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| Method Summary | |
|---|---|
LexicalDataLoaderDescriptor.AttributeBuilder |
reloadResources(boolean value)
Reloads cached stop words and stop labels on every processing request. |
LexicalDataLoaderDescriptor.AttributeBuilder |
resourceLookup(Class<? extends ResourceLookup> clazz)
Lexical resource lookup facade. |
LexicalDataLoaderDescriptor.AttributeBuilder |
resourceLookup(ResourceLookup value)
Lexical resource lookup facade. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Map<String,Object> map
| Constructor Detail |
|---|
protected LexicalDataLoaderDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public LexicalDataLoaderDescriptor.AttributeBuilder reloadResources(boolean value)
This flag is reset to false after successful resource reload to prevent
multiple resource reloads during the same processing cycle.
LexicalDataLoader.reloadResourcespublic LexicalDataLoaderDescriptor.AttributeBuilder resourceLookup(ResourceLookup value)
LexicalDataLoader.resourceLookuppublic LexicalDataLoaderDescriptor.AttributeBuilder resourceLookup(Class<? extends ResourceLookup> clazz)
LexicalDataLoader.resourceLookup
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||