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

📄 labeled.java

📁 Standord Classifier实现了一个基于Java的最大熵分类器。用于模式识别
💻 JAVA
字号:
package edu.stanford.nlp.dbm;import java.util.*;/** * Interface for Objects that have a label, whose label is an Object. * There are only two methods: Object label() and Collection labels() * If there is only one label, labels() will return a collection of one label. * If there are multiple labels, label() will return the primary label,  * or a consistent arbitrary label if there is not primary label. * @author Sepandar Kamvar (sdkamvar@stanford.edu) */public abstract interface Labeled {		   /**      * Returns the primary label for this Object, or null if none have been set.     */		public Object label();    /**     * Returns the complete list of labels for this Object, which may be empty.     */		public Collection labels();}

⌨️ 快捷键说明

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