infer_by_index: Infer by Index

View source: R/infer_from_text.R

infer_by_indexR Documentation

Infer by Index

Description

Infer by Index

Usage

infer_by_index(
  text = NULL,
  target_mention_from = NULL,
  target_mention_to = NULL
)

Arguments

text

: The whole text.

target_mention_from

Beginning Index of Target.

target_mention_to

End Index of Target.

Value

the sentiment

Examples

print(sentiment[0])

fhamborg/sentiment4news documentation built on April 12, 2022, 12:36 p.m.