org.knowceans.corpus.util
Class ReverseUnicodeMapFactory
java.lang.Object
org.knowceans.corpus.util.ReverseUnicodeMapFactory
public class ReverseUnicodeMapFactory
- extends java.lang.Object
loads a text file with unicode to html conversion maps the html as key and
stores the unicode as value
- Author:
- heinrich
Field Summary |
private static java.util.HashMap |
map
|
private static boolean |
unicode_error
|
private static java.io.BufferedReader |
unifile
|
Method Summary |
static java.util.HashMap |
getUnicodeHashMap()
returns unicode-map |
static void |
main(java.lang.String[] args)
|
private static void |
parseUnicodeFile()
parses unicodefile and creates HashMap with key and htmlword |
private static void |
readUnicodeFile()
reads unicodefile into buffer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
map
private static java.util.HashMap map
unifile
private static java.io.BufferedReader unifile
unicode_error
private static boolean unicode_error
ReverseUnicodeMapFactory
public ReverseUnicodeMapFactory()
getUnicodeHashMap
public static java.util.HashMap getUnicodeHashMap()
- returns unicode-map
readUnicodeFile
private static void readUnicodeFile()
- reads unicodefile into buffer
parseUnicodeFile
private static void parseUnicodeFile()
- parses unicodefile and creates HashMap with key and htmlword
main
public static void main(java.lang.String[] args)