Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added simple Main class that tells people that the executable jar doe…

…sn't actually execute anything at the moment.
  • Loading branch information...
commit 1ad0d1dc101467750df070aec51673f81ba2bd00 1 parent 20e32f1
jasonbaldridge authored
@@ -1,11 +1,25 @@
+Added options for doing *very* simple smoothing, in which we 'observe'
+features that we didn't actually see in the training data. Seems to
+improve performance for models with small data sets and only a few
+outcomes, though it conversely appears to degrade those with lots of
+data and lots of outcomes.
+Added BasicEventStream and BasicContextGenerator classes which assume
+that the contextual predicates and outcomes are just sitting pretty in
+lines. This allows the events to be stored in a file and then read in
+for training without scanning around producing the events everytime.
Added sample application "sports" to help with testing model behavior
-and act as an example to help newbies use the toolkit.
+and to act as an example to help newbies use the toolkit and build
+their own maxent applications.
Fixed bug in TrainEval in which the number of iterations and the
cutoff were swapped in the call to train the model.
+PerlHelp and BasicEnglishAffixes classes were moved out of Maxent so
+that gnu-regexp.jar is no longer needed.
@@ -0,0 +1 @@
+Main-Class: opennlp.maxent.Main
7 build.xml
@@ -1,4 +1,4 @@
-<!-- $Id: build.xml,v 1.9 2001/11/19 02:17:36 ericdf Exp $ -->
+<!-- $Id: build.xml,v 1.10 2001/11/21 10:15:55 jasonbaldridge Exp $ -->
<project default="package" basedir=".">
@@ -9,7 +9,7 @@
<property name="Name" value="Maxent"/>
<property name="name" value="maxent"/>
- <property name="version" value="1.2.3"/>
+ <property name="version" value="1.2.4"/>
<property name="year" value="2001"/>
<echo message="----------- ${Name} ${version} [${year}] ------------"/>
@@ -127,6 +127,9 @@
<pathelement location="${lib.dir}/colt.jar"/>
<pathelement location="${lib.dir}/trove.jar"/>
+ <addfiles>
+ <pathelement path="META-INF"/>
+ </addfiles>
<delete file="${build.dir}/${name}-${DSTAMP}.jar" />
43 src/java/opennlp/maxent/
@@ -0,0 +1,43 @@
+// Copyright (C) 2001 Jason Baldridge
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// GNU Lesser General Public License for more details.
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+package opennlp.maxent;
+ * Main file for opennlp.maxent. Right now just tells the user that
+ * the executable jar doesn't actually execute anything but the
+ * message telling the user that the jar doesn't execute anything
+ * but...
+ *
+ * @author Jason Baldridge
+ * @version $Revision: 1.1 $, $Date: 2001/11/21 10:15:55 $
+public class Main {
+ public static void main (String[] args) {
+ System.out.println(
+ "\n********************************************************************\n"
+ + "The \"executable\" jar of OpenNLP Maxent does not currently execute\n"
+ + "anything except this message. It exists only so that there is a jar\n"
+ + "of the package which contains all of the other jar dependencies\n"
+ + "needed by Maxent so that users can download it and be able to use\n"
+ + "it to build maxent applications without hunting down the other jars.\n"
+ + "********************************************************************\n"
+ );
+ }
Please sign in to comment.
Something went wrong with that request. Please try again.