Beispiel #1
0
 public void start(
     I iface,
     tokenize_args args,
     org.apache.thrift.async.AsyncMethodCallback<List<List<String>>> resultHandler)
     throws TException {
   iface.tokenize(args.document, args.wordGran, resultHandler);
 }
Beispiel #2
0
 public tokenize_result getResult(I iface, tokenize_args args)
     throws org.apache.thrift.TException {
   tokenize_result result = new tokenize_result();
   result.success = iface.tokenize(args.document, args.wordGran);
   return result;
 }