<commit_before><% host = 'http://localhost:3000' %>
<% doc = 'pmcdocs/2626671' %>
<% annset = 'bionlp-st-2013-ge' %>

<h2>Contents navigation</h2>
<ul>
	<li><%= link_to "Documents", docs_path %></li>
	<ul>
		<li><%= link_to "PubMed documents", pmdocs_path %></li>
		<li><%= link_to "PMC documents", pmcdocs_path %></li>
	</ul>
	<li><%= link_to "Annotation sets", annsets_path %></li>
	<ul>
		<li><%= link_to "Category annotations", catanns_path %></li>
		<li><%= link_to "Instance annotations", insanns_path %></li>
		<li><%= link_to "Relation annotations", relanns_path %></li>
		<li><%= link_to "Modification annotations", modanns_path %></li>
	</ul>
</ul>

<h2>RESTfull interface</h2>
<p class="note">Below are just some examples.</p>
<h3>access to the documents</h3>
<ul>
<li><a href="<%= host %>/docs"><%= host %>/<u>docs</u></a></li>
<dd>to get the list of <b>all the documents</b> stored in PubAnnotation.</dd><commit_msg>minor change.<commit_after><% host = 'http://pubannotation.dbcls.jp' %>
<% doc = 'pmcdocs/2626671' %>
<% annset = 'bionlp-st-2013-ge' %>

<h2>Contents navigation</h2>
<ul>
	<li><%= link_to "Documents", docs_path %></li>
	<ul>
		<li><%= link_to "PubMed documents", pmdocs_path %></li>
		<li><%= link_to "PMC documents", pmcdocs_path %></li>
	</ul>
	<li><%= link_to "Annotation sets", annsets_path %></li>
	<ul>
		<li><%= link_to "Category annotations", catanns_path %></li>
		<li><%= link_to "Instance annotations", insanns_path %></li>
		<li><%= link_to "Relation annotations", relanns_path %></li>
		<li><%= link_to "Modification annotations", modanns_path %></li>
	</ul>
</ul>

<h2>RESTfull interface</h2>
<p class="note">Below are just some examples.</p>
<h3>access to the documents</h3>
<ul>
<li><a href="<%= host %>/docs"><%= host %>/<u>docs</u></a></li>
<dd>to get the list of <b>all the documents</b> stored in PubAnnotation.</dd>
{'fraction_non_alphanumeric': 0.2347266881028939, 'fraction_numerical': 0.020364415862808145, 'mean_word_length': 5.161716171617162, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 111, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3802956', 'n_tokens_mistral': 818, 'n_tokens_neox': 734, 'n_words': 184}