java analysis with weka libraries