private void addWord(StringBuilder word, boolean addFirst) {
		//removing all none chars from the end.
		while(mLangInnerChars.contains(word.charAt(word.length()-1)))
			word.setLength(word.length()-1);
		String typedWord = word.toString();
		String wordFound = typedWord.toLowerCase();
		if (mWords.containsKey(wordFound))
		{//it must be inside already (from the dictionary)
			mWords.get(wordFound).addFreq(typedWord);
		}
		else if (addFirst)
		{
			mWords.put(wordFound, new WordWithCount(typedWord));
		}
			
		word.setLength(0);
	}