Skip to content

關於 chewing_userphrase_remove() 的作用方式 #726

@ottokang

Description

@ottokang

目前在新酷音中,chewing_userphrase_remove() 需要傳入詞彙、注音符號做為參數,才能刪除詞彙,但是使用者時常是在選字清單中才發現誤加了詞彙,然後需要在這個狀態下刪除詞彙。

PIME 之前的實做方式是用 SQL 指令直接搜尋並刪除詞彙:https://github.com/EasyIME/PIME/blob/d456affb45b3a139bd213b9cdeef7b314b08ce5a/python/input_methods/chewing/chewing_ime.py#L530

這邊想討論一下,是否有可能在選字清單下,直接查詢詞彙的注音,這樣可以傳入 chewing_userphrase_remove() 並且刪除詞彙。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions