<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dictionary on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/categories/dictionary/</link><description>Recent content in Dictionary on Ghafoor's Personal Blog</description><generator>Hugo</generator><language>en</language><managingEditor>noreply@example.com (AG Sayyed)</managingEditor><webMaster>noreply@example.com (AG Sayyed)</webMaster><copyright>Copyright © 2024-2026 AG Sayyed. All Rights Reserved.</copyright><lastBuildDate>Fri, 15 May 2026 13:20:20 +0100</lastBuildDate><atom:link href="http://ghafoorsblog.com/categories/dictionary/index.xml" rel="self" type="application/rss+xml"/><item><title>Getting Started Checklist</title><link>http://ghafoorsblog.com/docs/dictionary/01-getting-started/checklist/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/01-getting-started/checklist/</guid><description>&lt;h1 id="dictionary-video-to-vocabulary-getting-started-checklist"&gt;Dictionary Video-to-Vocabulary: Getting Started Checklist&lt;/h1&gt;
&lt;h2 id="-quick-start-copilot-method---15-minutes"&gt;⚡ Quick Start (Copilot Method - 15 minutes)&lt;/h2&gt;
&lt;h3 id="prerequisites"&gt;Prerequisites&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Have a YouTube video URL you want to learn from&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Have GitHub Copilot Chat or ChatGPT access&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="steps"&gt;Steps&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Install youtube-transcript-api: &lt;code&gt;pip install youtube-transcript-api&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Get video transcript: &lt;code&gt;youtube-transcript-api VIDEO_ID --format text &amp;gt; transcript.txt&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Read /docs/dictionary/02-workflows/copilot-integration/&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Copy the main prompt template&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Replace &lt;code&gt;[TOPIC]&lt;/code&gt; with your topic&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Replace &lt;code&gt;[TRANSCRIPT]&lt;/code&gt; with your transcript&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Paste into Copilot Chat&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Wait for YAML output&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Copy output to &lt;code&gt;data/dictionary/[topic]/vocabulary.yaml&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Validate YAML: &lt;code&gt;python -c &amp;quot;import yaml; yaml.safe_load(open('data/dictionary/[topic]/vocabulary.yaml'))&amp;quot;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Create Hugo page: &lt;code&gt;hugo new content/docs/dictionary/[topic]/index.md --kind dictionary&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Edit Hugo page to reference your topic&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Test: &lt;code&gt;npm run dev:memory&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Visit: &lt;code&gt;http://localhost:1313/docs/dictionary/[topic]/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Review and edit Urdu translations&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Commit: &lt;code&gt;git add data/dictionary/ content/docs/dictionary/ &amp;amp;&amp;amp; git commit -m &amp;quot;Add vocabulary from [video]&amp;quot;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Estimated Time&lt;/strong&gt;: 15-20 minutes&lt;/p&gt;</description></item><item><title>Getting Started</title><link>http://ghafoorsblog.com/docs/dictionary/01-getting-started/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/01-getting-started/</guid><description>&lt;h1 id="getting-started"&gt;Getting Started&lt;/h1&gt;
&lt;p&gt;Everything you need to set up the Dictionary system and begin extracting vocabulary.&lt;/p&gt;
&lt;h2 id="-documentation-in-this-section"&gt;📖 Documentation in This Section&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/01-getting-started/setup/"
 
 &gt;Setup Guide&lt;/a&gt;&lt;/strong&gt; - Environment setup and installation&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/01-getting-started/checklist/"
 
 &gt;Setup Checklist&lt;/a&gt;&lt;/strong&gt; - Step-by-step verification&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="-prerequisites"&gt;🎯 Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Hugo installed and working&lt;/li&gt;
&lt;li&gt;Conda environment setup (ags-dictionary)&lt;/li&gt;
&lt;li&gt;YouTube Transcript API access&lt;/li&gt;
&lt;li&gt;Copilot or ChatGPT access for vocabulary extraction&lt;/li&gt;
&lt;li&gt;Git for version control&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="-quick-path"&gt;⚡ Quick Path&lt;/h2&gt;
&lt;p&gt;New to the system? Follow this path:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Read &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/01-getting-started/setup/"
 
 &gt;Setup Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Run &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/01-getting-started/checklist/"
 
 &gt;Setup Checklist&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Then move to &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/"
 
 &gt;Workflows&lt;/a&gt; for your first vocabulary extraction.&lt;/p&gt;</description></item><item><title>Guides</title><link>http://ghafoorsblog.com/docs/dictionary/03-guides/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/03-guides/</guid><description>&lt;h1 id="guides"&gt;Guides&lt;/h1&gt;
&lt;p&gt;Detailed how-to guides and tutorials for working with the Dictionary system.&lt;/p&gt;
&lt;h2 id="-documentation-in-this-section"&gt;📖 Documentation in This Section&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/03-guides/video-to-vocab/"
 
 &gt;Video to Vocabulary Guide&lt;/a&gt;&lt;/strong&gt; - Extract vocabulary from video transcripts&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/03-guides/quick-lookup/"
 
 &gt;Quick Lookup&lt;/a&gt;&lt;/strong&gt; - Quick reference for common tasks&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/03-guides/copilot-prompt-template/"
 
 &gt;Copilot Prompt Template&lt;/a&gt;&lt;/strong&gt; - Ready-to-use prompts for Copilot&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="-common-tasks"&gt;🎯 Common Tasks&lt;/h2&gt;
&lt;h3 id="extract-vocabulary-from-a-video"&gt;Extract Vocabulary from a Video&lt;/h3&gt;
&lt;p&gt;→ Read &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/03-guides/video-to-vocab/"
 
 &gt;Video to Vocabulary Guide&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="use-copilot-for-extraction"&gt;Use Copilot for Extraction&lt;/h3&gt;
&lt;p&gt;→ Read &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/03-guides/copilot-prompt-template/"
 
 &gt;Copilot Prompt Template&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="-related-sections"&gt;🔗 Related Sections&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/"
 
 &gt;Workflows&lt;/a&gt; - Complete step-by-step processes&lt;/li&gt;
&lt;li&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/04-reference/"
 
 &gt;Reference&lt;/a&gt; - Technical and API reference&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Project Overview</title><link>http://ghafoorsblog.com/docs/dictionary/00-overview/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/00-overview/</guid><description>&lt;h1 id="dictionary-system-overview"&gt;Dictionary System Overview&lt;/h1&gt;
&lt;p&gt;The Dictionary System is a comprehensive vocabulary management and distribution platform integrated with Hugo and HBStack. It enables extraction of vocabulary from video transcripts, generation of professional vocabulary pages, and seamless integration with your learning platform.&lt;/p&gt;
&lt;h2 id="-key-features"&gt;🎯 Key Features&lt;/h2&gt;
&lt;p&gt;✅ &lt;strong&gt;Video-based Learning&lt;/strong&gt; - Extract vocabulary directly from YouTube videos&lt;br&gt;
✅ &lt;strong&gt;AI-Powered&lt;/strong&gt; - Use Copilot/ChatGPT to intelligently select and translate words&lt;br&gt;
✅ &lt;strong&gt;Urdu Translations&lt;/strong&gt; - Complete Urdu meanings with contextual examples&lt;br&gt;
✅ &lt;strong&gt;YAML Data Structure&lt;/strong&gt; - Clean, organized, version-controllable format&lt;br&gt;
✅ &lt;strong&gt;Hugo Integration&lt;/strong&gt; - Automatic page generation with responsive design&lt;br&gt;
✅ &lt;strong&gt;Accordion Display&lt;/strong&gt; - Interactive vocabulary presentation&lt;br&gt;
✅ &lt;strong&gt;Multi-Source&lt;/strong&gt; - Support for videos, courses, books, articles&lt;/p&gt;</description></item><item><title>Quick Reference</title><link>http://ghafoorsblog.com/docs/dictionary/02-workflows/quick-reference/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/02-workflows/quick-reference/</guid><description>&lt;h1 id="dictionary-extraction---quick-commands"&gt;Dictionary Extraction - Quick Commands&lt;/h1&gt;
&lt;h2 id="-easy-ways-to-run-the-script-from-anywhere"&gt;✅ Easy Ways to Run the Script (From Anywhere!)&lt;/h2&gt;
&lt;h3 id="method-1-using-shell-script-recommended---simplest"&gt;Method 1: Using Shell Script (Recommended - Simplest!)&lt;/h3&gt;
&lt;p&gt;From &lt;strong&gt;ANY&lt;/strong&gt; directory in your project:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Activate your conda environment first&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;2&lt;/span&gt;&lt;span class="cl"&gt;conda activate ags-dictionary
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;3&lt;/span&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;4&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Run from anywhere (the script will handle paths)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;5&lt;/span&gt;&lt;span class="cl"&gt;/home/ag-sayyed/Documents/projects/hbstack/ghafoors-blog/scripts/dictionary/dict-extract.sh &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;6&lt;/span&gt;&lt;span class="cl"&gt; --video-url &lt;span class="s2"&gt;&amp;#34;https://www.youtube.com/watch?v=9M_dq_0ljsc&amp;#34;&lt;/span&gt; &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;7&lt;/span&gt;&lt;span class="cl"&gt; --topic &lt;span class="s2"&gt;&amp;#34;capitalism&amp;#34;&lt;/span&gt; &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;8&lt;/span&gt;&lt;span class="cl"&gt; --create-hugo-page &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;9&lt;/span&gt;&lt;span class="cl"&gt; --source-name &lt;span class="s2"&gt;&amp;#34;Capitalism is not natural&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Or create an alias&lt;/strong&gt; in your &lt;code&gt;~/.bashrc&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Add this to ~/.bashrc&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;2&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;alias&lt;/span&gt; dict-extract&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;/home/ag-sayyed/Documents/projects/hbstack/ghafoors-blog/scripts/dictionary/dict-extract.sh&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;3&lt;/span&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;4&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Then you can run from anywhere:&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;5&lt;/span&gt;&lt;span class="cl"&gt;dict-extract --video-url &lt;span class="s2"&gt;&amp;#34;URL&amp;#34;&lt;/span&gt; --topic &lt;span class="s2"&gt;&amp;#34;my-topic&amp;#34;&lt;/span&gt; --create-hugo-page
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;hr&gt;
&lt;h3 id="method-2-using-python-wrapper"&gt;Method 2: Using Python Wrapper&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;conda activate ags-dictionary
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;2&lt;/span&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;3&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# From project root&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;4&lt;/span&gt;&lt;span class="cl"&gt;python scripts/dictionary/extract_vocab.py &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;5&lt;/span&gt;&lt;span class="cl"&gt; --video-url &lt;span class="s2"&gt;&amp;#34;https://www.youtube.com/watch?v=9M_dq_0ljsc&amp;#34;&lt;/span&gt; &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;6&lt;/span&gt;&lt;span class="cl"&gt; --topic &lt;span class="s2"&gt;&amp;#34;capitalism&amp;#34;&lt;/span&gt; &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;7&lt;/span&gt;&lt;span class="cl"&gt; --create-hugo-page &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;8&lt;/span&gt;&lt;span class="cl"&gt; --source-name &lt;span class="s2"&gt;&amp;#34;Capitalism is not natural&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;hr&gt;
&lt;h3 id="method-3-from-project-root-traditional"&gt;Method 3: From Project Root (Traditional)&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;conda activate ags-dictionary
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;2&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /home/ag-sayyed/Documents/projects/hbstack/ghafoors-blog
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;3&lt;/span&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;4&lt;/span&gt;&lt;span class="cl"&gt;python scripts/dictionary/extract_vocabulary.py &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;5&lt;/span&gt;&lt;span class="cl"&gt; --video-url &lt;span class="s2"&gt;&amp;#34;https://www.youtube.com/watch?v=9M_dq_0ljsc&amp;#34;&lt;/span&gt; &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;6&lt;/span&gt;&lt;span class="cl"&gt; --topic &lt;span class="s2"&gt;&amp;#34;capitalism&amp;#34;&lt;/span&gt; &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;7&lt;/span&gt;&lt;span class="cl"&gt; --create-hugo-page &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;8&lt;/span&gt;&lt;span class="cl"&gt; --source-name &lt;span class="s2"&gt;&amp;#34;Capitalism is not natural&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;hr&gt;
&lt;h2 id="-environment-setup"&gt;🔑 Environment Setup&lt;/h2&gt;
&lt;h3 id="one-time-setup"&gt;One-time Setup&lt;/h3&gt;

 &lt;blockquote
 
 class="blockquote border-start ps-3 py-1 border-primary border-4"&gt;
 &lt;p&gt;The following is not needed as I am using Github Copilot paid account, but I am keeping it here for reference and for anyone else who might use this project.&lt;/p&gt;</description></item><item><title>Reference</title><link>http://ghafoorsblog.com/docs/dictionary/04-reference/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/04-reference/</guid><description>&lt;h1 id="reference"&gt;Reference&lt;/h1&gt;
&lt;p&gt;Complete technical reference and detailed documentation for developers and advanced users.&lt;/p&gt;
&lt;h2 id="-documentation-in-this-section"&gt;📖 Documentation in This Section&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/04-reference/complete-guide/"
 
 &gt;Complete Guide&lt;/a&gt;&lt;/strong&gt; - Comprehensive reference covering all aspects&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/04-reference/workflow-analysis/"
 
 &gt;Workflow Analysis&lt;/a&gt;&lt;/strong&gt; - Technical analysis and improvement proposals&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/04-reference/implementation-notes/"
 
 &gt;Implementation Notes&lt;/a&gt;&lt;/strong&gt; - Project implementation details and decisions&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="-technical-deep-dives"&gt;🎯 Technical Deep Dives&lt;/h2&gt;
&lt;h3 id="full-system-reference"&gt;Full System Reference&lt;/h3&gt;
&lt;p&gt;→ Read &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/04-reference/complete-guide/"
 
 &gt;Complete Guide&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="architecture-and-technical-analysis"&gt;Architecture and Technical Analysis&lt;/h3&gt;
&lt;p&gt;→ Read &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/04-reference/workflow-analysis/"
 
 &gt;Workflow Analysis&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="project-implementation-details"&gt;Project Implementation Details&lt;/h3&gt;
&lt;p&gt;→ Read &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/04-reference/implementation-notes/"
 
 &gt;Implementation Notes&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Setup Guide</title><link>http://ghafoorsblog.com/docs/dictionary/01-getting-started/setup/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/01-getting-started/setup/</guid><description>&lt;h1 id="setup-guide"&gt;Setup Guide&lt;/h1&gt;
&lt;h2 id="-solved-easy-script-execution-from-anywhere"&gt;🎉 SOLVED: Easy Script Execution from Anywhere&lt;/h2&gt;
&lt;h3 id="-what-was-fixed"&gt;✅ What Was Fixed&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Problem&lt;/strong&gt;: Running scripts from wrong directories with complex relative paths and missing dependencies.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;✅ &lt;strong&gt;Installed all required Python packages&lt;/strong&gt; in your &lt;code&gt;ags-dictionary&lt;/code&gt; conda environment&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Created wrapper scripts&lt;/strong&gt; that work from ANY directory&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Clear documentation and aliases&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h2 id="-how-to-use-now"&gt;🚀 How to Use Now&lt;/h2&gt;
&lt;h3 id="-recommended-method-easiest"&gt;⭐ Recommended Method (Easiest!)&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;From ANY directory&lt;/strong&gt; in your project:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# 1. Activate your conda environment&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;2&lt;/span&gt;&lt;span class="cl"&gt;conda activate ags-dictionary
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;3&lt;/span&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;4&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# 2. Run the wrapper script (absolute path)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;5&lt;/span&gt;&lt;span class="cl"&gt;/home/ag-sayyed/Documents/projects/hbstack/ghafoors-blog/scripts/dictionary/dict-extract.sh &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;6&lt;/span&gt;&lt;span class="cl"&gt; --video-url &lt;span class="s2"&gt;&amp;#34;https://www.youtube.com/watch?v=9M_dq_0ljsc&amp;#34;&lt;/span&gt; &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;7&lt;/span&gt;&lt;span class="cl"&gt; --topic &lt;span class="s2"&gt;&amp;#34;capitalism&amp;#34;&lt;/span&gt; &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;8&lt;/span&gt;&lt;span class="cl"&gt; --create-hugo-page &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;9&lt;/span&gt;&lt;span class="cl"&gt; --source-name &lt;span class="s2"&gt;&amp;#34;Capitalism is not natural&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That&amp;rsquo;s it! The script handles all paths correctly.&lt;/p&gt;</description></item><item><title>Step-by-Step Vocabulary Extraction Guide</title><link>http://ghafoorsblog.com/docs/dictionary/02-workflows/step-by-step-guide/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/02-workflows/step-by-step-guide/</guid><description>&lt;h1 id="dictionary-vocabulary-extraction---step-by-step-guide"&gt;Dictionary Vocabulary Extraction - Step-by-Step Guide&lt;/h1&gt;
&lt;h2 id="-important-environment-setup"&gt;🚨 IMPORTANT: Environment Setup&lt;/h2&gt;
&lt;h3 id="for-ai-agents--automated-commands"&gt;For AI Agents / Automated Commands&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Before running any Python-based transcript extraction commands&lt;/strong&gt;, you MUST:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Run &lt;code&gt;conda-bash&lt;/code&gt; alias to ensure python commands work in scripts&lt;/li&gt;
&lt;li&gt;Once python profile is read, &lt;code&gt;base&lt;/code&gt; environment will be activated. Now you can run the &lt;code&gt;conda&lt;/code&gt; commands, then you can activate &lt;code&gt;ags-dictionary&lt;/code&gt; environment&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Activate conda bash profile&lt;/strong&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;source&lt;/span&gt; ~/miniconda3/etc/profile.d/conda.sh
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Activate the Python environment&lt;/strong&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;conda activate ags-dictionary
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Then run your commands&lt;/strong&gt;:&lt;/p&gt;</description></item><item><title>Workflows</title><link>http://ghafoorsblog.com/docs/dictionary/02-workflows/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/02-workflows/</guid><description>&lt;h1 id="workflows"&gt;Workflows&lt;/h1&gt;
&lt;p&gt;Complete step-by-step processes for extracting and managing vocabulary.&lt;/p&gt;
&lt;h2 id="-documentation-in-this-section"&gt;📖 Documentation in This Section&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/step-by-step-guide/"
 
 &gt;Step-by-Step Guide&lt;/a&gt;&lt;/strong&gt; ⭐ &lt;strong&gt;START HERE&lt;/strong&gt; - Complete 7-step workflow with detailed explanations&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/quick-reference/"
 
 &gt;Quick Reference&lt;/a&gt;&lt;/strong&gt; - Quick command reference&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/copilot-integration/"
 
 &gt;Copilot Integration&lt;/a&gt;&lt;/strong&gt; - Using Copilot for vocabulary extraction&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="-main-workflow-video-to-vocabulary"&gt;🎯 Main Workflow: Video to Vocabulary&lt;/h2&gt;
&lt;h3 id="the-7-step-process"&gt;The 7-Step Process&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Extract Transcript&lt;/strong&gt; - Automated YouTube transcript download&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Extract Vocabulary&lt;/strong&gt; - Use Copilot to find challenging words&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Save YAML File&lt;/strong&gt; - Store vocabulary data&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Validate YAML&lt;/strong&gt; - Ensure proper formatting&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Create Hugo Page&lt;/strong&gt; - Generate content page&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Test Locally&lt;/strong&gt; - View and verify in browser&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Review &amp;amp; Commit&lt;/strong&gt; - Final check and git commit&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="-quick-start-workflow"&gt;⚡ Quick Start Workflow&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Step 1: Extract transcript&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;2&lt;/span&gt;&lt;span class="cl"&gt;./scripts/dictionary/dict-step1-transcript.sh &lt;span class="s2"&gt;&amp;#34;https://youtube.com/watch?v=VIDEO_ID&amp;#34;&lt;/span&gt; topic_name
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;3&lt;/span&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;4&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Step 2: Use Copilot (manual process - see guide)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;5&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Copy transcript and use the Copilot prompt&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;6&lt;/span&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;7&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Step 3-7: Follow the Step-by-Step Guide&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="-different-paths"&gt;📚 Different Paths&lt;/h2&gt;
&lt;h3 id="for-content-creators"&gt;For Content Creators&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Read &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/step-by-step-guide/"
 
 &gt;Step-by-Step Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Follow each step in order&lt;/li&gt;
&lt;li&gt;Use &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/quick-reference/"
 
 &gt;Quick Reference&lt;/a&gt; for commands&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="for-developers"&gt;For Developers&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Read &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/step-by-step-guide/"
 
 &gt;Step-by-Step Guide&lt;/a&gt; for overview&lt;/li&gt;
&lt;li&gt;Check &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/copilot-integration/"
 
 &gt;Copilot Integration&lt;/a&gt; for AI setup&lt;/li&gt;
&lt;li&gt;Review &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/quick-reference/"
 
 &gt;Quick Reference&lt;/a&gt; for commands&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="for-automation-users"&gt;For Automation Users&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Refer to &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/quick-reference/"
 
 &gt;Quick Reference&lt;/a&gt; for all commands&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;scripts/dictionary/dict-step1-transcript.sh&lt;/code&gt; for automation&lt;/li&gt;
&lt;li&gt;See &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/copilot-integration/"
 
 &gt;Copilot Integration&lt;/a&gt; for AI setup&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="-related-sections"&gt;🔗 Related Sections&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/01-getting-started/"
 
 &gt;Getting Started&lt;/a&gt; - Setup instructions&lt;/li&gt;
&lt;li&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/03-guides/"
 
 &gt;Guides&lt;/a&gt; - Detailed how-to guides&lt;/li&gt;
&lt;li&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/04-reference/"
 
 &gt;Reference&lt;/a&gt; - Technical reference&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>