Sha256: a231e7426c3430e79d576690d31fb632962f1aae47a9c1d6263d6077e2e4fdf6

Contents?: true

Size: 377 Bytes

Versions: 12

Compression:

Stored size: 377 Bytes

Contents

require 'sinatra/base'
require 'httpclient'
require 'opener/webservice'

module Opener
  class PolarityTagger
    ##
    # Polarity tagger server powered by Sinatra.
    #
    class Server < Webservice
      set :views, File.expand_path('../views', __FILE__)
      text_processor PolarityTagger
      accepted_params :input
    end # Server
  end # PolarityTagger
end # Opener

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
opener-polarity-tagger-2.5.0 lib/opener/polarity_tagger/server.rb
opener-polarity-tagger-2.4.2 lib/opener/polarity_tagger/server.rb
opener-polarity-tagger-2.4.1 lib/opener/polarity_tagger/server.rb
opener-polarity-tagger-2.4.0 lib/opener/polarity_tagger/server.rb
opener-polarity-tagger-2.3.2 lib/opener/polarity_tagger/server.rb
opener-polarity-tagger-2.3.1 lib/opener/polarity_tagger/server.rb
opener-polarity-tagger-2.2.4 lib/opener/polarity_tagger/server.rb
opener-polarity-tagger-2.2.3 lib/opener/polarity_tagger/server.rb
opener-polarity-tagger-2.2.2 lib/opener/polarity_tagger/server.rb
opener-polarity-tagger-2.2.1 lib/opener/polarity_tagger/server.rb
opener-polarity-tagger-2.2.0 lib/opener/polarity_tagger/server.rb
opener-polarity-tagger-2.1.3 lib/opener/polarity_tagger/server.rb