Upload coeng_repair_comparison.txt with huggingface_hub
Browse files- coeng_repair_comparison.txt +97 -0
coeng_repair_comparison.txt
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
================================================================================
|
| 2 |
+
COENG REPAIR COMPARISON REPORT
|
| 3 |
+
================================================================================
|
| 4 |
+
|
| 5 |
+
1. TEXT STATISTICS
|
| 6 |
+
--------------------------------------------------------------------------------
|
| 7 |
+
Original length: 41,343 characters
|
| 8 |
+
Fixed length: 40,806 characters
|
| 9 |
+
Characters removed: 537
|
| 10 |
+
|
| 11 |
+
2. COENG CHARACTER ANALYSIS
|
| 12 |
+
--------------------------------------------------------------------------------
|
| 13 |
+
Original:
|
| 14 |
+
Valid COENG (+ consonant): 1753
|
| 15 |
+
Invalid COENG (orphaned): 537
|
| 16 |
+
Total: 2290
|
| 17 |
+
|
| 18 |
+
Fixed:
|
| 19 |
+
Valid COENG (+ consonant): 1753
|
| 20 |
+
Invalid COENG (orphaned): 0
|
| 21 |
+
Total: 1753
|
| 22 |
+
|
| 23 |
+
Improvement:
|
| 24 |
+
✅ Removed 537 orphaned COENG characters
|
| 25 |
+
✅ Reduced invalid COENG from 537 to 0
|
| 26 |
+
|
| 27 |
+
3. FIXES APPLIED
|
| 28 |
+
--------------------------------------------------------------------------------
|
| 29 |
+
before_vowel: 295 fixes
|
| 30 |
+
before_space: 159 fixes
|
| 31 |
+
before_punctuation: 32 fixes
|
| 32 |
+
before_sign: 23 fixes
|
| 33 |
+
double_coeng: 19 fixes
|
| 34 |
+
before_newline: 5 fixes
|
| 35 |
+
before_other: 4 fixes
|
| 36 |
+
|
| 37 |
+
4. SAMPLE FIXES (First 10)
|
| 38 |
+
--------------------------------------------------------------------------------
|
| 39 |
+
1. Position 31 - before_sign
|
| 40 |
+
Before: 'វគរុកោសលយជ្'
|
| 41 |
+
After: 'ំនាន់ថ្មី'
|
| 42 |
+
Removed COENG before: ំ (U+17C6)
|
| 43 |
+
2. Position 367 - double_coeng
|
| 44 |
+
Before: 'ញ្ចូលកែុងទ្'
|
| 45 |
+
After: '្មង់ណាមួយ'
|
| 46 |
+
Removed COENG before: ្ (U+17D2)
|
| 47 |
+
3. Position 470 - before_vowel
|
| 48 |
+
Before: 'និកសនេងៗសទ្'
|
| 49 |
+
After: 'ៀត សោយមិន'
|
| 50 |
+
Removed COENG before: ៀ (U+17C0)
|
| 51 |
+
4. Position 569 - before_newline
|
| 52 |
+
Before: '្មាប់េតថបទ្'
|
| 53 |
+
After: '\nវិចារណកថ'
|
| 54 |
+
Removed COENG before:
|
| 55 |
+
(U+000A)
|
| 56 |
+
5. Position 774 - double_coeng
|
| 57 |
+
Before: 'alski \nបកម្'
|
| 58 |
+
After: '្បជាភាសាម'
|
| 59 |
+
Removed COENG before: ្ (U+17D2)
|
| 60 |
+
6. Position 850 - before_vowel
|
| 61 |
+
Before: 'កាហ្វិចឌើហ្'
|
| 62 |
+
After: 'ាញ៖ ស'
|
| 63 |
+
Removed COENG before: ា (U+17B6)
|
| 64 |
+
7. Position 868 - before_vowel
|
| 65 |
+
Before: ' សលាក្គូ ជ្'
|
| 66 |
+
After: 'ី គឹមអុី '
|
| 67 |
+
Removed COENG before: ី (U+17B8)
|
| 68 |
+
8. Position 935 - before_vowel
|
| 69 |
+
Before: '\n \nកសចកែីក្'
|
| 70 |
+
After: 'ែើម៖ោរដាក'
|
| 71 |
+
Removed COENG before: ែ (U+17C2)
|
| 72 |
+
9. Position 1106 - before_space
|
| 73 |
+
Before: 'និរកវយាករណ្'
|
| 74 |
+
After: ' ៍ ......'
|
| 75 |
+
Removed COENG before: (U+0020)
|
| 76 |
+
10. Position 1158 - before_space
|
| 77 |
+
Before: ' 9 \nកោលោរណ្'
|
| 78 |
+
After: ' ៍ សែរ់ដា'
|
| 79 |
+
Removed COENG before: (U+0020)
|
| 80 |
+
|
| 81 |
+
5. TOKENIZATION QUALITY
|
| 82 |
+
--------------------------------------------------------------------------------
|
| 83 |
+
Metric Original Fixed Change
|
| 84 |
+
--------------------------------------------------------------------------------
|
| 85 |
+
Token count 27,249 26,556 -693
|
| 86 |
+
Unique tokens 733 747 +14
|
| 87 |
+
Avg token length 1.639 1.661 +0.023
|
| 88 |
+
TPC (tokens/char) 0.659 0.651 -0.008
|
| 89 |
+
Broken tokens 13,698 13,030 -668
|
| 90 |
+
|
| 91 |
+
6. QUALITY ASSESSMENT
|
| 92 |
+
--------------------------------------------------------------------------------
|
| 93 |
+
✅ TPC improved: 0.659 → 0.651
|
| 94 |
+
✅ Broken tokens reduced: 13,698 → 13,030
|
| 95 |
+
⚠️ TPC outside target range: 0.651 (target: 0.40-0.50)
|
| 96 |
+
|
| 97 |
+
================================================================================
|