public class WhatsWrongHelper extends Object
| Constructor and Description |
|---|
WhatsWrongHelper() |
| Modifier and Type | Method and Description |
|---|---|
static com.googlecode.whatswrong.NLPInstance |
getNLPInstance(Sentence s) |
static void |
main(String[] args) |
static ByteArrayOutputStream |
renderJPG(com.googlecode.whatswrong.NLPInstance instance,
double scaleFactor) |
static ByteArrayOutputStream |
renderPNG(com.googlecode.whatswrong.NLPInstance instance,
double scaleFactor) |
public static ByteArrayOutputStream renderJPG(com.googlecode.whatswrong.NLPInstance instance, double scaleFactor) throws IOException
IOExceptionpublic static ByteArrayOutputStream renderPNG(com.googlecode.whatswrong.NLPInstance instance, double scaleFactor) throws IOException
IOExceptionpublic static com.googlecode.whatswrong.NLPInstance getNLPInstance(Sentence s)
public static void main(String[] args) throws IOException
IOExceptionCopyright © 2016. All rights reserved.