mark.nlp.features
Class None

java.lang.Object
  |
  +--mark.nlp.features.None
All Implemented Interfaces:
Orderer

public class None
extends java.lang.Object
implements Orderer

An Orderer that does not change the order of the potential features. This orderer ignores its parameter.


Constructor Summary
None()
           
 
Method Summary
 ObjectMap order(BagCorpusCounter counter, BagCorpusCounter[] catCounters, ObjectMap potentialFeatures, java.lang.String parameter)
          Given corpus counters for a data set and a set of potential features, orders the potential features according to some criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

None

public None()
Method Detail

order

public ObjectMap order(BagCorpusCounter counter,
                       BagCorpusCounter[] catCounters,
                       ObjectMap potentialFeatures,
                       java.lang.String parameter)
                throws java.lang.Exception
Description copied from interface: Orderer
Given corpus counters for a data set and a set of potential features, orders the potential features according to some criteria.

Specified by:
order in interface Orderer
Parameters:
counter - a corpus counter in which each bag corresponds to a category.
catCounters - a set of counters. For the counter with index i, bags correspond to documents within category i.
potentialFeatures - the set of potential features.
Returns:
the same set of potential features ordered according to the the criteria.
java.lang.Exception