public class AnchorTextPhraseAnalyzer extends BasePhraseAnalyzer
Modifier and Type | Class and Description |
---|---|
class |
AnchorTextPhraseAnalyzer.Iter |
static class |
AnchorTextPhraseAnalyzer.Provider |
BasePhraseAnalyzer.Entry
pageDao, phraseDao
Constructor and Description |
---|
AnchorTextPhraseAnalyzer(PhraseAnalyzerDao phraseDao,
org.wikibrain.core.dao.LocalPageDao pageDao,
org.wikibrain.core.dao.LocalLinkDao linkDao,
PrunedCounts.Pruner<String> phrasePruner,
PrunedCounts.Pruner<Integer> pagePruner) |
Modifier and Type | Method and Description |
---|---|
Iterable<BasePhraseAnalyzer.Entry> |
getCorpus(org.wikibrain.core.lang.LanguageSet langs)
Loads language links into the database.
|
describe, getDao, loadCorpus, loadFromFile, resolve, writePage, writePhrase
public AnchorTextPhraseAnalyzer(PhraseAnalyzerDao phraseDao, org.wikibrain.core.dao.LocalPageDao pageDao, org.wikibrain.core.dao.LocalLinkDao linkDao, PrunedCounts.Pruner<String> phrasePruner, PrunedCounts.Pruner<Integer> pagePruner)
public Iterable<BasePhraseAnalyzer.Entry> getCorpus(org.wikibrain.core.lang.LanguageSet langs) throws IOException, org.wikibrain.core.dao.DaoException
getCorpus
in class BasePhraseAnalyzer
IOException
org.wikibrain.core.dao.DaoException
Copyright © 2016. All rights reserved.