Skip to main content

Module metadata

Module metadata 

Source
Expand description

Dictionary metadata configuration.

This module provides structures for configuring dictionary metadata, including character encodings and schema definitions. The defaults and schema wiring are delegated to lindera_binding_core::CoreMetadata; this module only adds the PyO3 wrappers.

§Examples

# Create metadata with default values
metadata = lindera.Metadata()

# Create metadata with custom values
metadata = lindera.Metadata(
    name="custom_dict",
    encoding="UTF-8",
)

# Load metadata from JSON
metadata = lindera.Metadata.from_json_file("metadata.json")

Structs§

PyMetadata
Dictionary metadata configuration.

Functions§

register