private void setIsWordStatus(FoundStringWithWordStatus foundString) {
		String string = foundString.getString(program.getMemory());
		if (string == null) {
			foundString.setIsHighConfidenceWord(false);
			return;
		}

		StringAndScores candidateString =
			new StringAndScores(string, NGramUtils.isLowerCaseModel());

		// Don't bother continuing if string length is shorter than model's absolute min length
		if (candidateString.getScoredStringLength() >= NGramUtils.getMinimumStringLength()) {
			NGramUtils.scoreString(candidateString);
			foundString.setIsHighConfidenceWord(candidateString.isScoreAboveThreshold());
		}
	}
Uses the StringsAnalyzer model to determine if the given string is a high confidence word.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/string/FoundDefinedStringIterator.java