datadesc.java

来自「CRF分类器,是一个很好的研究工具.用于中文信息处理的很好的工具」· Java 代码 · 共 25 行

JAVA
25
字号
package iitb.MaxentClassifier;import iitb.Utils.*;/** * * @author Sunita Sarawagi * */ class DataDesc {    int numColumns;    int numLabels = 2;    String colSep = ",";    DataDesc(Options opts) throws ConfigException {	if (opts.getProperty("numLabels") != null) {	    numLabels = opts.getInt("numLabels");	}	if (opts.getMandatoryProperty("numColumns") != null) {	    numColumns = opts.getInt("numColumns");	}	if (opts.getProperty("separator") != null) {	    colSep = opts.getString("separator");	}    }};

⌨️ 快捷键说明

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