class Linguistics::Latin::Verb::LatinVerb::Classifier::VerbClassificationStrategy

Public Class Methods

new(classifier) click to toggle source
# File lib/latinverb_classifier/strategies/verb_classification_strategy.rb, line 7
def initialize(classifier)
  @classifier = classifier
end

Protected Instance Methods

first_pres() click to toggle source
# File lib/latinverb_classifier/strategies/verb_classification_strategy.rb, line 13
def first_pres
  return "" unless input
  input.split(/\s+/)[0]
end
infinitive() click to toggle source
# File lib/latinverb_classifier/strategies/verb_classification_strategy.rb, line 18
def infinitive
  return "" unless input
  input.split(/\s+/)[1]
end
input() click to toggle source
# File lib/latinverb_classifier/strategies/verb_classification_strategy.rb, line 23
def input
  @classifier.input || ''
end