dragon.nlp
Class Document

java.lang.Object
  |
  +--dragon.nlp.Document

public class Document
extends java.lang.Object

Data structure for document

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
not attributable

Field Summary
static int ABSTRACT
           
static int BODY
           
static int CONCLUSION
           
static int INTRODUCTION
           
static int TITLE
           
 
Constructor Summary
Document()
           
 
Method Summary
 boolean addParagraph(Paragraph paragraph)
           
 Paragraph getFirstParagraph()
           
 Paragraph getLastParagraph()
           
 int getParagraphNum()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TITLE

public static final int TITLE
See Also:
Constant Field Values

ABSTRACT

public static final int ABSTRACT
See Also:
Constant Field Values

INTRODUCTION

public static final int INTRODUCTION
See Also:
Constant Field Values

BODY

public static final int BODY
See Also:
Constant Field Values

CONCLUSION

public static final int CONCLUSION
See Also:
Constant Field Values
Constructor Detail

Document

public Document()
Method Detail

addParagraph

public boolean addParagraph(Paragraph paragraph)

getFirstParagraph

public Paragraph getFirstParagraph()

getLastParagraph

public Paragraph getLastParagraph()

getParagraphNum

public int getParagraphNum()