lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Pilato (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3931) Adding "d" character to default ElisionFilter
Date Wed, 28 Mar 2012 08:47:34 GMT
Adding "d" character to default ElisionFilter
---------------------------------------------

                 Key: LUCENE-3931
                 URL: https://issues.apache.org/jira/browse/LUCENE-3931
             Project: Lucene - Java
          Issue Type: Improvement
          Components: core/index
            Reporter: David Pilato
            Priority: Trivial


As described in Wikipedia (http://fr.wikipedia.org/wiki/%C3%89lision), the d character is
used in french as an elision character.
E.g.: d├ęclaration d'esp├Ęce
So, it would be useful to have it as a default elision token.

{code:title=ElisionFilter.java|borderStyle=solid}
  private static final CharArraySet DEFAULT_ARTICLES = CharArraySet.unmodifiableSet(
      new CharArraySet(Version.LUCENE_CURRENT, Arrays.asList(
          "l", "m", "t", "qu", "n", "s", "j", "d"), true));
{code}

HTH
David.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


Mime
View raw message