public wordFeatures(String word, String label, String prefixWord, String suffixWord)

	{
	   this.word = word;
	   this.wordCounts++;
	   
	   if(!this.labels.contains(label)){
		   this.labels.add(label);
		   int labelIndex = this.labels.indexOf(label);
		   this.labelCounts.add(labelIndex, 1);
	   } else if(this.labels.contains(label)){
		   int labelIndex = this.labels.indexOf(label);
		   int labelCount = this.labelCounts.get(labelIndex);
		   labelCount += 1;
		   this.labelCounts.set(labelIndex, labelCount);
	   }
	   
	   if(!this.prefixWords.contains(prefixWord)){
			this.prefixWords.add(prefixWord);
			int prefixWordsIndex = this.prefixWords.indexOf(prefixWord);
			this.prefixWordCounts.add(prefixWordsIndex, 1);
		} else if(this.prefixWords.contains(prefixWord)){
		    int prefixWordsIndex = this.labels.indexOf(prefixWord);
			int prefixWordCount = this.prefixWordCounts.get(prefixWordsIndex);
			prefixWordCount += 1;
			this.prefixWordCounts.set(prefixWordsIndex, prefixWordCount);
		}
		
		if(!this.suffixWords.contains(suffixWord)){
			this.suffixWords.add(suffixWord);
			int suffixWordIndex = this.suffixWords.indexOf(suffixWord);
			this.suffixWordCounts.add(suffixWordIndex, 1);
		} else if(this.suffixWords.contains(suffixWord)){
		    int suffixWordIndex = this.suffixWords.indexOf(suffixWord);
			int suffixWordCount = this.suffixWordCounts.get(suffixWordIndex);
			suffixWordCount += 1;
			this.suffixWordCounts.set(suffixWordIndex, suffixWordCount);
		}
	}