[
https://issues.apache.org/jira/browse/OPENNLP-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla updated OPENNLP-1521:
-------------------------------------
Description:
We re-generated our old snowball stemmer code within
https://github.com/apache/opennlp/pull/561
The process is not really straightforward:
1. Checkout https://github.com/snowballstem/snowball and build it via make
2. Run the snowball compiler like
{code:java}
../snowball turkish.sbl -java -o
../../opennlp/opennlp-tools/src/main/java/opennlp/tools/stemmer/snowball/turkishStemmer
{code}
Note: Omit the file ending .java
3. Manually reformat according to OpenNLP style
4. Replace SysOuts with Logger
5. Add license information
was:
We re-generated our old snowball stemmer code within
https://github.com/apache/opennlp/pull/561
The process is not really straightforward:
1. Checkout https://github.com/snowballstem/snowball and build it via make
2. Run the snowball compiler like
{code:java}
../snowball turkish.sbl -java -o
../../opennlp/opennlp-tools/src/main/java/opennlp/tools/stemmer/snowball/turkishStemmer
{code}
Note: Omit the file ending .java
3. Manually reformat according to OpenNLP style
4. Replace SysOuts with Logger
> Add documentation to describe how to re-generate snowball stemmer code
> ----------------------------------------------------------------------
>
> Key: OPENNLP-1521
> URL: https://issues.apache.org/jira/browse/OPENNLP-1521
> Project: OpenNLP
> Issue Type: Documentation
> Affects Versions: 2.3.1
> Reporter: Richard Zowalla
> Priority: Major
>
> We re-generated our old snowball stemmer code within
> https://github.com/apache/opennlp/pull/561
> The process is not really straightforward:
> 1. Checkout https://github.com/snowballstem/snowball and build it via make
> 2. Run the snowball compiler like
> {code:java}
> ../snowball turkish.sbl -java -o
> ../../opennlp/opennlp-tools/src/main/java/opennlp/tools/stemmer/snowball/turkishStemmer
> {code}
> Note: Omit the file ending .java
> 3. Manually reformat according to OpenNLP style
> 4. Replace SysOuts with Logger
> 5. Add license information
--
This message was sent by Atlassian Jira
(v8.20.10#820010)