Creating PlainTextDictionary with UTF8 files
--------------------------------------------
Key: LUCENE-1413
URL: https://issues.apache.org/jira/browse/LUCENE-1413
Project: Lucene - Java
Issue Type: New Feature
Components: contrib/spellchecker
Affects Versions: 2.3.2
Environment: All platform / operating systems
Reporter: YourSoft
Fix For: 2.3.3
Generate indexes from text files is good, but can't read utf8 files.
It can easily made by adding the following code to PlainTextDictionary.java:
public PlainTextDictionary(InputStream dictFile, String fileEncoding) throws
UnsupportedEncodingException {
in = new BufferedReader(new InputStreamReader(dictFile, fileEncoding));
}
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]