Keval Shah
Keval Shah

Reputation: 393

Mallet Natural Language Processing Mallet

I am trying to learn MALLET developed by UMASS Amhrest. I am pretty new to this and hence this may be a silly question.

I just ran a sample example given on their website using following command.

bin/mallet import-dir --input sample-data/web/* --output web.mallet

Now, I have the web.mallet output file and I dont know how to open it. I am using Linux and gedit cant read this file.

How can I open the output file and see its contents?

Thank You.

Upvotes: 2

Views: 342

Answers (1)

Sir Cornflakes
Sir Cornflakes

Reputation: 665

The file web.mallet is not intended to be human-readable. It is meant as an input for further processing with MALLET.

Once you have the file web.mallet you can apply bin/mallet train-topics to it. There are some MALLET tutorials out there on the web, look at, e.g., http://fedora.clarin-d.uni-saarland.de/hub/kwsearch/MALLET/0/ or try your favorite search engine.

Upvotes: 4

Related Questions