# DictionaryPath

Parameter `DictionaryPath` sets the path of the dictionary file.

## JSON Structure

**Location in template:**

```
LabelRecognizerTaskSettingOptions[i]
    └── SectionArray[j] (Section object)
        └── StageArray[k] (Stage object where Stage = "SST_RECOGNIZE_RAW_TEXT_LINES")
            └── DictionaryPath
```

**Parent object:** [RecognizeRawTextLinesStage](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/label-recognizer-task-settings/stage-recognize-raw-text-lines.md)

**Example:**

```json
{
    "DictionaryPath": "D:\\DictModel\\nutrition.txt"
}
```

> [!NOTE]
> - This snippet shows only the `DictionaryPath` parameter.
> - To use it, embed this parameter within a [RecognizeRawTextLinesStage](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/label-recognizer-task-settings/stage-recognize-raw-text-lines.md) object.
> - For the complete JSON structure, see:
>   - [Full JSON Structure](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/index.md)
>   - [Minimal Valid JSON](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/index.md#minimal-valid-json)

## Parameter Details

| DictionaryPath Parameter Details |
| :----------------------------------- |
| **Type**<br>*String* |
| **Range**<br>The absolute file path.|
| **Default Value**<br>"" |
| **Remarks**<br>" " indicates that the dictionary is not enabled. It works together with the [DictionaryCorrectionThresholds](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/label-recognizer-task-settings/dictionary-correction-thresholds.md) parameter to perform error correction during the recognition process.|
