[jira] [Closed] (OPENNLP-1056) DictionaryLemmatizer throws a NullPointerException

2017-05-11 Thread Daniel Russ (JIRA)

 [ 
https://issues.apache.org/jira/browse/OPENNLP-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Russ closed OPENNLP-1056.

Resolution: Fixed

> DictionaryLemmatizer throws a NullPointerException
> --
>
> Key: OPENNLP-1056
> URL: https://issues.apache.org/jira/browse/OPENNLP-1056
> Project: OpenNLP
>  Issue Type: Bug
>  Components: Lemmatizer
>Affects Versions: 1.8.0
>Reporter: Daniel Russ
>  Labels: easyfix
> Fix For: 1.8.0
>
>
> If the word/POS combination are not found in the dictionary, the Lemmatizer 
> throws a NPE.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OPENNLP-1056) DictionaryLemmatizer throws a NullPointerException

2017-05-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENNLP-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16006641#comment-16006641
 ] 

ASF GitHub Bot commented on OPENNLP-1056:
-

Github user asfgit closed the pull request at:

https://github.com/apache/opennlp/pull/197


> DictionaryLemmatizer throws a NullPointerException
> --
>
> Key: OPENNLP-1056
> URL: https://issues.apache.org/jira/browse/OPENNLP-1056
> Project: OpenNLP
>  Issue Type: Bug
>  Components: Lemmatizer
>Affects Versions: 1.8.0
>Reporter: Daniel Russ
>  Labels: easyfix
> Fix For: 1.8.0
>
>
> If the word/POS combination are not found in the dictionary, the Lemmatizer 
> throws a NPE.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OPENNLP-1056) DictionaryLemmatizer throws a NullPointerException

2017-05-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENNLP-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16006612#comment-16006612
 ] 

ASF GitHub Bot commented on OPENNLP-1056:
-

GitHub user danielruss opened a pull request:

https://github.com/apache/opennlp/pull/197

OPENNLP-1056: Fix NullPointerException in DictionaryLemmatizer

Thank you for contributing to Apache OpenNLP.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

### For all changes:
- [ y] Is there a JIRA ticket associated with this PR? Is it referenced 
 in the commit message?

- [y ] Does your PR title start with OPENNLP- where  is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.

- [ y] Has your PR been rebased against the latest commit within the target 
branch (typically master)?

- [ y] Is your initial contribution a single, squashed commit?

### For code changes:
- [ y] Have you ensured that the full suite of tests is executed via mvn 
clean install at the root opennlp folder?
- [ y] Have you written or updated unit tests to verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)? 
- [ ] If applicable, have you updated the LICENSE file, including the main 
LICENSE file in opennlp folder?
- [ ] If applicable, have you updated the NOTICE file, including the main 
NOTICE file found in opennlp folder?

### For documentation related changes:
- [ ] Have you ensured that format looks appropriate for the output in 
which it is rendered?

### Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/danielruss/opennlp OPENNLP-1056

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/opennlp/pull/197.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #197


commit cb6ee2cbdeadad5d277a6e7293d88bb915090c4f
Author: Daniel Russ 
Date:   2017-05-11T14:56:58Z

OPENNLP-1056: Fix NullPointerException in DictionaryLemmatizer




> DictionaryLemmatizer throws a NullPointerException
> --
>
> Key: OPENNLP-1056
> URL: https://issues.apache.org/jira/browse/OPENNLP-1056
> Project: OpenNLP
>  Issue Type: Bug
>  Components: Lemmatizer
>Affects Versions: 1.8.0
>Reporter: Daniel Russ
>  Labels: easyfix
> Fix For: 1.8.0
>
>
> If the word/POS combination are not found in the dictionary, the Lemmatizer 
> throws a NPE.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Reopened] (OPENNLP-1053) DOAP has moved

2017-05-11 Thread Sebb (JIRA)

 [ 
https://issues.apache.org/jira/browse/OPENNLP-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebb reopened OPENNLP-1053:
---

http://opennlp.apache.org/doap_opennlp.rdf

reports:

Not Found

The requested URL /doap_opennlp.rdf was not found on this server.

> DOAP has moved
> --
>
> Key: OPENNLP-1053
> URL: https://issues.apache.org/jira/browse/OPENNLP-1053
> Project: OpenNLP
>  Issue Type: Bug
>Reporter: Sebb
>Assignee: Jeff Zemerick
>
> The DOAP used to be located at:
> http://opennlp.apache.org/doap_opennlp.rdf
> It has disappeared.
> Please either replace it, or update the link here:
> https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/projects.xml



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OPENNLP-1045) Add documentation for development with Git (at ASF, GitHub, etc) for OpenNLP

2017-05-11 Thread Bruno P. Kinoshita (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENNLP-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16006523#comment-16006523
 ] 

Bruno P. Kinoshita commented on OPENNLP-1045:
-

Lesson from tonight's mess in opennlp-site :-)

{noformat}
Add a section for merging pull requests. Developers should be instructed to 
either set up (local/globally) fast-forward mode on.

git config --global merge.ff only
git config merge.ff only

Or remember to use --ff-only when merging pull requests.

Also, before submitting, developers can amend the commit message, adding the 
foot note "This closes #1234" where 1234 is the pull request number. In case 
the developer forgets to amend the commit, and he is the author of the pull 
request, he can still close in the GitHub UI. Alternatively, the developer 
should ask the user, and wait a while to close the pull request. The last 
option is to send an empty commit.
{noformat}

> Add documentation for development with Git (at ASF, GitHub, etc) for OpenNLP
> 
>
> Key: OPENNLP-1045
> URL: https://issues.apache.org/jira/browse/OPENNLP-1045
> Project: OpenNLP
>  Issue Type: Documentation
>  Components: Website
>Reporter: Bruno P. Kinoshita
>Priority: Minor
>  Labels: development, documentation, git, website
>
> We need to add documentation for developers, explaining the process to work 
> with Git in Apache OpenNLP.
> Listing things like proper way to commit (e.g. include JIRA issue whenever 
> possible in the commit message), how to handle and merge pull requests (e.g. 
> empty commits, merge with fast-forward, etc), and so it goes.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (OPENNLP-393) Add a contributions wanted page to our website

2017-05-11 Thread Bruno P. Kinoshita (JIRA)

 [ 
https://issues.apache.org/jira/browse/OPENNLP-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno P. Kinoshita resolved OPENNLP-393.

Resolution: Fixed

> Add a contributions wanted page to our website
> --
>
> Key: OPENNLP-393
> URL: https://issues.apache.org/jira/browse/OPENNLP-393
> Project: OpenNLP
>  Issue Type: Task
>  Components: Website
>Reporter: Joern Kottmann
>Assignee: Bruno P. Kinoshita
> Attachments: contributions-wanted-preview-1-fullpage.png
>
>
> OpenNLP would like to get more contributions from the community to encourage 
> people to contribute more we should add a page which lists things which 
> should be done in OpenNLP.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Closed] (OPENNLP-1053) DOAP has moved

2017-05-11 Thread Jeff Zemerick (JIRA)

 [ 
https://issues.apache.org/jira/browse/OPENNLP-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Zemerick closed OPENNLP-1053.
--
Resolution: Fixed

> DOAP has moved
> --
>
> Key: OPENNLP-1053
> URL: https://issues.apache.org/jira/browse/OPENNLP-1053
> Project: OpenNLP
>  Issue Type: Bug
>Reporter: Sebb
>Assignee: Jeff Zemerick
>
> The DOAP used to be located at:
> http://opennlp.apache.org/doap_opennlp.rdf
> It has disappeared.
> Please either replace it, or update the link here:
> https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/projects.xml



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OPENNLP-393) Add a contributions wanted page to our website

2017-05-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENNLP-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16006430#comment-16006430
 ] 

ASF GitHub Bot commented on OPENNLP-393:


Github user asfgit closed the pull request at:

https://github.com/apache/opennlp-site/pull/5


> Add a contributions wanted page to our website
> --
>
> Key: OPENNLP-393
> URL: https://issues.apache.org/jira/browse/OPENNLP-393
> Project: OpenNLP
>  Issue Type: Task
>  Components: Website
>Reporter: Joern Kottmann
>Assignee: Bruno P. Kinoshita
> Attachments: contributions-wanted-preview-1-fullpage.png
>
>
> OpenNLP would like to get more contributions from the community to encourage 
> people to contribute more we should add a page which lists things which 
> should be done in OpenNLP.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OPENNLP-393) Add a contributions wanted page to our website

2017-05-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENNLP-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16006429#comment-16006429
 ] 

ASF GitHub Bot commented on OPENNLP-393:


Github user kinow commented on the issue:

https://github.com/apache/opennlp-site/pull/5
  
Merged.


> Add a contributions wanted page to our website
> --
>
> Key: OPENNLP-393
> URL: https://issues.apache.org/jira/browse/OPENNLP-393
> Project: OpenNLP
>  Issue Type: Task
>  Components: Website
>Reporter: Joern Kottmann
>Assignee: Bruno P. Kinoshita
> Attachments: contributions-wanted-preview-1-fullpage.png
>
>
> OpenNLP would like to get more contributions from the community to encourage 
> people to contribute more we should add a page which lists things which 
> should be done in OpenNLP.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (OPENNLP-1056) DictionaryLemmatizer throws a NullPointerException

2017-05-11 Thread Daniel Russ (JIRA)
Daniel Russ created OPENNLP-1056:


 Summary: DictionaryLemmatizer throws a NullPointerException
 Key: OPENNLP-1056
 URL: https://issues.apache.org/jira/browse/OPENNLP-1056
 Project: OpenNLP
  Issue Type: Bug
  Components: Lemmatizer
Affects Versions: 1.8.0
Reporter: Daniel Russ
 Fix For: 1.8.0


If the word/POS combination are not found in the dictionary, the Lemmatizer 
throws a NPE.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OPENNLP-1053) DOAP has moved

2017-05-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENNLP-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16006417#comment-16006417
 ] 

ASF GitHub Bot commented on OPENNLP-1053:
-

Github user asfgit closed the pull request at:

https://github.com/apache/opennlp-site/pull/6


> DOAP has moved
> --
>
> Key: OPENNLP-1053
> URL: https://issues.apache.org/jira/browse/OPENNLP-1053
> Project: OpenNLP
>  Issue Type: Bug
>Reporter: Sebb
>Assignee: Jeff Zemerick
>
> The DOAP used to be located at:
> http://opennlp.apache.org/doap_opennlp.rdf
> It has disappeared.
> Please either replace it, or update the link here:
> https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/projects.xml



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OPENNLP-393) Add a contributions wanted page to our website

2017-05-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENNLP-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16006369#comment-16006369
 ] 

ASF GitHub Bot commented on OPENNLP-393:


Github user wcolen commented on the issue:

https://github.com/apache/opennlp-site/pull/5
  
Good point
+1 lgtm


> Add a contributions wanted page to our website
> --
>
> Key: OPENNLP-393
> URL: https://issues.apache.org/jira/browse/OPENNLP-393
> Project: OpenNLP
>  Issue Type: Task
>  Components: Website
>Reporter: Joern Kottmann
>Assignee: Bruno P. Kinoshita
> Attachments: contributions-wanted-preview-1-fullpage.png
>
>
> OpenNLP would like to get more contributions from the community to encourage 
> people to contribute more we should add a page which lists things which 
> should be done in OpenNLP.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OPENNLP-393) Add a contributions wanted page to our website

2017-05-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENNLP-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16006359#comment-16006359
 ] 

ASF GitHub Bot commented on OPENNLP-393:


Github user kinow commented on the issue:

https://github.com/apache/opennlp-site/pull/5
  
I suggested something like that, but @kottmann raised a good point that 
JIRA is not that reliable, and could cause issues in the web site. Also, we 
would stress a bit more on our JIRA server. Now, having a job somewhere in 
INFRA running every night, and then updating a section of the site... that 
would be an interesting new small utility, but I think the INFRA team would 
like to implement it.


> Add a contributions wanted page to our website
> --
>
> Key: OPENNLP-393
> URL: https://issues.apache.org/jira/browse/OPENNLP-393
> Project: OpenNLP
>  Issue Type: Task
>  Components: Website
>Reporter: Joern Kottmann
>Assignee: Bruno P. Kinoshita
> Attachments: contributions-wanted-preview-1-fullpage.png
>
>
> OpenNLP would like to get more contributions from the community to encourage 
> people to contribute more we should add a page which lists things which 
> should be done in OpenNLP.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (OPENNLP-1055) POSTagger.train causing error

2017-05-11 Thread zaheen mumtaz (JIRA)
zaheen mumtaz created OPENNLP-1055:
--

 Summary: POSTagger.train causing error
 Key: OPENNLP-1055
 URL: https://issues.apache.org/jira/browse/OPENNLP-1055
 Project: OpenNLP
  Issue Type: Bug
Reporter: zaheen mumtaz


i am trying to create urdu POS tagger model. how to train my ur-pos.bin fille 
according to my train data...i work on it alot but have error at line 
 
model = POSTaggerME.train("en", sampleStream, 
TrainingParameters.defaultParams(), factory);
 
error is following:
Exception in thread "main" java.lang.NoClassDefFoundError: 
opennlp/model/TrainUtil
at opennlp.tools.postag.POSTaggerME.train(POSTaggerME.java:332)
at 
myproject.TaggerDictionaryTest.testTrainTaggerWithDictionary(TaggerDictionaryTest.java:98)
at myproject.TaggerDictionaryTest.main(TaggerDictionaryTest.java:40)
Caused by: java.lang.ClassNotFoundException: opennlp.model.TrainUtil
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 3 more
how to resolve this error



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OPENNLP-504) Add a FAQ page to our site

2017-05-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENNLP-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16006354#comment-16006354
 ] 

ASF GitHub Bot commented on OPENNLP-504:


Github user kinow commented on the issue:

https://github.com/apache/opennlp-site/pull/8
  

![opennlp-faq-wip-20170512-fullpage](https://cloud.githubusercontent.com/assets/304786/25949773/d111416a-36ac-11e7-8954-83bbb66de83c.png)

Screenshot with the questions. Instead of using tables or custom CSS 
styles, it is simply using [definition lists 
tags](http://www.benmeadowcroft.com/webdev/articles/definition-lists/).



> Add a FAQ page to our site
> --
>
> Key: OPENNLP-504
> URL: https://issues.apache.org/jira/browse/OPENNLP-504
> Project: OpenNLP
>  Issue Type: Improvement
>  Components: Website
>Reporter: James Kosin
>Assignee: Bruno P. Kinoshita
>Priority: Minor
>  Labels: FAQ, newbie
> Attachments: opennlp-faq-wip-20170512-fullpage.png
>
>
> Collect and assemble a FAQ page for our site.
> Most questions start out:
>   Where can I get the models?
>   Where do I start getting to know OpenNLP?
>   etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (OPENNLP-504) Add a FAQ page to our site

2017-05-11 Thread Bruno P. Kinoshita (JIRA)

 [ 
https://issues.apache.org/jira/browse/OPENNLP-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno P. Kinoshita updated OPENNLP-504:
---
Attachment: opennlp-faq-wip-20170512-fullpage.png

> Add a FAQ page to our site
> --
>
> Key: OPENNLP-504
> URL: https://issues.apache.org/jira/browse/OPENNLP-504
> Project: OpenNLP
>  Issue Type: Improvement
>  Components: Website
>Reporter: James Kosin
>Assignee: Bruno P. Kinoshita
>Priority: Minor
>  Labels: FAQ, newbie
> Attachments: opennlp-faq-wip-20170512-fullpage.png
>
>
> Collect and assemble a FAQ page for our site.
> Most questions start out:
>   Where can I get the models?
>   Where do I start getting to know OpenNLP?
>   etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OPENNLP-504) Add a FAQ page to our site

2017-05-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENNLP-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16006349#comment-16006349
 ] 

ASF GitHub Bot commented on OPENNLP-504:


GitHub user kinow opened a pull request:

https://github.com/apache/opennlp-site/pull/8

OPENNLP-504 adding initial pairs of question and answers to the FAQ

This is a pull request for 
[OPENNLP-504](https://issues.apache.org/jira/browse/OPENNLP-504), including the 
initial frequently asked questions.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/kinow/opennlp-site OPENNLP-504

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/opennlp-site/pull/8.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #8


commit 86bdcee0c446916f47db018197fd4ea5e8df0649
Author: Bruno P. Kinoshita 
Date:   2017-05-11T12:45:19Z

OPENNLP-504 adding initial pairs of question and answers to the FAQ




> Add a FAQ page to our site
> --
>
> Key: OPENNLP-504
> URL: https://issues.apache.org/jira/browse/OPENNLP-504
> Project: OpenNLP
>  Issue Type: Improvement
>  Components: Website
>Reporter: James Kosin
>Assignee: Bruno P. Kinoshita
>Priority: Minor
>  Labels: FAQ, newbie
>
> Collect and assemble a FAQ page for our site.
> Most questions start out:
>   Where can I get the models?
>   Where do I start getting to know OpenNLP?
>   etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OPENNLP-393) Add a contributions wanted page to our website

2017-05-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENNLP-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16006344#comment-16006344
 ] 

ASF GitHub Bot commented on OPENNLP-393:


Github user wcolen commented on the issue:

https://github.com/apache/opennlp-site/pull/5
  
Do you think we can automate this a little? Maybe we add a tag to the 
issues we want here and get it using RSS feed.

https://github.com/sdepold/jquery-rss

feed:https://issues.apache.org/jira/sr/jira.issueviews:searchrequest-rss/temp/SearchRequest.xml?jqlQuery=project+%3D+OPENNLP+AND+resolution+%3D+Unresolved+ORDER+BY+priority+DESC=1000


> Add a contributions wanted page to our website
> --
>
> Key: OPENNLP-393
> URL: https://issues.apache.org/jira/browse/OPENNLP-393
> Project: OpenNLP
>  Issue Type: Task
>  Components: Website
>Reporter: Joern Kottmann
>Assignee: Bruno P. Kinoshita
> Attachments: contributions-wanted-preview-1-fullpage.png
>
>
> OpenNLP would like to get more contributions from the community to encourage 
> people to contribute more we should add a page which lists things which 
> should be done in OpenNLP.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (OPENNLP-504) Add a FAQ page to our site

2017-05-11 Thread Bruno P. Kinoshita (JIRA)

 [ 
https://issues.apache.org/jira/browse/OPENNLP-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno P. Kinoshita reassigned OPENNLP-504:
--

Assignee: Bruno P. Kinoshita

> Add a FAQ page to our site
> --
>
> Key: OPENNLP-504
> URL: https://issues.apache.org/jira/browse/OPENNLP-504
> Project: OpenNLP
>  Issue Type: Improvement
>  Components: Website
>Reporter: James Kosin
>Assignee: Bruno P. Kinoshita
>Priority: Minor
>  Labels: FAQ, newbie
>
> Collect and assemble a FAQ page for our site.
> Most questions start out:
>   Where can I get the models?
>   Where do I start getting to know OpenNLP?
>   etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)