Sha256: 080834bbfe7591dd1bb3f65d879a011f7e5aca3c13496de6f68ffaa0aa96fb3f

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

require 'opener/webservice'

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
opener-tree-tagger-4.1.1 lib/opener/tree_tagger/server.rb
opener-tree-tagger-4.1.0 lib/opener/tree_tagger/server.rb
opener-tree-tagger-4.0.0 lib/opener/tree_tagger/server.rb