Shanghainese/Keyboard

From LING073
Revision as of 20:53, 14 February 2025 by Wshi2 (talk | contribs)

Jump to: navigation, search

Existing Resources

RIME Shanghainese (Wugniu) [1]

RIME Shanghainese (Wu Chinese Society) [2]

RIME's own GitHub (Wugniu) [3]

Different romanisation schemes addon [4]

Developed Resources

Pinyin keyboard

We implemented the Pinyin standard developed by the Wu Chinese Society in IBus. We keep the standard QWERTY keyboard layout, which is most familiar to Chinese users.

IPA transcription keyboard

Shanghainese has 20 consonant and 11 vowel phonemes, along with 3 (ish) tonemes. The phonemes and their allophones are:

[m], [n], [ɲ], [ŋ], [ˀm], [ˀn], [ˀɲ], [ˀŋ], [p], [pʰ], [b], [t], [tʰ], [d], [k], [kʰ], [g], [ts], [tsʰ], [tɕ], [tɕʰ], [dʑ], [f], [v], [s], [z], [ɕ], [ʑ], [l], [ˀl], [h], [ɦ], [ʔ], [m̩], [n̩], [ɲ̩], [ŋ̩], [ˀm̩], [ˀn̩], [z̩], [i], [u], [y], [a], [ɑ], [ɔ], [o], [ɤ], [e], [ø], [ɛ], [ə], [ã], [ɑ̃]

The following keyboard contains all the above IPA symbols, IPA tone and stress symbols, and the letters needed to type Shanghainese Pinyin (Wu Chinese Society version).

ˀ
ʔ

˩
1

 
˨
2

˧
3

˦
4

˥
5

!
6

#
7

*
8

(
9

)
0

_
-

+
=

       
ɑ̃
ã

 
ɛ
ə

ø
e


r


t


y

w
u

ɤ
i

ɔ
o


p

ˈ
[

ˌ
]

|
\

        
ɑ
a


s


d

v
f

ɦ
g

ʰ
h


j


k


l

:
;

"
'

           
ʑ
z


b

ɕ
c

ŋ̩
ŋ

ɲ̩
ɲ

n̩
n

m̩
m

<
,

>
.

?
/

Justification

We took the standard English input method, since Chinese Pinyin uses it and most Shanghainese speakers would be familiar with it, and put in the extra IPA symbols while trying to change as little as possible and prioritizing efficient use (No need for AltGr).

Instructions

  1. Install IBus
  2. Clone the repo at https://github.swarthmore.edu/Ling073-sp25/ling073-wuu-keyboard
  3. Copy the following files to ~/.m17n.d/: wuu-trans.mim, wuu-py.mim, cjk-util.mim, zh-util.mim
  4. Restart IBus, and go to IBus Preferences > Input Method > Add, and select Chinese, Wu