org.eml.sir.rel.disc
Class NounDisc

java.lang.Object
  extended byorg.eml.sir.rel.disc.NounDisc
All Implemented Interfaces:
java.io.Serializable

public class NounDisc
extends java.lang.Object
implements java.io.Serializable

Implements a sirializable wrapper for all nouns in the corpus

Author:
Kostadin Cholakov
See Also:
Serialized Form

Constructor Summary
NounDisc(java.lang.String fileName)
          Creates an instance of NounDisc
 
Method Summary
 java.lang.String getName()
          Returns the name of a group of nouns extracted from a specific file
 java.util.ArrayList getWordList()
          Returns the nouns from a specific NounDisc instance
 void setWordList(java.lang.String fileContent)
          Uses TreeTagger to set the list of nouns for this instance of NounDisc
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NounDisc

public NounDisc(java.lang.String fileName)
Creates an instance of NounDisc

Parameters:
fileName - the name of the file from which the nouns are extracted
Method Detail

getName

public java.lang.String getName()
Returns the name of a group of nouns extracted from a specific file

Returns:
the specific name

getWordList

public java.util.ArrayList getWordList()
Returns the nouns from a specific NounDisc instance

Returns:
the list of nouns

setWordList

public void setWordList(java.lang.String fileContent)
Uses TreeTagger to set the list of nouns for this instance of NounDisc

Parameters:
fileContent - the content of the file from which nouns are taken