salsa.corpora.test
Class CorpusFormatAndParserTest
java.lang.Object
salsa.corpora.test.CorpusFormatAndParserTest
public class CorpusFormatAndParserTest
- extends java.lang.Object
Testklasse, die die Datenstruktur und den Parser testen soll.
- Author:
- Fabian Shirokov
Method Summary |
static void |
main(java.lang.String[] args)
Liest einen Korpus ein und soll ihn wieder so rausschreiben, wie er
eingelesen wurde |
void |
writeToFile(java.lang.String text)
Writes the text into the file that has been set in the constructor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CorpusFormatAndParserTest
public CorpusFormatAndParserTest()
main
public static void main(java.lang.String[] args)
- Liest einen Korpus ein und soll ihn wieder so rausschreiben, wie er
eingelesen wurde
- Parameters:
args
-
writeToFile
public void writeToFile(java.lang.String text)
throws java.io.IOException
- Writes the text into the file that has been set in the constructor.
- Parameters:
text
-
- Throws:
java.io.IOException
- if the text could not be written to the given file