Ejemplo n.º 1
0
    internal static ArrayList run(string filename)
    {
        modshogun.init_shogun_with_defaults();
        StringCharFeatures f = new StringCharFeatures(RAWBYTE);
        f.load_from_directory(".");

        AsciiFile fil = new AsciiFile(fname);
        f.load(fil);

        ArrayList result = new ArrayList();
        result.Add(f.get_features());
        result.Add(f);

        modshogun.exit_shogun();
        return result;
    }