Package aspects_doublepropagation

Source Code of aspects_doublepropagation.Main

package aspects_doublepropagation;

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/




import seekfeel.dataholders.Review;
import seekfeel.datareaders.Reviews_Reader;

import java.util.*;
import preprocessing.*;
//import PerformanceEvaluator.*;
import java.io.*;
import java.util.ArrayList;


/**
*
* @author Muhammad Zahran
*/
public class Main {

    /**
     * @param args the command line arguments
     */
   
    public static void main(String[] args) throws IOException
    {
         Reviews_Reader R = new Reviews_Reader();
   ArrayList Revs =  R.Get_Reviews_From_File("\\Nokia 6610.txt")// get all the reviews of a text file and put it in an array of Reviews
         DoublePropagationManager dpMan = new DoublePropagationManager();
         for(int k =0; k < 3/*Revs.size()*/; k++)
         {
            Review r = (Review)Revs.get(k);
           // ArrayList<String> aspects = dpMan.extractAspects(r);
            int x = 0;
         }
    }
   
}
TOP

Related Classes of aspects_doublepropagation.Main

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.