Difference between revisions of "Shanghainese/Keyboard"

From LING073
Jump to: navigation, search
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
===Existing Resources===
+
==Existing Resources==
  
 
RIME Shanghainese (Wugniu) [https://github.com/NGLI/rime-wugniu_zaonhe]
 
RIME Shanghainese (Wugniu) [https://github.com/NGLI/rime-wugniu_zaonhe]
Line 9: Line 9:
 
Different romanisation schemes addon [https://github.com/shinzoqchiuq/rime-shanghainese]
 
Different romanisation schemes addon [https://github.com/shinzoqchiuq/rime-shanghainese]
  
−
==IBus Shanghainese Pinyin keyboard==
+
==Developed Resources==
  
 +
===Pinyin keyboard===
  
−
==Shanghainese IPA transcription 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:
 
Shanghainese has 20 consonant and 11 vowel phonemes, along with 3 (ish) tonemes. The phonemes and their allophones are:
Line 24: Line 27:
 
{{kbdrow3|{{kbdkey|a|ɑ}} {{kbdkey|s}} {{kbdkey|d}} {{kbdkey|f|v}} {{kbdkey|g|ɦ}} {{kbdkey|h|ʰ}} {{kbdkey|j}} {{kbdkey|k}} {{kbdkey|l}} {{kbdkey|;|:}} {{kbdkey|'|"}} }}
 
{{kbdrow3|{{kbdkey|a|ɑ}} {{kbdkey|s}} {{kbdkey|d}} {{kbdkey|f|v}} {{kbdkey|g|ɦ}} {{kbdkey|h|ʰ}} {{kbdkey|j}} {{kbdkey|k}} {{kbdkey|l}} {{kbdkey|;|:}} {{kbdkey|'|"}} }}
 
{{kbdrow4|{{kbdkey|z|ʑ}} {{kbdkey|b}} {{kbdkey|c|ɕ}} {{kbdkey|ŋ|ŋ̩}} {{kbdkey|ɲ|ɲ̩}} {{kbdkey|n|n̩}} {{kbdkey|m|m̩}} {{kbdkey|,|<}} {{kbdkey|.|>}} {{kbdkey|/|?}} }}
 
{{kbdrow4|{{kbdkey|z|ʑ}} {{kbdkey|b}} {{kbdkey|c|ɕ}} {{kbdkey|ŋ|ŋ̩}} {{kbdkey|ɲ|ɲ̩}} {{kbdkey|n|n̩}} {{kbdkey|m|m̩}} {{kbdkey|,|<}} {{kbdkey|.|>}} {{kbdkey|/|?}} }}
 +
 +
===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 <code>AltGr</code>).
  
 
==Instructions==
 
==Instructions==
  
−
1. Clone the repo at <code>https://github.swarthmore.edu/Ling073-sp25/ling073-wuu-keyboard</code>
+
# Install [https://github.com/ibus/ibus IBus]
 +
# Clone the repo at <code>https://github.swarthmore.edu/Ling073-sp25/ling073-wuu-keyboard</code>
 +
# Copy the following files to <code>~/.m17n.d/</code> on your computer: <code>wuu-trans.mim, wuu-py.mim, cjk-util.mim, zh-util.mim</code>
 +
# Restart IBus, and go to <code>IBus Preferences > Input Method > Add</code>, and select <code>Chinese, Wu</code>
 +
 
 +
==Licence==
 +
 
 +
<pre>
 +
MIT License
 +
 
 +
Copyright (c) 2025 Alex Shi and Keyla Peralta-Alberto
 +
 
 +
Permission is hereby granted, free of charge, to any person obtaining a copy
 +
of this software and associated documentation files (the "Software"), to deal
 +
in the Software without restriction, including without limitation the rights
 +
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 +
copies of the Software, and to permit persons to whom the Software is
 +
furnished to do so, subject to the following conditions:
 +
 
 +
The above copyright notice and this permission notice shall be included in all
 +
copies or substantial portions of the Software.
 +
 
 +
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 +
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 +
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 +
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 +
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 +
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 +
SOFTWARE.
 +
</pre>
  
−
[[Category:Wu]]
+
[[Category:Shanghainese]]
 
[[Category:Keyboard_layouts]]
 
[[Category:Keyboard_layouts]]
 
[[Category:Sp25_KeyboardLayouts]]
 
[[Category:Sp25_KeyboardLayouts]]

Latest revision as of 05:34, 6 March 2025

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/ on your computer: 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

Licence

MIT License

Copyright (c) 2025 Alex Shi and Keyla Peralta-Alberto

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.