Skip to main content

default_dictionary_fields

Function default_dictionary_fields 

Source
pub fn default_dictionary_fields() -> Vec<String>
Expand description

Default dictionary schema field names shared by all bindings’ Schema.create_default().

These match lindera::dictionary::Schema::default() exactly, including the pos_detail_1/2/3 POS-detail field names. (Earlier the Python/PHP/Ruby/Node.js bindings used middle_pos/small_pos/fine_pos while WASM used pos_detail_*; that inconsistency was reconciled onto pos_detail_* in v4.0.0.)