Class NOMExistingEQC

  extended by
All Implemented Interfaces:

public class NOMExistingEQC
extends java.lang.Object
implements ElementQuantityCalculator

This implementation of ElementQuantityCalculator returns the number of elements of any given name in the NOM at the moment, making sure we don't load anything into the corpus as a result of the call.

Constructor Summary
NOMExistingEQC(NOMCorpus nom)
Method Summary
 int getNumber(java.lang.String elname)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public NOMExistingEQC(NOMCorpus nom)
Method Detail


public int getNumber(java.lang.String elname)
Specified by:
getNumber in interface ElementQuantityCalculator