Run LingPipe Demo in Eclipse

26 07 2009

Eclipse Ganymede 3.42
LingPipe 3.8.1

Follow the eclipse tutorial at LingPipe

Create a New Project->Java->Java Project From Existing Ant Buildfile->Next

In Ant buildfile, Browse to \lingpipe-3.8.1\demos\generic\build.xml

Right-Click->Project Properties->Java Build Path->Libraries->Add External Jars->Add \lingpipe-3.8.1\demos\generic\lingpipe-demos.jar

To Run:
Right-Click com.aliasi.demo.framework.DemoGUI.java -> Run As -> Run Configurations -> Java Application->New

In Arguments Tab->Program arguments add
-demoConstructor=com.aliasi.demo.demos.PosDemo
-demoConstructorArgs=com.aliasi.tokenizer.IndoEuropeanTokenizerFactory,com.aliasi.sentences.IndoEuropeanSentenceModel,/pos-en-general-brown.HiddenMarkovModel,250000,250000,General English - Brown Corpus

Run

Advertisements

Actions

Information

One response

14 04 2011
Linh

I did it same that . But when i add “Program arguments add” and run , there is an error “could not find the main class.Program will exit” .
Please help me console it .
Thanks so much !!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: