<br />

Word-level timing alignment mapping an input word to audio seconds.

**Signature:**

```typescript
export declare interface WordTimestamp 
```

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [word](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.wordtimestamp.md.txt#wordtimestampword) |   | string | Original surface word token from the input text. |
| [startChar](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.wordtimestamp.md.txt#wordtimestampstartchar) |   | number | Zero-based UTF-16 code unit index of the start of `word` in the input text (compatible with `String.prototype.slice(startChar, endChar)`). |
| [endChar](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.wordtimestamp.md.txt#wordtimestampendchar) |   | number | Zero-based UTF-16 code unit index of the end of `word` (exclusive) in the input text (compatible with `String.prototype.slice(startChar, endChar)`). |
| [startSec](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.wordtimestamp.md.txt#wordtimestampstartsec) |   | number | Estimated start time in seconds within the synthesized audio waveform. |
| [endSec](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.wordtimestamp.md.txt#wordtimestampendsec) |   | number | Estimated end time in seconds within the synthesized audio waveform. |

## WordTimestamp.word

Original surface word token from the input text.

**Signature:**

```typescript
word: string;
```

## WordTimestamp.startChar

Zero-based UTF-16 code unit index of the start of `word` in the input text (compatible with `String.prototype.slice(startChar, endChar)`).

**Signature:**

```typescript
startChar: number;
```

## WordTimestamp.endChar

Zero-based UTF-16 code unit index of the end of `word` (exclusive) in the input text (compatible with `String.prototype.slice(startChar, endChar)`).

**Signature:**

```typescript
endChar: number;
```

## WordTimestamp.startSec

Estimated start time in seconds within the synthesized audio waveform.

**Signature:**

```typescript
startSec: number;
```

## WordTimestamp.endSec

Estimated end time in seconds within the synthesized audio waveform.

**Signature:**

```typescript
endSec: number;
```