project

Please do text matching according to this project

My project only provides a simple AI text matching module, which can match the text of the same meaning with special or invalid characters
E.g
similarity(‘gender’, ‘gen@’)=0.6
similarity(‘gender’, ‘gendder’)=0.923
similarity(‘gender’, ‘_gendder’)=0.857
Treat other completely wrong text as invalid value

For a stronger AI text matching module, such as supporting text matching in different languages, please copy the https://github.com/UKPLab/sentence-transformers project

The https://github.com/UKPLab/sentence-transformers project is too complicated. If you want to quickly implement multi-language matching, you can use python to call Google Translate for automatic translation.

First install googletrans:

pip install googletrans

Then, call the following code to translate the header of any language into English. 

from googletrans import Translator

string = the header of any language
translater = Translator()
out = translater.translate(string, dest=\’en\’, src=\’auto\’).text

Then use the similarity(\’gender\’, \’gendder\’)=0.923 function to perform text matching.

Use regular expressions in the python language to automatically identify commas, spaces, semicolons, vertical bars and other delimiters, and save them as comma delimiters csv

import pandas as pd
csv = pd.read_csv(\'input.csv\', sep=\'\\s|,|;\')
csv.to_csv(\'result.csv\')

 

Reminder
OK
作业代写,代写作业,作业辅导,辅导作业,作业问答,美国作业代写,留学生作业,留学生作业代写,数学作业,数学作业代写,统计作业代写,物理作业代写,金融作业代写,大学作业辅导 Keywords: 作业代写 代写作业 作业辅导 辅导作业 作业问答 美国作业代写 留学生作业 留学生作业代写 数学作业 数学作业代写 统计作业代写 物理作业代写 金融作业代写 大学作业辅导