You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by co...@apache.org on 2011/07/18 20:13:02 UTC
svn commit: r1147992 -
/incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/cmdline/TrainingToolParams.java
Author: colen
Date: Mon Jul 18 18:13:01 2011
New Revision: 1147992
URL: http://svn.apache.org/viewvc?rev=1147992&view=rev
Log:
OPENNLP-227 Added TrainingToolParams
Added:
incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/cmdline/TrainingToolParams.java (with props)
Added: incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/cmdline/TrainingToolParams.java
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/cmdline/TrainingToolParams.java?rev=1147992&view=auto
==============================================================================
--- incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/cmdline/TrainingToolParams.java (added)
+++ incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/cmdline/TrainingToolParams.java Mon Jul 18 18:13:01 2011
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package opennlp.tools.cmdline;
+
+import java.io.File;
+
+import opennlp.tools.cmdline.ArgumentParser.ParameterDescription;
+
+// TODO: remove the old BasicTrainingParameters and rename this class to BasicTrainingParameters
+
+/**
+ * Common training parameters.
+ *
+ * Note: Do not use this class, internal use only!
+ */
+public interface TrainingToolParams extends BasicTrainingParams{
+
+ @ParameterDescription(valueName = "modelFile", description = "the output model file")
+ File getModel();
+
+}
Propchange: incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/cmdline/TrainingToolParams.java
------------------------------------------------------------------------------
svn:mime-type = text/plain