Spaces:
Runtime error
Runtime error
Rachel Rakov
commited on
Commit
·
677a83f
1
Parent(s):
406bc2a
Fixed instruction formatting
Browse files- eng_to_aslGloss_app.py +10 -9
eng_to_aslGloss_app.py
CHANGED
@@ -96,29 +96,30 @@ def main():
|
|
96 |
description = "This program uses GPT4 alongside prompt engineering to \
|
97 |
translate English text to ASL gloss.\n \
|
98 |
Type in the English sentence you would like to translate into ASL Gloss. \
|
99 |
-
\n
|
100 |
-
Anything within the angle brackets
|
101 |
If the angle brackets are directly next to a word, the notation inside \
|
102 |
the angle brackets is associate with just that word, e.g. WILL < A >. \
|
103 |
If the angle brackets are next to a whitespace after a word,\
|
104 |
the notation inside the angle bracket is associated with all of the words\
|
105 |
before it, up until a comma, another angle bracket, or a double space.\
|
106 |
-
\n This sentence is an example of this rule:\
|
107 |
\n NEXT-YEAR < Ti >, MY FIANCE < T >, TWO-OF-US MARRY \< A \>.\
|
108 |
-
\n
|
|
|
109 |
\n Ti marks time\
|
110 |
\n T marks topic\
|
111 |
\n A marks comment\
|
112 |
\n Y/N marks yes-no question\
|
113 |
\n WHQ marks wh-question\
|
114 |
\n RHQ marks rhetorical question\
|
115 |
-
\n <Cond> marks conditional sentences\
|
116 |
\n lower case marks directional verbs\
|
117 |
\n ++ marks emphesis ('very' or 'a lot of')\
|
118 |
-
\n
|
119 |
-
\n
|
120 |
-
\n Note: This is
|
121 |
-
|
122 |
\n For additional details on how the program works, please see \
|
123 |
[the README](https://huggingface.co/spaces/rrakov/EngTexToASLGloss/blob/main/README.md)"
|
124 |
|
|
|
96 |
description = "This program uses GPT4 alongside prompt engineering to \
|
97 |
translate English text to ASL gloss.\n \
|
98 |
Type in the English sentence you would like to translate into ASL Gloss. \
|
99 |
+
\n Below are the guidelines we are using to express superscript ASL gloss.\
|
100 |
+
Anything within the angle brackets < > indicates superscript notation.\
|
101 |
If the angle brackets are directly next to a word, the notation inside \
|
102 |
the angle brackets is associate with just that word, e.g. WILL < A >. \
|
103 |
If the angle brackets are next to a whitespace after a word,\
|
104 |
the notation inside the angle bracket is associated with all of the words\
|
105 |
before it, up until a comma, another angle bracket, or a double space.\
|
106 |
+
\n \n This sentence is an example of this rule:\
|
107 |
\n NEXT-YEAR < Ti >, MY FIANCE < T >, TWO-OF-US MARRY \< A \>.\
|
108 |
+
\n \
|
109 |
+
\n The superscript notation options that will appear in results are as follows:\
|
110 |
\n Ti marks time\
|
111 |
\n T marks topic\
|
112 |
\n A marks comment\
|
113 |
\n Y/N marks yes-no question\
|
114 |
\n WHQ marks wh-question\
|
115 |
\n RHQ marks rhetorical question\
|
116 |
+
\n < Cond > marks conditional sentences\
|
117 |
\n lower case marks directional verbs\
|
118 |
\n ++ marks emphesis ('very' or 'a lot of')\
|
119 |
+
\n \# marks lexical fingerspelling \
|
120 |
+
\n \- marks space between individual letters of fingerspelling\
|
121 |
+
\n \n Note: This is a prototype and is still in development. \
|
122 |
+
Do not use it in a production deployment. \
|
123 |
\n For additional details on how the program works, please see \
|
124 |
[the README](https://huggingface.co/spaces/rrakov/EngTexToASLGloss/blob/main/README.md)"
|
125 |
|