Skip to content

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

Description

@nekomimimaiden257

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions