public class HALSpace extends Object implements KnowledgeBase
Hyper Analogue to Language Space
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor and Description |
|---|
HALSpace(SimpleElementList termList,
TokenExtractor te,
int windowSize) |
HALSpace(SimpleElementList termList,
TokenExtractor te,
int windowSize,
String indexFilename,
String matrixFilename) |
HALSpace(TokenExtractor te,
int windowSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ArrayList articleList) |
void |
add(CollectionReader collectionReader) |
void |
close() |
void |
finalizeData() |
SimpleElementList |
getColumnKeyList() |
DoubleSparseMatrix |
getHALMatrix() |
DoubleSparseMatrix |
getKnowledgeMatrix()
A knowledge matrix saves the semantic relationships between various concepts.
|
SimpleElementList |
getRowKeyList() |
void |
setShowProgress(boolean option) |
public HALSpace(TokenExtractor te, int windowSize)
public HALSpace(SimpleElementList termList, TokenExtractor te, int windowSize)
public HALSpace(SimpleElementList termList, TokenExtractor te, int windowSize, String indexFilename, String matrixFilename)
public DoubleSparseMatrix getKnowledgeMatrix()
KnowledgeBasegetKnowledgeMatrix in interface KnowledgeBasepublic SimpleElementList getRowKeyList()
getRowKeyList in interface KnowledgeBasepublic SimpleElementList getColumnKeyList()
getColumnKeyList in interface KnowledgeBasepublic void setShowProgress(boolean option)
public void add(ArrayList articleList)
public void add(CollectionReader collectionReader)
public void finalizeData()
public DoubleSparseMatrix getHALMatrix()
public void close()
Copyright © 2018 JULIE Lab, Germany. All rights reserved.