Basically I have a file which consists of frequent Norwegian words. Words are stored in the following pattern.
1. jeg 782578
2. det 742951
3. er 718645
4. du 623395
5. ikke 436196
From left to right: the first one is the list number, in the middle are the words I would like to extract and save, followed by the number count. I want to extract the words in a document without the number list or the number count. Of course I can do this manually but the list is huge and it contains 5000 words. So I am looking for an efficient way to do this using Java.
Basically I can only read and write to a file in Java. So if you have any idea to accomplish this task, I would be grateful if you could share it with me.