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

fix: 修复几处因音标中用了'|'导致表格错误 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qxo
Copy link

@qxo qxo commented May 2, 2020

建议音标分开写,而不是用'|'分隔

以下是有问题的行
37|which|pron.哪个,a.那一个|[hwɪtʃ|wɪtʃ]
226|but|但是,可是,除非,不过|[bʌt|bət]
309|several|a.&n.若干个,几个|[ˈsɛvərəl|ˈsɛvrəl]
373|always|ad.总是,一直,始终|[ˈɔlwez|-wɪz|-wiz]
1196|consider|v.考虑,认为,设想|[kənˈsɪdər|]
以上是用grep识别出来的:grep '\([^])([[^]]+([|][^]]])+)' README.md 本想用sed完事的 sed -i 's#\([^])([[^]]+([|][^]]])+)#\1\2#g' README.md
但发现有以下例外, 事后还是手工修改了
255|document|n.文献,资料,文件,ˈdɔk|jumənt,ˈdɔkjument]|[ˈdɑkjumənt]
262|entire|a.&n.完全的;总体,inˈ|taiə]|[ɛnˈtaɪr]

建议不同的音标分开写,而不是用'|'分隔

以下是有问题的行
37|which|pron.哪个,a.那一个|[hwɪtʃ|wɪtʃ]
226|but|但是,可是,除非,不过|[bʌt|bət]
309|several|a.&n.若干个,几个|[ˈsɛvərəl|ˈsɛvrəl]
373|always|ad.总是,一直,始终|[ˈɔlwez|-wɪz|-wiz]
1196|consider|v.考虑,认为,设想|[kənˈsɪdər|]
以上是用grep识别出来的:`grep '\([^`]\)\(\[[^]]\+\([|][^]]*\]\)\+\)'  README.md`
本想用sed完事的 sed -i  's#\([^`]\)\(\[[^]]\+\([|][^]]*\]\)\+\)#\1`\2`#g' README.md
但发现有以下例外, 事后还是手工修改了
255|document|n.文献,资料,文件,ˈdɔk|jumənt,ˈdɔkjument]|[ˈdɑkjumənt]
262|entire|a.&n.完全的;总体,inˈ|taiə]|[ɛnˈtaɪr]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant