Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

maxim092001/text-comparsion-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

16 Commits

Repository files navigation

TextComparsionBot

Telegram bot, the main (and currently the only) task of which is to compare two texts.

  • To simplify comparison, Porter's Stemmer is used.
  • For the comparison itself, Cosine Similarity is used.
  • The user id, the first and second text, and the status are added to the database. The texts are deleted immediately after calculating the cosine distance. DBMS - Postgres.
  • The bot is deployed on free hosting Heroku, so there may be some delays in responses.
  • You can test the bot here @maxon_verygood_first_bot.

P.S. The comparison of texts is carried out by words, therefore the two texts "Hi" and "Hello" will be completely different. The best work results are shown by comparing texts in Russian.

Registration

Register

First test

FirstText

Second text and result

SecondText

About

TextComparsionBot in Telegram

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

Languages

AltStyle によって変換されたページ (->オリジナル) /