public class StatAnCache extends Object
Modifier and Type | Class and Description |
---|---|
class |
StatAnCache.Heading |
class |
StatAnCache.Paragraph
class paragraph (stores all information needed)
|
Constructor and Description |
---|
StatAnCache(DocumentCache cache,
SwJLanguageTool lt) |
Modifier and Type | Method and Description |
---|---|
List<StatAnCache.Heading> |
getAllHeadings() |
List<AnalyzedSentence> |
getAnalysedParagraph(int n) |
List<List<AnalyzedSentence>> |
getAnalysedParagraphsfrom(int from,
int to) |
String |
getNameOfParagraph(int nPara)
get name of paragraph (maximal MAX_NAME_LENGTH characters)
|
String |
getNameOfParagraph(String text)
get name of paragraph (maximal MAX_NAME_LENGTH characters)
|
List<StatAnCache.Paragraph> |
getParagraphsfrom(int from,
int to) |
int |
size() |
public StatAnCache(DocumentCache cache, SwJLanguageTool lt)
public int size()
public List<AnalyzedSentence> getAnalysedParagraph(int n)
public List<List<AnalyzedSentence>> getAnalysedParagraphsfrom(int from, int to)
public List<StatAnCache.Paragraph> getParagraphsfrom(int from, int to)
public String getNameOfParagraph(int nPara)
public String getNameOfParagraph(String text)
public List<StatAnCache.Heading> getAllHeadings()