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

How to change Half-width symbol from 名詞,サ変 to 記号,一般 #93

Open
nekomimimaiden257 opened this issue Dec 29, 2020 · 0 comments

Comments

@nekomimimaiden257
Copy link

en:

To change the half-width symbol from being classified as "名詞,サ変" to "記号,一般".
It is written in /Lib/site-packages/janome/sysdic/unknowns.py,
Should I rewrite the definition of SYMBOL to'SYMBOL': [(1283,1283,17585, u'\ u8a18 \ u53f7, \ u4e00 \ u822c, *, *')] ?

ja(日本語):

半角の記号が「名詞,サ変」に分類されているのを、「記号,一般」に変更するには、
<pythonインストールディレクトリ>/Lib/site-packages/janome/sysdic/unknowns.py に書かれている、
SYMBOLの定義を、'SYMBOL':[(1283,1283,17585,u'\u8a18\u53f7,\u4e00\u822c,,')]に書き換えればよいですか?

Environment:
janome version 3.10
python 2.7.18 (32bit)
Windows 8.1 64bit

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

No branches or pull requests

1 participant