Debian Codegraph @

docs/manual/TextGrid__Count_labels___.html

raw symbols SCIP
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>TextGrid: Count labels...</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 TextGrid: Count labels...
13 </b></font></table></table>
14 <p>A command to ask the selected <a href="TextGrid.html">TextGrid</a> object how many of the specified labels it contains in the specified tier.</p>
15 <h2>Settings</h2>
16 <dl>
17 <dt><b>Tier number</b>
18 <dd>the number (1, 2, 3...) of the tier whose labels you want to investigate.</dd>
19 <dt><b>Label text</b>
20 <dd>the text on the labels that you want to count.</dd>
21 </dl>
22 <h2>Behaviour</h2>
23 <p>The number of intervals or points with label <i>Label text</i> in tier <i>Tier number</i> is written into the <a href="Info_window.html">Info window</a>. If the specified tier does not exist, the number will be 0.</p>
24 <h2>Scripting</h2>
25 <p>You can use this command to put the number into a script variable:</p>
26 <code> selectObject: "TextGrid hallo"<br></code>
27 <code> number_of_a = Count labels: 1, "a"<br></code>
28 <p>In this case, the value will not be written into the Info window.</p>
29 <h3>Links to this page</h3>
30 <ul>
31 <li><a href="What_was_new_in_3_7_.html">What was new in 3.7?</a>
32 </ul>
33 <hr>
34 <address>
35 <p>© ppgb 20140421</p>
36 </address>
37 </body>
38 </html>