LenientProjectionPolicy

class LenientProjectionPolicy(val confidenceThreshold: Double = 0.7) : ProjectionPolicy

Lenient projection policy that allows partial resolution. Requires at least subject and object mentions to be resolved.

Constructors

Link copied to clipboard
constructor(confidenceThreshold: Double = 0.7)

Properties

Link copied to clipboard
open override val confidenceThreshold: Double = 0.7

Minimum confidence required (default 0.7)

Functions

Link copied to clipboard
open override fun shouldProject(proposition: Proposition): Boolean

Determine if the given proposition should be projected.