|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.livescribe.icr.Resource
com.livescribe.icr.LKDynamicResource
public abstract class LKDynamicResource
A Linguistic Knowledge resource is used to enable the recognition of a set of words. This is a dynamic version of they type of resource, where words can be added or removed at runtime. This resource needs to be added to the ICR context to be used. It is recommended that dynamic lexicons be limited to about 1000 entries for optimal performance.
Note: "Words" can include spaces, for example "United States" can be one word.
ICRContext.addResource(Resource),
ICRContext.addResourceSet(Resource[])| Constructor Summary | |
|---|---|
protected |
LKDynamicResource()
Default constructor. |
| Method Summary | |
|---|---|
abstract boolean |
addWord(String word)
Add the specified string to this dynamic resource. |
abstract boolean |
removeWord(String word)
Remove the specified String from the DynamicResource. |
| Methods inherited from class com.livescribe.icr.Resource |
|---|
getURI |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected LKDynamicResource()
| Method Detail |
|---|
public abstract boolean addWord(String word)
word - add this string to the resource
false if the word has already been added and
true otherwise.public abstract boolean removeWord(String word)
word - The String to remove from the DynamicResource.
false if the word did not exist and
true otherwise.
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||