edu.stanford.nlp.misc
Class SeeChars
java.lang.Object
edu.stanford.nlp.misc.SeeChars
public class SeeChars
- extends Object
This class tells you in detail about what characters are contained in
a certain file when it is interpreted as being in a certain encoding.
This is useful when you want to be absolutely sure what characters are
in a file and your computer may not be displaying them correctly.
There is a command-line version, and a version that you can call to do
the same thing on a String.
This class can handle Unicode characters that are outside the
Base Multilingual Plane.
- Author:
- Christopher Manning
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
seeChars
public static void seeChars(String str,
String outputEncoding)
seeChars
public static void seeChars(String str,
PrintWriter pw)
seeList
public static void seeList(List<?> sentence,
String outputEncoding)
seeCodePoint
public static void seeCodePoint(int ch,
PrintWriter pw)
main
public static void main(String[] args)
Stanford NLP Group