You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2009/08/06 11:51:15 UTC
[jira] Created: (LUCENE-1786) improve performance of
contrib/TestCompoundWordTokenFilter
improve performance of contrib/TestCompoundWordTokenFilter
----------------------------------------------------------
Key: LUCENE-1786
URL: https://issues.apache.org/jira/browse/LUCENE-1786
Project: Lucene - Java
Issue Type: Test
Components: contrib/analyzers
Reporter: Robert Muir
Priority: Minor
contrib/analyzers/compound has some tests that use a hyphenation grammar file.
The tests are currently for german, and they actually are nice, they show how the combination of the hyphenation rules and dictionary work in tandem.
The issue is that the german grammar file is not apache licensed: http://offo.sourceforge.net/hyphenation/licenses.html
So the test must download the entire offo zip file from sourceforge to execute.
I happen to think the test is a great example of how this thing works (with a language where it matters), but we could consider using a different grammar file, for a language that is apache licensed.
This way it could be included in the source with the test and would be more practical.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-1786) improve performance of
contrib/TestCompoundWordTokenFilter
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792592#action_12792592 ]
Robert Muir commented on LUCENE-1786:
-------------------------------------
if there is no objection, I will commit shortly.
> improve performance of contrib/TestCompoundWordTokenFilter
> ----------------------------------------------------------
>
> Key: LUCENE-1786
> URL: https://issues.apache.org/jira/browse/LUCENE-1786
> Project: Lucene - Java
> Issue Type: Test
> Components: contrib/analyzers
> Reporter: Robert Muir
> Assignee: Robert Muir
> Priority: Minor
> Fix For: 3.1
>
> Attachments: LUCENE-1786.patch
>
>
> contrib/analyzers/compound has some tests that use a hyphenation grammar file.
> The tests are currently for german, and they actually are nice, they show how the combination of the hyphenation rules and dictionary work in tandem.
> The issue is that the german grammar file is not apache licensed: http://offo.sourceforge.net/hyphenation/licenses.html
> So the test must download the entire offo zip file from sourceforge to execute.
> I happen to think the test is a great example of how this thing works (with a language where it matters), but we could consider using a different grammar file, for a language that is apache licensed.
> This way it could be included in the source with the test and would be more practical.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-1786) improve performance of
contrib/TestCompoundWordTokenFilter
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792596#action_12792596 ]
Michael McCandless commented on LUCENE-1786:
--------------------------------------------
Patch looks good! (Except, my Danish is rusty...).
This test is now wicked fast:
{code}
[junit] Testsuite: org.apache.lucene.analysis.compound.TestCompoundWordTokenFilter
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.322 sec
{code}
> improve performance of contrib/TestCompoundWordTokenFilter
> ----------------------------------------------------------
>
> Key: LUCENE-1786
> URL: https://issues.apache.org/jira/browse/LUCENE-1786
> Project: Lucene - Java
> Issue Type: Test
> Components: contrib/analyzers
> Reporter: Robert Muir
> Assignee: Robert Muir
> Priority: Minor
> Fix For: 3.1
>
> Attachments: LUCENE-1786.patch
>
>
> contrib/analyzers/compound has some tests that use a hyphenation grammar file.
> The tests are currently for german, and they actually are nice, they show how the combination of the hyphenation rules and dictionary work in tandem.
> The issue is that the german grammar file is not apache licensed: http://offo.sourceforge.net/hyphenation/licenses.html
> So the test must download the entire offo zip file from sourceforge to execute.
> I happen to think the test is a great example of how this thing works (with a language where it matters), but we could consider using a different grammar file, for a language that is apache licensed.
> This way it could be included in the source with the test and would be more practical.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-1786) improve performance of
contrib/TestCompoundWordTokenFilter
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-1786:
--------------------------------
Lucene Fields: [New, Patch Available] (was: [New])
Fix Version/s: 3.1
> improve performance of contrib/TestCompoundWordTokenFilter
> ----------------------------------------------------------
>
> Key: LUCENE-1786
> URL: https://issues.apache.org/jira/browse/LUCENE-1786
> Project: Lucene - Java
> Issue Type: Test
> Components: contrib/analyzers
> Reporter: Robert Muir
> Assignee: Robert Muir
> Priority: Minor
> Fix For: 3.1
>
> Attachments: LUCENE-1786.patch
>
>
> contrib/analyzers/compound has some tests that use a hyphenation grammar file.
> The tests are currently for german, and they actually are nice, they show how the combination of the hyphenation rules and dictionary work in tandem.
> The issue is that the german grammar file is not apache licensed: http://offo.sourceforge.net/hyphenation/licenses.html
> So the test must download the entire offo zip file from sourceforge to execute.
> I happen to think the test is a great example of how this thing works (with a language where it matters), but we could consider using a different grammar file, for a language that is apache licensed.
> This way it could be included in the source with the test and would be more practical.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-1786) improve performance of
contrib/TestCompoundWordTokenFilter
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir resolved LUCENE-1786.
---------------------------------
Resolution: Fixed
Committed revision 892355.
> improve performance of contrib/TestCompoundWordTokenFilter
> ----------------------------------------------------------
>
> Key: LUCENE-1786
> URL: https://issues.apache.org/jira/browse/LUCENE-1786
> Project: Lucene - Java
> Issue Type: Test
> Components: contrib/analyzers
> Reporter: Robert Muir
> Assignee: Robert Muir
> Priority: Minor
> Fix For: 3.1
>
> Attachments: LUCENE-1786.patch
>
>
> contrib/analyzers/compound has some tests that use a hyphenation grammar file.
> The tests are currently for german, and they actually are nice, they show how the combination of the hyphenation rules and dictionary work in tandem.
> The issue is that the german grammar file is not apache licensed: http://offo.sourceforge.net/hyphenation/licenses.html
> So the test must download the entire offo zip file from sourceforge to execute.
> I happen to think the test is a great example of how this thing works (with a language where it matters), but we could consider using a different grammar file, for a language that is apache licensed.
> This way it could be included in the source with the test and would be more practical.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-1786) improve performance of
contrib/TestCompoundWordTokenFilter
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-1786:
--------------------------------
Attachment: LUCENE-1786.patch
attached patch uses the apache2 licensed danish hyphenation dictionary for testing compounds instead.
> improve performance of contrib/TestCompoundWordTokenFilter
> ----------------------------------------------------------
>
> Key: LUCENE-1786
> URL: https://issues.apache.org/jira/browse/LUCENE-1786
> Project: Lucene - Java
> Issue Type: Test
> Components: contrib/analyzers
> Reporter: Robert Muir
> Priority: Minor
> Fix For: 3.1
>
> Attachments: LUCENE-1786.patch
>
>
> contrib/analyzers/compound has some tests that use a hyphenation grammar file.
> The tests are currently for german, and they actually are nice, they show how the combination of the hyphenation rules and dictionary work in tandem.
> The issue is that the german grammar file is not apache licensed: http://offo.sourceforge.net/hyphenation/licenses.html
> So the test must download the entire offo zip file from sourceforge to execute.
> I happen to think the test is a great example of how this thing works (with a language where it matters), but we could consider using a different grammar file, for a language that is apache licensed.
> This way it could be included in the source with the test and would be more practical.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Assigned: (LUCENE-1786) improve performance of
contrib/TestCompoundWordTokenFilter
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir reassigned LUCENE-1786:
-----------------------------------
Assignee: Robert Muir
> improve performance of contrib/TestCompoundWordTokenFilter
> ----------------------------------------------------------
>
> Key: LUCENE-1786
> URL: https://issues.apache.org/jira/browse/LUCENE-1786
> Project: Lucene - Java
> Issue Type: Test
> Components: contrib/analyzers
> Reporter: Robert Muir
> Assignee: Robert Muir
> Priority: Minor
> Fix For: 3.1
>
> Attachments: LUCENE-1786.patch
>
>
> contrib/analyzers/compound has some tests that use a hyphenation grammar file.
> The tests are currently for german, and they actually are nice, they show how the combination of the hyphenation rules and dictionary work in tandem.
> The issue is that the german grammar file is not apache licensed: http://offo.sourceforge.net/hyphenation/licenses.html
> So the test must download the entire offo zip file from sourceforge to execute.
> I happen to think the test is a great example of how this thing works (with a language where it matters), but we could consider using a different grammar file, for a language that is apache licensed.
> This way it could be included in the source with the test and would be more practical.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org