SinaAhmadi
commited on
Commit
•
3800655
1
Parent(s):
dc989f7
Update app.py
Browse files
app.py
CHANGED
@@ -106,18 +106,18 @@ title = """
|
|
106 |
|
107 |
description = """
|
108 |
<ul>
|
109 |
-
<li style="font-size:
|
110 |
-
<li style="font-size:
|
111 |
-
<li style="font-size:
|
112 |
</ul>
|
113 |
|
114 |
-
<p style="font-size:
|
115 |
|
116 |
-
<p style="font-size:
|
117 |
|
118 |
-
<p style="font-size:
|
119 |
|
120 |
-
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>
|
121 |
"""
|
122 |
|
123 |
examples = [
|
@@ -138,7 +138,7 @@ examples = [
|
|
138 |
|
139 |
article = """
|
140 |
<div style="text-align: justify; max-width: 1200px; margin: 20px auto;">
|
141 |
-
<h3 style="font-weight: 450; font-size:
|
142 |
<b>Created and deployed by Sina Ahmadi <a href="https://sinaahmadi.github.io/">(https://sinaahmadi.github.io/)</a>.
|
143 |
</h3>
|
144 |
</div>
|
|
|
106 |
|
107 |
description = """
|
108 |
<ul>
|
109 |
+
<li style="font-size:120%;">"<em>mar7aba!</em>"</li>
|
110 |
+
<li style="font-size:120%;">"<em>هاو ئار یوو؟</em>"</li>
|
111 |
+
<li style="font-size:120%;">"<em>Μπιάνβενου α σετ ντεμό!</em>"</li>
|
112 |
</ul>
|
113 |
|
114 |
+
<p style="font-size:120%;">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>
|
115 |
|
116 |
+
<p style="font-size:120%;">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>
|
117 |
|
118 |
+
<p style="font-size:120%;">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. For better performance, you can apply hard-coded rules on the input and then pass it to the models, hence a hybrid system.</p>
|
119 |
|
120 |
+
<p style="font-size:120%;">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></p>
|
121 |
"""
|
122 |
|
123 |
examples = [
|
|
|
138 |
|
139 |
article = """
|
140 |
<div style="text-align: justify; max-width: 1200px; margin: 20px auto;">
|
141 |
+
<h3 style="font-weight: 450; font-size: 1rem; margin: 0rem">
|
142 |
<b>Created and deployed by Sina Ahmadi <a href="https://sinaahmadi.github.io/">(https://sinaahmadi.github.io/)</a>.
|
143 |
</h3>
|
144 |
</div>
|