Sha256: 8b493b8159379ecd9ba2033d54a3d4e6011a1fe886b0ecfc6a9330afcd443877

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

require 'opener/webservice'

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opener-ner-3.0.0 lib/opener/ner/server.rb