<commit_before><%inherit file="dictionaria.mako"/>
<%namespace name="util" file="util.mako"/>
<%! active_menu_item = "help" %>


<h2 id="Structure of entries and basic features">Structure of entries and basic
    features</h2>

<h2 id="How to search...">How to search...</h2>

<p>Dictionaria facilitates two kinds of searches:</p>

<ol>
    <li>For the searches of headwords, meaning descriptions, and examples you type the
        word or multiwor
        d expression into the search field, e.g. pull or pull out. The unmarked search
        finds the item, but
        in addition all other items that contain the same string of characters. Thus eat
        does not only find
        'eat', but also 'beat' and 'creature'.
        To narrow your searches by the use of the symbols listed in Table 1, in which x
        means any character
        or string of characters including space.

        <table class="table table-bordered">
            <caption>Table 1: Search options</caption>
            <tbody>
            <tr>
                <td>^x</td>
                <td>search for a certain word or string of characters at the beginning of
                    an entry, e.g. "^under",
                    which finds <em>under, underground, understand</em> etc.
                </td>
            </tr>
            <tr>
                <td>x$</td>
                <td>search for a certain word or string of characters at the end of an
                    entry, e.g. "fly$", which fi
                    nds <em>fly, butterfly,</em> etc.
                </td>
            </tr>
            <tr>
                <td>x_x</td>
                <td>search for entries showing the string preceded and followed by any
                    other character including wh
                    ite space, e.g. "_ea_" finds beach, tea leaf, burn / eat
                </td>
            </tr>
            <tr>
                <td>^x$</td>
                <td>search for a string of characters that fills the headword or meaning
                    description from the begin
                    ning to the end. "^eat$" finds "eat" in the meaning description of the
                    Daakaka dictionary, because
                    this consists only of "eat", but it does not find "eat" in the Teop
                    meaning description, because th
                    is is "eat (something with something)"
                </td>
            </tr>
            </tbody>
        </table>
    </li>
    <li>For searches of parts of speech and semantic domains the dictionaries provide
        individual drop-d
        own lists.
    </li>
</ol>

<h3 id="...single dictionaries">...single dictionaries</h3>

<h4 id="...single columns">...single columns</h4>

<br>
<table class="table table-bordered">
    <caption>Table 2: Single column searches</caption>
    <tbody>
    <tr>
        <td>Headword</td>
        <td>
            <p>If you type a word into the ‘headword’ field, you will find this word
                listed together wi
                th all other words that contain the same string of characters.</p>
            <p>For example, 'ep' (Daakaka) finds not only the headword 'ep', but also <em>akr<strong>ep
            </strong></em>, <em>b<strong>ep</strong>ane</em> and <em>dokta ane
                <strong>ep</strong></em>.</p>
            <br>
            <p>You can narrow down your search by using the search option '^' directly
                followed by the
                word you are looking for. This search will find the headword (if it is
                present in the dictionary) a
                nd all other headword entries that begin with the characters of this
                headword.</p>
            <p>For example, if you search for '^ep', you will see the following entries:
                <em><strong>ep
                    ¹, ep², ep</strong>mir, <strong>ep</strong>upuop</em>.</p>
            <br>
            <p>If you want to find all headwords ending in a particular string of
                characters, type the
                string into the headword field and directly add '$' at the end of the
                string.</p>
            <p>For example, if you search for 'ep$' you will find
                <em>akr<strong>ep</strong>, dewen<strong>ep</strong></em> and <em>tuwu
                    tr<strong>ep</strong></em>.</p>
            <br>
            <p>If you combine '^' and '$' as in '^ep$', you find <em>ep¹</em> and
                <em>ep²</em>.</p>
        </td>
    </tr>
    <tr>
        <td>Meaning description</td>
        <td>
            <p>If you type in a particular English word in the field 'meaning
                description', you will fi
                nd all meaning descriptions that contain this string of characters at any
                position.</p>
            <p>For example, a search for 'man' will give you the entry for 'man' but also
                'praying <strong>man</strong>tis' and 'hu<strong>man</strong> tongue'
                (Daakaka).</p>
            <br>
            <p>You can use the search option '^' directly followed by the word you are
                looking for. Thi
                s will give you all meaning descriptions that start with the searched
                word.</p>
            <p>For example, if you search for ‘^man’, you will find the entry
                '<strong>man</strong>; pe
                rson' but also '<strong>man</strong>go'.</p>
            <br>
            <p>If you type in '^man$, you will get no results, because '$' means 'end of
                entry' and the
                meaning descriptions are 'man; guy' for <em>teme</em> and 'man; person'
                for <em>vyante</em>.</p>
        </td>
    </tr>
    <tr>
        <td>Part of speech</td>
        <td>The drop-down list shows all word classes and in some dictionaries classes of
            affixes and types
            of multi-word constructions. The abbreviations are listed in the respective
            introduction of the dictionary.
        </td>
    </tr>
    <tr>
        <td>Semantic domain</td>
        <td>The drop-down list shows a selection of semantic domains covered by the
            dictionary, for example
            'plants' in the Daakaka and the Teop dictionary or 'botanical' in the Hdi
            dictionary.
        </td>
    </tr>
</table>

<h4 id="...across columns">...across columns</h4>

<ol>
    <li>Part of speech & meaning description
        <br>
        <p>For example, if you select 'v.tr' in 'part of speech' and enter 'hand' in
            'meaning description'
            in the Teop dictionary, you find:</p>
        <br>
        <p><em>atoato</em> 'catch something with one's <strong>hand</strong>s'</p>
        <p><em>kae</em> 'hold something in one <strong>hand</strong>'</p>
        <p><em>poto</em> 'grab something or catch something with one's
            <strong>hand</strong>
            s'</p>
        <br>
        <p>In the Daakaka dictionary the search for 'v.tr' and 'hand' finds:</p>
        <br>
        <p><em>bwiti</em> 'break an elongated object in two with both
            <strong>hand</strong>s'
        </p>
        <p><em>kinkate</em> 'hold something in one <strong>hand</strong>'</p>
        <p><em>sedisi</em> 'raise a weapon (in one <strong>hand</strong>) to hit someone
        </p>
        <p><em>tiwiye</em> 'break (something which can be broken easily with two <strong>hand</strong>s)
        </p>
    </li>

    <li>Part of speech and semantic domain
        <br>
        <p>For example, if you select 'v.itr' and 'body' you find 7 entries in the Daakaka
            dictionary, e.g.
        </p>
        <br>
        <p><em>banga</em> 'open one's mouth'</p>
        <p><em>kyep</em> 'shit'</p>
        <br>
        <p>In the Teop dictionary the selection of 'v.intr' and 'body' finds 8 entried,
            e.g.</p>
        <br>
        <p><em>goroho</em> 'sleep'</p>
        <p><em>kayuhu</em> 'spit'</p>

    </li>
</ol>

<h3 id="...across dictionaries">...across dictionaries</h3><commit_msg>Update help.mako<commit_after><%inherit file="dictionaria.mako"/>
<%namespace name="util" file="util.mako"/>
<%! active_menu_item = "help" %>

<h2 id="Using the Dictionaria search fields">Using the Dictionaria search fields</h2>

<h3 id="Single column searches">Single column searches</h3>

<p>In the search fields above the different columns of the “Words (extra)” tab you can search for any sequence of characters. A character is a letter, digit, symbol, or a single blank space. Here are some examples of the different kinds of search strategies that can be employed:</p>

<br>
<table class="table table-bordered">
<thead>
	<tr>
	<td colspan="3">If you type into the search field:</td>
	<td>you can find, for example, the words or descriptions of this kind:</td>
	<td>The characters typed into the search field will match:</td>
	</tr>
</thead>
<tbody>
	<tr>
	<td colspan="3"><b>eat</b></td>
	<td><em>b<b>eat</b>; br<b>eat</b>h; <b>eat</b>; w<b>eat</b>her; …</em></td>
	<td>all entries with words containing  the character sequence <em>eat</em></td>
	</tr>
	<tr>
	<td colspan="3"><b>^eat<b></td>
	<td><em><b>eat</b>; <b>eat</b>er; <b>eat</b>ing; <b>Eat</b>on; …</em></td>
	<td>all entries with the character sequence <em>eat</em> at the <b>beginning</b> of the field</td>
	</tr>
	<tr>
	<td colspan="2"><b>^eat</b></td>
	<td>SPACE</td>
	<td><em><b>eat</b> an apple; <b>eat</b> meat; …</em></td>
	<td>all entries with the word <em>eat</em> at the beginning of the field followed by a space and more material</td>
	</tr>
	<tr>
	<td>SPACE</td>
	<td><b>eat</b></td>
	<td>SPACE</td>
	<td><em>dog <b>eat</b> dog; all plants which <b>eat</b> insects; …</em></td>
	<td>all entries with the word <em>eat</em> within the entry field</td>
	</tr>
	<tr>
	<td colspan="3"><b>ea$</b></td>
	<td><em>heartb<b>eat</b>; <b>eat</b>; m<b>eat</b>; tr<b>eat</b>; …</em></td>
	<td>all entries with the character sequence <em>eat</em> at the end of the field</td>
	</tr>
	<tr>
	<td colspan="2">SPACE</td>
	<td><b>eat$</b></td>
	<td><em>a bite to <b>eat</b>; fit to <b>eat</b>; …</em></td>
	<td>all entries with the word <em>eat</em> at the end of the field</td>
	</tr>
	<tr>
	<td colspan="3"><b>^eat$</b></td>
	<td><em>eat</em></td>
	<td>all entries containing exactly the character sequence <em>eat</em> in the entry field and nothing else</td>
	</tr>
</tbody>
</table>

<p>For searching the fields 'Part of speech' and 'Semantic domain' you can choose categories from the drop-down lists:</p>

<br>
<table class="table table-bordered">
<tr>
<td>Part of speech</td>
<td>The drop-down list shows all word classes and in some dictionaries classes of affixes and types of multi-word constructions. The abbreviations are listed in the respective introduction of the dictionary.</p>
</tr>
<tr>
<td>Semantic domain</td>
<td>The drop-down list shows a selection of semantic domains covered by the dictionary, for example 'plants' in the Daakaka and the Teop dictionary or 'botanical' in the Hdi dictionary.</td>
</tr>
</table>

<h3 id="Search across columns">Search across columns</h3>

<ol>
<li>Part of speech & meaning description
<br>
<p>For example, if you select 'v.tr' in 'part of speech' and enter 'hand' in 'meaning description' in the Teop dictionary, you find:</p>
<br>
<p><em>atoato</em>		'catch something with one's <strong>hand</strong>s'</p>
<p><em>kae</em>			'hold something in one <strong>hand</strong>'</p>
<p><em>poto</em>		'grab something or catch something with one's <strong>hand</strong>s'</p>
<br>
<p>In the Daakaka dictionary the search for 'v.tr' and 'hand' finds:</p>
<br>
<p><em>bwiti</em>		'break an elongated object in two with both <strong>hand</strong>s'</p>
<p><em>kinkate</em>		'hold something in one <strong>hand</strong>'</p>
<p><em>sedisi</em>		'raise a weapon (in one <strong>hand</strong>) to hit someone</p>
<p><em>tiwiye</em>		'break (something which can be broken easily with two <strong>hand</strong>s)</p>
</li>

<li>Part of speech and semantic domain
<br>
<p>For example, if you select 'v.itr' and 'body' you find 7 entries in the Daakaka dictionary, e.g.</p>
<br>
<p><em>banga</em>		'open one's mouth'</p>
<p><em>kyep</em>		'shit'</p>
<br>
<p>In the Teop dictionary the selection of 'v.intr' and 'body' finds 8 entried, e.g.</p>
<br>
<p><em>goroho</em>		'sleep'</p>
<p><em>kayuhu</em>		'spit'</p>

</li>
</ol>
{'fraction_non_alphanumeric': 0.14256931012250162, 'fraction_numerical': 0.0025789813023855577, 'mean_word_length': 2.337547068316299, 'pattern_counts': {'":': 0, '<': 510, '<?xml version=': 0, '>': 510, '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': '3928034', 'n_tokens_mistral': 4073, 'n_tokens_neox': 3907, 'n_words': 1379}