reckart / tt4j

TreeTagger for Java
http://reckart.github.io/tt4j/
Apache License 2.0
16 stars 7 forks source link

hw to print the output in a text file/ store it in a array.. #10

Closed reckart closed 9 years ago

reckart commented 9 years ago

Original issue 10 created by reckart on 2011-11-11T08:08:01.000Z:

What steps will reproduce the problem? 1. 2. 3.

What is the expected output? What do you see instead? either to print the output in the text file or store each word with its corresponding information in an array. and then i have to acess that array.

What version of the product are you using? On what operating system?

Please provide any additional information below.

reckart commented 9 years ago

Comment #1 originally posted by reckart on 2011-11-11T15:54:44.000Z:

If you look at the example on the project page, you can crate e.g. an ArrayList in the main() method (it must be declared"final") and then you can add items to that from within the token() method. Check out Apache Commons IO FileUtils for writing stuff to files.

I cannot give you Java lessons. Please find other resources on the web to teach you how to use Java. The TT4J issue tracker is meant for resolving problems with the actual TT4J, not with how to use Java in general.