// 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.FileNotFoundException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import javax.swing.event.ListSelectionEvent;
import edu.antonym.prototype.Thesaurus;
import edu.antonym.prototype.Vocabulary;
			return compare;
		}

		@Override
		public boolean equals(Object obj) {
			if (obj instanceof ThesaurusEntry) {
				ThesaurusEntry other = ((ThesaurusEntry) obj);
				return word1 == other.word1 && isAntonym == other.isAntonym
						&& this.word2 == other.word2;
			}
			return false;
		}

		@Override
		public int word1() {
			return word1;
		}

		@Override
		public int word2() {
			return word2;
		}

		@Override
		public boolean isAntonym() {
			return isAntonym;
		}

	}

// 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/SimpleThesaurus.java
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import javax.swing.event.ListSelectionEvent;
import edu.antonym.prototype.Thesaurus;
import edu.antonym.prototype.Vocabulary;

			return compare;
		}

		@Override
		public boolean equals(Object obj) {
			if (obj instanceof ThesaurusEntry) {
				ThesaurusEntry other = ((ThesaurusEntry) obj);
				return word1 == other.word1 && isAntonym == other.isAntonym
						&& this.word2 == other.word2;
			}
			return false;
		}

		@Override
		public int word1() {
			return word1;
		}

		@Override
		public int word2() {
			return word2;
		}

		@Override
		public boolean isAntonym() {
			return isAntonym;
		}

	}

	Vocabulary vocab;