public static void main(String[] args) {
        File f = new File("av.txt");
        ParseData pd = new ParseData(f);
        pd.start();
        try {
            pd.join();
        } catch (InterruptedException ex) {
            Logger.getLogger(BiDictionary.class.getName()).log(Level.SEVERE, null, ex);
        }
        
        ArrayList<Word> lw = pd.getWordList();
        
        Scanner input = new Scanner(System.in);
        int index;
        do{
            System.out.print("Enter a word: ");
            String word = input.nextLine();


            Search s = new Search(word,lw);
            index = s.getIndex();
            if(index ==0){
                System.out.println("No found your word");
            }else{
                Word aw = lw.get(index);
                System.out.println(aw.getWord() + " : "+ aw.getMind());
            }
        }while(index != 0);
    }