This file is indexed.

/usr/share/m17n/zh-pinyin.mim is in m17n-db 1.7.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
;; zh-pinyin.mim -- Input method for Chinese Pinyin characters
;; Copyright (C) 2004, 2005
;;   National Institute of Advanced Industrial Science and Technology (AIST)
;;   Registration Number H15PRO112

;; This file is part of the m17n database; a sub-part of the m17n
;; library.

;; The m17n library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
;; as published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version.

;; The m17n library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;; Lesser General Public License for more details.

;; You should have received a copy of the GNU Lesser General Public
;; License along with the m17n library; if not, write to the Free
;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.

(input-method zh pinyin)

(description "Input method for Chinese Pinyin characters.
Note that it's not for inputting Han characters.
")

(title "PinYin")

(map
 (vowel
  ("a"    (("a"    "ā"    "á"    "ǎ"    "à"   )))
  ("ai"   (("ai"   "āi"   "ái"   "ǎi"   "ài"  )))
  ("an"   (("an"   "ān"   "án"   "ǎn"   "àn"  )))
  ("ang"  (("ang"  "āng"  "áng"  "ǎng"  "àng" )))
  ("ao"   (("ao"   "āo"   "áo"   "ǎo"   "ào"  )))
  ("e"    (("e"    "ē"    "é"    "ě"    "è"   )))
  ("ei"   (("ei"   "ēi"   "éi"   "ěi"   "èi"  )))
  ("en"   (("en"   "ēn"   "én"   "ěn"   "èn"  )))
  ("eng"  (("eng"  "ēng"  "éng"  "ěng"  "èng" )))
  ("er"   (("er"   "ēr"   "ér"   "ěr"   "èr"  )))
  ("i"    (("i"    "ī"    "í"    "ǐ"    "ì"   )))
  ("ia"   (("ia"   "iā"   "iá"   "iǎ"   "ià"  )))
  ("ian"  (("ian"  "iān"  "ián"  "iǎn"  "iàn" )))
  ("iang" (("iang" "iāng" "iáng" "iǎng" "iàng")))
  ("iao"  (("iao"  "iāo"  "iáo"  "iǎo"  "iào" )))
  ("ie"   (("ie"   "iē"   "ié"   "iě"   "iè"  )))
  ("in"   (("in"   "īn"   "ín"   "ǐn"   "ìn"  )))
  ("ing"  (("ing"  "īng"  "íng"  "ǐng"  "ìng" )))
  ("iong" (("iong" "iōng" "ióng" "iǒng" "iòng")))
  ("iu"   (("iu"   "iū"   "iú"   "iǔ"   "iù"  )))
  ("o"    (("o"    "ō"    "ó"    "ǒ"    "ò"   )))
  ("ong"  (("ong"  "ōng"  "óng"  "ǒng"  "òng" )))
  ("ou"   (("ou"   "ōu"   "óu"   "ǒu"   "òu"  )))
  ("u"    (("u"    "ū"    "ú"    "ǔ"    "ù"   )))
  ("u:"   (("ü"    "ǖ"    "ǘ"    "ǚ"    "ǜ"   )))
  ("v"    (("ü"    "ǖ"    "ǘ"    "ǚ"    "ǜ"   )))
  ("ua"   (("ua"   "uā"   "uá"   "uǎ"   "uà"  )))
  ("uai"  (("uai"  "uāi"  "uái"  "uǎi"  "uài" )))
  ("uan"  (("uan"  "uān"  "uán"  "uǎn"  "uàn" )))
  ("uang" (("uang" "uāng" "uáng" "uǎng" "uàng")))
  ("ue"   (("ue"   "uē"   "ué"   "uě"   "uè"  )))
  ("u:e"  (("üe"   "üē"   "üé"   "üě"   "üè"  )))
  ("ve"   (("üe"   "üē"   "üé"   "üě"   "üè"  )))
  ("ui"   (("ui"   "uī"   "uí"   "uǐ"   "uì"  )))
  ("un"   (("un"   "ūn"   "ún"   "ǔn"   "ùn"  )))
  ("uo"   (("uo"   "uō"   "uó"   "uǒ"   "uò"  ))))

 (tone
  ("1" (select 1))
  ("2" (select 2))
  ("3" (select 3))
  ("4" (select 4))))

(state
 (init
  (vowel (shift select)))
 (select
  (tone (shift init))))