internal static ArrayList run(string[] strs) { modshogun.init_shogun_with_defaults(); StringCharFeatures f = new StringCharFeatures(strings, RAWBYTE); f.set_feature_vector(new DoubleMatrix(new double[][] {{'t','e','s','t'}}), 0); ArrayList result = new ArrayList(); result.Add(f.get_features()); result.Add(f); modshogun.exit_shogun(); return result; }