test(true, "Good morning loves 😁😁 apple jacks doe http://t.co/nOfi42enoQ", localDRPC);
test(true, "@Saad_khan33 No i prefer apple anyday", localDRPC);
} finally {
cluster.shutdown();
localDRPC.shutdown();
}
}
protected static void test(boolean expected, String text, LocalDRPC localDRPC) {
boolean actual = extractPrediction(localDRPC.execute("classify", text));