element.java
来自「一个利用条件随机场(CRF)开发的词性标注工具包」· Java 代码 · 共 33 行
JAVA
33 行
/* Copyright (C) 2006, Xuan-Hieu Phan Email: hieuxuan@ecei.tohoku.ac.jp pxhieu@gmail.com URL: http://www.hori.ecei.tohoku.ac.jp/~hieuxuan Graduate School of Information Sciences, Tohoku University*/package crf.tagger;import java.io.*;import java.util.*;public class Element { public int count = 0; // the number of occurrences of this context predicate public int chosen = 0; // indicating whether or not it is incorporated into the model Map lbCntFidxes = null; // map of labels to CountFeatureIdxes List cpFeatures = null; // features associated with this context predicates boolean isScanned = false; // be scanned or not public Element() { lbCntFidxes = new HashMap(); cpFeatures = new ArrayList(); } } // end of class Element
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?