# frozen_string_literal: true
# Load the dictionary
dictionary = Lindera.load_dictionary()
# Create a tokenizer with decompose mode
tokenizer = Lindera::Tokenizer.new(dictionary, , nil)
text =
puts
# Tokenize the text
tokens = tokenizer.tokenize(text)
tokens.each do
puts token.surface
end