[][src]Struct google_healthcare1_beta1::InfoTypeConfig

pub struct InfoTypeConfig {
    pub ignore_list: Option<FilterList>,
    pub strict_matching: Option<bool>,
    pub evaluate_list: Option<FilterList>,
}

Specifies how to use infoTypes for evaluation. For example, a user might only want to evaluate PERSON, LOCATION, and AGE.

This type is not used in any activity, and only used as part of another schema.

Fields

ignore_list: Option<FilterList>

no description provided

strict_matching: Option<bool>

If TRUE, infoTypes described by filter are used for evaluation. Otherwise, infoTypes are not considered for evaluation. For example:

  • Annotated text: "Toronto is a location"
  • Finding 1: {"infoType": "PERSON", "quote": "Toronto", "start": 0, "end": 7}
  • Finding 2: {"infoType": "CITY", "quote": "Toronto", "start": 0, "end": 7}
  • Finding 3: {}
  • Ground truth: {"infoType": "LOCATION", "quote": "Toronto", "start": 0, "end": 7}

When strict_matching is TRUE:

  • Finding 1: 1 false positive
  • Finding 2: 1 false positive
  • Finding 3: 1 false negative

When strict_matching is FALSE:

  • Finding 1: 1 true positive
  • Finding 2: 1 true positive
  • Finding 3: 1 false negative
evaluate_list: Option<FilterList>

no description provided

Trait Implementations

impl Clone for InfoTypeConfig[src]

impl Debug for InfoTypeConfig[src]

impl Default for InfoTypeConfig[src]

impl<'de> Deserialize<'de> for InfoTypeConfig[src]

impl Part for InfoTypeConfig[src]

impl Serialize for InfoTypeConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any