Class: NLP::Emoticon
- Includes:
- Meaningable
- Defined in:
- lib/tagger/emoticon.rb
Instance Attribute Summary
Attributes inherited from Token
Instance Method Summary collapse
-
#initialize(tokens, tags) ⇒ Emoticon
constructor
A new instance of Emoticon.
Methods included from Meaningable
#bad_word?, #cognitive?, #emotion?, #linguistic?, #negative_emotion?, #personal?, #positive_emotion?, #psychological?, #relative?, #sense?, #social?, #synonym?, #synonyms
Methods inherited from Token
#agl?, #float?, #integer?, #interp?, #number?, #qublic?, #symbol?, #word?
Constructor Details
#initialize(tokens, tags) ⇒ Emoticon
Returns a new instance of Emoticon.
6 7 8 9 |
# File 'lib/tagger/emoticon.rb', line 6 def initialize(tokens,) @orth = tokens.join("") @tags = 'emoticon' end |