Module: Ruigi

Defined in:
lib/ruigi/word.rb,
lib/ruigi/error.rb,
lib/ruigi/model.rb,
lib/ruigi/version.rb,
lib/ruigi/document.rb,
lib/ruigi/constraints.rb

Defined Under Namespace

Classes: Document, Model, NoDocumentError, NoModelError, Word

Constant Summary collapse

VERSION =
'0.1.1'.freeze
ENABLED_PARTS_OF_SPEECH =
%w(
  名詞
  形容詞
  動詞
).map(&:freeze).freeze
EXCEPT_REGEXP =
%r(
  \\A\\p{hiragana}る\\z
  \d+
).freeze