PoetMeter is a Visual Studio Code extension designed for counting syllables in lines of text and generating "Poet Maps" for analyzing text structure. This tool is particularly useful for poets, writers, and anyone who works with structured or rhythmic text.
Features
Automatically counts syllables in lines of text.
Provides real-time updates as you edit your document.
Generates "Poet Maps" — visual representations of the structure of words in a line, distinguishing vowels and consonants.
Lightweight and easy to use.
About Poet Maps
Poet Maps are line structures that replace vowels with | and consonants with . to provide a quick visual representation of text rhythm and flow. These maps are especially effective for analyzing Russian text and were primarily designed with the Russian language in mind.
Usage
Open a text file in Visual Studio Code.
To count syllables:
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P on Mac).
Type and select PoetMeter: Count Syllables.
The syllable counts for each line will appear as decorations in the editor.
To generate Poet Maps:
Open the Command Palette.
Type and select PoetMap: Generate Poet Map.
A new tab will open beside your document, displaying the Poet Maps for each line.
Contributing
Contributions are welcome! Please fork the repository and create a pull request for any improvements or bug fixes.
License
This project is licensed under the MIT License. See the LICENSE file for details.