This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Attributes { | |
public static void main(String[] args) throws IOException { | |
BufferedReader br = new BufferedReader(new FileReader(args[0])); | |
String line = ""; | |
JsonParser jsonParser = new JsonParser(); | |
BufferedWriter output = | |
new BufferedWriter(new FileWriter(new File(args[1]))); | |
HashSet<String> ratings = new HashSet<String>(); | |
while((line = br.readLine()) != null){ | |
JsonElement json = jsonParser.parse(line); |