Sha256: a8f669d8373da59fb616e5236c16eca4bd82dc20b09495245daa45946fdb82e6

Contents?: true

Size: 1.74 KB

Versions: 5

Compression:

Stored size: 1.74 KB

Contents

<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="markdown.css" />

        <title>NER Webservice</title>
    </head>
    <body>
        <h1>NER Webservice</h1>

        <p>
        * required

        <br />

        ** When entering a value no response will be displayed in the browser.
        </p>

        <form action="" method="POST">
            <div>
                <label for="input">KAF input *</label>
                <br />

                <textarea id="input" name="input" cols="50" rows="10"></textarea>
            </div>
            <% 10.times do |t| %>
            <div>
              <label for="callbacks">Callback URL <%=t+1%>(**)</label>
              <br />

              <input id="callbacks" type="text" name="callbacks[]" />
            </div>
            <% end %>

            <div>
                <label for="error_callback">Error Callback</label>
                <br />

                <input id="error_callback" type="text" name="error_callback" />
            </div>

            <input type="submit" value="Submit" />
        </form>

        <h2>Actions</h2>

        <dl>
            <dt>GET /</dt>
            <dd>Shows this page</dd>

            <dt>POST /</dt>
            <dd>Submits a KAF document</dd>
        </dl>

        <h2>Parameters</h2>

        <dl>
            <dt>text *</dt>
            <dd>The KAF document to tag.</dd>

            <dt>language</dt>
            <dd>The language (code) to use, e.g. "en" or "fr".</dd>

            <dt>callbacks</dt>
            <dd>A collection of callback URLs that are processed as a chain.</dd>

            <dt>error_callback</dt>
            <dd>Errors are submitted to this URL in the "error" field.</dd>
        </dl>
    </body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
opener-ner-3.0.0 lib/opener/ner/views/index.erb
opener-ner-2.1.0 lib/opener/ner/views/index.erb
opener-ner-2.0.7 lib/opener/ner/views/index.erb
opener-ner-2.0.6 lib/opener/ner/views/index.erb
opener-ner-2.0.5 lib/opener/ner/views/index.erb