module Textoken
Textoken
is a library for customizable tokenization of texts. Customizable tokenization can be used in many areas including NLP purposes
Constants
- ExpressionError
- GEM_ROOT
- TypeError
- VERSION
Public Class Methods
expression_err(msg)
click to toggle source
Expression error raised in wrong user input of options & values
# File lib/textoken.rb, line 33 def expression_err(msg) fail ExpressionError, msg end
type_err(msg)
click to toggle source
Type error raised when user input format is right but the option value is not suitable for option
# File lib/textoken.rb, line 39 def type_err(msg) fail TypeError, msg end