isValid

abstract fun isValid(mention: SuggestedMention, propositionText: String): Boolean

Validates whether an entity mention should be included in entity resolution.

Return

true if mention is valid and should be resolved, false to filter out

Parameters

mention

The mention extracted by LLM

propositionText

The full proposition text for context