private static void splitWordsAndDefs(String[] str)
	{
		
		ArrayList<String> wordList  = new ArrayList<String>();
		ArrayList<String> defList = new ArrayList<String>();
		for(String s : str)
		{
			
			String word = "";
			String def = "";
			char[] ch = s.toCharArray();
			int section = 0;
			for(int i = 0; i < ch.length; i++)
			{
				
				if(section == 0)
				{
					
					if(ch[i] == ' ' && ch[i+1] == '-')
					{
						
						section = 1;
						
					}
					else
					{
						
						word += ch[i];
						
					}
					
				}
				else
				{
					
					if(!((ch[i-1] == '-' && ch[i] == ' ') || (ch[i] == '-' && ch[i+1] == ' ')))
					{
						
						def += ch[i];
						
					}
					
				}
				
			}
			
			wordList.add(word);
			defList.add(def);
			
		}
		
		words = wordList.toArray(new String[wordList.size()]);
		definitions = defList.toArray(new String[defList.size()]);
		
	}