Class: Woods::Retrieval::QueryClassifier::Classification

Inherits:
Struct
  • Object
show all
Defined in:
lib/woods/retrieval/query_classifier.rb

Overview

Classification result

Instance Attribute Summary collapse

Instance Attribute Details

#framework_contextObject

Returns the value of attribute framework_context

Returns:

  • (Object)

    the current value of framework_context



17
18
19
# File 'lib/woods/retrieval/query_classifier.rb', line 17

def framework_context
  @framework_context
end

#intentObject

Returns the value of attribute intent

Returns:

  • (Object)

    the current value of intent



17
18
19
# File 'lib/woods/retrieval/query_classifier.rb', line 17

def intent
  @intent
end

#keywordsObject

Returns the value of attribute keywords

Returns:

  • (Object)

    the current value of keywords



17
18
19
# File 'lib/woods/retrieval/query_classifier.rb', line 17

def keywords
  @keywords
end

#scopeObject

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



17
18
19
# File 'lib/woods/retrieval/query_classifier.rb', line 17

def scope
  @scope
end

#target_typeObject

Returns the value of attribute target_type

Returns:

  • (Object)

    the current value of target_type



17
18
19
# File 'lib/woods/retrieval/query_classifier.rb', line 17

def target_type
  @target_type
end