Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

看語句有問題 #672

Open
niauah opened this issue Mar 20, 2020 · 1 comment
Open

看語句有問題 #672

niauah opened this issue Mar 20, 2020 · 1 comment
Labels

Comments

@niauah
Copy link
Contributor

niauah commented Mar 20, 2020

羅馬字='gún-tau ê tiān-uē hō-bé sī khòng ngóo - tshit khòng it pat it it ngóo'
減號提掉就無問題

Traceback (most recent call last):
...
File "/home/khing-iong/git/PakKhooTai-KauTui/kautui/autai/management/commands/giliau_csv.py", line 55, in handle
數字聲調, 白話字 = self.sng_soojitiau_poj(tsua['羅馬字'])
File "/home/khing-iong/git/PakKhooTai-KauTui/kautui/autai/management/commands/giliau_csv.py", line 98, in sng_soojitiau_poj
soojitiau = ku.轉音(臺灣閩南語羅馬字拼音).看語句()
File "/home/khing-iong/git/PakKhooTai-KauTui/kautui/venv/lib/python3.6/site-packages/臺灣言語工具/基本物件/句.py", line 48, in 看語句
集的型.append(一集.看語句())
File "/home/khing-iong/git/PakKhooTai-KauTui/kautui/venv/lib/python3.6/site-packages/臺灣言語工具/基本物件/集.py", line 41, in 看語句
return self.內底組[0].看語句()
File "/home/khing-iong/git/PakKhooTai-KauTui/kautui/venv/lib/python3.6/site-packages/臺灣言語工具/基本物件/組.py", line 47, in 看語句
and (敢是拼音字元(詞型[0]) or 詞型[0].isdigit() or 詞型[0] == 分字符號)
IndexError: string index out of range

@niauah
Copy link
Contributor Author

niauah commented Mar 20, 2020

'Tsit-kuá iâm kín lā kún-tsuí lim-- lo̍h-khì.'

這句mā是

@a8568730 a8568730 added the bug label Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants