weighted.java
来自「Standord Classifier实现了一个基于Java的最大熵分类器。用于」· Java 代码 · 共 22 行
JAVA
22 行
package edu.stanford.nlp.util;
/** Weighted. An interface for representing a weighted things, such as
* a feature (as opposed to a probability/score).
*
* @author Christopher Manning
* @version 2002/06/12
*/
public interface Weighted {
/** Return the weight of this thing
* @return the weight
*/
public double weight();
/** Set the weight of this thing
* @param weight the weight
*/
public void setWeight(double weight);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?