Files
cs249r_book/tools
Vijay Janapa Reddi 2c730dda36 feat(tools): add comprehensive spell checking for TikZ diagrams and prose
Add two complementary spell checking tools for content validation:

- check_tikz_spelling.py: Extracts and validates all visible text from
  TikZ diagrams including node labels, inline annotations, custom pics,
  foreach loops, legends, and comments. Uses pattern-based matching for
  common typos with optional aspell integration.

- check_prose_spelling.py: Intelligently parses QMD structure to check
  only actual prose content while excluding YAML frontmatter, code blocks,
  TikZ diagrams, inline code, math expressions, and URLs. Uses aspell with
  comprehensive ignore list of 500+ technical terms and acronyms.

Both tools provide detailed output with file paths, line numbers, and
context for identified spelling errors. The TikZ checker found and enabled
fixing of typos like 'gatewey', 'poihnts', and 'Intellignet' across the
codebase.
2025-11-03 11:01:04 -05:00
..