// Path: src/edu/antonym/prototype/Thesaurus.java
// public interface Thesaurus {
// 	public interface Entry {
// 		public int word1();
// 		public int word2();
// 		public boolean isAntonym();
// 	}
// 	public Vocabulary getVocab();
// 	
// 	//Returns the words included in the Thesaurus
// 	public int numEntries();
// 	public int numSynonyms();
// 	public int numAntonyms();
// 	public Entry getEntry(int entryn);
// 	
// 	public int lookupEntry(int word1, int word2, boolean isAnt);
// 
// 	
// 	public boolean isAntonym(int word1, int word2);
// 	public boolean isSynonym(int word1, int word2);
// }
// 
// Path: src/edu/antonym/prototype/Vocabulary.java
// public interface Vocabulary {
// 	public int size();
// 	public int OOVindex();
// 	public String lookupIndex(int index);
// 	public int lookupWord(String word);
// 	public int getVocabSize();
// }


import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;
import edu.antonym.prototype.Thesaurus;
import edu.antonym.prototype.Vocabulary;
package edu.antonym;



public class ThesaurusImp implements Thesaurus{

	Map<Integer, List<Integer>> lookUpAntonym;
	Map<Integer, List<Integer>> lookUpSynonym;
	List<Integer> entries;
// Path: src/edu/antonym/prototype/Thesaurus.java
// public interface Thesaurus {
// 	public interface Entry {
// 		public int word1();
// 		public int word2();
// 		public boolean isAntonym();
// 	}
// 	public Vocabulary getVocab();
// 	
// 	//Returns the words included in the Thesaurus
// 	public int numEntries();
// 	public int numSynonyms();
// 	public int numAntonyms();
// 	public Entry getEntry(int entryn);
// 	
// 	public int lookupEntry(int word1, int word2, boolean isAnt);
// 
// 	
// 	public boolean isAntonym(int word1, int word2);
// 	public boolean isSynonym(int word1, int word2);
// }
// 
// Path: src/edu/antonym/prototype/Vocabulary.java
// public interface Vocabulary {
// 	public int size();
// 	public int OOVindex();
// 	public String lookupIndex(int index);
// 	public int lookupWord(String word);
// 	public int getVocabSize();
// }


// Path: src/edu/antonym/ThesaurusImp.java
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;
import edu.antonym.prototype.Thesaurus;
import edu.antonym.prototype.Vocabulary;

package edu.antonym;



public class ThesaurusImp implements Thesaurus{

	Map<Integer, List<Integer>> lookUpAntonym;
	Map<Integer, List<Integer>> lookUpSynonym;
	List<Integer> entries;
	Vocabulary vocab;