public Word getWordInGroup(int category,Group g) {

		
		LinkedList<Word> targetLex = new LinkedList<Word>();
		
		for(Word ww : lexiconCategory[category]) {
			if(ww.getGroup().getID()==g.getID())
				targetLex.add(ww);
		}
		
		if(targetLex.size()==0) {
//			System.out.println("0 Size for self-group");
			return Word.initialWord(g,category,cs);
		}
		
		return targetLex.get(gen.nextInt(targetLex.size()));
	}