Closed luoying1105 closed 2 years ago
@luoying1105 Have you try the code below in ruby console?
# encoding: UTF-8`
require 'thailang4r/word_breaker'
word_breaker = ThaiLang::WordBreaker.new
puts word_breaker.break_into_words("ฉันกินข้าว")
This link will describes you about how to run a ruby code or file on your terminal https://stackoverflow.com/questions/12378818/how-to-run-ruby-code-from-terminal
i have install but how to use it