Update cijiang/rhyme.py
Browse files- cijiang/rhyme.py +0 -4
cijiang/rhyme.py
CHANGED
|
@@ -53,10 +53,6 @@ class CiJiangRhymer:
|
|
| 53 |
with open('rules/syllable_to_yunmu.json', 'r', encoding='utf-8') as f:
|
| 54 |
self.syllable_to_yunmu = json.load(f)
|
| 55 |
|
| 56 |
-
with open('rules/ALL_SYLLABLES.txt', 'r', encoding='utf-8') as f:
|
| 57 |
-
all_syllables = f.read().strip().split()
|
| 58 |
-
self.all_syllables = [syllable for syllable in all_syllables if syllable]
|
| 59 |
-
|
| 60 |
with open('rules/rhymes.json', 'r', encoding='utf-8') as f:
|
| 61 |
self.rhymes = json.load(f)
|
| 62 |
|
|
|
|
| 53 |
with open('rules/syllable_to_yunmu.json', 'r', encoding='utf-8') as f:
|
| 54 |
self.syllable_to_yunmu = json.load(f)
|
| 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
with open('rules/rhymes.json', 'r', encoding='utf-8') as f:
|
| 57 |
self.rhymes = json.load(f)
|
| 58 |
|