"vault backup: 2025-11-16 22:35:33 from Flow"
This commit is contained in:
@@ -63,4 +63,6 @@ She doesn't want to chat with me
|
|||||||
Tā yǒudiǎn er yángé
|
Tā yǒudiǎn er yángé
|
||||||
He's a bit strict
|
He's a bit strict
|
||||||
|
|
||||||
农村
|
农村
|
||||||
|
nóng cūn
|
||||||
|
countryside
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
from pypinyin import pinyin, Style
|
|
||||||
|
|
||||||
# The phrase to convert
|
|
||||||
phrase = "农村"
|
|
||||||
|
|
||||||
# Generate pinyin with tone marks
|
|
||||||
pinyin_list = pinyin(phrase, style=Style.TONE)
|
|
||||||
|
|
||||||
# Flatten the list and join
|
|
||||||
pinyin_str = " ".join([item[0] for item in pinyin_list])
|
|
||||||
|
|
||||||
print(pinyin_str)
|
|
||||||
Reference in New Issue
Block a user