| 1 |
|
| 2 |
|
| 3 |
<!DOCTYPE html> |
| 4 |
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> |
| 5 |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> |
| 6 |
<head> |
| 7 |
<meta charset="utf-8"> |
| 8 |
|
| 9 |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 10 |
|
| 11 |
<title>Webstruct — Webstruct 0.6 documentation</title> |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" /> |
| 28 |
<link rel="stylesheet" href="_static/pygments.css" type="text/css" /> |
| 29 |
<link rel="index" title="Index" href="genindex.html" /> |
| 30 |
<link rel="search" title="Search" href="search.html" /> |
| 31 |
<link rel="next" title="Webstruct" href="intro.html" /> |
| 32 |
|
| 33 |
|
| 34 |
<script src="_static/js/modernizr.min.js"></script> |
| 35 |
|
| 36 |
|
| 37 |
<!-- RTD Extra Head --> |
| 38 |
|
| 39 |
<!-- |
| 40 |
Always link to the latest version, as canonical. |
| 41 |
http://docs.readthedocs.org/en/latest/canonical.html |
| 42 |
--> |
| 43 |
<link rel="canonical" href="https://webstruct.readthedocs.io/en/latest/" /> |
| 44 |
|
| 45 |
<link rel="stylesheet" href="https://media.readthedocs.org/css/readthedocs-doc-embed.css" type="text/css" /> |
| 46 |
|
| 47 |
<script type="text/javascript" src="_static/readthedocs-data.js"></script> |
| 48 |
|
| 49 |
<!-- Add page-specific data, which must exist in the page js, not global --> |
| 50 |
<script type="text/javascript"> |
| 51 |
READTHEDOCS_DATA['page'] = 'index' |
| 52 |
READTHEDOCS_DATA['source_suffix'] = '.rst' |
| 53 |
</script> |
| 54 |
|
| 55 |
<script type="text/javascript" src="https://media.readthedocs.org/javascript/readthedocs-analytics.js"></script> |
| 56 |
|
| 57 |
<!-- end RTD <extrahead> --> |
| 58 |
</head> |
| 59 |
|
| 60 |
<body class="wy-body-for-nav"> |
| 61 |
|
| 62 |
|
| 63 |
<div class="wy-grid-for-nav"> |
| 64 |
|
| 65 |
|
| 66 |
<nav data-toggle="wy-nav-shift" class="wy-nav-side"> |
| 67 |
<div class="wy-side-scroll"> |
| 68 |
<div class="wy-side-nav-search"> |
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
<a href="#" class="icon icon-home"> Webstruct |
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
</a> |
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
<div class="version"> |
| 83 |
latest |
| 84 |
</div> |
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
|
| 89 |
<div role="search"> |
| 90 |
<form id="rtd-search-form" class="wy-form" action="search.html" method="get"> |
| 91 |
<input type="text" name="q" placeholder="Search docs" /> |
| 92 |
<input type="hidden" name="check_keywords" value="yes" /> |
| 93 |
<input type="hidden" name="area" value="default" /> |
| 94 |
</form> |
| 95 |
</div> |
| 96 |
|
| 97 |
|
| 98 |
</div> |
| 99 |
|
| 100 |
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> |
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
<ul> |
| 108 |
<li class="toctree-l1"><a class="reference internal" href="intro.html">Webstruct</a></li> |
| 109 |
<li class="toctree-l1"><a class="reference internal" href="tutorial.html">Tutorial</a></li> |
| 110 |
<li class="toctree-l1"><a class="reference internal" href="ref/index.html">Reference</a></li> |
| 111 |
<li class="toctree-l1"><a class="reference internal" href="changes.html">Changes</a></li> |
| 112 |
</ul> |
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
</div> |
| 117 |
</div> |
| 118 |
</nav> |
| 119 |
|
| 120 |
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> |
| 121 |
|
| 122 |
|
| 123 |
<nav class="wy-nav-top" aria-label="top navigation"> |
| 124 |
|
| 125 |
<i data-toggle="wy-nav-top" class="fa fa-bars"></i> |
| 126 |
<a href="#">Webstruct</a> |
| 127 |
|
| 128 |
</nav> |
| 129 |
|
| 130 |
|
| 131 |
<div class="wy-nav-content"> |
| 132 |
|
| 133 |
<div class="rst-content"> |
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
|
| 150 |
|
| 151 |
<div role="navigation" aria-label="breadcrumbs navigation"> |
| 152 |
|
| 153 |
<ul class="wy-breadcrumbs"> |
| 154 |
|
| 155 |
<li><a href="#">Docs</a> »</li> |
| 156 |
|
| 157 |
<li>Webstruct</li> |
| 158 |
|
| 159 |
|
| 160 |
<li class="wy-breadcrumbs-aside"> |
| 161 |
|
| 162 |
|
| 163 |
|
| 164 |
<a href="https://github.com/scrapinghub/webstruct/blob/master/docs/index.rst" class="fa fa-github"> Edit on GitHub</a> |
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
</li> |
| 169 |
|
| 170 |
</ul> |
| 171 |
|
| 172 |
|
| 173 |
<hr/> |
| 174 |
</div> |
| 175 |
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> |
| 176 |
<div itemprop="articleBody"> |
| 177 |
|
| 178 |
<div class="section" id="webstruct"> |
| 179 |
<h1>Webstruct<a class="headerlink" href="#webstruct" title="Permalink to this headline">¶</a></h1> |
| 180 |
<p>Webstruct is a library for creating statistical <a class="reference external" href="http://en.wikipedia.org/wiki/Named-entity_recognition">NER</a> systems that work |
| 181 |
on HTML data, i.e. a library for building tools that extract named |
| 182 |
entities (addresses, organization names, open hours, etc) from webpages.</p> |
| 183 |
<p>Contents:</p> |
| 184 |
<div class="toctree-wrapper compound"> |
| 185 |
<ul> |
| 186 |
<li class="toctree-l1"><a class="reference internal" href="intro.html">Webstruct</a><ul> |
| 187 |
<li class="toctree-l2"><a class="reference internal" href="intro.html#overview">Overview</a></li> |
| 188 |
<li class="toctree-l2"><a class="reference internal" href="intro.html#installation">Installation</a></li> |
| 189 |
</ul> |
| 190 |
</li> |
| 191 |
<li class="toctree-l1"><a class="reference internal" href="tutorial.html">Tutorial</a><ul> |
| 192 |
<li class="toctree-l2"><a class="reference internal" href="tutorial.html#get-annotated-data">Get annotated data</a></li> |
| 193 |
<li class="toctree-l2"><a class="reference internal" href="tutorial.html#from-html-to-tokens">From HTML to Tokens</a></li> |
| 194 |
<li class="toctree-l2"><a class="reference internal" href="tutorial.html#feature-extraction">Feature Extraction</a></li> |
| 195 |
<li class="toctree-l2"><a class="reference internal" href="tutorial.html#using-a-sequence-labelling-toolkit">Using a Sequence Labelling Toolkit</a></li> |
| 196 |
<li class="toctree-l2"><a class="reference internal" href="tutorial.html#named-entity-recognition">Named Entity Recognition</a></li> |
| 197 |
<li class="toctree-l2"><a class="reference internal" href="tutorial.html#entity-grouping">Entity Grouping</a></li> |
| 198 |
<li class="toctree-l2"><a class="reference internal" href="tutorial.html#model-development">Model Development</a></li> |
| 199 |
</ul> |
| 200 |
</li> |
| 201 |
<li class="toctree-l1"><a class="reference internal" href="ref/index.html">Reference</a><ul> |
| 202 |
<li class="toctree-l2"><a class="reference internal" href="ref/loaders.html">HTML Loaders</a></li> |
| 203 |
<li class="toctree-l2"><a class="reference internal" href="ref/features.html">Feature Extraction</a></li> |
| 204 |
<li class="toctree-l2"><a class="reference internal" href="ref/model.html">Model Creation Helpers</a></li> |
| 205 |
<li class="toctree-l2"><a class="reference internal" href="ref/metrics.html">Metrics</a></li> |
| 206 |
<li class="toctree-l2"><a class="reference internal" href="ref/grouping.html">Entity Grouping</a></li> |
| 207 |
<li class="toctree-l2"><a class="reference internal" href="ref/wapiti.html">Wapiti Helpers</a></li> |
| 208 |
<li class="toctree-l2"><a class="reference internal" href="ref/crfsuite.html">CRFsuite Helpers</a></li> |
| 209 |
<li class="toctree-l2"><a class="reference internal" href="ref/webannotator.html">WebAnnotator Utilities</a></li> |
| 210 |
<li class="toctree-l2"><a class="reference internal" href="ref/base.html">BaseSequenceClassifier</a></li> |
| 211 |
<li class="toctree-l2"><a class="reference internal" href="ref/misc.html">Miscellaneous</a></li> |
| 212 |
</ul> |
| 213 |
</li> |
| 214 |
<li class="toctree-l1"><a class="reference internal" href="changes.html">Changes</a><ul> |
| 215 |
<li class="toctree-l2"><a class="reference internal" href="changes.html#id1">0.6 (2017-12-29)</a></li> |
| 216 |
<li class="toctree-l2"><a class="reference internal" href="changes.html#id2">0.5 (2017-05-10)</a></li> |
| 217 |
<li class="toctree-l2"><a class="reference internal" href="changes.html#id3">0.4.1 (2016-11-28)</a></li> |
| 218 |
<li class="toctree-l2"><a class="reference internal" href="changes.html#id4">0.4 (2016-11-26)</a></li> |
| 219 |
<li class="toctree-l2"><a class="reference internal" href="changes.html#id5">0.3 (2016-09-19)</a></li> |
| 220 |
</ul> |
| 221 |
</li> |
| 222 |
</ul> |
| 223 |
</div> |
| 224 |
</div> |
| 225 |
<div class="section" id="indices-and-tables"> |
| 226 |
<h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline">¶</a></h1> |
| 227 |
<ul class="simple"> |
| 228 |
<li><a class="reference internal" href="genindex.html"><span class="std std-ref">Index</span></a></li> |
| 229 |
<li><a class="reference internal" href="py-modindex.html"><span class="std std-ref">Module Index</span></a></li> |
| 230 |
<li><a class="reference internal" href="search.html"><span class="std std-ref">Search Page</span></a></li> |
| 231 |
</ul> |
| 232 |
</div> |
| 233 |
|
| 234 |
|
| 235 |
</div> |
| 236 |
|
| 237 |
</div> |
| 238 |
<footer> |
| 239 |
|
| 240 |
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> |
| 241 |
|
| 242 |
<a href="intro.html" class="btn btn-neutral float-right" title="Webstruct" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a> |
| 243 |
|
| 244 |
|
| 245 |
</div> |
| 246 |
|
| 247 |
|
| 248 |
<hr/> |
| 249 |
|
| 250 |
<div role="contentinfo"> |
| 251 |
<p> |
| 252 |
© Copyright 2014-2017, Scrapinghub Inc.. |
| 253 |
|
| 254 |
<span class="commit"> |
| 255 |
Revision <code>9e461566</code>. |
| 256 |
</span> |
| 257 |
|
| 258 |
|
| 259 |
</p> |
| 260 |
</div> |
| 261 |
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. |
| 262 |
|
| 263 |
</footer> |
| 264 |
|
| 265 |
</div> |
| 266 |
</div> |
| 267 |
|
| 268 |
</section> |
| 269 |
|
| 270 |
</div> |
| 271 |
|
| 272 |
|
| 273 |
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions"> |
| 274 |
<span class="rst-current-version" data-toggle="rst-current-version"> |
| 275 |
<span class="fa fa-book"> Read the Docs</span> |
| 276 |
v: latest |
| 277 |
<span class="fa fa-caret-down"></span> |
| 278 |
</span> |
| 279 |
<div class="rst-other-versions"> |
| 280 |
<dl> |
| 281 |
<dt>Versions</dt> |
| 282 |
|
| 283 |
<dd><a href="/en/latest/">latest</a></dd> |
| 284 |
|
| 285 |
<dd><a href="/en/stable/">stable</a></dd> |
| 286 |
|
| 287 |
<dd><a href="/en/0.6/">0.6</a></dd> |
| 288 |
|
| 289 |
<dd><a href="/en/0.5/">0.5</a></dd> |
| 290 |
|
| 291 |
<dd><a href="/en/0.4.1/">0.4.1</a></dd> |
| 292 |
|
| 293 |
<dd><a href="/en/0.4/">0.4</a></dd> |
| 294 |
|
| 295 |
<dd><a href="/en/0.3/">0.3</a></dd> |
| 296 |
|
| 297 |
<dd><a href="/en/0.2/">0.2</a></dd> |
| 298 |
|
| 299 |
</dl> |
| 300 |
<dl> |
| 301 |
<dt>Downloads</dt> |
| 302 |
|
| 303 |
<dd><a href="//readthedocs.org/projects/webstruct/downloads/pdf/latest/">pdf</a></dd> |
| 304 |
|
| 305 |
<dd><a href="//readthedocs.org/projects/webstruct/downloads/htmlzip/latest/">htmlzip</a></dd> |
| 306 |
|
| 307 |
<dd><a href="//readthedocs.org/projects/webstruct/downloads/epub/latest/">epub</a></dd> |
| 308 |
|
| 309 |
</dl> |
| 310 |
<dl> |
| 311 |
<dt>On Read the Docs</dt> |
| 312 |
<dd> |
| 313 |
<a href="//readthedocs.org/projects/webstruct/?fromdocs=webstruct">Project Home</a> |
| 314 |
</dd> |
| 315 |
<dd> |
| 316 |
<a href="//readthedocs.org/builds/webstruct/?fromdocs=webstruct">Builds</a> |
| 317 |
</dd> |
| 318 |
</dl> |
| 319 |
<hr/> |
| 320 |
Free document hosting provided by <a href="http://www.readthedocs.org">Read the Docs</a>. |
| 321 |
|
| 322 |
</div> |
| 323 |
</div> |
| 324 |
|
| 325 |
|
| 326 |
|
| 327 |
|
| 328 |
|
| 329 |
<script type="text/javascript"> |
| 330 |
var DOCUMENTATION_OPTIONS = { |
| 331 |
URL_ROOT:'./', |
| 332 |
VERSION:'0.6', |
| 333 |
LANGUAGE:'en', |
| 334 |
COLLAPSE_INDEX:false, |
| 335 |
FILE_SUFFIX:'.html', |
| 336 |
HAS_SOURCE: true, |
| 337 |
SOURCELINK_SUFFIX: '.txt' |
| 338 |
}; |
| 339 |
</script> |
| 340 |
<script type="text/javascript" src="https://media.readthedocs.org/javascript/jquery/jquery-2.0.3.min.js"></script> |
| 341 |
<script type="text/javascript" src="https://media.readthedocs.org/javascript/jquery/jquery-migrate-1.2.1.min.js"></script> |
| 342 |
<script type="text/javascript" src="https://media.readthedocs.org/javascript/underscore.js"></script> |
| 343 |
<script type="text/javascript" src="https://media.readthedocs.org/javascript/doctools.js"></script> |
| 344 |
<script type="text/javascript" src="https://media.readthedocs.org/javascript/readthedocs-doc-embed.js"></script> |
| 345 |
|
| 346 |
|
| 347 |
|
| 348 |
<script type="text/javascript" src="_static/js/theme.js"></script> |
| 349 |
|
| 350 |
<script type="text/javascript"> |
| 351 |
jQuery(function () { |
| 352 |
SphinxRtdTheme.Navigation.enable(true); |
| 353 |
}); |
| 354 |
</script> |
| 355 |
|
| 356 |
</body> |
| 357 |
</html> |