[ 
https://issues.apache.org/jira/browse/LUCENE-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801243#action_12801243
 ] 

Simon Willnauer commented on LUCENE-2212:
-----------------------------------------

bq. updated patch with getResource() + ZipFile 

:) thanks

bq. will commit this test at the end of the day unless anyone objects.
+1 go ahead

> add a test for PorterStemFilter
> -------------------------------
>
>                 Key: LUCENE-2212
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2212
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Analysis
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2212.patch, LUCENE-2212.patch, porterTestData.zip
>
>
> There are no tests for PorterStemFilter, yet svn history reveals some (very 
> minor) cleanups, etc.
> The only thing executing its code in tests is a test or two in SmartChinese 
> tests.
> This patch runs the StemFilter against Martin Porter's test data set for this 
> stemmer, checking for expected output.
> The zip file is 100KB added to src/test, if this is too large I can change it 
> to download the data instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to