Add text siglen view by default
Change-Id: I530c991f6ce22a0f2508ce5736b62c147717a135
diff --git a/kalamar.conf b/kalamar.conf
index 441f2da..0d52586 100644
--- a/kalamar.conf
+++ b/kalamar.conf
@@ -1,7 +1,8 @@
# my api => 'http://10.0.10.51:7070/api/v0.1/'
# my $api = 'http://10.0.10.13:7070/api/v0.1/';
-# my $api = 'http://localhost:9998/api/v0.1/';
-my $api = 'http://10.0.2.40:8089/api/v0.1/';
+my $api = 'http://localhost:9999/api/v0.1/';
+
+#my $api = 'http://10.0.2.40:8089/api/v0.1/';
{
Search => {
engine => 'Kalamar::API',
diff --git a/templates/match.html.ep b/templates/match.html.ep
index ce89c3d..7979fbd 100644
--- a/templates/match.html.ep
+++ b/templates/match.html.ep
@@ -11,7 +11,8 @@
data-available-info="<%= $match->{layerInfos} // $match->{layerInfo} // 'cnx/c=spans corenlp/ne=tokens corenlp/p=tokens mate/l=tokens mate/m=tokens mate/p=tokens opennlp/p=tokens tt/l=tokens tt/p=tokens xip/c=spans' %>"
data-info="<%== b(encode_json(\%match_data))->decode->xml_escape %>"
id="<%= $id %>"\
-<% if (current_route eq 'match') { %> class="active"<% } =%>>
+ <% if (current_route eq 'match') { %> class="active"<% } =%>>
+ <div class="meta"><%= $text_sigle %></div>
<div class="match-main">
<div class="match-wrap">
%# --- Snippet