An open API service indexing awesome lists of open source software.

https://github.com/yue1123/fixdot

A command-line tool that fixes English punctuation in Chinese sentences
https://github.com/yue1123/fixdot

command-line-tool nodejs

Last synced: 2 months ago
JSON representation

A command-line tool that fixes English punctuation in Chinese sentences

Awesome Lists containing this project

README

        

# fixdot
[![GitHub license](https://img.shields.io/github/license/yue1123/fixdot?style=flat-square)](https://github.com/yue1123/img-previewer/blob/main/LICENSE)

GitHub package.json version (subfolder of monorepo)

Other languages: [English](./README.md), [简体中文](./README.zh.md).

A command-line application that fixes English punctuation in Chinese sentences

If you change the input method punctuation to English punctuation, but you don’t want to switch back and forth every time you enter Chinese. Or you want to correct punctuation errors in a Chinese article, etc. All these, this command line application can help you

`fixdot ` use the right punctuation

TIP: file path support pattern match, like: `*/*.js`

> The current version only supports these encodings: ascii, utf-8, utf16le, ucs-2, base64

![./screenshots/](./screenshots/demo.png)
## install
Ensure you have Node.js version 12.20+ installed. Then run the following:
```bash
npm i -g fixdot
# or yarn
yarn global add fixdot
# or pnpm
pnpm i -g fixdot
```

## Usage
```txt
Usage: fixDot [options] [letters...]

Fix english punctuation to chinese punctuation for in Chinese sentences

Options:
-v, --version output the current version
-p --preview only preview incorrect snippets, will not auto write to the file
-d --detail show incorrect snippets
-h, --help display help for command
```