📄 knowledgebase.java
字号:
package dragon.ir.kngbase;import dragon.matrix.DoubleSparseMatrix;import dragon.nlp.SimpleElementList;/** * <p>Interface of knowledge base</p> * <p></p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: IST, Drexel University</p> * @author Davis Zhou * @version 1.0 */public interface KnowledgeBase { /** * A knowledge matrix saves the semantic relationships between various concepts. For example, a row may stand for a multiword phrase, * e.g. space program and a column denote a signle word. Thus a cell in the matrix may be interpreted as the probability of the phrase * beging translated to the single word semantically. * @return the knowledge matrix */ public DoubleSparseMatrix getKnowledgeMatrix(); /** * @return a list of concept names corresponding to each row */ public SimpleElementList getRowKeyList(); /** * @return a list of concept names corresponding to each column */ public SimpleElementList getColumnKeyList();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -