pub struct EntityExtractor { /* private fields */ }Expand description
Deterministic engine extracting strongly-typed semantic entities from scanner evidence.
Implementations§
Source§impl EntityExtractor
impl EntityExtractor
Sourcepub fn with_limits(limits: SemanticExtractionLimits) -> Self
pub fn with_limits(limits: SemanticExtractionLimits) -> Self
Creates a new entity extractor with custom safety limits.
Sourcepub fn limits(&self) -> &SemanticExtractionLimits
pub fn limits(&self) -> &SemanticExtractionLimits
Returns a reference to the extractor limits.
Sourcepub fn extract_from_snapshot(
&self,
snapshot: &KnowledgeSnapshot,
) -> SemanticExtractionResult
pub fn extract_from_snapshot( &self, snapshot: &KnowledgeSnapshot, ) -> SemanticExtractionResult
Extracts entities from a knowledge snapshot.
Sourcepub fn extract_from_evidence(
&self,
evidence_list: &[Evidence],
) -> SemanticExtractionResult
pub fn extract_from_evidence( &self, evidence_list: &[Evidence], ) -> SemanticExtractionResult
Extracts entities deterministically from a slice of evidence records.
Trait Implementations§
Source§impl Clone for EntityExtractor
impl Clone for EntityExtractor
Source§fn clone(&self) -> EntityExtractor
fn clone(&self) -> EntityExtractor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntityExtractor
impl Debug for EntityExtractor
Auto Trait Implementations§
impl Freeze for EntityExtractor
impl RefUnwindSafe for EntityExtractor
impl Send for EntityExtractor
impl Sync for EntityExtractor
impl Unpin for EntityExtractor
impl UnsafeUnpin for EntityExtractor
impl UnwindSafe for EntityExtractor
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more