Skip to content
Permalink
Browse files

Fix some English typos (found by codespell)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information...
stweil committed Jul 18, 2019
1 parent 428e44a commit 309172c80071da006c3f374bd2ca0fe3425e4c13
Showing with 8 additions and 8 deletions.
  1. +2 −2 1.1/spec.md
  2. +2 −2 1.1/spec_zh_CN.md
  3. +2 −2 1.2/index.html
  4. +2 −2 1.2/spec.md
@@ -333,7 +333,7 @@ Textual information like section numbers and bullets must be represented as
text inside the containing element.

Documents whose logical structure does not map naturally onto these logical
structuring elemetns must not use them for other purpose.
structuring elements must not use them for other purpose.

### `ocr_caption`

@@ -358,7 +358,7 @@ newspaper layouts). The content of the areas derives from a linear stream of
textual content, which flows into the areas, filling them linewise in their
preferred directions.

Overlayed onto the page is a set of floating elements; floating elements exist
Overlaid onto the page is a set of floating elements; floating elements exist
outside the normal reading order. Floating elements may be introduced by the
textual content, or they may be related to the page itself (anchoring is a
logical property). In typesetting systems, floating elements may be anchored to
@@ -275,7 +275,7 @@ text inside the containing element.


Documents whose logical structure does not map naturally onto these logical
structuring elemetns must not use them for other purpose.
structuring elements must not use them for other purpose.

逻辑结构没有很自然地映射到这些逻辑结构元素中的文件,不得使用它们用于其他目的。

@@ -307,7 +307,7 @@ preferred directions.

覆盖在该页面是一组浮动元素;浮动元素存在正常阅读顺序之外。浮动元素可以由文字内容引入,或者它们可以与网页本身有关(锚定anchoring是一个逻辑属性)。

Overlayed onto the page is a set of floating elements; floating elements exist
Overlaid onto the page is a set of floating elements; floating elements exist
outside the normal reading order. Floating elements may be introduced by the
textual content, or they may be related to the page itself (anchoring is a
logical property). In typesetting systems, floating elements may be anchored to
@@ -1689,7 +1689,7 @@ <h3 class="heading settled" data-level="2.1" id="representation"><span class="se
and attributes inside HTML. We are going to use the terms <a data-link-type="dfn" href="#element" id="ref-for-element">elements</a> and <a data-link-type="dfn" href="#properties" id="ref-for-properties">properties</a> for referring to embedded markup.</p>
<h3 class="heading settled" data-level="2.2" id="definitions"><span class="secno">2.2. </span><span class="content">Definitions</span><a class="self-link" href="#definitions"></a></h3>
<h4 class="heading settled" data-level="2.2.1" id="definition-element"><span class="secno">2.2.1. </span><span class="content">"element"</span><a class="self-link" href="#definition-element"></a></h4>
<p>An hOCR element (in this spec simply refered to as an <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="element">element</dfn>) is any HTML tag with a <code><a data-link-type="element-sub" href="https://html.spec.whatwg.org/multipage/dom.html#classes" id="ref-for-classes">class</a></code> attribute that contains exactly one <dfn class="dfn-paneled" data-dfn-type="dfn" data-lt="Element Name" data-noexport id="element-name">class
<p>An hOCR element (in this spec simply referred to as an <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="element">element</dfn>) is any HTML tag with a <code><a data-link-type="element-sub" href="https://html.spec.whatwg.org/multipage/dom.html#classes" id="ref-for-classes">class</a></code> attribute that contains exactly one <dfn class="dfn-paneled" data-dfn-type="dfn" data-lt="Element Name" data-noexport id="element-name">class
name</dfn> that starts with <code>ocr_</code> or <code>ocrx_</code>. Non-OCR related HTML content must
not use class names that begin with <code>ocr_</code> or <code>ocrx_</code>.</p>
<p class="note" role="note"><span>Note:</span> When referring to an HTML tag with class <code>ocr_page</code>, this spec uses the
@@ -1964,7 +1964,7 @@ <h4 class="heading settled" data-level="3.1.6" id="sec-ocr_noise"><span class="s
</dl>
<p>Any noise element that isn’t part of typesetting</p>
<h3 class="heading settled" data-level="3.2" id="sec-float-elements"><span class="secno">3.2. </span><span class="content">Float elements</span><a class="self-link" href="#sec-float-elements"></a></h3>
<p>Overlayed onto the page is a set of floating elements; floating elements exist
<p>Overlaid onto the page is a set of floating elements; floating elements exist
outside the normal reading order. Floating elements may be introduced by the
textual content, or they may be related to the page itself (anchoring is a
logical property). In typesetting systems, floating elements may be anchored to
@@ -54,7 +54,7 @@ Definitions {#definitions}

### "element" ### {#definition-element}

An hOCR element (in this spec simply refered to as an <dfn>element</dfn>) is any HTML tag with a
An hOCR element (in this spec simply referred to as an <dfn>element</dfn>) is any HTML tag with a
<{*/class}> attribute that contains exactly one <dfn lt="Element Name">class
name</dfn> that starts with `ocr_` or `ocrx_`. Non-OCR related HTML content must
not use class names that begin with `ocr_` or `ocrx_`.
@@ -302,7 +302,7 @@ Any noise element that isn't part of typesetting
Float elements {#sec-float-elements}
--------------

Overlayed onto the page is a set of floating elements; floating elements exist
Overlaid onto the page is a set of floating elements; floating elements exist
outside the normal reading order. Floating elements may be introduced by the
textual content, or they may be related to the page itself (anchoring is a
logical property). In typesetting systems, floating elements may be anchored to

0 comments on commit 309172c

Please sign in to comment.
You can’t perform that action at this time.