|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
tc.TCCorpusLoader
tc.TCCorpusLoaderSelfmade
class to load the self-made corpus
| Field Summary |
| Fields inherited from class tc.TCCorpusLoader |
corpus, labels, numberOfTestDocumentsWithLabel, stemmerMethod, stopWordsString, testSet, useStopWordRemoval |
| Constructor Summary | |
(package private) |
TCCorpusLoaderSelfmade(boolean useSWR,
int stemMethod,
java.lang.String sws)
|
| Method Summary | |
TCCorpus |
loadCorpus()
loads and returns the selfmade corpus |
void |
loadTestSet()
|
| Methods inherited from class tc.TCCorpusLoader |
getNumberOfTestDocumentsWithLabel, getTestSet |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
TCCorpusLoaderSelfmade(boolean useSWR,
int stemMethod,
java.lang.String sws)
| Method Detail |
public TCCorpus loadCorpus()
loadCorpus in class TCCorpusLoaderpublic void loadTestSet()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||