Skip to content

Lianfen (上海話兩分) is the Shanghainese version of Liang Fen input method

License

Notifications You must be signed in to change notification settings

wugniu/rime-lianfen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rime-lianfen: 上海話兩分

℞: wugniu/rime-lianfen

Lianfen (上海話兩分) is the Shanghainese version of Liang-Fen input method.

It is based on zisea Liang Fen (字海兩分) data and the dictionaries of the rime-yahwe_zaonhe input method and the rime-qieyun_zaonhe input method.

Install

Get the plum configuration manager, and use it to install:

bash rime-install wugniu/rime-lianfen

Alternatively, copy lianfen.dict.yaml and lianfen.schema.yaml into your Rime/ directory.

Finally, ensure that you have activated lianfen in your Rime/default.yaml configuration file or patch it in your Rime/default.custom.yaml:

schema_list:
  - { schema: lianfen }

Usage

Input a character by the pronunciation of two parts. For example:

  • 蒛 = 艹 (tshau) + 缺 (chiuih) = tshauchiuih
  • 蒜 = 艹 (tshau) + 示 (zy) = tshauzy

More detailed rules can be found here (in Chinese).

You can press v to enter the Cangjie reverse lookup.

Customise

You can uncomment rules in lianfen.schema.yaml to customise the input method, such as enabling support for the 吳語學堂-style romanisation, or enabling support for new-generation Shanghainese (新派).

Build

With Python>=3.8 in your environment, simply run:

make build

About

Lianfen (上海話兩分) is the Shanghainese version of Liang Fen input method

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.2%
  • Makefile 10.8%