neuralset.events.etypes.Word

pydantic model neuralset.events.etypes.Word[source][source]

Single word event with optional sentence information.

Parameters:
  • sentence (str, optional) – Full sentence containing this word. Default: “”

  • sentence_char (int, optional) – Character position of the word in the sentence. Default: None

Fields:
field sentence: str = ''[source]
field sentence_char: int | None = None[source]
requirements: tp.ClassVar[tuple[str, ...]] = ()[source]
type: tp.ClassVar[str] = 'Word'[source]