NlpSaftEntity

AI Overview😉

  • The potential purpose of this module is to identify and analyze named entities in a document, such as people, organizations, and locations, and to understand their relationships and context within the document. This includes identifying the type of entity, its mentions in the document, and its salience or importance to the document.
  • This module could impact search results by allowing Google to better understand the content and meaning of a webpage, and to identify the most relevant and important entities mentioned in the page. This could lead to more accurate and relevant search results, as well as improved functionality for features like entity-based search and knowledge graph results.
  • To be more favorable for this function, a website could focus on creating high-quality, entity-rich content that clearly identifies and describes the entities mentioned in the page. This could include using schema markup to identify entities, as well as creating content that is well-structured and easy to understand. Additionally, using natural language processing techniques to identify and analyze entities could also be beneficial.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntity (google_api_content_warehouse v0.4.0)

Named entities in the document.

Attributes

  • antecedent (type: integer(), default: nil) - Antecedent for entity. This is used to make coreference chains before the mentions in the document are grouped by entity.
  • entityType (type: String.t, default: nil) - Entity type (e.g. PER, ORG, LOC). WARNING: This field is deprecated. go/saft-replace-deprecated-entity-type
  • entityTypeProbability (type: list(float()), default: nil) - Probability distribution over entity types. These values correspond to Document.entity_label values: doc.entity[e].entity_type_probability[n] is the probability that the correct label for doc.entity[e] is doc.entity_label[n]. These probabilities sum to 1.0 (with possible rounding error). WARNING: This field is deprecated. go/saft-replace-deprecated-entity-type
  • gender (type: String.t, default: nil) - Gender for entity.
  • info (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - Application-specific information about this entity.
  • mention (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSaftMention.t), default: nil) - Mentions of the entity in the document.
  • name (type: String.t, default: nil) - Representative entity name.
  • profile (type: GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfile.t, default: nil) - Profile for entity.
  • referent (type: GoogleApi.ContentWarehouse.V1.Model.NlpSaftReferent.t, default: nil) - Referent information for discourse context entities that are not mentioned in the document. These can be merged with mentioned entities during analysis if they are deemed to be coreferent. Entities with referents should not have any mentions if they do not corefer with anything. For example, when adding context entities to an input document prior to SAFT analysis, those entities should have a referent and no mentions.
  • representativeMention (type: integer(), default: nil) - Representative mention, as an index into mention.
  • salience (type: float(), default: nil) - Score indicating the saliency (centrality) of this entity to the document.
  • type (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityType.t), default: nil) - Entity types of the entity. These can include SAFT types (/saft/location, /saft/art, /saft/other/living_thing, etc), collections types (/collection/tv_personalities, /collection/statistical_regions, etc), and more. This refers to the type of the entity itself: in "She is on TV", "She" refers to a specific actor, with type "/collection/tv_personalities". Cf. Mention.Type, which is the type of the referring mention.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntity{
  antecedent: integer() | nil,
  entityType: String.t() | nil,
  entityTypeProbability: [float()] | nil,
  gender: String.t() | nil,
  info: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  mention: [GoogleApi.ContentWarehouse.V1.Model.NlpSaftMention.t()] | nil,
  name: String.t() | nil,
  profile: GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfile.t() | nil,
  referent: GoogleApi.ContentWarehouse.V1.Model.NlpSaftReferent.t() | nil,
  representativeMention: integer() | nil,
  salience: float() | nil,
  type: [GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityType.t()] | nil
}

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.