> For the complete documentation index, see [llms.txt](https://api-docs.speechace.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.speechace.com/api-reference/score-text-pronunciation/handling-phoneme-and-syllable-scores.md).

# Handling phoneme and syllable scores

Just as we have word-level pronunciation quality scores, we also assess pronunciation at the phoneme and syllable levels:

<div align="left"><figure><img src="/files/lkiaBkQkpjYGCKonG0Dq" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/yFpw4ZC4Hjept19ciR4S" alt="" width="285"><figcaption></figcaption></figure></div>

Additionally, the **lexical stress level** measures how accurately the stressed syllables or phonemes in a word are pronounced compared to the expected stress pattern. In this context, `stress_level` represents the expected stress level, while `predicted_stress_level` indicates the actual stress level determined by the pronunciation evaluation. Possible values are:

1. `0`: unstressed&#x20;
2. `1`: primary stress&#x20;
3. `2`: secondary stress

Note that **lexical stress score** evaluates the quality of stress applied to syllables or phonemes, ranging from 0 to 100. A higher score indicates better accuracy in stress placement according to the expected pattern.

Lastly note the **Sound most like** value&#x73;**, which** indicate how the pronounced phoneme sounded compared to the expected phoneme.

<div align="left"><figure><img src="/files/ci1MnzCH2bk07B0F1KRj" alt="" width="305"><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://api-docs.speechace.com/api-reference/score-text-pronunciation/handling-phoneme-and-syllable-scores.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
