Expand description
Dictionary schema definitions.
This module provides schema structures that define the format and fields of dictionary entries.
§Examples
# Create a custom schema
schema = lindera.Schema([
"surface",
"left_context_id",
"right_context_id",
"cost",
"part_of_speech"
])
# Use default schema
schema = lindera.Schema.create_default()
# Access field information
index = schema.get_field_index("surface")
field = schema.get_field_by_name("part_of_speech")Structs§
- PyField
Definition - Field definition in dictionary schema.
- PySchema
- Dictionary schema definition.
Enums§
- PyField
Type - Field type in dictionary schema.