⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 feature.java

📁 CRF1.2
💻 JAVA
字号:
package iitb.CRF;/** * A single feature returned by the FeatureGenerator needs to support this interface. * @author Sunita Sarawagi * */ public interface Feature {    int index(); /** the index of this feature from 0..numFeatures-1. */    int y();  /** has to be a label index from 0..numLabels-1 */    int yprev(); /** can be -1 if the feature is a state, rather than an edge feature */    float value(); /** any real value, don't return anything if 0 for efficiency */    int[] yprevArray(); /** for history of length greater than 1, return array of prev values, will be ignore of history of length 1*/  };

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -