apache / apache/lucene

kuromoji ToStringUtil.getRomanization [LUCENE-4433]

Open
#5,499 6 comments 0 reactions 0 assignees View on GitHub
affects-version:3.6.1 legacy-jira-priority:Major module:analysis type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

case 'メ':
builder.append("mi");
break;

-----
should be
case 'メ':
builder.append("me");
break;

you can refer http://en.wikipedia.org/wiki/Katakana

---
Migrated from [LUCENE-4433](https://issues.apache.org/jira/browse/LUCENE-4433) by Wang Han

Contributor guide

Open the contributing guide

Research direction

Start by locating ToStringUtil.getRomanization in the Kuromoji code and inspect the mapping for the Katakana character メ. The change is complete when メ produces "me" rather than "mi"; use the existing relevant tests, if present, to verify the romanization.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.