neuralset.events.etypes.Word

class neuralset.events.etypes.Word(*, start: float, timeline: str, duration: Annotated[float, Ge(ge=0)] = 0.0, extra: dict[str, Any] = {}, text: Annotated[str, MinLen(min_length=1)], language: str = '', context: str = '', modality: Literal['heard', 'read', 'imagined', 'typed', 'written', 'caption'] | None = None, sentence: str = '', sentence_char: int | None = None)[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