Module:IPA/data/X-SAMPA

Hello, you have come here looking for the meaning of the word Module:IPA/data/X-SAMPA. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:IPA/data/X-SAMPA, but we will also tell you about its etymology, its characteristics and you will know how to say Module:IPA/data/X-SAMPA in singular and plural. Everything you need to know about the word Module:IPA/data/X-SAMPA you have here. The definition of the word Module:IPA/data/X-SAMPA will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:IPA/data/X-SAMPA, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This module provides the data used to convert X-SAMPA characters to IPA, and the other way around. The list includes some non-X-SAMPA shortcuts, which are marked by comments. The meaning of diacritics is described in comments. Search the meaning of the diacritic you are looking for, and you will find its shortcut.


local U = require("Module:string/char")
local gmatch = mw.ustring.gmatch

local data = {
	-- not in official X-SAMPA; from http://www.kneequickie.com/kq/Z-SAMPA
	 = { "ⱱ" },
	 = { "ɓ" },
	 = { "ɖ", has_descender = true },
	 = { "ɗ" },
	-- not in official X-SAMPA; Wikipedia-specific
	 = { "ᶑ", has_descender = true },
	 = { "ɡ", has_descender = true  },
	 = { "ɠ", has_descender = true },
	 = { "ɦ" },
	 = { "ʝ", has_descender = true  },
	 = { "ɭ", has_descender = true  },
	 = { "ɺ" },
	 = { "ɳ", has_descender = true  },
	 = { "ɸ", has_descender = true  },
	 = { "ɽ", has_descender = true  },
	 = { "ɹ" },
	 = { "ɻ", has_descender = true  },
	 = { "ʂ", has_descender = true  },
	 = { "ɕ" },
	 = { "ʈ" },
	 = { "ʋ" },
	 = { "ɧ", has_descender = true  },
	 = { "ʐ", has_descender = true  },
	 = { "ʑ" },
	 = { "ɑ" },
	 = { "β", has_descender = true  },
	 = { "ʙ" },
	 = { "ç", has_descender = true  },
	 = { "ð" },
	 = { "ɛ" },
	 = { "ɱ", has_descender = true  },
	 = { "ɣ", has_descender = true  },
	 = { "ɢ" },
	 = { "ʛ" },
	 = { "ɥ", has_descender = true  },
	 = { "ʜ" },
	 = { "ɪ" },
	 = { "ɪ̈" },
	 = { "ɲ", has_descender = true  },
	 = { "ɟ" },
	 = { "ʄ", has_descender = true  },
	 = { "ɬ" },
	 = { "ɮ", has_descender = true  },
	 = { "ʎ" },
	 = { "ʟ" },
	 = { "ɯ" },
	 = { "ɰ", has_descender = true  },
	 = { "ŋ", has_descender = true  },
	 = { "ɴ" },
	 = { "ɔ" },
	 = { "ʘ" },
	 = { "ʋ" },
	 = { "ɒ" },
	 = { "ʁ" },
	 = { "ʀ" },
	 = { "ʃ", has_descender = true  },
	 = { "θ" },
	 = { "ʊ" },
	 = { "ʊ̈" },
	 = { "ʌ" },
	 = { "ʍ" },
	 = { "χ", has_descender = true  },
	 = { "ħ" },
	 = { "ʏ" },
	 = { "ʒ", has_descender = true  },
	 = { "ˈ" },
	 = { "ˌ" },
	-- not in official X-SAMPA; from http://www.kneequickie.com/kq/Z-SAMPA
	 = { "ᴙ" }, 
	 = { "ʲ", is_diacritic = true },
	 = { "ː", is_diacritic = true },
	 = { "ˑ", is_diacritic = true },
	 = { "ə" },
	 = { "ɚ" },
	 = { "ɘ" },
	 = { "æ" },
	 = { "ʉ" },
	 = { "ɨ" },
	 = { "ø" },
	 = { "ɜ" },
	 = { "ɝ" },
	 = { "ɞ" },
	 = { "ɾ" },
	 = { "ɫ" },
	 = { "ɐ" },
	 = { "ɤ" },
	 = { "ɵ" },
	 = { "œ" },
	 = { "ɶ" },
	 = { "ʔ" },
	 = { "ʕ" },
	 = { "ʢ" },
	 = { "ʡ" },
	 = { "ꜛ" },
	 = { "ꜜ" },
	-- not in official X-SAMPA
	 = { "‼" }, 
	 = { "ǃ" },
	 = { "ǀ", has_descender = true  },
	 = { "‖", has_descender = true  },
	 = { "ǁ", has_descender = true  },
	 = { "ǂ", has_descender = true  },
	-- linking mark, liaison
	 = { "‿", is_diacritic = true }, 
	-- coarticulated; not in official X-SAMPA
	 = { U(0x361) }, 
	-- fortis, strong articulation; not in official X-SAMPA
	 = { U(0x348) }, 
	 = { U(0x308), is_diacritic = true },
	-- advanced
	 = { U(0x31F), with_descender = "˖", is_diacritic = true }, 
	-- retracted
	 = { U(0x320), with_descender = "˗", is_diacritic = true }, 
	-- rising tone
	 = { U(0x30C), is_diacritic = true }, 
	-- voiceless
	 = { U(0x325), with_descender = U(0x30A), is_diacritic = true }, 
	-- syllabic
	 = { U(0x329), with_descender = U(0x30D), is_diacritic = true }, 
	-- syllabic
	 = { U(0x329), with_descender = U(0x30D), is_diacritic = true }, 
	-- strident: not in official X-SAMPA; from http://www.kneequickie.com/kq/Z-SAMPA
	 = { U(0x1DFD) }, 
	-- ejective
	 = { "ʼ", is_diacritic = true }, 
	-- pharyngealized
	 = { "ˤ", is_diacritic = true }, 
	-- falling tone
	 = { U(0x302), is_diacritic = true }, 
	-- non-syllabic
	 = { U(0x32F), is_diacritic = true }, 
	-- no audible release
	 = { U(0x31A), is_diacritic = true }, 
	-- r-coloring (colouring), rhotacization
	 = { U(0x2DE), is_diacritic = true }, 
	-- nasalization
	 = { U(0x303), is_diacritic = true }, 
	-- advanced tongue root
	 = { U(0x318), is_diacritic = true }, 
	-- apical
	 = { U(0x33A), is_diacritic = true }, 
	-- extra-low tone
	 = { U(0x30F), is_diacritic = true }, 
	-- low rising tone
	 = { U(0x1DC5), is_diacritic = true }, 
	-- less rounded
	 = { U(0x31C), is_diacritic = true }, 
	-- dental
	 = { U(0x32A), is_diacritic = true }, 
	-- velarized or pharyngealized (dark)
	 = { U(0x334), is_diacritic = true }, 
	-- downstep
	 = { "↘" }, 
	-- falling tone
	 = { U(0x302), is_diacritic = true }, 
	-- velarized
	 = { "ˠ", is_diacritic = true }, 
	-- high tone
	 = { U(0x301), is_diacritic = true }, 
	-- high rising tone
	 = { U(0x1DC4), is_diacritic = true }, 
	-- aspiration
	 = { "ʰ", is_diacritic = true }, 
	-- voiced aspiration (= breathy voice)
	 = { "ʱ", is_diacritic = true }, 
	-- palatalization
	 = { "ʲ", is_diacritic = true }, 
	-- creaky voice, laryngealization, vocal fry
	 = { U(0x330), is_diacritic = true }, 
	-- low tone
	 = { U(0x300), is_diacritic = true }, 
	-- lateral release
	 = { "ˡ", is_diacritic = true }, 
	-- mid tone
	 = { U(0x304), is_diacritic = true }, 
	-- laminal
	 = { U(0x33B), is_diacritic = true }, 
	-- linguolabial
	 = { U(0x33C), is_diacritic = true }, 
	-- nasal release
	 = { "ⁿ", is_diacritic = true }, 
	-- more rounded
	 = { U(0x339), is_diacritic = true }, 
	-- lowered
	 = { U(0x31E), with_descender = "˕", is_diacritic = true }, 
	-- retracted tongue root
	 = { U(0x319), is_diacritic = true }, 
	-- global rise
	 = { "↗" }, 
	-- rising tone
	 = { U(0x30C), is_diacritic = true }, 
	-- rising falling tone
	 = { U(0x1DC8), is_diacritic = true }, 
	-- raised
	 = { U(0x31D), is_diacritic = true }, 
	-- extra-high tone
	 = { U(0x30B), is_diacritic = true }, 
	-- breathy voice, murmured voice, murmur, whispery voice
	 = { U(0x324), is_diacritic = true }, 
	-- voiced
	 = { U(0x32C), is_diacritic = true }, 
	-- labialized
	 = { "ʷ", is_diacritic = true }, 
	-- extra-short
	 = { U(0x306), is_diacritic = true }, 
	-- mid-centralized
	 = { U(0x33D), is_diacritic = true }, 
	 = { "˥" },
	 = { "˦" },
	 = { "˧" },
	 = { "˨" },
	 = { "˩" },
	-- not X-SAMPA; for convenience
	 = { "◌" },	-- dotted circle
}

local identical = "acehklmnorstuvwxz"
for char in gmatch(identical, ".") do
	data = { char }
end

local identical_with_descender = "jpqy"
for char in gmatch(identical_with_descender, ".") do
	data = { char, has_descender = true }
end

return data