Sha256: d410a84b43d6d140ab8af8f36b7caf2f530bc418cd0dae47963d32de75bf1b15

Contents?: true

Size: 369 Bytes

Versions: 13

Compression:

Stored size: 369 Bytes

Contents

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

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
opener-tree-tagger-3.3.0 lib/opener/tree_tagger/server.rb
opener-tree-tagger-3.2.7 lib/opener/tree_tagger/server.rb
opener-tree-tagger-3.2.5 lib/opener/tree_tagger/server.rb
opener-tree-tagger-3.2.4 lib/opener/tree_tagger/server.rb
opener-tree-tagger-3.0.3 lib/opener/tree_tagger/server.rb
opener-tree-tagger-3.0.2 lib/opener/tree_tagger/server.rb
opener-tree-tagger-3.2.3 lib/opener/tree_tagger/server.rb
opener-tree-tagger-3.2.2 lib/opener/tree_tagger/server.rb
opener-tree-tagger-3.2.0 lib/opener/tree_tagger/server.rb
opener-tree-tagger-3.0.1 lib/opener/tree_tagger/server.rb
opener-tree-tagger-2.0.2 lib/opener/tree_tagger/server.rb
opener-tree-tagger-2.0.1 lib/opener/tree_tagger/server.rb
opener-tree-tagger-2.0.0 lib/opener/tree_tagger/server.rb