This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/python/enums/word-refining-method.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. WordRefiningMethod

Method used to refine handwritten word text when AI-augmented text is available.

from nutrient_sdk import WordRefiningMethod

Values

NameValueDescription
WordRefiningMethod.HEURISTIC0Uses heuristic character-level alignment to redistribute AI-augmented word boundaries across detected bounding boxes.
WordRefiningMethod.VLM1Uses an additional AI model call to correct each detected word’s text individually.

Usage Example

from nutrient_sdk import WordRefiningMethod
# Access enum values
value = WordRefiningMethod.HEURISTIC
print(f"Value: {value}") # Output: Value: WordRefiningMethod.HEURISTIC
print(f"Integer value: {value.value}") # Output: Integer value: 0