org.knowceans.corpus.parsers.epg
Class EpgDocument

java.lang.Object
  extended by org.knowceans.corpus.ADocument
      extended by org.knowceans.corpus.parsers.epg.EpgDocument

public class EpgDocument
extends ADocument

EpgDocument

 <entry>
 </title> ueb <</title> 
 </keywords> sco <</keywords>
 </subtitle> sub <</subtitle>
 </id> key <</id>
 </abstract> txt <</abstract> 
 <//entry>*
 

Author:
heinrich

Field Summary
(package private)  java.util.Vector<java.lang.Integer> sco
          categories
(package private)  java.util.Vector<java.lang.String> sub
           
 
Fields inherited from class org.knowceans.corpus.ADocument
key, sentenceIndex, txt, ueb
 
Constructor Summary
EpgDocument()
           
 
Method Summary
 boolean isValid()
          if the document has enough information to be valid, i.e., have at least a text body and key.
 int length()
          Get the number of words in the document.
 
Methods inherited from class org.knowceans.corpus.ADocument
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sco

java.util.Vector<java.lang.Integer> sco
categories


sub

java.util.Vector<java.lang.String> sub
Constructor Detail

EpgDocument

public EpgDocument()
Method Detail

isValid

public boolean isValid()
if the document has enough information to be valid, i.e., have at least a text body and key.

Returns:

length

public int length()
Get the number of words in the document.

Returns: