Skip to main content

Module schema

Module schema 

Source
Expand description

Shared dictionary-schema helpers for the language bindings.

The Python/PHP/Ruby/Node.js Schema wrappers each reimplemented an identical default field list and CSV-record validation. Those are collected here so the logic lives in one place.

Structs§

CoreFieldDefinition
A single schema field definition, decoupled from lindera::dictionary::FieldDefinition.
CoreSchema
Dictionary schema shared by the bindings.

Enums§

CoreFieldType
Category of a schema field, decoupled from lindera::dictionary::FieldType so the bindings depend only on lindera-binding-core.

Functions§

default_dictionary_fields
Default dictionary schema field names shared by all bindings’ Schema.create_default().
validate_record
Validates a CSV record against the given schema field names.