Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Jun 12, 2024
1 parent 57a57d0 commit 46bf6f7
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3fec193d
d21d283d
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Aligned TextGrid</h1>
<div>
<div class="quarto-title-meta-heading">Docs Last Built</div>
<div class="quarto-title-meta-contents">
<p class="date-modified">2024-06-12 21:38:52+00:00</p>
<p class="date-modified">2024-06-12 21:48:03+00:00</p>
</div>
</div>

Expand Down Expand Up @@ -407,19 +407,19 @@ <h2 class="anchored" data-anchor-id="not-another-textgrid-implementation">Not an
<section id="example" class="level3">
<h3 class="anchored" data-anchor-id="example">Example</h3>
<p>As an example, we’ll read in a textgrid produced with forced alignment that contains a single speaker with a word and phone tier.</p>
<div id="f407494a" class="cell" data-execution_count="1">
<div id="19df1dec" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="im">from</span> aligned_textgrid <span class="im">import</span> AlignedTextGrid, Word, Phone</span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a>tg <span class="op">=</span> AlignedTextGrid(</span>
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a> textgrid_path<span class="op">=</span><span class="st">'usage/resources/josef-fruehwald_speaker.TextGrid'</span>, </span>
<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a> entry_classes<span class="op">=</span>[Word, Phone]</span>
<span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a> )</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
<p>Then, we can access an arbitrary phone interval.</p>
<div id="9604903b" class="cell" data-execution_count="2">
<div id="7b744974" class="cell" data-execution_count="2">
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a>arbitrary_interval <span class="op">=</span> tg[<span class="dv">0</span>].Phone[<span class="dv">20</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
<p>From this aribitrary interval, we can access information about the intervals preceding and following with the <code>.prev</code> and <code>.fol</code> attributes.</p>
<div id="df50018c" class="cell" data-execution_count="3">
<div id="a822191d" class="cell" data-execution_count="3">
<div class="sourceCode cell-code" id="cb4"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(arbitrary_interval.prev.label)</span>
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(arbitrary_interval.label)</span>
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(arbitrary_interval.fol.label)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand All @@ -430,14 +430,14 @@ <h3 class="anchored" data-anchor-id="example">Example</h3>
</div>
</div>
<p>We can also access information about the word this interval is nested within with the <code>.inword</code> attribute.</p>
<div id="72548a19" class="cell" data-execution_count="4">
<div id="af7007b8" class="cell" data-execution_count="4">
<div class="sourceCode cell-code" id="cb6"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(arbitrary_interval.inword.label)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code>raindrops</code></pre>
</div>
</div>
<p>The object returned by <code>.inword</code> is just another interval, meaning we can access informaton about <em>it’s</em> context with the <code>.prev</code> and <code>.fol</code> attributes as well.</p>
<div id="5ec2e373" class="cell" data-execution_count="5">
<div id="3b1054cf" class="cell" data-execution_count="5">
<div class="sourceCode cell-code" id="cb8"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(arbitrary_interval.inword.prev.label)</span>
<span id="cb8-2"><a href="#cb8-2" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(arbitrary_interval.inword.label)</span>
<span id="cb8-3"><a href="#cb8-3" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(arbitrary_interval.inword.fol.label)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand Down
8 changes: 4 additions & 4 deletions reference/AlignedTextGrid.html
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ <h4 class="anchored" data-anchor-id="parameters-3">Parameters</h4>
</section>
<section id="examples" class="level4">
<h4 class="anchored" data-anchor-id="examples">Examples</h4>
<div id="01afa0ec" class="cell" data-execution_count="1">
<div id="5a1fc8ec" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">from</span> aligned_textgrid <span class="im">import</span> AlignedTextGrid, Word, Phone</span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>atg <span class="op">=</span> AlignedTextGrid(</span>
Expand All @@ -781,7 +781,7 @@ <h4 class="anchored" data-anchor-id="examples">Examples</h4>
<pre><code>AlignedTextGrid with 1 groups named ['group_0'] each with [2] tiers. [['Word', 'Phone']]</code></pre>
</div>
</div>
<div id="a1ab2779" class="cell" data-execution_count="2">
<div id="7eb17763" class="cell" data-execution_count="2">
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a>atg.interleave_class(</span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a> name <span class="op">=</span> <span class="st">"Syllable"</span>,</span>
<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a> above <span class="op">=</span> <span class="st">"Phone"</span>,</span>
Expand Down Expand Up @@ -823,7 +823,7 @@ <h4 class="anchored" data-anchor-id="parameters-4">Parameters</h4>
</section>
<section id="examples-1" class="level4">
<h4 class="anchored" data-anchor-id="examples-1">Examples</h4>
<div id="f8d24342" class="cell" data-execution_count="3">
<div id="254c84f2" class="cell" data-execution_count="3">
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="im">from</span> aligned_textgrid <span class="im">import</span> AlignedTextGrid, custom_classes</span>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a>atg <span class="op">=</span> AlignedTextGrid(</span>
Expand All @@ -842,7 +842,7 @@ <h4 class="anchored" data-anchor-id="examples-1">Examples</h4>
<pre><code>AlignedTextGrid with 1 groups named ['group_0'] each with [6] tiers. [['PrWord', 'Foot', 'Syl', 'OnsetRime', 'SylPart', 'Phone']]</code></pre>
</div>
</div>
<div id="85770237" class="cell" data-execution_count="4">
<div id="85e9bea9" class="cell" data-execution_count="4">
<div class="sourceCode cell-code" id="cb7"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a>atg.pop_class(<span class="st">"SylPart"</span>)</span>
<span id="cb7-2"><a href="#cb7-2" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(atg)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
Expand Down
78 changes: 39 additions & 39 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,158 +2,158 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/usage/02_Sequences/01_sequence-in-tier.html</loc>
<lastmod>2024-06-12T21:38:52.996Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/usage/02_Sequences/02_sequence_properties.html</loc>
<lastmod>2024-06-12T21:38:52.996Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/usage/05_Outputs/02_pickling.html</loc>
<lastmod>2024-06-12T21:38:52.996Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/usage/05_Outputs/00_to_textgrid.html</loc>
<lastmod>2024-06-12T21:38:52.996Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/usage/04_Points/00_points_and_point_tiers.html</loc>
<lastmod>2024-06-12T21:38:52.996Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/usage/01_TextGrids/01_tg-nav.html</loc>
<lastmod>2024-06-12T21:38:52.996Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/usage/03_Custom_Classes/index.html</loc>
<lastmod>2024-06-12T21:38:52.996Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/Ranges.html</loc>
<lastmod>2024-06-12T21:39:10.056Z</lastmod>
<lastmod>2024-06-12T21:48:23.943Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/Levels.html</loc>
<lastmod>2024-06-12T21:39:10.060Z</lastmod>
<lastmod>2024-06-12T21:48:23.947Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/SequenceTier.html</loc>
<lastmod>2024-06-12T21:39:09.956Z</lastmod>
<lastmod>2024-06-12T21:48:23.843Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/TierGroupMixins.html</loc>
<lastmod>2024-06-12T21:39:09.940Z</lastmod>
<lastmod>2024-06-12T21:48:23.823Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/AlignedTextGrid.html</loc>
<lastmod>2024-06-12T21:39:10.016Z</lastmod>
<lastmod>2024-06-12T21:48:23.899Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/Word.html</loc>
<lastmod>2024-06-12T21:39:10.036Z</lastmod>
<lastmod>2024-06-12T21:48:23.919Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/ToBI.html</loc>
<lastmod>2024-06-12T21:39:10.048Z</lastmod>
<lastmod>2024-06-12T21:48:23.931Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/TierMixins.html</loc>
<lastmod>2024-06-12T21:39:09.936Z</lastmod>
<lastmod>2024-06-12T21:48:23.819Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/TurningPoints.html</loc>
<lastmod>2024-06-12T21:39:10.052Z</lastmod>
<lastmod>2024-06-12T21:48:23.939Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/custom_classes.get_class_hierarchy.html</loc>
<lastmod>2024-06-12T21:39:10.028Z</lastmod>
<lastmod>2024-06-12T21:48:23.911Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/TierGroup.html</loc>
<lastmod>2024-06-12T21:39:09.988Z</lastmod>
<lastmod>2024-06-12T21:48:23.871Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/PrecedenceMixins.html</loc>
<lastmod>2024-06-12T21:39:09.880Z</lastmod>
<lastmod>2024-06-12T21:48:23.763Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/SequenceInterval.html</loc>
<lastmod>2024-06-12T21:39:09.912Z</lastmod>
<lastmod>2024-06-12T21:48:23.795Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/Bottom.html</loc>
<lastmod>2024-06-12T21:39:09.916Z</lastmod>
<lastmod>2024-06-12T21:48:23.799Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/Phone.html</loc>
<lastmod>2024-06-12T21:39:10.040Z</lastmod>
<lastmod>2024-06-12T21:48:23.927Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/custom_classes.html</loc>
<lastmod>2024-06-12T21:39:10.020Z</lastmod>
<lastmod>2024-06-12T21:48:23.907Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/to_df.html</loc>
<lastmod>2024-06-12T21:39:10.068Z</lastmod>
<lastmod>2024-06-12T21:48:23.955Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/index.html</loc>
<lastmod>2024-06-12T21:39:09.860Z</lastmod>
<lastmod>2024-06-12T21:48:23.739Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/Misc.html</loc>
<lastmod>2024-06-12T21:39:10.064Z</lastmod>
<lastmod>2024-06-12T21:48:23.951Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/Top.html</loc>
<lastmod>2024-06-12T21:39:09.916Z</lastmod>
<lastmod>2024-06-12T21:48:23.799Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/SequencePointTier.html</loc>
<lastmod>2024-06-12T21:39:09.976Z</lastmod>
<lastmod>2024-06-12T21:48:23.859Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/custom_classes.clone_class.html</loc>
<lastmod>2024-06-12T21:39:10.024Z</lastmod>
<lastmod>2024-06-12T21:48:23.911Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/SequencePoint.html</loc>
<lastmod>2024-06-12T21:39:09.932Z</lastmod>
<lastmod>2024-06-12T21:48:23.815Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/PrStr.html</loc>
<lastmod>2024-06-12T21:39:10.044Z</lastmod>
<lastmod>2024-06-12T21:48:23.931Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/reference/InTierMixins.html</loc>
<lastmod>2024-06-12T21:39:09.892Z</lastmod>
<lastmod>2024-06-12T21:48:23.775Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/index.html</loc>
<lastmod>2024-06-12T21:38:52.992Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/usage/01_TextGrids/03_tg-mod.html</loc>
<lastmod>2024-06-12T21:38:52.996Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/usage/01_TextGrids/02_tg-info.html</loc>
<lastmod>2024-06-12T21:38:52.996Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/usage/index.html</loc>
<lastmod>2024-06-12T21:38:52.996Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/usage/05_Outputs/01_to_dataframe.html</loc>
<lastmod>2024-06-12T21:38:52.996Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/usage/02_Sequences/03_sequence-modification.html</loc>
<lastmod>2024-06-12T21:38:52.996Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
<url>
<loc>https://Forced-Alignment-and-Vowel-Extraction.github.io/alignedTextGrid/usage/02_Sequences/00_sequence_structure.html</loc>
<lastmod>2024-06-12T21:38:52.996Z</lastmod>
<lastmod>2024-06-12T21:48:03.619Z</lastmod>
</url>
</urlset>

0 comments on commit 46bf6f7

Please sign in to comment.