[jira] [Updated] (OPENNLP-776) Model Objects should be Serializable
[ https://issues.apache.org/jira/browse/OPENNLP-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joern Kottmann updated OPENNLP-776: --- Attachment: serializable-basemodel-joern.patch > Model Objects should be Serializable > > > Key: OPENNLP-776 > URL: https://issues.apache.org/jira/browse/OPENNLP-776 > Project: OpenNLP > Issue Type: Improvement >Affects Versions: tools-1.5.3 >Reporter: Tristan Nixon >Assignee: Joern Kottmann >Priority: Minor > Labels: features, patch > Fix For: 1.6.1 > > Attachments: externalizable.patch, > serializable-basemodel-joern.patch, serializable-basemodel.patch, > serialization_proxy.patch > > > Marking model objects (ParserModel, SentenceModel, etc.) as Serializable can > enable a number of features offered by other Java frameworks (my own use case > is described below). You've already got a good mechanism for > (de-)serialization, but it cannot be leveraged by other frameworks without > implementing the Serializable interface. I'm attaching a patch to BaseModel > that implements the methods in the java.io.Externalizable interface as > wrappers to the existing (de-)serialization methods. This simple change can > open up a number of useful opportunities for integrating OpenNLP with other > frameworks. > My use case is that I am incorporating OpenNLP into a Spark application. This > requires that components of the system be distributed between the driver and > worker nodes within the cluster. In order to do this, Spark uses Java > serialization API to transmit objects between nodes. This is far more > efficient than instantiating models on each node independently. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OPENNLP-776) Model Objects should be Serializable
[ https://issues.apache.org/jira/browse/OPENNLP-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588569#comment-15588569 ] Joern Kottmann commented on OPENNLP-776: I updated your patch, can you please review and have a look? The name is serializable-basemodel-joern.patch > Model Objects should be Serializable > > > Key: OPENNLP-776 > URL: https://issues.apache.org/jira/browse/OPENNLP-776 > Project: OpenNLP > Issue Type: Improvement >Affects Versions: tools-1.5.3 >Reporter: Tristan Nixon >Assignee: Joern Kottmann >Priority: Minor > Labels: features, patch > Fix For: 1.6.1 > > Attachments: externalizable.patch, > serializable-basemodel-joern.patch, serializable-basemodel.patch, > serialization_proxy.patch > > > Marking model objects (ParserModel, SentenceModel, etc.) as Serializable can > enable a number of features offered by other Java frameworks (my own use case > is described below). You've already got a good mechanism for > (de-)serialization, but it cannot be leveraged by other frameworks without > implementing the Serializable interface. I'm attaching a patch to BaseModel > that implements the methods in the java.io.Externalizable interface as > wrappers to the existing (de-)serialization methods. This simple change can > open up a number of useful opportunities for integrating OpenNLP with other > frameworks. > My use case is that I am incorporating OpenNLP into a Spark application. This > requires that components of the system be distributed between the driver and > worker nodes within the cluster. In order to do this, Spark uses Java > serialization API to transmit objects between nodes. This is far more > efficient than instantiating models on each node independently. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OPENNLP-834) Create constant for Threads parameter
[ https://issues.apache.org/jira/browse/OPENNLP-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joern Kottmann updated OPENNLP-834: --- Fix Version/s: 1.6.1 > Create constant for Threads parameter > - > > Key: OPENNLP-834 > URL: https://issues.apache.org/jira/browse/OPENNLP-834 > Project: OpenNLP > Issue Type: Improvement > Components: Machine Learning >Affects Versions: 1.6.0 >Reporter: Jeff Zemerick >Priority: Trivial > Labels: constant, threads > Fix For: 1.6.1 > > Attachments: OPENNLP-834.patch > > > There is a "Threads" parameter that sets the number of threads to use during > model training. This task is to make it a constant value in the > TrainingParameters class. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (OPENNLP-834) Create constant for Threads parameter
[ https://issues.apache.org/jira/browse/OPENNLP-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joern Kottmann resolved OPENNLP-834. Resolution: Fixed Assignee: Joern Kottmann > Create constant for Threads parameter > - > > Key: OPENNLP-834 > URL: https://issues.apache.org/jira/browse/OPENNLP-834 > Project: OpenNLP > Issue Type: Improvement > Components: Machine Learning >Affects Versions: 1.6.0 >Reporter: Jeff Zemerick >Assignee: Joern Kottmann >Priority: Trivial > Labels: constant, threads > Fix For: 1.6.1 > > Attachments: OPENNLP-834.patch > > > There is a "Threads" parameter that sets the number of threads to use during > model training. This task is to make it a constant value in the > TrainingParameters class. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OPENNLP-834) Create constant for Threads parameter
[ https://issues.apache.org/jira/browse/OPENNLP-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589362#comment-15589362 ] Joern Kottmann commented on OPENNLP-834: Thanks for the patch and sorry for the delay to get it applied. Please review the change. The repository changed to git and is now available at: https://git-wip-us.apache.org/repos/asf/opennlp.git The opennlp repo at github is also available but has currently some sync issues. Our website will be updated soon. > Create constant for Threads parameter > - > > Key: OPENNLP-834 > URL: https://issues.apache.org/jira/browse/OPENNLP-834 > Project: OpenNLP > Issue Type: Improvement > Components: Machine Learning >Affects Versions: 1.6.0 >Reporter: Jeff Zemerick >Assignee: Joern Kottmann >Priority: Trivial > Labels: constant, threads > Fix For: 1.6.1 > > Attachments: OPENNLP-834.patch > > > There is a "Threads" parameter that sets the number of threads to use during > model training. This task is to make it a constant value in the > TrainingParameters class. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OPENNLP-867) Move brat ner annotator to opennlp.git
Joern Kottmann created OPENNLP-867: -- Summary: Move brat ner annotator to opennlp.git Key: OPENNLP-867 URL: https://issues.apache.org/jira/browse/OPENNLP-867 Project: OpenNLP Issue Type: Task Components: Name Finder Affects Versions: 1.6.1 Reporter: Joern Kottmann Assignee: Joern Kottmann Priority: Minor Fix For: 1.6.1 The brat ner annotator service should be included in the OpenNLP Tools release distribution. For that it has to be moved from opennlp-sandbox.git to opennlp.git -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OPENNLP-868) OntoNotes4NameFinderEval.evalEnglishPersonNameFinder test fail
Joern Kottmann created OPENNLP-868: -- Summary: OntoNotes4NameFinderEval.evalEnglishPersonNameFinder test fail Key: OPENNLP-868 URL: https://issues.apache.org/jira/browse/OPENNLP-868 Project: OpenNLP Issue Type: Bug Components: Name Finder Affects Versions: 1.6.0 Reporter: Joern Kottmann Assignee: Joern Kottmann Priority: Trivial Fix For: 1.6.1 For some reason does this test fail in the latest trunk and 1.6.0 version. Both compute exactly this 0.8299903903167106 F1 value. The test should be updated to not fail anymore. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (OPENNLP-868) OntoNotes4NameFinderEval.evalEnglishPersonNameFinder test fail
[ https://issues.apache.org/jira/browse/OPENNLP-868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joern Kottmann closed OPENNLP-868. -- Resolution: Fixed > OntoNotes4NameFinderEval.evalEnglishPersonNameFinder test fail > -- > > Key: OPENNLP-868 > URL: https://issues.apache.org/jira/browse/OPENNLP-868 > Project: OpenNLP > Issue Type: Bug > Components: Name Finder >Affects Versions: 1.6.0 >Reporter: Joern Kottmann >Assignee: Joern Kottmann >Priority: Trivial > Fix For: 1.6.1 > > > For some reason does this test fail in the latest trunk and 1.6.0 version. > Both compute exactly this 0.8299903903167106 F1 value. > The test should be updated to not fail anymore. -- This message was sent by Atlassian JIRA (v6.3.4#6332)