Sha256: fe10b9f8b2924ac5b19306239cfeb05291396ddf7503efec41f4af50c2cd5b25

Contents?: true

Size: 384 Bytes

Versions: 22

Compression:

Stored size: 384 Bytes

Contents

require 'opener/webservice'

module Opener
  class OpinionDetectorBasic
    ##
    # Basic opinion detector server powered by Sinatra.
    #
    class Server < Webservice::Server
      set :views, File.expand_path('../views', __FILE__)

      self.text_processor  = OpinionDetectorBasic
      self.accepted_params = [:input]
    end # Server
  end # OpinionDetectorBasic
end # Opener

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
opener-opinion-detector-basic-3.3.0 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.2.8 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.2.7 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.2.6 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.2.5 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.2.4 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.2.3 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.2.2 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.2.1 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.2.0 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.1.2 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.1.1 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.1.0 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.0.2 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.0.1 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-3.0.0 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-2.0.7 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-2.0.6 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-2.0.3 lib/opener/opinion_detector_basic/server.rb
opener-opinion-detector-basic-2.0.2 lib/opener/opinion_detector_basic/server.rb