opener-language-identifier 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bf7eb44d1cc69ab2146528443407df143e08fbb
|
4
|
+
data.tar.gz: e8d94ad01bac799f585f014d0c8de7eaee10b7c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbc860e47fc752745fb6236a9039e7d796be7adeda7c7a96dbf14cdd6e1d36d25cf523cbfcbd96394ca130d04c3146237a6e3a994964b20a641732a1d94147cb
|
7
|
+
data.tar.gz: 8264da6da002fecc092c4827b21a4d6e4c6aa9bb6bb498a767fd2ee70340acc077a0e750796303a0700cf8c5ac07d5bc949e0d3996b3245d68ab175ea45f4236
|
Binary file
|
@@ -10,7 +10,7 @@ module Opener
|
|
10
10
|
class Server < Webservice
|
11
11
|
set :views, File.expand_path('../views', __FILE__)
|
12
12
|
text_processor LanguageIdentifier
|
13
|
-
accepted_params :input, :kaf
|
13
|
+
accepted_params :input, :kaf, :benchmark
|
14
14
|
|
15
15
|
##
|
16
16
|
# Gets the Analyzed output of an input.
|
@@ -34,9 +34,19 @@
|
|
34
34
|
<label for="kaf">
|
35
35
|
<input type='hidden' value='false' name='kaf'>
|
36
36
|
<input type="checkbox" name="kaf" id="kaf" checked/>
|
37
|
+
|
37
38
|
Output KAF instead of just the language code
|
38
39
|
</label>
|
39
|
-
|
40
|
+
|
41
|
+
<br>
|
42
|
+
|
43
|
+
<label for="benchmark">
|
44
|
+
<input type="checkbox" name="benchmark" />
|
45
|
+
|
46
|
+
Include benchmark output in the KAF
|
47
|
+
</label>
|
48
|
+
|
49
|
+
<br>
|
40
50
|
<br>
|
41
51
|
</div>
|
42
52
|
<% 10.times do |t| %>
|