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); }
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; }