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

ASF GitHub Bot commented on JENA-1058:
--------------------------------------

Github user osma commented on the pull request:

    https://github.com/apache/jena/pull/96#issuecomment-152983824
  
    @afs Yes there is, in the jena-text documentation, though calling it a list 
is a bit of a stretch since there are only four currently (StandardAnalyzer,  
SimpleAnalyzer, KeywordAnalyzer and LowerCaseKeywordAnalyzer) and only 
LowerCaseKeywordAnalyzer is specific to jena-text, the other three come 
directly from Lucene.
    
    See 
https://jena.apache.org/documentation/query/text-query.html#configuring-an-analyzer
 
    
    About this PR: I think I will try to implement a more generic, configurable 
analyzer, as suggested by Claude Warren in a comment on JIRA-1058. If it's not 
too difficult, it would obviously be better than this very specific analyzer.


> add ASCIIFoldingLowerCaseKeywordAnalyzer to jena-text
> -----------------------------------------------------
>
>                 Key: JENA-1058
>                 URL: https://issues.apache.org/jira/browse/JENA-1058
>             Project: Apache Jena
>          Issue Type: New Feature
>          Components: Text
>            Reporter: Osma Suominen
>            Assignee: Osma Suominen
>
> I'd like to have an Analyzer for jena-text which is otherwise like 
> LowerCaseKeywordAnalyzer that I've implemented before, but also includes the 
> ASCIIFoldingFilter from Lucene. This means that the comparison will ignore 
> accents, so that for example "deja vu" will match "déjà vu".
> For some background on why I need this, see 
> https://github.com/NatLibFi/Skosmos/issues/313
> I already have an implementation of this ready, will make a PR shortly.



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

Reply via email to