Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jjromannet/IWI.git
Browse files Browse the repository at this point in the history
  • Loading branch information
jjroman committed Jan 31, 2013
2 parents 79d672e + 75521e1 commit af1e131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/sem2/iwi/tweets/GettingTweets.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public static void createCategoriesDictionary(HashSet<String> categories){
int i=1;

for(String s : categories){
bw.write(i + " " + s + "\n");
bw.write(i + "\t" + s + "\n");
i++;
}

Expand All @@ -111,7 +111,7 @@ public static Map<String,Integer> readCategoriesDictionary(){

while (scanner.hasNextLine()){

String[] result = scanner.nextLine().split(" ");
String[] result = scanner.nextLine().split("\t");

if(result.length!=1){
categoryMappings.put( result[1],Integer.parseInt(result[0]));
Expand Down

0 comments on commit af1e131

Please sign in to comment.