pt.uminho.anote2.datastructures.textprocessing.documentStructure
Class PieceToSearch
java.lang.Object
pt.uminho.anote2.datastructures.textprocessing.documentStructure.PieceToSearch
public class PieceToSearch
- extends java.lang.Object
This class contains the information about a piece of text to find in the Document Structuring process
|
Field Summary |
static int |
MAXWORDSIZE
The maximum size of a word |
|
Constructor Summary |
PieceToSearch(java.lang.String text)
|
PieceToSearch(java.lang.String text,
int firstWords,
int lastWords,
int nParagraphs)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAXWORDSIZE
public static final int MAXWORDSIZE
- The maximum size of a word
- See Also:
- Constant Field Values
PieceToSearch
public PieceToSearch(java.lang.String text)
PieceToSearch
public PieceToSearch(java.lang.String text,
int firstWords,
int lastWords,
int nParagraphs)
allParagraphs
public boolean allParagraphs()
firstTextWords
public java.lang.String firstTextWords()
lastTextWords
public java.lang.String lastTextWords()
getText
public java.lang.String getText()
setText
public void setText(java.lang.String text)
getFirstWords
public int getFirstWords()
setFirstWords
public void setFirstWords(int firstWords)
getLastWords
public int getLastWords()
setLastWords
public void setLastWords(int lastWords)
getNParagraphs
public int getNParagraphs()
setNParagraphs
public void setNParagraphs(int paragraphs)