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
IWiktionaryEntry s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryEntry> |
getAllEntries(boolean sortByTitle)
Returns an iterator over all
IWiktionaryEntry s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryEntry> |
getAllEntries(boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryEntry s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryEntry> |
getAllEntries(IWiktionaryEntryFilter filter)
Returns an iterator over all
IWiktionaryEntry s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryEntry> |
getAllEntries(IWiktionaryEntryFilter filter,
boolean sortByTitle)
Returns an iterator over all
IWiktionaryEntry s within
the Wiktionary edition. |
abstract IWiktionaryIterator<IWiktionaryEntry> |
getAllEntries(IWiktionaryEntryFilter filter,
boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryEntry s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryPage> |
getAllPages()
Returns an iterator over all
IWiktionaryPage s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryPage> |
getAllPages(boolean sortByTitle)
Returns an iterator over all
IWiktionaryPage s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryPage> |
getAllPages(boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryPage s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryPage> |
getAllPages(IWiktionaryPageFilter filter)
Returns an iterator over all
IWiktionaryPage s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionaryPage> |
getAllPages(IWiktionaryPageFilter filter,
boolean sortByTitle)
Returns an iterator over all
IWiktionaryPage s within
the Wiktionary edition. |
abstract IWiktionaryIterator<IWiktionaryPage> |
getAllPages(IWiktionaryPageFilter filter,
boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryPage s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
getAllSenses()
Returns an iterator over all
IWiktionarySense s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
getAllSenses(boolean sortByTitle)
Returns an iterator over all
IWiktionaryEntry s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
getAllSenses(boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryEntry s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
getAllSenses(IWiktionarySenseFilter filter)
Returns an iterator over all
IWiktionarySense s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
getAllSenses(IWiktionarySenseFilter filter,
boolean sortByTitle)
Returns an iterator over all
IWiktionaryEntry s within
the Wiktionary edition. |
abstract IWiktionaryIterator<IWiktionarySense> |
getAllSenses(IWiktionarySenseFilter filter,
boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryEntry s within
the Wiktionary edition. |
List<IWiktionaryEntry> |
getEntriesForWord(String word)
Returns a list of
IWiktionaryEntry s encoded on a page with
the given title. |
List<IWiktionaryEntry> |
getEntriesForWord(String word,
boolean normalize)
Returns a list of
IWiktionaryEntry s encoded on a page with
the given title. |
List<IWiktionaryEntry> |
getEntriesForWord(String word,
IWiktionaryEntryFilter filter)
Returns a list of
IWiktionaryEntry s encoded on a page with
the given title. |
abstract List<IWiktionaryEntry> |
getEntriesForWord(String word,
IWiktionaryEntryFilter filter,
boolean normalize)
Returns a list of
IWiktionaryEntry s 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
IWiktionarySense s encoded on a page with
the given title. |
List<IWiktionarySense> |
getSensesForWord(String word,
boolean normalize)
Returns a list of
IWiktionarySense s encoded on a page with
the given title. |
List<IWiktionarySense> |
getSensesForWord(String word,
IWiktionarySenseFilter filter)
Returns a list of
IWiktionarySense s encoded on a page with
the given title. |
abstract List<IWiktionarySense> |
getSensesForWord(String word,
IWiktionarySenseFilter filter,
boolean normalize)
Returns a list of
IWiktionarySense s encoded on a page with
the given title. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, isClosed
public List<IWiktionaryPage> getPagesForWord(String word, boolean normalize)
IWiktionary
false
for exact matches.getPagesForWord
in interface IWiktionary
public abstract List<IWiktionaryPage> getPagesForWord(String word, IWiktionaryPageFilter filter, boolean normalize)
IWiktionary
IWiktionaryPageFilter
, unwanted pages can be ignored.getPagesForWord
in interface IWiktionary
public IWiktionaryIterator<IWiktionaryPage> getAllPages()
IWiktionary
IWiktionaryPage
s within
the Wiktionary edition. The pages are sorted by their page id.getAllPages
in interface IWiktionary
public IWiktionaryIterator<IWiktionaryPage> getAllPages(boolean sortByTitle)
IWiktionary
IWiktionaryPage
s within
the Wiktionary edition.getAllPages
in interface IWiktionary
sortByTitle
- if true
sort by page title
(case sensitive); otherwise by page id.public IWiktionaryIterator<IWiktionaryPage> getAllPages(boolean sortByTitle, boolean normalize)
IWiktionary
IWiktionaryPage
s within
the Wiktionary edition.getAllPages
in interface IWiktionary
sortByTitle
- 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)
IWiktionary
IWiktionaryPage
s within
the Wiktionary edition. The pages are sorted by their page id.
Using the given IWiktionaryPageFilter
, unwanted pages
can be ignored.getAllPages
in interface IWiktionary
public IWiktionaryIterator<IWiktionaryPage> getAllPages(IWiktionaryPageFilter filter, boolean sortByTitle)
IWiktionary
IWiktionaryPage
s within
the Wiktionary edition. Using the given IWiktionaryPageFilter
,
unwanted pages can be ignored.getAllPages
in interface IWiktionary
sortByTitle
- if true
sort by page title
(case sensitive); otherwise by page id.public abstract IWiktionaryIterator<IWiktionaryPage> getAllPages(IWiktionaryPageFilter filter, boolean sortByTitle, boolean normalize)
IWiktionary
IWiktionaryPage
s within
the Wiktionary edition. Using the given IWiktionaryPageFilter
,
unwanted pages can be ignored.getAllPages
in interface IWiktionary
sortByTitle
- 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)
IWiktionary
IWiktionaryEntry
s 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 IWiktionary
public List<IWiktionaryEntry> getEntriesForWord(String word, boolean normalize)
IWiktionary
IWiktionaryEntry
s encoded on a page with
the given title.getEntriesForWord
in interface IWiktionary
normalize
- if true
, match the page title in a
case insensitive manner.public List<IWiktionaryEntry> getEntriesForWord(String word, IWiktionaryEntryFilter filter)
IWiktionary
IWiktionaryEntry
s 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 IWiktionary
public abstract List<IWiktionaryEntry> getEntriesForWord(String word, IWiktionaryEntryFilter filter, boolean normalize)
IWiktionary
IWiktionaryEntry
s encoded on a page with
the given title. Using the given IWiktionaryEntryFilter
,
unwanted entries can be ignored.getEntriesForWord
in interface IWiktionary
normalize
- if true
, match the page title in a
case insensitive manner.public IWiktionaryIterator<IWiktionaryEntry> getAllEntries()
IWiktionary
IWiktionaryEntry
s 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 IWiktionary
public IWiktionaryIterator<IWiktionaryEntry> getAllEntries(boolean sortByTitle)
IWiktionary
IWiktionaryEntry
s 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 IWiktionary
sortByTitle
- if true
sort by page title
(case sensitive); otherwise by page id.public IWiktionaryIterator<IWiktionaryEntry> getAllEntries(boolean sortByTitle, boolean normalize)
IWiktionary
IWiktionaryEntry
s 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 IWiktionary
sortByTitle
- 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)
IWiktionary
IWiktionaryEntry
s 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 IWiktionary
public IWiktionaryIterator<IWiktionaryEntry> getAllEntries(IWiktionaryEntryFilter filter, boolean sortByTitle)
IWiktionary
IWiktionaryEntry
s 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 IWiktionary
sortByTitle
- if true
sort by page title
(case sensitive); otherwise by page id.public abstract IWiktionaryIterator<IWiktionaryEntry> getAllEntries(IWiktionaryEntryFilter filter, boolean sortByTitle, boolean normalize)
IWiktionary
IWiktionaryEntry
s 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 IWiktionary
sortByTitle
- 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)
IWiktionary
IWiktionarySense
s 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 IWiktionary
public List<IWiktionarySense> getSensesForWord(String word, boolean normalize)
IWiktionary
IWiktionarySense
s encoded on a page with
the given title.getSensesForWord
in interface IWiktionary
normalize
- if true
, match the page title in a
case insensitive manner.public List<IWiktionarySense> getSensesForWord(String word, IWiktionarySenseFilter filter)
IWiktionary
IWiktionarySense
s 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 IWiktionary
public abstract List<IWiktionarySense> getSensesForWord(String word, IWiktionarySenseFilter filter, boolean normalize)
IWiktionary
IWiktionarySense
s encoded on a page with
the given title. Using the given IWiktionarySenseFilter
,
unwanted word senses can be ignored.getSensesForWord
in interface IWiktionary
normalize
- if true
, match the page title in a
case insensitive manner.public IWiktionaryIterator<IWiktionarySense> getAllSenses()
IWiktionary
IWiktionarySense
s 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 IWiktionary
public IWiktionaryIterator<IWiktionarySense> getAllSenses(boolean sortByTitle)
IWiktionary
IWiktionaryEntry
s 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 IWiktionary
sortByTitle
- if true
sort by page title
(case sensitive); otherwise by page id.public IWiktionaryIterator<IWiktionarySense> getAllSenses(boolean sortByTitle, boolean normalize)
IWiktionary
IWiktionaryEntry
s 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 IWiktionary
sortByTitle
- 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)
IWiktionary
IWiktionarySense
s 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 IWiktionary
public IWiktionaryIterator<IWiktionarySense> getAllSenses(IWiktionarySenseFilter filter, boolean sortByTitle)
IWiktionary
IWiktionaryEntry
s 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 IWiktionary
sortByTitle
- if true
sort by page title
(case sensitive); otherwise by page id.public abstract IWiktionaryIterator<IWiktionarySense> getAllSenses(IWiktionarySenseFilter filter, boolean sortByTitle, boolean normalize)
IWiktionary
IWiktionaryEntry
s 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 IWiktionary
sortByTitle
- 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.