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

📄 tokeninfo.java

📁 wekaUT是 university texas austin 开发的基于weka的半指导学习(semi supervised learning)的分类器
💻 JAVA
字号:
package weka.deduping.metrics;import java.util.*;/** A lightweight object for storing information about a token (a.k.a word, term) * in an inverted index. * * @author Ray Mooney */public class TokenInfo{    /** The IDF (inverse document frequency) factor for this token      * which indicates how much to weight an occurence. Tokens that     * appear in many documents are not very discriminative and therefore     * weighted less. */    public double idf;    /** A list of TokenOccurences giving documents where this     * token occurs */    public ArrayList occList;    /** Create an initially empty data structure */    public TokenInfo() {	occList = new ArrayList();	idf = 0.0;    }}

⌨️ 快捷键说明

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