Class: Roseflow::Text::TokenizedText
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Roseflow::Text::TokenizedText
- Defined in:
- lib/roseflow/text/tokenized_text.rb
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
15 16 17 |
# File 'lib/roseflow/text/tokenized_text.rb', line 15 def to_s text end |
#token_count ⇒ Object
11 12 13 |
# File 'lib/roseflow/text/tokenized_text.rb', line 11 def token_count tokens.count end |