Skip navigation links
A B C D E F G H I L M N O P R S T U W 

A

AnchorTextPhraseAnalyzer - Class in org.wikibrain.phrases
Loads phrase to page mapping using anchor phrase in wiki links.
AnchorTextPhraseAnalyzer(PhraseAnalyzerDao, LocalPageDao, LocalLinkDao, PrunedCounts.Pruner<String>, PrunedCounts.Pruner<Integer>) - Constructor for class org.wikibrain.phrases.AnchorTextPhraseAnalyzer
 
AnchorTextPhraseAnalyzer.Iter - Class in org.wikibrain.phrases
 
AnchorTextPhraseAnalyzer.Provider - Class in org.wikibrain.phrases
 

B

BasePhraseAnalyzer - Class in org.wikibrain.phrases
Base implementation of a phrase analyzer.
BasePhraseAnalyzer(PhraseAnalyzerDao, LocalPageDao, PrunedCounts.Pruner<String>, PrunedCounts.Pruner<Integer>) - Constructor for class org.wikibrain.phrases.BasePhraseAnalyzer
 
BasePhraseAnalyzer.Entry - Class in org.wikibrain.phrases
An entry in the phrase corpus.
build() - Method in class org.wikibrain.phrases.LinkProbabilityDao
Rebuilds the link probability dao.
buildIfNecessary() - Method in class org.wikibrain.phrases.LinkProbabilityDao
Build the cache if it is not already built.

C

CascadingAnalyzer - Class in org.wikibrain.phrases
 
CascadingAnalyzer(PhraseAnalyzer[]) - Constructor for class org.wikibrain.phrases.CascadingAnalyzer
 
CascadingAnalyzer.Provider - Class in org.wikibrain.phrases
Use a Provider to get configuration in phrases.analyzer.
close() - Method in interface org.wikibrain.phrases.PhraseAnalyzerDao
Closes the dao and flushes any unwritten data to disk.
close() - Method in class org.wikibrain.phrases.PhraseAnalyzerLangDao
 
close() - Method in class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao
 

D

describe(Language, LocalPage, int) - Method in class org.wikibrain.phrases.BasePhraseAnalyzer
 
describe(Language, LocalPage, int) - Method in class org.wikibrain.phrases.CascadingAnalyzer
 
describe(Language, LocalPage, int) - Method in class org.wikibrain.phrases.LucenePhraseAnalyzer
 
describe(Language, LocalPage, int) - Method in class org.wikibrain.phrases.OldLucenePhraseAnalyzer
 
describe(Language, LocalPage, int) - Method in interface org.wikibrain.phrases.PhraseAnalyzer
Returns the most descriptive phrases for a wikipedia page.
describe(Language, LocalPage, int) - Method in class org.wikibrain.phrases.TitleRedirectPhraseAnalyzer
 
describeUniversal(Language, UniversalPage, int) - Method in class org.wikibrain.phrases.TitleRedirectPhraseAnalyzer
 
DOC_MULTIPLIER - Static variable in class org.wikibrain.phrases.LucenePhraseAnalyzer
Analyzer retrieves this times as many results as needed and sums scores for all results.
downloadDictionaryIfNecessary(Configuration) - Static method in class org.wikibrain.phrases.StanfordPhraseAnalyzer
 

E

Entry(Language, int, String, int) - Constructor for class org.wikibrain.phrases.BasePhraseAnalyzer.Entry
 
Entry(Language, String, String, int) - Constructor for class org.wikibrain.phrases.BasePhraseAnalyzer.Entry
 

F

flush() - Method in interface org.wikibrain.phrases.PhraseAnalyzerDao
 
flush() - Method in class org.wikibrain.phrases.PhraseAnalyzerLangDao
 
flush() - Method in class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao
 

G

get(String, Config, Map<String, String>) - Method in class org.wikibrain.phrases.AnchorTextPhraseAnalyzer.Provider
 
get(String, Config, Map<String, String>) - Method in class org.wikibrain.phrases.CascadingAnalyzer.Provider
 
get(String, Config, Map<String, String>) - Method in class org.wikibrain.phrases.LinkProbabilityDao.Provider
 
get(String, Config, Map<String, String>) - Method in class org.wikibrain.phrases.LucenePhraseAnalyzer.Provider
 
get(String, Config, Map<String, String>) - Method in class org.wikibrain.phrases.NormalizedStringPruner.Provider
 
get(String, Config, Map<String, String>) - Method in class org.wikibrain.phrases.OldLucenePhraseAnalyzer.Provider
 
get(String, Config, Map<String, String>) - Method in class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao.Provider
 
get(String, Config, Map<String, String>) - Method in class org.wikibrain.phrases.SimplePruner.Provider
 
get(String, Config, Map<String, String>) - Method in class org.wikibrain.phrases.StanfordPhraseAnalyzer.Provider
 
get(String, Config, Map<String, String>) - Method in class org.wikibrain.phrases.TitleRedirectPhraseAnalyzer.Provider
 
getAllPhraseCounts(Language) - Method in interface org.wikibrain.phrases.PhraseAnalyzerDao
Returns all phrase counts in the specified language.
getAllPhraseCounts() - Method in class org.wikibrain.phrases.PhraseAnalyzerLangDao
 
getAllPhraseCounts(Language) - Method in class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao
 
getAllPhrases(Language) - Method in interface org.wikibrain.phrases.PhraseAnalyzerDao
Returns all phrases in the specified language.
getAllPhrases() - Method in class org.wikibrain.phrases.PhraseAnalyzerLangDao
 
getAllPhrases(Language) - Method in class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao
 
getCorpus(LanguageSet) - Method in class org.wikibrain.phrases.AnchorTextPhraseAnalyzer
Loads language links into the database.
getCorpus(LanguageSet) - Method in class org.wikibrain.phrases.BasePhraseAnalyzer
Concrete implementations must override this method to determine what phrases are stored.
getCorpus(LanguageSet) - Method in class org.wikibrain.phrases.StanfordPhraseAnalyzer
Loads a single Stanford phrase file into the database.
getDao() - Method in class org.wikibrain.phrases.BasePhraseAnalyzer
 
getLang() - Method in class org.wikibrain.phrases.LinkProbabilityDao
 
getLinkProbability(String) - Method in class org.wikibrain.phrases.LinkProbabilityDao
Retrieves the probability a link is linked in Wikipedia.
getLinkProbability(String, boolean) - Method in class org.wikibrain.phrases.LinkProbabilityDao
Retrieves the probability a link is linked in Wikipedia.
getPageCounts(Language, int, int) - Method in interface org.wikibrain.phrases.PhraseAnalyzerDao
Gets phrases related to a page.
getPageCounts(int, int) - Method in class org.wikibrain.phrases.PhraseAnalyzerLangDao
 
getPageCounts(Language, int, int) - Method in class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao
Gets phrases related to a page.
getPath() - Method in class org.wikibrain.phrases.AnchorTextPhraseAnalyzer.Provider
 
getPath() - Method in class org.wikibrain.phrases.CascadingAnalyzer.Provider
 
getPath() - Method in class org.wikibrain.phrases.LinkProbabilityDao.Provider
 
getPath() - Method in class org.wikibrain.phrases.LucenePhraseAnalyzer.Provider
 
getPath() - Method in class org.wikibrain.phrases.NormalizedStringPruner.Provider
 
getPath() - Method in class org.wikibrain.phrases.OldLucenePhraseAnalyzer.Provider
 
getPath() - Method in class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao.Provider
 
getPath() - Method in class org.wikibrain.phrases.SimplePruner.Provider
 
getPath() - Method in class org.wikibrain.phrases.StanfordPhraseAnalyzer.Provider
 
getPath() - Method in class org.wikibrain.phrases.TitleRedirectPhraseAnalyzer.Provider
 
getPhraseCounts(Language, String, int) - Method in interface org.wikibrain.phrases.PhraseAnalyzerDao
Gets pages related to a phrase.
getPhraseCounts(String, int) - Method in class org.wikibrain.phrases.PhraseAnalyzerLangDao
 
getPhraseCounts(Language, String, int) - Method in class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao
Gets pages related to a phrase.
getStringNormalizer() - Method in interface org.wikibrain.phrases.PhraseAnalyzerDao
 
getStringNormalizer() - Method in class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao
 
getTotal() - Method in class org.wikibrain.phrases.PrunedCounts
 
getType() - Method in class org.wikibrain.phrases.AnchorTextPhraseAnalyzer.Provider
 
getType() - Method in class org.wikibrain.phrases.CascadingAnalyzer.Provider
 
getType() - Method in class org.wikibrain.phrases.LinkProbabilityDao.Provider
 
getType() - Method in class org.wikibrain.phrases.LucenePhraseAnalyzer.Provider
 
getType() - Method in class org.wikibrain.phrases.NormalizedStringPruner.Provider
 
getType() - Method in class org.wikibrain.phrases.OldLucenePhraseAnalyzer.Provider
 
getType() - Method in class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao.Provider
 
getType() - Method in class org.wikibrain.phrases.SimplePruner.Provider
 
getType() - Method in class org.wikibrain.phrases.StanfordPhraseAnalyzer.Provider
 
getType() - Method in class org.wikibrain.phrases.TitleRedirectPhraseAnalyzer.Provider
 

H

hasNext() - Method in class org.wikibrain.phrases.AnchorTextPhraseAnalyzer.Iter
 
hasNext() - Method in class org.wikibrain.phrases.StanfordPhraseAnalyzer.Iter
 

I

isBuilt() - Method in class org.wikibrain.phrases.LinkProbabilityDao
 
isSubgram(String, boolean) - Method in class org.wikibrain.phrases.LinkProbabilityDao
 
Iter() - Constructor for class org.wikibrain.phrases.StanfordPhraseAnalyzer.Iter
 

L

LinkProbabilityDao - Class in org.wikibrain.phrases
 
LinkProbabilityDao(File, Language, RawPageDao, PhraseAnalyzerDao) - Constructor for class org.wikibrain.phrases.LinkProbabilityDao
 
LinkProbabilityDao.Provider - Class in org.wikibrain.phrases
 
loadCorpus(LanguageSet) - Method in class org.wikibrain.phrases.BasePhraseAnalyzer
Loads a specific corpus into the dao.
loadCorpus(LanguageSet) - Method in class org.wikibrain.phrases.CascadingAnalyzer
 
loadCorpus(LanguageSet) - Method in class org.wikibrain.phrases.LucenePhraseAnalyzer
 
loadCorpus(LanguageSet) - Method in class org.wikibrain.phrases.OldLucenePhraseAnalyzer
 
loadCorpus(LanguageSet) - Method in interface org.wikibrain.phrases.PhraseAnalyzer
Loads a specific corpus into the dao.
loadCorpus(PhraseAnalyzerDao) - Method in interface org.wikibrain.phrases.PhraseCorpus
Loads a single phrase corpus into the database.
loadCorpus(LanguageSet) - Method in class org.wikibrain.phrases.TitleRedirectPhraseAnalyzer
 
loadFromFile(BasePhraseAnalyzer.RecordType, File, PrunedCounts.Pruner) - Method in class org.wikibrain.phrases.BasePhraseAnalyzer
 
localPageDao - Variable in class org.wikibrain.phrases.LucenePhraseAnalyzer
 
localPageDao - Variable in class org.wikibrain.phrases.OldLucenePhraseAnalyzer
 
LucenePhraseAnalyzer - Class in org.wikibrain.phrases
Using Lucene in a phrase analyzer.
LucenePhraseAnalyzer(LocalPageDao, LuceneSearcher) - Constructor for class org.wikibrain.phrases.LucenePhraseAnalyzer
 
LucenePhraseAnalyzer.Provider - Class in org.wikibrain.phrases
Use a Provider to get configuration in phrases.analyzer.

M

makePhrases(Language, String) - Method in class org.wikibrain.phrases.PhraseTokenizer
 
makePhrases(Language, List<String>) - Method in class org.wikibrain.phrases.PhraseTokenizer
 
makePhraseTokens(Language, Token) - Method in class org.wikibrain.phrases.PhraseTokenizer
 
makePhraseTokens(Language, String) - Method in class org.wikibrain.phrases.PhraseTokenizer
 
makePhraseTokens(Language, List<Token>) - Method in class org.wikibrain.phrases.PhraseTokenizer
 

N

next() - Method in class org.wikibrain.phrases.AnchorTextPhraseAnalyzer.Iter
 
next() - Method in class org.wikibrain.phrases.StanfordPhraseAnalyzer.Iter
 
NormalizedStringPruner - Class in org.wikibrain.phrases
Extends the simple pruner by treating two strings that have the same "normalized" version as the same.
NormalizedStringPruner(int, int, double) - Constructor for class org.wikibrain.phrases.NormalizedStringPruner
 
NormalizedStringPruner.Provider - Class in org.wikibrain.phrases
 

O

OldLucenePhraseAnalyzer - Class in org.wikibrain.phrases
Using Lucene in a phrase analyzer.
OldLucenePhraseAnalyzer(LocalPageDao, LuceneSearcher) - Constructor for class org.wikibrain.phrases.OldLucenePhraseAnalyzer
 
OldLucenePhraseAnalyzer.Provider - Class in org.wikibrain.phrases
 
org.wikibrain.phrases - package org.wikibrain.phrases
 

P

pageDao - Variable in class org.wikibrain.phrases.BasePhraseAnalyzer
 
PhraseAnalyzer - Interface in org.wikibrain.phrases
Given a page, returns the most common phrases
PhraseAnalyzerDao - Interface in org.wikibrain.phrases
Stores and retrieves information related to phrase to page relationships.
PhraseAnalyzerLangDao - Class in org.wikibrain.phrases
Persists information about phrases to page relationships using an object database.
PhraseAnalyzerLangDao(StringNormalizer, Language, File, boolean) - Constructor for class org.wikibrain.phrases.PhraseAnalyzerLangDao
Creates a new dao using the given directory.
PhraseAnalyzerObjectDbDao - Class in org.wikibrain.phrases
Persists information about phrases to page relationships using an object database.
PhraseAnalyzerObjectDbDao(StringNormalizer, File, boolean) - Constructor for class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao
Creates a new dao using the given directory.
PhraseAnalyzerObjectDbDao.Provider - Class in org.wikibrain.phrases
 
PhraseCorpus - Interface in org.wikibrain.phrases
 
phraseDao - Variable in class org.wikibrain.phrases.BasePhraseAnalyzer
 
PhraseTokenizer - Class in org.wikibrain.phrases
 
PhraseTokenizer(LinkProbabilityDao) - Constructor for class org.wikibrain.phrases.PhraseTokenizer
 
Provider(Configurator, Configuration) - Constructor for class org.wikibrain.phrases.AnchorTextPhraseAnalyzer.Provider
 
Provider(Configurator, Configuration) - Constructor for class org.wikibrain.phrases.CascadingAnalyzer.Provider
 
Provider(Configurator, Configuration) - Constructor for class org.wikibrain.phrases.LinkProbabilityDao.Provider
 
Provider(Configurator, Configuration) - Constructor for class org.wikibrain.phrases.LucenePhraseAnalyzer.Provider
 
Provider(Configurator, Configuration) - Constructor for class org.wikibrain.phrases.NormalizedStringPruner.Provider
 
Provider(Configurator, Configuration) - Constructor for class org.wikibrain.phrases.OldLucenePhraseAnalyzer.Provider
 
Provider(Configurator, Configuration) - Constructor for class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao.Provider
 
Provider(Configurator, Configuration) - Constructor for class org.wikibrain.phrases.SimplePruner.Provider
 
Provider(Configurator, Configuration) - Constructor for class org.wikibrain.phrases.StanfordPhraseAnalyzer.Provider
 
Provider(Configurator, Configuration) - Constructor for class org.wikibrain.phrases.TitleRedirectPhraseAnalyzer.Provider
 
prune(Map<String, Integer>) - Method in class org.wikibrain.phrases.NormalizedStringPruner
 
prune(Map<K, Integer>) - Method in interface org.wikibrain.phrases.PrunedCounts.Pruner
 
prune(Map<K, Integer>) - Method in class org.wikibrain.phrases.SimplePruner
Prunes counts down.
PrunedCounts<K> - Class in org.wikibrain.phrases
An ordered map by Captures the top-k entries, by count, but also remembers the total count.
PrunedCounts(int) - Constructor for class org.wikibrain.phrases.PrunedCounts
 
PrunedCounts.Pruner<K> - Interface in org.wikibrain.phrases
Prunes counts down.

R

remove() - Method in class org.wikibrain.phrases.AnchorTextPhraseAnalyzer.Iter
 
remove() - Method in class org.wikibrain.phrases.StanfordPhraseAnalyzer.Iter
 
resolve(Language, String, int) - Method in class org.wikibrain.phrases.BasePhraseAnalyzer
 
resolve(Language, String, int) - Method in class org.wikibrain.phrases.CascadingAnalyzer
 
resolve(Language, String, int) - Method in class org.wikibrain.phrases.LucenePhraseAnalyzer
 
resolve(Language, String, int) - Method in class org.wikibrain.phrases.OldLucenePhraseAnalyzer
 
resolve(Language, String, int) - Method in interface org.wikibrain.phrases.PhraseAnalyzer
Returns the most likely wikipedia pages for a phrase.
resolve(Language, String, int) - Method in class org.wikibrain.phrases.TitleRedirectPhraseAnalyzer
 

S

savePageCounts(Language, int, PrunedCounts<String>) - Method in interface org.wikibrain.phrases.PhraseAnalyzerDao
Adds information mapping a page to phrases.
savePageCounts(int, PrunedCounts<String>) - Method in class org.wikibrain.phrases.PhraseAnalyzerLangDao
 
savePageCounts(Language, int, PrunedCounts<String>) - Method in class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao
 
savePhraseCounts(Language, String, PrunedCounts<Integer>) - Method in interface org.wikibrain.phrases.PhraseAnalyzerDao
Adds information mapping a phrase to pages.
savePhraseCounts(String, PrunedCounts<Integer>) - Method in class org.wikibrain.phrases.PhraseAnalyzerLangDao
 
savePhraseCounts(Language, String, PrunedCounts<Integer>) - Method in class org.wikibrain.phrases.PhraseAnalyzerObjectDbDao
 
SimplePruner<K> - Class in org.wikibrain.phrases
A simple pruner for PrunedCounts.
SimplePruner(int, int, double) - Constructor for class org.wikibrain.phrases.SimplePruner
 
SimplePruner.Provider - Class in org.wikibrain.phrases
 
StanfordPhraseAnalyzer - Class in org.wikibrain.phrases
Loads phrase to page files from Indexes files from http://www-nlp.stanford.edu/pubs/crosswikis-data.tar.bz2/ into a PhraseAnalyzer These files capture anchor phrase associated with web pages that link to Wikipedia.
StanfordPhraseAnalyzer(PhraseAnalyzerDao, LocalPageDao, PrunedCounts.Pruner<String>, PrunedCounts.Pruner<Integer>, File) - Constructor for class org.wikibrain.phrases.StanfordPhraseAnalyzer
 
StanfordPhraseAnalyzer.Iter - Class in org.wikibrain.phrases
 
StanfordPhraseAnalyzer.Provider - Class in org.wikibrain.phrases
 

T

TitleRedirectPhraseAnalyzer - Class in org.wikibrain.phrases
Implements a deterministic phrase analyzer that returns either a single Wikipedia entity or nothing based on titles and/or redirects.
TitleRedirectPhraseAnalyzer(boolean, LocalPageDao, RedirectDao) - Constructor for class org.wikibrain.phrases.TitleRedirectPhraseAnalyzer
 
TitleRedirectPhraseAnalyzer.Provider - Class in org.wikibrain.phrases
 
toString() - Method in class org.wikibrain.phrases.PrunedCounts
 

U

useCache(boolean) - Method in class org.wikibrain.phrases.LinkProbabilityDao
If true, create a memory cache that stores a 64-bit hashcode for each word.

W

writePage(List<BasePhraseAnalyzer.Entry>, PrunedCounts.Pruner) - Method in class org.wikibrain.phrases.BasePhraseAnalyzer
 
writePhrase(List<BasePhraseAnalyzer.Entry>, PrunedCounts.Pruner) - Method in class org.wikibrain.phrases.BasePhraseAnalyzer
 
A B C D E F G H I L M N O P R S T U W 
Skip navigation links

Copyright © 2016. All rights reserved.