All Projects → e2yo → Eyo

e2yo / Eyo

Licence: mit
🦔 CLI for restoring the letter «ё» (yo) in russian texts

Programming Languages

javascript
184084 projects - #8 most used programming language
js
455 projects

Projects that are alternatives of or similar to Eyo

Reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
Stars: ✭ 4,541 (+3715.97%)
Mutual labels:  linter, cli
Undercover
Actionable code coverage - detects untested code blocks in recent changes
Stars: ✭ 574 (+382.35%)
Mutual labels:  linter, cli
Replace In File
A simple utility to quickly replace contents in one or more files
Stars: ✭ 369 (+210.08%)
Mutual labels:  cli, text
Protolint
A pluggable linter and fixer to enforce Protocol Buffer style and conventions.
Stars: ✭ 142 (+19.33%)
Mutual labels:  linter, cli
Lintly
Automated GitHub PR code reviewer for Python, JavaScript, CSS, and more.
Stars: ✭ 91 (-23.53%)
Mutual labels:  linter, cli
Eslint Watch
ESLint with simple watching capabilities
Stars: ✭ 159 (+33.61%)
Mutual labels:  linter, cli
Singel
Single Element Pattern
Stars: ✭ 404 (+239.5%)
Mutual labels:  linter, cli
Isort
A Python utility / library to sort imports.
Stars: ✭ 4,377 (+3578.15%)
Mutual labels:  linter, cli
Russian news corpus
Russian mass media stemmed texts corpus / Корпус лемматизированных (морфологически нормализованных) текстов российских СМИ
Stars: ✭ 76 (-36.13%)
Mutual labels:  russian, text
Proselint
Proselint wrapper with a friendly reporter
Stars: ✭ 56 (-52.94%)
Mutual labels:  linter, text
Git History
Quickly browse the history of a file from any git repository
Stars: ✭ 12,676 (+10552.1%)
Mutual labels:  cli, text
Word Wrap
Wrap words to a specified length.
Stars: ✭ 107 (-10.08%)
Mutual labels:  cli, text
Aeneas
aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment)
Stars: ✭ 1,942 (+1531.93%)
Mutual labels:  cli, text
textlint-rule-terminology
Textlint rule to check correct terms spelling
Stars: ✭ 32 (-73.11%)
Mutual labels:  text, linter
Peep
The CLI text viewer tool that works like less command on small pane within the terminal window.
Stars: ✭ 139 (+16.81%)
Mutual labels:  cli, text
Typographie
Web service for preparation of Russian texts for the web publication
Stars: ✭ 12 (-89.92%)
Mutual labels:  russian, text
Linter Farch
Make sure the filenames stay the same, control them! 👁
Stars: ✭ 101 (-15.13%)
Mutual labels:  linter, cli
Render
Universal data-driven template for generating textual output, as a static binary and a library
Stars: ✭ 108 (-9.24%)
Mutual labels:  cli, text
Cum
comic updater, mangafied
Stars: ✭ 117 (-1.68%)
Mutual labels:  cli
Trino
Trino: Master your translations with command line!
Stars: ✭ 118 (-0.84%)
Mutual labels:  cli

Восстановление буквы «ё» в русских текстах

NPM version NPM downloads Build Status Build Status Coverage Status Dependency Status

eyo

Особенности

  • проверка и восстановление буквы «ё» в русских текстах, вместо написанной «е»;
  • замена «е» на «ё» только в бесспорных случаях;
  • исправление в словах нескольких букв «е», «ё»;
  • корректная обработка сокращений («мед. училище», но не «мёд. училище»);
  • аббревиатуры не обрабатываются.

eyo

Установка

npm install eyo -g

Командная строка

Usage: eyo [options] <file-or-url...>
    Restoring the letter «ё» (yo) in russian texts.

Options:
    -h, --help                  Output usage information
    -V, --version               Output the version number
    -l, --lint                  Search of safe and unsafe replacements
    -i, --in-place              Write files in place.
    -s, --sort                  Sort results
        --only-safe             Output only safe replacements
        --stdin                 Process text provided on <STDIN>
        --stdin-filename <file> Specify filename to process STDIN as
        --no-colors             Clean output without colors

Примеры использования

eyo file.txt > file.out.txt — безопасная замена «е» на «ё».
eyo https://example.com/index.html > file.out.html — безопасная замена «е» на «ё» на странице сайта.

eyo -i README.md — файл README.md будет перезаписан с безопасной заменой «е» на «ё».
eyo -i "**/*.md" — файлы с расширением .md будут перезаписаны с безопасной заменой «е» на «ё».
find . -name "*.md" | xargs eyo --lint
eyo --lint file1.txt file2.txt — вывод слов для файлов, где необходима или возможна замена.
eyo --lint http://habrahabr.ru — вывод слов для страницы сайта, где необходима или возможна замена.

cat file1.txt file2.txt file3.txt | eyo --stdin > output.txt
cat file1.txt | eyo --stdin --stdin-filename file1.txt

Node.js

Используйте отдельный пакет eyo-kernel без зависимостей.

npm install eyo-kernel

Ссылки

Лицензия

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].