Although Windows is not officially supported, your
svsf.run(new String[]{inputPath.toString(), outputPath.toString()})
should be
svsf.run(new String[]{"-i",inputPath.toString(), "-o",
outputPath.toString()}) anyway.Best Gokhan On Thu, Sep 12, 2013 at 4:14 PM, Darius Miliauskas < [email protected]> wrote: > Dear All, > > I am trying to use SparseVectorsFromSequenceFiles () through Java code > (NetBeans 7&Windows 7) . here is my code (API): > > //inputPath is the path of my SequenceFile > Path inputPath = new Path(""C:\\Users\\DARIUS\\forTest1.txt"); > > //outputPath where I expect some results > Path outputPath = new Path("C:\\Users\\DARIUS\\forTest2.txt"); > > SparseVectorsFromSequenceFiles svfsf = new SparseVectorsFromSequenceFiles > (); > svfsf.run(new String []{inputPath.toString(), outputPath.toString() > }); > > Build is successful. However, at the end I got just the empty file what was > expected to be my output. Do you have any idea why the output file is > empty, and what I should change in the code to get the results? > > > Ciao, > > Darius >
