Sha256: efae13040ef0fb28e9af9d374deb0be5e754d9dd5b1168c01b276adec2ab4971

Contents?: true

Size: 332 Bytes

Versions: 9

Compression:

Stored size: 332 Bytes

Contents

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
opener-ner-2.1.0 lib/opener/ner/server.rb
opener-ner-2.0.7 lib/opener/ner/server.rb
opener-ner-2.0.6 lib/opener/ner/server.rb
opener-ner-2.0.5 lib/opener/ner/server.rb
opener-ner-2.0.4 lib/opener/ner/server.rb
opener-ner-2.0.3 lib/opener/ner/server.rb
opener-ner-2.0.2 lib/opener/ner/server.rb
opener-ner-2.0.1 lib/opener/ner/server.rb
opener-ner-2.0.0 lib/opener/ner/server.rb