Debian Codegraph @

docs/manual/SpellingChecker.html

raw
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>SpellingChecker</title>
3 <style>
4 td { padding-left: 5pt; padding-right: 5pt; }
5 th { padding-left: 5pt; padding-right: 5pt; }
6 code { white-space: pre-wrap; }
7 dd { white-space: pre-wrap; }
8 </style>
9 </head><body bgcolor="#FFFFFF">
10
11 <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b>
12 SpellingChecker
13 </b></font></table></table>
14 <p>One of the <a href="Types_of_objects.html">types of objects</a> in Praat. For checking the spelling in texts and <a href="TextGrid.html">TextGrid</a> objects.</p>
15 <h2>1. How to create a SpellingChecker object</h2>
16 <p>You normally read in a SpellingChecker with <a href="Read_from_file___.html">Read from file...</a> from the <b>Open</b> menu.</p>
17 <h2>2. How to check the spelling of a <a href="TextGrid.html">TextGrid</a></h2>
18 <p>A SpellingChecker object can be used fur purposes of spelling checking. In order to check the spellings in a <a href="TextGrid.html">TextGrid</a> object, you first view the TextGrid in an editor window by selecting the TextGrid together with the SpellingChecker object, and clicking <b>View &amp; Edit</b>. In most cases, you will also want to select a <a href="Sound.html">Sound</a> or <a href="LongSound.html">LongSound</a> object before clicking <b>View &amp; Edit</b>, so that a representation of the sound is also visible (and audible) in the editor. Thus, you typically select three objects and click <b>View &amp; Edit</b>. The editor then allows you to check the spellings (commands <b>Check spelling in tier</b> and <b>Check spelling in interval</b> from the <b>Spell</b> menu).</p>
19 <h2>3. How to create a SpellingChecker object for the first time</h2>
20 <p>If you are the maintainer of a word list for spelling checking, you will want to convert this list to a SpellingChecker object that you can distribute among the transcribers of your corpus.</p>
21 <p>The first step is to create a <a href="WordList.html">WordList</a> object from your text file, as described on the <a href="WordList.html">WordList</a> man page. Then you simply click <b>To SpellingChecker</b>. A button labelled <b>View &amp; Edit...</b> appears. This command allows you to set the following attributes of the SpellingChecker object:</p>
22 <dl>
23 <dt><b>Allow all parenthesized</b>
24 <dd>this flag determines whether text between parentheses is ignored in spelling checking. This would allow the transcriber to mark utterances in foreign languages, which cannot be found in the lexicon.</dd>
25 <dt><b>Separating characters</b>
26 <dd>determines the set of characters (apart from the space character) that separate words. The standard is ".,;:()". If a string like "error-prone" should be considered two separate words, you will like to change this to ".,;:()-". For the Corpus of Spoken Dutch (CGN), the hyphen is not a separator, since words like "mee-eter" should be checked as a whole. If a string like "Mary's" should be considered two separate words, include the apostrophe.</dd>
27 <dt><b>Allow all names</b>
28 <dd>determines whether all words that start with a capital are allowed. For the CGN, this is on, since the lexicon does not contain many names.</dd>
29 <dt><b>Name prefixes</b>
30 <dd>a space-separated list that determines what small groups of characters can precede names. For the CGN, this is "'s- d' l'", since names like <i>'s-Gravenhage</i>, <i>d'Ancona</i>, and <i>l'H&#244;pital</i> should be ignored by the spelling checker.</dd>
31 <dt><b>Allow all words containing</b>
32 <dd>a space-separated list of strings that make a word correct even if not in the lexicon. For the CGN, this is "* xxx", since words like <i>keuje*d</i> and <i>verxxxing</i> should be ignored by the spelling checker.</dd>
33 <dt><b>Allow all words starting with</b>
34 <dd>a space-separated list of prefixes that make a word correct even if not in the lexicon. For the CGN, this is empty.</dd>
35 <dt><b>Allow all words ending in</b>
36 <dd>a space-separated list of suffixes that make a word correct even if not in the lexicon. For the CGN, this is "-", since the first word in <i>verzekerings- en bankwezen</i> should be ignored by the spelling checker.</dd>
37 </dl>
38 <h3>Links to this page</h3>
39 <ul>
40 <li><a href="TextGridEditor.html">TextGridEditor</a>
41 <li><a href="What_was_new_in_3_9_.html">What was new in 3.9?</a>
42 </ul>
43 <hr>
44 <address>
45 <p>© ppgb 20190616</p>
46 </address>
47 </body>
48 </html>