public abstract class AbstractWiktionary extends Object implements IWiktionary
IWiktionary interface.| Constructor and Description |
|---|
AbstractWiktionary() |
| Modifier and Type | Method and Description |
|---|---|
IWiktionaryIterator<IWiktionaryEntry> |
getAllEntries()
Returns an iterator over all
IWiktionaryEntrys within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryEntry> |
getAllEntries(boolean sortByTitle)
Returns an iterator over all
IWiktionaryEntrys within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryEntry> |
getAllEntries(boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryEntrys within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryEntry> |
getAllEntries(IWiktionaryEntryFilter filter)
Returns an iterator over all
IWiktionaryEntrys within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryEntry> |
getAllEntries(IWiktionaryEntryFilter filter,
boolean sortByTitle)
Returns an iterator over all
IWiktionaryEntrys within
the Wiktionary edition. |
abstract IWiktionaryIterator<IWiktionaryEntry> |
getAllEntries(IWiktionaryEntryFilter filter,
boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryEntrys within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryPage> |
getAllPages()
Returns an iterator over all
IWiktionaryPages within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryPage> |
getAllPages(boolean sortByTitle)
Returns an iterator over all
IWiktionaryPages within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryPage> |
getAllPages(boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryPages within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryPage> |
getAllPages(IWiktionaryPageFilter filter)
Returns an iterator over all
IWiktionaryPages within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryPage> |
getAllPages(IWiktionaryPageFilter filter,
boolean sortByTitle)
Returns an iterator over all
IWiktionaryPages within
the Wiktionary edition. |
abstract IWiktionaryIterator<IWiktionaryPage> |
getAllPages(IWiktionaryPageFilter filter,
boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryPages within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
getAllSenses()
Returns an iterator over all
IWiktionarySenses within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
getAllSenses(boolean sortByTitle)
Returns an iterator over all
IWiktionaryEntrys within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
getAllSenses(boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryEntrys within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
getAllSenses(IWiktionarySenseFilter filter)
Returns an iterator over all
IWiktionarySenses within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
getAllSenses(IWiktionarySenseFilter filter,
boolean sortByTitle)
Returns an iterator over all
IWiktionaryEntrys within
the Wiktionary edition. |
abstract IWiktionaryIterator<IWiktionarySense> |
getAllSenses(IWiktionarySenseFilter filter,
boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryEntrys within
the Wiktionary edition. |
List<IWiktionaryEntry> |
getEntriesForWord(String word)
Returns a list of
IWiktionaryEntrys encoded on a page with
the given title. |
List<IWiktionaryEntry> |
getEntriesForWord(String word,
boolean normalize)
Returns a list of
IWiktionaryEntrys encoded on a page with
the given title. |
List<IWiktionaryEntry> |
getEntriesForWord(String word,
IWiktionaryEntryFilter filter)
Returns a list of
IWiktionaryEntrys encoded on a page with
the given title. |
abstract List<IWiktionaryEntry> |
getEntriesForWord(String word,
IWiktionaryEntryFilter filter,
boolean normalize)
Returns a list of
IWiktionaryEntrys encoded on a page with
the given title. |
List<IWiktionaryPage> |
getPagesForWord(String word,
boolean normalize)
Returns the page with the given title.
|
abstract List<IWiktionaryPage> |
getPagesForWord(String word,
IWiktionaryPageFilter filter,
boolean normalize)
Returns the page with the given title.
|
List<IWiktionarySense> |
getSensesForWord(String word)
Returns a list of
IWiktionarySenses encoded on a page with
the given title. |
List<IWiktionarySense> |
getSensesForWord(String word,
boolean normalize)
Returns a list of
IWiktionarySenses encoded on a page with
the given title. |
List<IWiktionarySense> |
getSensesForWord(String word,
IWiktionarySenseFilter filter)
Returns a list of
IWiktionarySenses encoded on a page with
the given title. |
abstract List<IWiktionarySense> |
getSensesForWord(String word,
IWiktionarySenseFilter filter,
boolean normalize)
Returns a list of
IWiktionarySenses encoded on a page with
the given title. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, isClosedpublic List<IWiktionaryPage> getPagesForWord(String word, boolean normalize)
IWiktionaryfalse for exact matches.getPagesForWord in interface IWiktionarypublic abstract List<IWiktionaryPage> getPagesForWord(String word, IWiktionaryPageFilter filter, boolean normalize)
IWiktionaryIWiktionaryPageFilter, unwanted pages can be ignored.getPagesForWord in interface IWiktionarypublic IWiktionaryIterator<IWiktionaryPage> getAllPages()
IWiktionaryIWiktionaryPages within
the Wiktionary edition. The pages are sorted by their page id.getAllPages in interface IWiktionarypublic IWiktionaryIterator<IWiktionaryPage> getAllPages(boolean sortByTitle)
IWiktionaryIWiktionaryPages within
the Wiktionary edition.getAllPages in interface IWiktionarysortByTitle - if true sort by page title
(case sensitive); otherwise by page id.public IWiktionaryIterator<IWiktionaryPage> getAllPages(boolean sortByTitle, boolean normalize)
IWiktionaryIWiktionaryPages within
the Wiktionary edition.getAllPages in interface IWiktionarysortByTitle - if true sort by page title;
otherwise by page id.normalize - if true sort case insensitive;
otherwise case sensitive (only affects sorting by title).public IWiktionaryIterator<IWiktionaryPage> getAllPages(IWiktionaryPageFilter filter)
IWiktionaryIWiktionaryPages within
the Wiktionary edition. The pages are sorted by their page id.
Using the given IWiktionaryPageFilter, unwanted pages
can be ignored.getAllPages in interface IWiktionarypublic IWiktionaryIterator<IWiktionaryPage> getAllPages(IWiktionaryPageFilter filter, boolean sortByTitle)
IWiktionaryIWiktionaryPages within
the Wiktionary edition. Using the given IWiktionaryPageFilter,
unwanted pages can be ignored.getAllPages in interface IWiktionarysortByTitle - if true sort by page title
(case sensitive); otherwise by page id.public abstract IWiktionaryIterator<IWiktionaryPage> getAllPages(IWiktionaryPageFilter filter, boolean sortByTitle, boolean normalize)
IWiktionaryIWiktionaryPages within
the Wiktionary edition. Using the given IWiktionaryPageFilter,
unwanted pages can be ignored.getAllPages in interface IWiktionarysortByTitle - if true sort by page title;
otherwise by page id.normalize - if true sort case insensitive;
otherwise case sensitive (only affects sorting by title).public List<IWiktionaryEntry> getEntriesForWord(String word)
IWiktionaryIWiktionaryEntrys encoded on a page with
the given title. The method only returns an entry if the page title
matches exactly. Use IWiktionary.getEntriesForWord(String, boolean) for
case insensitive and string-normalized matching.getEntriesForWord in interface IWiktionarypublic List<IWiktionaryEntry> getEntriesForWord(String word, boolean normalize)
IWiktionaryIWiktionaryEntrys encoded on a page with
the given title.getEntriesForWord in interface IWiktionarynormalize - if true, match the page title in a
case insensitive manner.public List<IWiktionaryEntry> getEntriesForWord(String word, IWiktionaryEntryFilter filter)
IWiktionaryIWiktionaryEntrys encoded on a page with
the given title. The method only returns an entry if the page title
matches exactly. Use IWiktionary.getEntriesForWord(String, boolean) for
case insensitive and string-normalized matching. Using the given
IWiktionaryEntryFilter, unwanted entries can be ignored.getEntriesForWord in interface IWiktionarypublic abstract List<IWiktionaryEntry> getEntriesForWord(String word, IWiktionaryEntryFilter filter, boolean normalize)
IWiktionaryIWiktionaryEntrys encoded on a page with
the given title. Using the given IWiktionaryEntryFilter,
unwanted entries can be ignored.getEntriesForWord in interface IWiktionarynormalize - if true, match the page title in a
case insensitive manner.public IWiktionaryIterator<IWiktionaryEntry> getAllEntries()
IWiktionaryIWiktionaryEntrys within
the Wiktionary edition. This is equivalent to iterating over all
pages using IWiktionary.getAllPages() and then
over the page's entries using IWiktionaryPage.getEntries().
The pages are sorted by their page id; the entries by their
index.getAllEntries in interface IWiktionarypublic IWiktionaryIterator<IWiktionaryEntry> getAllEntries(boolean sortByTitle)
IWiktionaryIWiktionaryEntrys within
the Wiktionary edition. This is equivalent to iterating over all
pages using IWiktionary.getAllPages(boolean) and then
over the page's entries using IWiktionaryPage.getEntries().
The pages are sorted according to the method's parameters; the
entries are sorted by their index.getAllEntries in interface IWiktionarysortByTitle - if true sort by page title
(case sensitive); otherwise by page id.public IWiktionaryIterator<IWiktionaryEntry> getAllEntries(boolean sortByTitle, boolean normalize)
IWiktionaryIWiktionaryEntrys within
the Wiktionary edition. This is equivalent to iterating over all
pages using IWiktionary.getAllPages(boolean, boolean)
and then over the page's entries using
IWiktionaryPage.getEntries().
The pages are sorted according to the method's parameters; the
entries are sorted by their index.getAllEntries in interface IWiktionarysortByTitle - if true sort by page title;
otherwise by page id.normalize - if true sort case insensitive;
otherwise case sensitive (only affects sorting by title).public IWiktionaryIterator<IWiktionaryEntry> getAllEntries(IWiktionaryEntryFilter filter)
IWiktionaryIWiktionaryEntrys within
the Wiktionary edition. This is equivalent to iterating over all
pages using IWiktionary.getAllPages() and then
over the page's entries using IWiktionaryPage.getEntries().
The pages are sorted by their page id; the entries by their
index. Using the given IWiktionaryEntryFilter, unwanted
entries can be ignored.getAllEntries in interface IWiktionarypublic IWiktionaryIterator<IWiktionaryEntry> getAllEntries(IWiktionaryEntryFilter filter, boolean sortByTitle)
IWiktionaryIWiktionaryEntrys within
the Wiktionary edition. This is equivalent to iterating over all
pages using IWiktionary.getAllPages(boolean) and then
over the page's entries using IWiktionaryPage.getEntries().
The pages are sorted according to the method's parameters; the
entries are sorted by their index. Using the given
IWiktionaryEntryFilter, unwanted entries can be ignored.getAllEntries in interface IWiktionarysortByTitle - if true sort by page title
(case sensitive); otherwise by page id.public abstract IWiktionaryIterator<IWiktionaryEntry> getAllEntries(IWiktionaryEntryFilter filter, boolean sortByTitle, boolean normalize)
IWiktionaryIWiktionaryEntrys within
the Wiktionary edition. This is equivalent to iterating over all
pages using IWiktionary.getAllPages(boolean, boolean)
and then over the page's entries using
IWiktionaryPage.getEntries().
The pages are sorted according to the method's parameters; the
entries are sorted by their index. Using the given
IWiktionaryEntryFilter, unwanted entries can be ignored.getAllEntries in interface IWiktionarysortByTitle - if true sort by page title;
otherwise by page id.normalize - if true sort case insensitive;
otherwise case sensitive (only affects sorting by title).public List<IWiktionarySense> getSensesForWord(String word)
IWiktionaryIWiktionarySenses encoded on a page with
the given title. The method only returns the senses if the page title
matches exactly. Use IWiktionary.getSensesForWord(String, boolean) for
case insensitive and string-normalized matching.getSensesForWord in interface IWiktionarypublic List<IWiktionarySense> getSensesForWord(String word, boolean normalize)
IWiktionaryIWiktionarySenses encoded on a page with
the given title.getSensesForWord in interface IWiktionarynormalize - if true, match the page title in a
case insensitive manner.public List<IWiktionarySense> getSensesForWord(String word, IWiktionarySenseFilter filter)
IWiktionaryIWiktionarySenses encoded on a page with
the given title. The method only returns the senses if the page title
matches exactly. Use IWiktionary.getSensesForWord(String, boolean) for
case insensitive and string-normalized matching. Using the given
IWiktionarySenseFilter, unwanted word senses can be ignored.getSensesForWord in interface IWiktionarypublic abstract List<IWiktionarySense> getSensesForWord(String word, IWiktionarySenseFilter filter, boolean normalize)
IWiktionaryIWiktionarySenses encoded on a page with
the given title. Using the given IWiktionarySenseFilter,
unwanted word senses can be ignored.getSensesForWord in interface IWiktionarynormalize - if true, match the page title in a
case insensitive manner.public IWiktionaryIterator<IWiktionarySense> getAllSenses()
IWiktionaryIWiktionarySenses within
the Wiktionary edition. This is equivalent to iterating over all
pages using IWiktionary.getAllPages() and then
over the page's entries using IWiktionaryPage.getEntries()
and then over the entry's senses using
IWiktionaryEntry.getSenses().
The pages are sorted by their page id; the entries and senses by
their index.getAllSenses in interface IWiktionarypublic IWiktionaryIterator<IWiktionarySense> getAllSenses(boolean sortByTitle)
IWiktionaryIWiktionaryEntrys within
the Wiktionary edition. This is equivalent to iterating over all
pages using IWiktionary.getAllPages(boolean) and then
over the page's entries using IWiktionaryPage.getEntries()
and then over the entry's senses using
IWiktionaryEntry.getSenses().
The pages are sorted according to the method's parameters; the
entries and senses are sorted by their index.getAllSenses in interface IWiktionarysortByTitle - if true sort by page title
(case sensitive); otherwise by page id.public IWiktionaryIterator<IWiktionarySense> getAllSenses(boolean sortByTitle, boolean normalize)
IWiktionaryIWiktionaryEntrys within
the Wiktionary edition. This is equivalent to iterating over all
pages using IWiktionary.getAllPages(boolean, boolean)
and then over the page's entries using
IWiktionaryPage.getEntries() and then over the entry's
senses using IWiktionaryEntry.getSenses().
The pages are sorted according to the method's parameters; the
entries and senses are sorted by their index.getAllSenses in interface IWiktionarysortByTitle - if true sort by page title;
otherwise by page id.normalize - if true sort case insensitive;
otherwise case sensitive (only affects sorting by title).public IWiktionaryIterator<IWiktionarySense> getAllSenses(IWiktionarySenseFilter filter)
IWiktionaryIWiktionarySenses within
the Wiktionary edition. This is equivalent to iterating over all
pages using IWiktionary.getAllPages() and then
over the page's entries using IWiktionaryPage.getEntries()
and then over the entry's senses using
IWiktionaryEntry.getSenses().
The pages are sorted by their page id; the entries and senses by
their index. Using the given IWiktionarySenseFilter, unwanted
word senses can be ignored.getAllSenses in interface IWiktionarypublic IWiktionaryIterator<IWiktionarySense> getAllSenses(IWiktionarySenseFilter filter, boolean sortByTitle)
IWiktionaryIWiktionaryEntrys within
the Wiktionary edition. This is equivalent to iterating over all
pages using IWiktionary.getAllPages(boolean) and then
over the page's entries using IWiktionaryPage.getEntries()
and then over the entry's senses using
IWiktionaryEntry.getSenses().
The pages are sorted according to the method's parameters; the
entries and senses are sorted by their index. Using the given
IWiktionarySenseFilter, unwanted word senses can be ignored.getAllSenses in interface IWiktionarysortByTitle - if true sort by page title
(case sensitive); otherwise by page id.public abstract IWiktionaryIterator<IWiktionarySense> getAllSenses(IWiktionarySenseFilter filter, boolean sortByTitle, boolean normalize)
IWiktionaryIWiktionaryEntrys within
the Wiktionary edition. This is equivalent to iterating over all
pages using IWiktionary.getAllPages(boolean, boolean)
and then over the page's entries using
IWiktionaryPage.getEntries() and then over the entry's
senses using IWiktionaryEntry.getSenses().
The pages are sorted according to the method's parameters; the
entries and senses are sorted by their index. Using the given
IWiktionarySenseFilter, unwanted word senses can be ignored.getAllSenses in interface IWiktionarysortByTitle - if true sort by page title;
otherwise by page id.normalize - if true sort case insensitive;
otherwise case sensitive (only affects sorting by title).Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.