|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IVerbIndex
A verb index, usually Verbnet.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface edu.mit.jverbnet.util.IHasLifecycle |
|---|
IHasLifecycle.ObjectClosedException |
| Method Summary | |
|---|---|
Set<IMember> |
getMembers(IWordnetKey key)
Returns all members in the index with the specified wordnet key. |
Set<IMember> |
getMembers(String grouping)
Returns all members in the index with the specified grouping. |
IVerbClass |
getRootVerb(String id)
Returns the root verb class with the specified id, or null if no
such verb class can be found in the index. |
IVerbClass |
getVerb(String id)
Returns the verb class with the specified id, or null if no
such verb class can be found in the index. |
IVersion |
getVersion()
The version of the index. |
Iterator<IVerbClass> |
iterator()
Returns an iterator over all verb classes in the index, in the order they are encountered in the data files. |
Iterator<String> |
iteratorGroups()
Returns an iterator over all groupings in the index, in their natural order. |
Iterator<IVerbClass> |
iteratorRoots()
Returns an iterator over all root verb classes in the index, in the order they are encountered in the data files. |
Iterator<IWordnetKey> |
iteratorWordnetKeys()
Returns an iterator over all wordnet keys in the index, in their natural order. |
| Methods inherited from interface edu.mit.jverbnet.util.IHasLifecycle |
|---|
close, isOpen, open |
| Method Detail |
|---|
IVersion getVersion()
IVersion.UNKNOWN.
IVersion.UNKNOWNIVerbClass getVerb(String id)
null if no
such verb class can be found in the index. Ids are usually of the form
'verb-##.#', e.g., 'accompany-51.7'.
id - the id of the class
null if none
NullPointerException - if the specified id is null
IllegalArgumentException - if the specified id is empty or all whitespaceIVerbClass getRootVerb(String id)
null if no
such verb class can be found in the index. Ids are usually of the form
'verb-##.#', e.g., 'accompany-51.7'.
id - the id of the class
null if none
NullPointerException - if the specified id is null
IllegalArgumentException - if the specified id is empty or all whitespaceSet<IMember> getMembers(IWordnetKey key)
null key indicates all members that have no key specified.
key - the key for which members should be retrieved; may be
null
nullSet<IMember> getMembers(String grouping)
null, empty, or all whitespace grouping indicates all
members that have no grouping specified.
grouping - the grouping for which members should be retrieved; may be
null, empty, or all whitespace.
nullIterator<IVerbClass> iterator()
iterator in interface Iterable<IVerbClass>Iterator<IVerbClass> iteratorRoots()
Iterator<IWordnetKey> iteratorWordnetKeys()
Iterator<String> iteratorGroups()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||