You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/14 22:39:07 UTC

[jira] [Commented] (SOLR-8010) Allow WordBreakSolrSpellChecker to break when one word matches

    [ https://issues.apache.org/jira/browse/SOLR-8010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14957708#comment-14957708 ] 

ASF GitHub Bot commented on SOLR-8010:
--------------------------------------

GitHub user Admje14 opened a pull request:

    https://github.com/apache/lucene-solr/pull/205

    JIRA: SOLR-8010 Ability to breaking words when one side matches

    JIRA: SOLR-8010 Adding the ability to optionally enable breaking words where one side is a word but the other is not.  This allows a suggestion of a word that may not yet be in the dictionary, but would resolve to a word through various filters (specifically synonym lists).

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

    $ git pull https://github.com/Admje14/lucene-solr trunk

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

    https://github.com/apache/lucene-solr/pull/205.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 #205
    
----
commit 3951332ef23439b6e832cb045be05f82dfdab44d
Author: Josh Edwards <jo...@capitalone.com>
Date:   2015-10-01T14:48:24Z

    JIRA: SOLR-8010 Adding the ability to optionally enable breaking words where one side is a word but the other is not (this time in trunk).

----


> Allow WordBreakSolrSpellChecker to break when one word matches
> --------------------------------------------------------------
>
>                 Key: SOLR-8010
>                 URL: https://issues.apache.org/jira/browse/SOLR-8010
>             Project: Solr
>          Issue Type: Improvement
>          Components: spellchecker
>    Affects Versions: 4.10.4, 5.3
>            Reporter: Joshua Edwards
>         Attachments: WordBreakDontRequireWordOnBothSides.patch
>
>
> The WordBreakSolrSpellChecker only works if both words that are being broken are in the dictionary.  This prevents the spell checker from breaking in other valid use cases - such as when one of the words has a synonym that is in the dictionary, or when one of the words is misspelled.  I would like to enable (via configuration) the option to break when one of the two words is in the dictionary, but the other is not.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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