英文:
How to correct misspelled product names?
问题
"Finty"皮肤保湿霜
"Joa"美容遮瑕笔
Sephora眉笔
我已使用音频转录提取了这些产品名称,但一些产品如"Fenty"和"Joah"拼写错误。
英文文本规范化工具在这种情况下无法正常工作,而GPT-3似乎也无法很好地处理。
有没有更好的方法来将这些名称规范化为实际的产品名称?
英文:
Moisturizer Finty Skin Hydrovisor
Joa Beauty Dark Circle Concealer
Sephora brow pencil
I have extracted these product names using audio transcription, but some products such as 'Fenty' and 'Joah' are misspelled.
An English text normalizer doesn't work on this and GPT-3 also doesn't seem to do a good job.
Is there a better approach to normalize the names to the actual product names?
答案1
得分: 0
一种规范化产品名称的方法是使用拼写检查器或能够处理词汇外单词的拼写校正算法。这可以帮助纠正拼错的产品名称,例如'Fenty'和'Joah',将它们更正为正确的拼写'Fenty'和'Joa'。
另一种方法是使用命名实体识别(NER)2算法来识别文本中的产品名称,然后将它们映射到已知的产品名称列表。NER算法可以帮助识别产品名称,即使它们拼错或以不同格式编写。
英文:
One approach to normalize product names is to use a spell checker or spell correction algorithm that can handle out-of-vocabulary words. This can help correct the misspelled product names such as 'Fenty' and 'Joah' to their correct spellings 'Fenty' and 'Joa'.
Another approach is to use named entity recognition (NER) algorithms to identify the product names in the text and then map them to a known list of product names. NER algorithms can help identify the product names even if they are misspelled or written in different formats.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论