诟病是什么意思| 手脚经常发麻是什么原因| 男人左手麻木什么原因| 什么是非甾体抗炎药| 葫芦什么时候开花| ug是什么| 牙齿出血是什么病征兆| 为什么会长花斑癣| 硼砂是干什么用的| 排骨炖什么汤止咳润肺| 乌托邦什么意思| 268数字代表什么意思| 什么病不能吃山药| 尿常规白细胞3个加号什么意思| 尿酸高是什么症状| 普高和职高有什么区别| 腘窝囊肿挂什么科| 溢于言表是什么意思| 罗刹是什么意思| 深蓝色是什么颜色| 牙齿痛吃什么| 生气容易得什么病| 西红柿什么时候吃最好| 贪吃的动物是什么生肖| 总是嗳气是什么原因| 23岁属什么生肖| 5s是什么| 前戏是什么| 得艾滋病的前兆是什么| 休克疗法是什么意思| 新癀片主要治什么病| 肾积水是什么原因引起的| 急的什么| cathy是什么意思| 靓女是什么意思| 桃胶什么时候采摘最好| 中国一词最早出现在什么时候| 阴道什么形状| 牙龈出血是什么病征兆| 夏天做什么菜| 吃大枣有什么好处| 赤色是什么颜色| 明前茶什么意思| 舌头痛吃什么药好得快| 什么现象说明奶吸通了| 单核细胞比率偏高是什么意思| 双规是什么意思| 强盗是什么意思| 屏幕发黄是什么原因| 小别胜新婚是什么意思| 输卵管堵塞是什么原因| 大好河山是什么生肖| 蚊香灰有什么作用| 第一次世界大战是什么时候| 四季春茶属于什么茶| 初级会计什么时候报名| 感冒为什么会全身酸痛无力| 小孩子睡觉磨牙是什么原因| 支气管炎有什么症状| 动态心电图能检查出什么病| 高铁特等座有什么待遇| 风湿免疫科是什么病| 西洋参和花旗参有什么区别| 生门是什么意思| 检查阳性是什么意思| 赤小豆有什么作用| 喝什么茶可以减肥| 梦见死人复活什么预兆| 带状疱疹不能吃什么东西| 紫癜有什么症状| 大姨妈吃什么水果最好| 办身份证要带什么| 尿酸高吃什么可以降下去| 丑时属什么生肖| 色斑是什么原因引起的| 卧轨是什么意思| 干黄酱是什么酱| 女m是什么意思| 四川地震前有什么预兆| 腌肉用什么淀粉| 身体湿热吃什么中成药| 佃农是什么意思| 乳头有点痒是什么原因| 7月有什么活动| 上海古代叫什么| 都有什么瓜| 护肝养肝吃什么药| 儿童贫血有什么症状表现| 龟头有红点用什么药| 二垒是什么意思| 有色眼镜是什么意思| 头孢不能和什么药一起吃| 抑郁症有什么表现| 双肾泥沙样结石是什么意思| 嘴紫是什么原因| 麻酱是什么做的| 篮球中锋是干什么的| qid医学上是什么意思| 高血脂是什么原因引起的| 空调外机很响是什么原因| 武松打虎打的是什么虎| 月亮为什么会变成红色| 人中附近长痘痘什么原因| 红颜是什么意思| 口腔溃疡反复发作是什么原因| 万人迷是什么意思| 梦到生孩子是什么意思| 今年43岁属什么生肖| 什么叫腱鞘炎| 冬天吃什么| 吃什么排铅效果最好| 臭鱼烂虾什么意思| 什么人不建议吃海参| 婴儿为什么老吐奶| a型rhd阳性是什么意思| 吃什么可以软化肝脏| 精神分裂症吃什么药| 送同学什么毕业礼物好| 梦见女儿结婚是什么意思| 上嘴唇发黑是什么原因| 物是人非是什么意思| robot什么意思| 梦见大胖小子是什么意思| 咳嗽咳出血是什么原因| 毛滴虫病是什么病| dq什么意思| 人类祖先是什么动物| 低钠有什么症状和危害| 恢复伤口的鱼叫什么鱼| 看脑部挂什么科| 肾是干什么用的| 水命中什么水命最好| 登徒子什么意思| 马来西亚主食吃什么| 溶液是什么| 黄喉是什么动物身上的| 两个gg是什么牌子的包包| 紫荆花什么时候开| 血糖高适合吃什么水果| 孕酮低是什么意思| 蛇字五行属什么| 尾货是什么意思| 辅食是什么意思| 孀居是什么意思| 庞统为什么叫凤雏| 打什么| 巨蟹座有什么特点| 回民为什么不吃猪| 什么体质容易长肿瘤| ala是什么| 过敏性紫癜用什么药| 直肠肿瘤手术后吃什么| 神经紊乱吃什么药| 佰草集适合什么年龄| 跑步后尿血是什么情况| 梦见白发是什么意思| 68岁属什么生肖| 北极熊的毛是什么颜色| 高血压头晕吃什么药| 脾虚吃什么好的最快| 阳历三月是什么星座| 把妹什么意思| 66是什么意思| 什么叫体制内| 胸有成竹是什么意思| 0n是什么意思| ck是什么品牌| 大姨妈每个月提前来是什么原因| 女金片的功效与作用是什么| cnv是什么意思| 二战时期是什么时候| 冲突是什么意思| 淋巴结炎挂什么科| 消化酶是什么| 八月十五是什么节日| 为什么同房后小腹疼痛| 束缚的意思是什么| 妍字属于五行属什么| 涵养是什么意思| 二婚结婚需要什么证件| 年收入10万什么水平| 毕加索全名是什么| 手指麻木什么原因| 晴水翡翠属于什么档次| 养殖有什么好项目| 耍朋友是什么意思| 咽炎吃什么消炎药| 牙杀完神经为什么还疼| 乙肝阴性是什么意思| 处理器是什么意思| 宝宝手心热是什么原因| 做t是什么意思| 沙棘是什么东西| 女人白带多什么原因| 理疗和按摩有什么区别| 女性分泌物像豆腐渣用什么药| 尿酸低会引发什么症状| 吃什么不容易怀孕| 55岁属什么生肖| 化气行水是什么意思| 丙型肝炎病毒抗体阴性什么意思| 天冬与麦冬有什么区别| 军区司令是什么级别| 去肝火喝什么茶好| 唇上有痣代表什么| 黄芪和什么泡水壮阳| 甲状腺偏高有什么影响| 数目是什么意思| 男人经常熬夜喝什么汤| 阴道口痒用什么药好| 推什么出什么| 住院送什么花好| 不置可否什么意思| 小壁虎的尾巴有什么作用| 例假期间吃什么食物好| 小孩老是打嗝是什么原因| 癃闭是什么意思| 阴道瘙痒是什么原因| 大便拉不干净是什么原因| 白色情人节什么意思| 调戏是什么意思| 砂仁是什么东西| 宜家宜室什么意思| 化疗中的病人应该吃什么| 什么木头有香味| 喝蜂蜜水不能吃什么| 美是什么生肖| 豺是什么动物| 拉黑粑粑是什么原因啊| 立春吃什么食物| 什么是脂溢性皮炎| 怀孕前一周有什么症状| 葡萄糖为什么叫葡萄糖| 大学有什么专业适合女生| 湿热吃什么中成药| 梦见小白蛇是什么预兆| 阴囊潮湿挂什么科| 什么牛肉最好吃| abs材质是什么| 口腔溃疡牙龈肿痛吃什么药| 什么是感性| 断袖是什么意思| 狂犬疫苗打在什么部位| 香雪酒属于什么酒| 小便次数多吃什么药| bitch是什么意思| 柔然人是现在的什么人| 糖尿病不能吃什么水果| 石女是什么意思啊| 吃什么治疗阳痿| 傍晚是什么时辰| 什么什么致志| 女生额头长痘痘是什么原因| 阴阳两虚吃什么中成药| 凤梨不能和什么一起吃| 57年的鸡是什么命| 血糖吃什么水果| 肠胃不好吃什么食物好| 2月25号是什么星座| 可字属于五行属什么| 2025是什么年| 平台期是什么意思| o2o模式是什么意思| 脚气涂什么药膏| 百度Aller au contenu

带您感受蓝山湾的真与实—认筹彰显蓝山湾实力

De Vouiquipèdia, l’enciclopèdia abada.
百度 另一方面,如果柔性屏幕的技术瓶颈被突破,折叠手机的形态将发生天翻地覆的变化,传说中的Galaxy说不定会成为现实。

La documentation pour ce module peut être créée à Module:Lengouistico/doc

-- Fonccione ren qu’en arpetan. S’y at f?ta, sè p?vont enspirar de [[wikidata:Module:Linguistic]] por apondre d’?tres lengoues.

local p = {}
local lang = 'frp'
local langobj = mw.language.new(lang)

local vowels = 'aeiouy????????a????????āáà?ǎ????????????ê?????????ē?é?è?ě?????????????īíì?ǐ????????????????ō?ó?ò?ǒ????????????????????üǖǘǜǚ?ūúù?ǔ??????????????y????'

-- i18n
local wordor = ' ou '
local wordand = ' et '
local comma = ', '
local fullstop = '. '
local wordsep = ' '

local function isin(str, pattern)
	if str and pattern and mw.ustring.find(str, pattern, 1, true ) then
		return true
	end
end


local function processgender(str)
	if (str == 'f') or (str == 'fem') or (str == 'feminine') then 
		return 'feminine'
	elseif (str == 'n') or (str == 'neutral') then 
		return 'neutral'
	else
		return 'masculine'
	end
end

local function processnumber(str)
	if (str == 'p') or (str == 'plural') then
		return 'plural'
	else 
		return 'singular'
	end
end

function p.vowelfirst (str)
	if str and #str > 0 then return isin(vowels, mw.ustring.lower(mw.ustring.sub(str, 1, 1))) end
end

function p.inparentheses(str, lang, space)
	if (not str) or str == '' then
		return str
	end
	str = '(' .. str .. ')'
	if not space then
		space = ' '
	end
	return space .. str
end

function p.of(word, gender, number, determiner, raw) 
	if not word then
		word = ''
	end
	word = mw.text.trim( word )
	if not raw then  --tèxto pas beta en f?rma por fare marchiér les èlisions
		raw = p.textoLim(word) or word
	end
	gender = processgender(gender)
	number = processnumber(number)
	local vowel = p.vowelfirst(raw)
	local feminine = (gender== 'feminine')
	-- raw is the string without the Wikiformatting so that it correctly analyses the string that is [[:fr:Italie|Italie]] -> 'italie'
	-- any way to automate this ?

	
	if number == 'plural' then
		return 'des ' .. word
		elseif feminine then
			return 'de les ' .. word
	elseif determiner and (determiner ~= '-') then-- de la, du // determiner ~= '-' v?t dére rensègnê coment vouedo
		if vowel then
			return 'de l’' .. word
		elseif feminine then
			return 'de la ' .. word
		else
			return 'du ' .. word
		end
	else
		if vowel then
			return 'd’' .. word
		else
			return 'de ' .. word
		end
	end
end

function p.noungroup(noun, adj)
	if not noun or noun == '' then 
		return nil -- not '' so that it is not counted as a string by mw.listToText
	end
	return noun .. wordsep(lang) .. adj -- quand o est en arpetan
end

function p.quickconj(args, conjtype)
	local separator, conjunction
	
	-- cas y? que separator ~= conj
	if type(conjtype) == 'function' then
		conjtype = conjtype()	
	end
	if (not conjtype) or conjtype == 'and' then
		separator, conjunction = comma, wordand
	elseif conjtype == 'or' then
		separator, conjunction = comma, wordor
	end
	if (separator and conjunction) then
		return  mw.text.listToText(args, separator, conjunction)
	end
	-- ?tros cas
	if conjtype == 'comma' then
		separator = comma
	elseif conjtype == 'new line' or conjtype == 'lowercase new line' then
		separator = '<br />'
		if conjtype == 'new line' then
			for i, j in pairs(args) do -- apond na granta lètra
				args[i] = p.ucfirst(j)
			end
		end
	else
		separator = conjtype
	end
	return table.concat(args, separator)
end

function p.conj(args, conjtype)
	if (not args) then
		return nil
	end
	local newargs = {}
	for i, j in pairs(args) do
		table.insert(newargs, j)
	end
	if #newargs == 0 then
		return nil
	end
	return p.quickconj(newargs, conjtype)
end
 
function p.conjfromWiki(frame)
	args = frame.args
	if not args or not args[1] then
		args = mw.getCurrentFrame():getParent().args
	end
	local conjtype = args.type
	newargs = {}  -- transform args metatable into a table so it can be concetenated
	for i, j in pairs(args) do
			if type(i) == 'number' then
				j = mw.text.trim(j)
				if j ~= '' then
					table.insert(newargs, j)
				end
			else 
				if i ~= 'type' and i ~= 'lang' then 
					return error('bad parameter in template:Conj:' .. i), '[[Category:Pages with incorrect template usage/Conj|A]]'
				end
			end
	end
	return p.conj(newargs, conjtype)
end

local function findcomplement(str, beginswith) -- ret?rne lo nom principal et lo complèment du nom ou ben nil et nil se falyita
	local particles = {" de la ", " de l'", " des ", " de les ", " de l’", " de ", " d’", " d'", " du "}
	if beginswith and (not mw.ustring.find(str, "^" .. beginswith)) then
		return nil
	end
	for i, pattern in pairs(particles) do
		local pos = mw.ustring.find(str, pattern)
		if pos then
			local main = mw.ustring.sub(str, 1, pos -1)
			local comp = mw.ustring.sub(str, pos + string.len(pattern))
			return main, comp
		end
	end
	return nil
end


function p.keepcomplement(str, beginswith) -- per ègzemplo "gara de Liyon" -> "Liyon"
	local main, compl = findcomplement(str, beginswith)
	if compl then
		return compl
	end
	return str
end

function p.removecomplement(str, beginswith) -- per ègzemplo "gara de Liyon" -> "gara"
	local main, compl = findcomplement(str, beginswith)
	if main then
		return main
	end
	return str
end

--[=[
	textoLim lo lim de dedens inicial '^[[lim|tèxto]]' de str et ret?rne : tèxto, lim
	Se lo lim est '[[tèxto]]', ret?rne : tèxto, tèxto.
	Se str  comence pas per un lim entèrvouiqui, ret?rne : nil
]=]
function p.textoLim( str )
	if type( str ) == 'string' then
		local lim, texto = str:match( '^%[%[ *([^%[%]|]*)|? *([^%[%]]*)%]%]' )
		if not lim then
			lim, texto = str:match( '^%b<>%[%[ *([^%[%]|]*)|? *([^%[%]]*)%]%]' )
		end
		if lim then
			local testlim = string.lower( lim )
			local fichier = string.match( testlim, '^fichiér:' ) 
				or  string.match( testlim, '^émage:' )
				or  string.match( testlim, '^file:' )
			if not fichier then
				texto = ( texto ~= '' and texto ) or lim
				return texto, lim
			end
		end
	end
	return nil
end

function p.ucfirst(str)
	if (type (str ) ~= 'string') or (string == "") then
		return str
	end
	local strTemp, tag, tagTemp = str, ''
		-- sèpare les balises html iniciales (span ou ben ?tres)
	while strTemp:match( '^%b<>' ) do
		tagTemp, strTemp = strTemp:match( '^(%b<>)(.*)$' )
		tag = tag .. tagTemp
	end
	local texto = p.textoLim( strTemp )
	if texto then
		-- apond los crochèts de fin de lim por étre de s?r de remplaciér ren que lo tèxto du lim
		texto = texto .. ']]'
		-- èchape los caractèros magicos
		local pattern = texto:gsub( '([$%%()*+%-.?()^])', '%%%1' )
		-- apond la granta lètra u tèxto du lim
		str = str:gsub( pattern, p.ucfirst( texto ), 1 )
	else
		str = tag .. langobj:ucfirst( strTemp )
	end
	return str
end

function p.ucfirstE(frame)
	return p.ucfirst(frame.args[1])
end

function p.lcfirst(str)
	if (type (str ) ~= 'string') or (string == "") then
		return str
	end
	local strTemp, tag, tagTemp = str, ''
		-- sèpare les balises html iniciales (span ou ben ?tres)
	while strTemp:match( '^%b<>' ) do
		tagTemp, strTemp = strTemp:match( '^(%b<>)(.*)$' )
		tag = tag .. tagTemp
	end
	local texto = p.textoLim( strTemp )
	if texto then
		-- apond los crochèts de fin de lim por étre de s?r de remplaciér ren que lo tèxto du lim
		texto = texto .. ']]'
		-- èchape los caractèros magicos
		local pattern = texto:gsub( '([$%%()*+%-.?()^])', '%%%1' )
		-- apond la granta lètra u tèxto du lim
		str = str:gsub( pattern, p.lcfirst( texto ), 1 )
	else
		str = tag .. langobj:lcfirst( strTemp )
	end
	return str
end

function p.lcfirstE(frame)
	return p.lcfirst(frame.args[1])
end

--[[
function p.toascii(str)
	local convtable = mw.loadData("Module:Lengouistico/ASCII")
	for i, j in pairs(convtable) do -- mancont les grantes lètres
		str = mw.ustring.gsub(str, '[' .. i .. ']', j)
	end
	return str
end
]]-- 
return p
宝宝头爱出汗是什么原因 ol什么意思 补充蛋白质吃什么食物 肾上腺素是什么东西 ppd试验是什么意思
一直发低烧是什么原因 天壤之别是什么意思 前白蛋白低是什么原因 霜打的茄子什么意思 绝望的绝是什么意思
心阴虚吃什么中成药 抗宫炎片主要治什么 十一月底是什么星座 维生素b3又叫什么 点状钙化灶是什么意思
大葱喜欢什么肥料 乙肝表面抗体弱阳性什么意思 海市蜃楼是什么现象 益母草能治什么病 阴囊湿疹用什么药膏效果最好
男人梦到蛇预示着什么helloaicloud.com 安全三原则是指什么hcv8jop0ns4r.cn 手脚发抖是什么原因引起的hcv7jop5ns2r.cn 腹部包块是什么样子的hcv8jop5ns5r.cn 清酒是什么酒hcv8jop7ns1r.cn
中性粒细胞偏低是什么原因hcv9jop6ns6r.cn 常喝普洱茶有什么好处hcv9jop5ns9r.cn 情绪价值是什么意思hcv7jop4ns8r.cn 肩膀麻木是什么原因引起的hcv9jop4ns4r.cn 梦见牙掉了是什么意思hcv9jop4ns0r.cn
头一直疼是什么原因luyiluode.com 掉发严重是什么原因hcv9jop3ns5r.cn b族维生素什么人不能吃hcv8jop6ns8r.cn 监督的近义词是什么hcv8jop0ns7r.cn 龟吃什么食物hcv9jop2ns1r.cn
口干是什么原因inbungee.com 硅对人体有什么危害hcv9jop2ns3r.cn 器质性心脏病是什么意思hcv8jop0ns9r.cn 耳朵嗡嗡响什么原因hcv9jop0ns9r.cn 唐氏综合征是什么原因造成的hcv7jop9ns6r.cn
百度