MorphAdorner + Eclipse OutofMemoryError!

28 07 2009

MorphAdorner 1.0
Eclipse Galileo 3.5

In eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
128M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx720m

Running examples:

Right-Click edu.northwestern.at.morphadorner.examples.PosTagString -> Run As -> Run Configurations -> Java Application->New

In Arguments Tab->Program arguments add the text to tag:
"I spent all day trying to figure out Eclipse java.lang.OutOfMemoryError: Java heap space!"

VM arguments add:
-Xms512m -Xmx1024m





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





Eclipse + SVN in local repository

24 07 2009

Eclipse Ganymede 3.4.2
Subclipse 1.6.3

1. Download & install Subclipse – Subversion plug-in for Eclipse
Installing from Eclipse URL: http://subclipse.tigris.org/update_1.6.x/

2. Open SVN Repository Exploring Perspective

3. Click/Right-Click Add Repository Location

4. Enter URL: file:///D:/repository





Europa & Red Hat Struting Their Stuff

16 08 2007

Eclipse Europa + Red Hat Developer Studio (Exadel included) ROCKS big time for Struts projects!

Much MUCH more stable then the previous versions of Eclipse + Exadel setup.

still waiting for SVN plugin 😦