Skip to content

pantlmn/csl_accent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csl_accent

This is a tool for putting stress marks in Church Slavonic texts in grazhdanitsa encoding

Installation

pip install git+https://github.com/pantlmn/csl_accent.git@main

Usage example

To put stress marks in text

>>> from csl_accent import accent_line
>>> accent_line('О богоблаженне и приснопамятне отче наш Данииле!')
О богоблаже́нне и приснопа́мятне о́тче наш Дании́ле!

To put stress marks in files

>>> csl_accent.write_file(['my_file_1.txt'])

This will return new file called "my_file.accented.txt" with the same text where stress marks are put

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%