Toya0421 commited on
Commit
30315f8
·
verified ·
1 Parent(s): 233306d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -12
app.py CHANGED
@@ -295,7 +295,8 @@ Numerous Readability Manipulation:
295
  The Flesch Reading Ease score is a numeric measure of text readability,
296
  where higher scores indicate easier readability and lower scores indicate more difficult text.
297
 
298
- In this task, we are trying to rewrite a given text into the target Flesch Reading Ease score.
 
299
 
300
  Given the original draft (Flesch Reading Ease = {original_fre_val}):
301
 
@@ -308,24 +309,20 @@ Flesch Reading Ease = {target_flesch}
308
 
309
  Follow the instructions below carefully.
310
 
311
- - Reduce average sentence length while avoiding uniform or fixed-length sentences.
312
- - Introduce natural variation in sentence length to maintain rhythm and avoid mechanical patterns.
313
- - Prefer familiar, high-frequency vocabulary.
314
-
315
  Qualitative Readability Control
316
  ・Content preservation
317
  - Maintain the original meaning faithfully.
318
  - Do not add new information.
319
  - Do not remove important information.
320
  - Do not introduce interpretations or opinions that are not present in the original text.
321
- - Avoid jargon; if technical terms are necessary, explain them clearly in simple language.
322
 
323
  ・Clarity & Naturalness Refinement
324
- - Rewrite the text in clear, modern English.
325
- - Remove archaic expressions and unnatural or outdated syntax typical of older texts at all levels.
326
- - Maintain a natural flow of reading rather than a sequence of evenly shortened sentences.
327
  - Minimize figurative language, idioms, and expressions whose meanings are not directly inferable.
328
  - Use simple and direct sentence structures.
 
 
 
329
 
330
  Formatting Constraints
331
  ・Scope of rewriting
@@ -335,10 +332,7 @@ Formatting Constraints
335
 
336
  ・Structure and formatting
337
  - Preserve the original paragraph structure of the main text.
338
- - Insert exactly ONE blank line between paragraphs.
339
- - Do NOT create new section breaks, chapter divisions, or headings.
340
  - Output only the rewritten text.
341
- - Do not include explanations, comments, or metadata.
342
  - Do not include [TEXT START] and [TEXT END] in the output.
343
  """.strip()
344
 
 
295
  The Flesch Reading Ease score is a numeric measure of text readability,
296
  where higher scores indicate easier readability and lower scores indicate more difficult text.
297
 
298
+ In this task, we are trying to rewrite a given text into the target Flesch Reading Ease score
299
+ and preserving the original meaning and information.
300
 
301
  Given the original draft (Flesch Reading Ease = {original_fre_val}):
302
 
 
309
 
310
  Follow the instructions below carefully.
311
 
 
 
 
 
312
  Qualitative Readability Control
313
  ・Content preservation
314
  - Maintain the original meaning faithfully.
315
  - Do not add new information.
316
  - Do not remove important information.
317
  - Do not introduce interpretations or opinions that are not present in the original text.
 
318
 
319
  ・Clarity & Naturalness Refinement
320
+ - Rewrite the text in clear, modern English. Remove archaic expressions and unnatural or outdated syntax typical of older texts at all levels.
 
 
321
  - Minimize figurative language, idioms, and expressions whose meanings are not directly inferable.
322
  - Use simple and direct sentence structures.
323
+ - Prefer familiar, high-frequency vocabulary.
324
+ - Avoid jargon; if technical terms are necessary, explain them clearly in simple language.
325
+ - Maintain a natural flow of reading rather than a sequence of evenly shortened sentences. Reduce average sentence length while avoiding uniform or fixed-length sentences. Introduce natural variation in sentence length to maintain rhythm and avoid mechanical patterns.
326
 
327
  Formatting Constraints
328
  ・Scope of rewriting
 
332
 
333
  ・Structure and formatting
334
  - Preserve the original paragraph structure of the main text.
 
 
335
  - Output only the rewritten text.
 
336
  - Do not include [TEXT START] and [TEXT END] in the output.
337
  """.strip()
338