Sha256: 7875e38dcecaac8648c0884c96aaa22cdbdc4735e38b8ce56e533ef609497ce5

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

require 'opener/webservice'

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

      self.text_processor  = KafNafParser
      self.accepted_params = [:conversion]
    end # Server
  end # KafNafParser
end # Opener

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opener-kaf-naf-parser-2.0.3 lib/opener/kaf_naf_parser/server.rb
opener-kaf-naf-parser-2.0.2 lib/opener/kaf_naf_parser/server.rb
opener-kaf-naf-parser-2.0.1 lib/opener/kaf_naf_parser/server.rb
opener-kaf-naf-parser-2.0.0 lib/opener/kaf_naf_parser/server.rb