@Override
	public Boolean[] segment(Utterance utterance, boolean training, boolean trace) {
		// Get info about the utterance. Since the segmentation is a copy,
		// don't worry about modifying it
		String[] units = utterance.getUnits();
		Boolean[] segmentation = utterance.getBoundariesCopy();
		Boolean[] stresses = utterance.getStresses();

		// Go through the n-1 words of the utterance, placing a boundary
		// where there are two sequential stresses
		for (int i = 0; i < units.length - 1; i++) {
			if (stresses[i] && stresses[i + 1]) {
				segmentation[i] = true;
				uscSegs++;
			}
		}

		// Increment the words used
		if (training) {
			lexicon.incUtteranceWords(utterance.getUnits(), utterance.getStresses(), segmentation,
					null);
		}

		return segmentation;
	}