Spaces:
Sleeping
Sleeping
Commit ·
fd9da3b
1
Parent(s): 75b9522
Update app.py
Browse files91 unmodified lines929394959697989910010110210310410510610710810911011111211311411511611711891 unmodified lines ["سلاو برا جونی؟"],]
title = "Script Normalization for Unconventional Writing"
description = """<ul> <li>"<em>mar7aba!</em>"</li> <li>"<em>هاو ئار یوو؟</em>"</li> <li>"<em>Μπιάνβενου α σετ ντεμό!</em>"</li></ul>
<p>What all these sentences are in common? Being greeted in Arabic with "<em>mar7aba</em>" written in the Latin script, then asked how you are ("<em>هاو ئار یوو؟</em>") in English using the Perso-Arabic script of Kurdish and then, welcomed to this demo in French ("<em>Μπιάνβενου α σετ ντεμό!</em>") written in Greek script. All these sentences are written in an <strong>unconventional</strong> script.</p>
<p>Although you may find these sentences risible, unconventional writing is a common practice among millions of speakers in bilingual communities. In our paper entitled "<a href="https://sinaahmadi.github.io/docs/articles/ahmadi2023acl.pdf" target="_blank"><strong>Script Normalization for Unconventional Writing of Under-Resourced Languages in Bilingual Communities</strong></a>", we shed light on this problem and propose an approach to normalize noisy text written in unconventional writing.</p>
<p>This demo deploys a few models that are trained for <strong>the normalization of unconventional writing</strong>. Please note that this tool is not a spell-checker and cannot correct errors beyond character normalization.</p>
For more information, you can check out the project on GitHub too: <a href="https://github.com/sinaahmadi/ScriptNormalization" target="_blank"><strong>https://github.com/sinaahmadi/ScriptNormalization</strong></a>"""
demo = gr.Interface( title=title, description=description, fn=normalize, inputs=gr.inputs.Textbox(lines=5, label="Input Text"), outputs=gr.outputs.Textbox(label="Output Text" ),app.py+18