Skip to content

Fix incorrect punctuation in a variety of languages, with special support for language-specific quotation mark styles.

Notifications You must be signed in to change notification settings

lexipenia/multipunct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multipunct

Running from the command line

Place any .txt files to process in the same folder as the multipunct.js script. You can then run from the command line as follows:

node multipunct.js <filename.txt> EN

The final argument corresponds to the language ruleset to be applied.

For example, to run on the test text provided with French rules:

node multipunct.js test_text.txt FR

The fixAll function

The main function fixAll(source,language), which corrects a source text in a specific language, can be imported from the core module.

Languages

Code Language
EN English
FR French
IT Italian
ES Spanish
DE German
PL Polish
LT Lithuanian

About

Fix incorrect punctuation in a variety of languages, with special support for language-specific quotation mark styles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published