# `Chunx.SentenceChunk`
[🔗](https://github.com/preciz/chunx/blob/main/lib/chunx/sentence_chunk.ex#L1)

Struct representing a sentence chunk with metadata.

## Fields
  * `:text` - The text content of the chunk
  * `:start_byte` - The starting index of the chunk in the original text
  * `:end_byte` - The ending index of the chunk in the original text
  * `:token_count` - The number of tokens in the chunk
  * `:sentences` - List of Chunk structs in the chunk

# `t`

```elixir
@type t() :: %Chunx.SentenceChunk{
  end_byte: non_neg_integer(),
  sentences: [Chunk.t()],
  start_byte: non_neg_integer(),
  text: String.t(),
  token_count: pos_integer()
}
```

# `new`

```elixir
@spec new(String.t(), non_neg_integer(), non_neg_integer(), pos_integer(), [Chunk.t()]) ::
  t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
