public class OnlineSentenceIndexer extends AbstractSentenceIndexer
Indexer for indexing sentence without storing to disk
Copyright: Copyright (c) 2005
Company: IST, Drexel University
initialized, parser| Constructor and Description |
|---|
OnlineSentenceIndexer(ConceptExtractor extractor,
boolean useConcept) |
OnlineSentenceIndexer(TripleExtractor extractor,
boolean useConcept) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method releases occupied resources.
|
IRDocIndexList |
getDocIndexList() |
SimpleElementList |
getDocKeyList() |
IntSparseMatrix |
getDocRelationMatrix() |
IntSparseMatrix |
getDocTermMatrix() |
IRCollection |
getIRCollection() |
IRRelationIndexList |
getRelationIndexList() |
SimplePairList |
getRelationKeyList() |
OnlineSentenceBase |
getSentenceBase() |
IRTermIndexList |
getTermIndexList() |
SimpleElementList |
getTermKeyList() |
boolean |
index(Sentence sent,
String sentKey) |
boolean |
indexedSentence(String sentKey) |
void |
initialize()
It is required to call this method before calling index method to index articles.
|
boolean |
isRelationSupported() |
getDocument, getMinSentenceLength, getSentenceKey, index, indexed, screenArticleContent, setLog, setMinSentenceLength, writeLogpublic OnlineSentenceIndexer(ConceptExtractor extractor, boolean useConcept)
public OnlineSentenceIndexer(TripleExtractor extractor, boolean useConcept)
public boolean indexedSentence(String sentKey)
public boolean isRelationSupported()
public boolean index(Sentence sent, String sentKey)
index in class AbstractSentenceIndexerpublic void initialize()
Indexerpublic void close()
Indexerclose in interface Indexerclose in class AbstractSentenceIndexerpublic OnlineSentenceBase getSentenceBase()
public IRTermIndexList getTermIndexList()
public IRRelationIndexList getRelationIndexList()
public IRDocIndexList getDocIndexList()
public SimpleElementList getDocKeyList()
public SimpleElementList getTermKeyList()
public SimplePairList getRelationKeyList()
public IntSparseMatrix getDocTermMatrix()
public IntSparseMatrix getDocRelationMatrix()
public IRCollection getIRCollection()
Copyright © 2018 JULIE Lab, Germany. All rights reserved.