A
A
Andrey2016-01-21 06:53:06
Django
Andrey, 2016-01-21 06:53:06

Is there an API for text formatting?

Hello!
Site users are lazy people! Most of the text is written randomly, with errors, without punctuation marks and capital letters, all in the same case.
Can you tell me if there is any API for text formatting?
To at least from:
hello! how to get to the library?
Was:
Hello! How to get to the library?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Adamos, 2016-01-21
@Adamos

If users are too lazy to write correctly or they see some artistic meaning in mangling words, you won’t do anything with them, except to scare them away with your grammar demarches.
Technically - well, you can add to the input field
spellcheck="true"

E
entermix, 2016-01-21
@entermix

Try Yandex.Speller , or check spelling with Google
Spell Check text on text.ru , there is also an API
Ie . it remains to fasten the check, and prevent the publication of text with errors.

F
Foo Bar, 2016-08-08
@atomheart

You need a typographer, not a spellchecker.
There is from Lebedev's studio with an open API - https://www.artlebedev.ru/tools/typograf/webservice/
Or here's another - typograf.ru (there is also a web service).
If you are not satisfied with the web service, you can take the source code ( https://github.com/typograf/typograf.github.io/) or download the typus library for python (description on Habré - https://habrahabr.ru/post/ 303608/).
Some support spell checking at the same time, it's like a bonus :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question