Mention
data class Mention(val id: String, val resolvedId: String? = null, val span: String, val type: String, val role: String)
Drivine graph projection of a dice EntityMention: an entity reference within a proposition.
role is stored as the com.embabel.dice.proposition.MentionRole name string to keep this package free of dice-core types (see PropositionNode). resolvedId is range-indexed because entity filters (mentions.any { resolvedId eq ... }) query it.
Constructors
Properties
Link copied to clipboard
Link copied to clipboard
com.embabel.dice.proposition.MentionRole name (SUBJECT / OBJECT / OTHER).