org.eml.sir.rel.disc
Class SlimDiscourse

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

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

Simplified and serializable wrapper instance of a SirDiscourse.

Author:
Hendrik Niederlich (EML-R)
See Also:
Serialized Form

Constructor Summary
SlimDiscourse()
          Create a new SlimDiscourse instance.
SlimDiscourse(SirDiscourse sDisc, boolean ignoreIrrelevantClauses, int onlyPositiveProfFeatures)
          Create a new SlimDiscourse instance.
 
Method Summary
 java.lang.String getName()
          Return the file name this SlimDiscourse is based on.
 int getOnlyPositiveProfFeatures()
          Return the onlyPositiveProfFeatures.
 java.util.ArrayList getWordList()
          Return the words (nouns) of this SlimDiscourse.
 boolean isIgnoreIrrelevantClauses()
          Return the ignoreIrrelevantClauses.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlimDiscourse

public SlimDiscourse()
Create a new SlimDiscourse instance.


SlimDiscourse

public SlimDiscourse(SirDiscourse sDisc,
                     boolean ignoreIrrelevantClauses,
                     int onlyPositiveProfFeatures)
Create a new SlimDiscourse instance. The new instance will contain all nouns according to the ignore irrelevant clause and the use only positive professional feature properties.

Method Detail

isIgnoreIrrelevantClauses

public boolean isIgnoreIrrelevantClauses()
Return the ignoreIrrelevantClauses.


getOnlyPositiveProfFeatures

public int getOnlyPositiveProfFeatures()
Return the onlyPositiveProfFeatures.


getName

public java.lang.String getName()
Return the file name this SlimDiscourse is based on.


getWordList

public java.util.ArrayList getWordList()
Return the words (nouns) of this SlimDiscourse.