pipeinputiterator.java
来自「这是一个matlab的java实现。里面有许多内容。请大家慢慢捉摸。」· Java 代码 · 共 43 行
JAVA
43 行
/* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept. This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit). http://www.cs.umass.edu/~mccallum/mallet This software is provided under the terms of the Common Public License, version 1.0, as published by http://www.opensource.org. For further information, see the file `LICENSE' included with this distribution. *//** @author Andrew McCallum <a href="mailto:mccallum@cs.umass.edu">mccallum@cs.umass.edu</a> */package edu.umass.cs.mallet.base.pipe.iterator;import edu.umass.cs.mallet.base.pipe.Pipe;import edu.umass.cs.mallet.base.types.Alphabet;import edu.umass.cs.mallet.base.types.Label;import edu.umass.cs.mallet.base.types.Instance;import java.util.Iterator;/** * Interface for classes that generate instances. * * Typically, these instances will be unprocessed (e.g., they * may come from a corpus data file), and are passed through a pipe * as they are added to an InstanceList. * * @see Pipe * @see edu.umass.cs.mallet.base.types.InstanceList * * @version $Id: PipeInputIterator.java,v 1.2 2003/10/31 23:27:09 casutton Exp $ */public interface PipeInputIterator extends Iterator{ /** To be called once before iterator starts. However, Instance object do not currently store this parent information. */ public void setParentInstance (Instance parent); public Instance nextInstance ();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?