Módulo:pron-graf

Hola, siéntete bienvenido o bienvenida, estás en esta página web en busca del significado de Módulo:pron-graf. En Dictious no solo dispondrás de la posibilidad de descubrir la totalidad de las acepciones que se encuentran en el diccionarios de la palabra Módulo:pron-graf, sino que también te contaremos su etimología, sus especificaciones y conocerás cómo se dice Módulo:pron-graf en singular y en plural. Íntegramente, todo lo que tienes que saber acerca de la palabra Módulo:pron-graf lo tienes aquí. La definición de la palabra Módulo:pron-graf te ayudará a ser más concreto y correcto cuando llegue el momento de debatir o escribir tus documentos. Saber la definición deMódulo:pron-graf, así como las definiciones de otras palabras, incrementan nuestro vocabulario y nos dotan de mayores y mejores recursos lingüísticos.

La documentación para este módulo puede ser creada en Módulo:pron-graf/doc

local export = {}

local insert = table.insert
local concat = table.concat

local argumentos_simples = {"d", "ac", "ls", "nl", "ts", "tl", "e", "g", "v", "h", "p", "s", "rima"}
local argumentos_nombres = {"silabación", "acentuación", "longitud silábica", "número de letras", "transcripciones silábicas", "transliteraciones", "escrituras alternativas", "grafías alternativas", "variantes", "homófonos", "parónimos", "símbolos", "rimas"}
local argumentos_links = {false, false, false, false, false, false, true, true, true, true, true, true, false}
local booleano = require("Módulo:sí-no")
local obtener_idioma = require("Módulo:lenguas").cod_a_idioma
local sortkey = require("Módulo:sortkey").generarSortkey
local generar_error = require("Módulo:traza")

local pron_auto = {
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
	 = true,
}

function export.mostrar(frame)

	local params = {
		 = {alias_de = "fone"},
		 = {por_defecto = "es", requerido = true},
		 = {},
		 = {lista = true},
		 = {lista = true},
		 = {lista = true},
		 = {lista_doble = true},
		 = {lista_doble = true},
		 = {lista_doble = true},
		 = {lista_doble = true},
		 = {lista_doble = true},
		 = {lista_doble = true},
		 = {lista_doble = true},
		 = {lista = true},
		 = {alias_de = "ac"},
		 = {lista = true, tipo = "num"},
		 = {alias_de = "ls"},
		 = {tipo = "num"},
		 = {alias_de = "nl"},
		 = {lista = true},
		 = {alias_de = "d"},
		 = {alias_de = "d"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "ts"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "tl"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "tlnum"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "e"},
		 = {alias_de = "e"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "enum"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "g"},
		 = {alias_de = "g"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "gnum"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "v"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "vnum"},
		 = {lista = true},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "h"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "hnum"},
		 = {lista = true},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "p"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "pnum"},
		 = {lista = true},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "s"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "snum"},
		 = {lista = true},
		 = {lista = true},
	}
	local parent_frame = frame:getParent()
	local args = require("Módulo:parámetros").obtener_parametros(parent_frame.args, params)
	local title_ = mw.title.getCurrentTitle()
	local title = title_.fullText -- no sirve parent_frame:getTitle()
	local ns = title_.namespace
	local LENG = args:upper()
	local leng = args
	local idioma, sk
	if ns == 0 then
		idioma = obtener_idioma(leng)
		sk = sortkey(title, leng, idioma)
	end
	--local frame = mw.getCurrentFrame()
	
	if args then
		generar_error("nl")
	end
	if args then
		generar_error("alt")
	end
	
	if args or args or args or args or args or args or args or args or args or args or args or args or args then
		generar_error("extra")	
	end
	
	if args and booleano(args, true) == false then
		return nil
	end
	
	local table_markup = {}
	insert(table_markup, '{|class="pron-graf toccolours" style="float: right;"\n|style="background-color: var(--background-color-neutral, #eaecf0); color: var(--color-base, #202122);" colspan="2"|<span style="font-family: Arial, sans-serif; font-size: 1.5em;">'..(args and args or title)..'</span>\n')

	if pron_auto then
		args = require("Módulo:generar-pron/"..leng).procesar_pron_args(title, args)	
	end

	local N = math.max(#args, #args)

	if N == 0 then
		insert(table_markup, "|-\n|'''pronunciación'''" .. '\n|<span style="color: var(--color-success, #177860); font-size: 90%; font-style: italic;"> falta ]</span>]\n')
	else
		for i = 1,9 do
			if args or args then
				insert(table_markup, '|-\n')
				if args and args then
					insert(table_markup, '|'..'.."''']]"..' (])'..'\n|')
				else
					insert(table_markup, '|'..']"..' (])'..'\n|')
				end
				for j = 1,9 do
					local br = false
					local fone_espacio = false
					local graf_espacio = false
					if args and args then
						insert(table_markup, "'''"..args.."''' ")
						graf_espacio = true
					end
					if args and args then
						insert(table_markup, graf_espacio and ' ..']' or '..']')
						fone_espacio = true
						br = true
					end
					if args and args then
						insert(table_markup, fone_espacio and ' /'..args..'/' or '/'..args..'/')
						br = true
					end
					if args and args then
						insert(table_markup, ' ('..args..')')
						br = true
					end
					if args and args then
						if args and args then
							insert(table_markup, " "..frame:extensionTag("phonos", frame:extensionTag("small", "''"..args.."''"), {class = "pron-graf", file = args, leng = args}))
						else
							insert(table_markup, " "..frame:extensionTag("phonos", nil, {file = args, leng = args}))
						end
						br = true
					end
					if br then
						insert(table_markup, '<br/>') --salto de línea sin cambiar de fila
					end
				end
				insert(table_markup, '\n')
			end
		end
	end

	for i,arg in ipairs(argumentos_simples) do
		local argum = args
		local argnombre = argumentos_nombres
		local argalt = args or {}
		local argtr = args or {}
		local argnum = args or {}
		local argnota = args or {}
		
		if arg == "rima" and argum then
			insert(table_markup, "|-\n|'''rima"..(#argum > 1 and "s" or "").."'''\n|.."|"..argum.."]]"..".."]]")
			for i=2,#argum do
				insert(table_markup, ", .."|"..argum.."]]"..".."]]")
			end
			insert(table_markup, '\n')

		elseif arg == "ac" and argum then
			local t2 = {}
			insert(table_markup, "|-\n|'''acentuación'''\n|")
			local acentuacion_tabla = {
				 = 'monosílaba',
				 = 'aguda',
				 = 'llana',
				 = 'llana',
				 = 'esdrújula',
				 = 'sobreesdrújula',
				 = 'doble',
			}
			
			for i=1,#argum do
				if argum == "mente" then
					argum = "doble"
					generar_error("mente")	
				end
				
				local acento = acentuacion_tabla:sub(1,1)]
				local acento_cat = acento == "doble" and "con 2 sílabas tónicas" or acento.."s"
		
				if acento and sk then
					insert(t2, acento..']')
				end
			end
			
			insert(table_markup, concat(t2, ", ").."\n")

		elseif arg == "ls" and argum then
			local t2 = {}
			insert(table_markup, "|-\n|'''longitud silábica'''\n|")
			
			local l_silabica_tabla = {
				 = 'monosílaba',
				 = 'bisílaba',
				 = 'trisílaba',
				 = 'tetrasílaba',
				 = 'pentasílaba',
				 = 'hexasílaba',
				 = 'heptasílaba',
				 = 'octosílaba',
				 = 'eneasílaba',
				 = 'decasílaba',
				 = 'endecasílaba',
				 = 'dodecasílaba',
			}
			
			for i=1,#argum do
				local l_silabica = l_silabica_tabla] or argum
				if sk then
					if type(l_silabica) == 'number' then
						insert(t2, tostring(l_silabica)..']')
					else
						insert(t2, l_silabica..']')
					end
				end
			end
			
			insert(table_markup, concat(t2, ", ").."\n")
			
		elseif type(argum) == "string" then
			insert(table_markup, "|-\n|'''"..argnombre.."'''\n|"..argum..'\n')
			
		elseif type(argum) == "table" and #argum > 0 then			
			insert(table_markup, "|-\n|'''"..argnombre.."'''\n|")
			for j,_ in ipairs(argum) do
				local argval = argumentos_links and ("..(argalt and "|"..argalt or "").."]]") or argum
				insert(table_markup, (j>1 and ",&nbsp;" or "")..argval..(argtr and " ("..argtr..")" or "")..(argnum and " ("..argnum..")" or "")..(argnota and frame:extensionTag("ref", argnota) or ""))
			end
			insert(table_markup, '\n')
		end
	end

	insert(table_markup, '|}')
	insert(table_markup, require("Módulo:TemplateStyles")("Plantilla:pron-graf/styles.css"))
	return concat(table_markup)
end

function export.mostrar_(frame)

	local params = {
		 = {alias_de = "fone"},
		 = {por_defecto = "es", requerido = true},
		 = {},
		 = {lista = true},
		 = {lista = true},
		 = {lista_doble = true},
		 = {lista_doble = true},
		 = {lista_doble = true},
		 = {lista_doble = true},
		 = {lista_doble = true},
		 = {lista_doble = true},
		 = {lista_doble = true},
		 = {},
		 = {alias_de = "ac"},
		 = {tipo = "num"},
		 = {alias_de = "ls"},
		 = {tipo = "num"},
		 = {alias_de = "nl"},
		 = {lista = true},
		 = {alias_de = "d"},
		 = {alias_de = "d"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "ts"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "tl"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "tlnum"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "e"},
		 = {alias_de = "e"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "enum"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "g"},
		 = {alias_de = "g"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "gnum"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "v"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "vnum"},
		 = {lista = true},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "h"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "hnum"},
		 = {lista = true},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "p"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "pnum"},
		 = {lista = true},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "s"},
		 = {lista = true},
		 = {lista = true},
		 = {alias_de = "snum"},
		 = {lista = true},
		 = {},
	}
	local parent_frame = frame:getParent()
	local args = require("Módulo:parámetros").obtener_parametros(parent_frame.args, params)
	local title_ = mw.title.getCurrentTitle()
	local title = title_.fullText -- no sirve parent_frame:getTitle()
	local ns = title_.namespace
	local LENG = args:upper()
	local leng = args
	local idioma, sk
	if ns == 0 then
		idioma = obtener_idioma(leng)
		sk = sortkey(title, leng, idioma)
	end
	--local frame = mw.getCurrentFrame()
	
	if args and booleano(args, true) == false then
		return nil
	end
	
	local items = {"=== Pronunciación y escritura ===\n"}

	if pron_auto then
		args = require("Módulo:generar-pron/"..leng).procesar_pron_args(title, args)	
	end

	local N = math.max(#args, #args)

	if N == 0 then
		insert(items, '<span style="color: var(--color-success, #177860); font-size: 90%; font-style: italic;"> Si puede, agréguela mediante {{pron-graf}}</span>]\n')
	else
		local tabla = {"{|style='border-spacing: 5px;'"}
		for i = 1,N do
			if args or args then
				insert(tabla, '\n|-\n|')
				if args and args then
					insert(tabla, '.."]]"..' (])'..': ')
				else
					insert(tabla, ']"..' (])'..': ')
				end
				for j = 1,9 do
					if (args and args) or (args and args) then
						if j > 1 then
							insert(tabla, '\n|-\n|')
						end
						local fone_espacio = false
						local graf_espacio = false
						
						insert(tabla, "\n|")
						if args and args then
							insert(tabla, "'''"..args.."''' ")
							graf_espacio = true
						end
						
						insert(tabla, "\n|")
						if args and args then
							insert(tabla, graf_espacio and ' ..']' or '..']')
							fone_espacio = true
						end
						
						if args and args then
							insert(tabla, fone_espacio and ' /'..args..'/' or '/'..args..'/')
						end
						
						insert(tabla, "\n|")
						if args and args then
							insert(tabla, ' ('..args..')')
						end
						
						insert(tabla, "\n|")
						if args and args then
							if args and args then
								insert(tabla, " "..frame:extensionTag("phonos", frame:extensionTag("small", "''"..args.."''"), {class = "pron-graf", file = args, leng = args}))
							else
								insert(tabla, " "..frame:extensionTag("phonos", nil, {file = args, leng = args}))
							end
						end
					end
				end
			end
		end
		if #tabla > 1 then
			insert(items, concat(tabla).."\n|}\n")
		end
	end

	for i,arg in ipairs(argumentos_simples) do
		local argum = args
		local argnombre = argumentos_nombres
		local argalt = args or {}
		local argtr = args or {}
		local argnum = args or {}
		local argnota = args or {}
		
		if arg == "rima" and argum and idioma then
			insert(items, "*Rima: .."|"..args.."]]"..".."]]\n")

		elseif arg == "ac" and argum then
			local acentuacion_tabla = {
				 = 'monosílaba',
				 = 'aguda',
				 = 'llana',
				 = 'llana',
				 = 'esdrújula',
				 = 'sobreesdrújula',
				 = 'doble',
			}
		
			local acento = argum == "mente" and "doble" or acentuacion_tabla
			local acento_cat = acento == "doble" and "con 2 sílabas tónicas" or acento.."s"
			if acento and sk then
				insert(items, "*Acentuación: "..acento..']\n')
			end

		elseif arg == "ls" and argum then
			local l_silabica_tabla = {
				 = 'monosílaba',
				 = 'bisílaba',
				 = 'trisílaba',
				 = 'tetrasílaba',
				 = 'pentasílaba',
				 = 'hexasílaba',
				 = 'heptasílaba',
				 = 'octosílaba',
				 = 'eneasílaba',
				 = 'decasílaba',
				 = 'endecasílaba',
				 = 'dodecasílaba',
			}
			local l_silabica = l_silabica_tabla or argum
			if sk then
				if type(l_silabica) == 'number' then
					insert(items, "*Longitud silábica: "..tostring(l_silabica)..']\n')
				else
					insert(items, "*Longitud silábica: "..l_silabica..']\n')
				end
			end
			
			
		elseif type(argum) == "string" then
			insert(items, "*"..argnombre..": "..argum..'\n')
			
		elseif type(argum) == "table" and #argum > 0 then			
			insert(items, "*"..argnombre..": ")
			for j,_ in ipairs(argum) do
				local argval = argumentos_links and ("..(argalt and "|"..argalt or "").."]]") or argum
				insert(items, (j>1 and ",&nbsp;" or "")..argval..(argtr and " ("..argtr..")" or "")..(argnum and " ("..argnum..")" or "")..(argnota and frame:extensionTag("ref", argnota) or ""))
			end
			insert(items, '\n')
		end
	end

	--insert(items, '\n')
	--insert(items, require("Módulo:TemplateStyles")("Plantilla:pron-graf/styles.css"))
	return concat(items)
end

return export

Separar Módulo:pron-graf en sílabas

Puede ser de que al margen todo aquello que ahora ya sabes en referencia a la palabra Módulo:pron-graf, a su vez te enseñemos la forma de cómo se divide en sílabas. Si te interesa si quieres aprender a dividir Módulo:pron-graf en sílabas.

Listado de errores ortográficos de Módulo:pron-graf

Seguidamente podrás tener acceso una lista con los errores ortográficos más corrientes, para que los tengas en cuenta y sepas la forma de no incurrir en ellos.Sin más preámbulos, aquí tienes el listado de errores ortográficos de Módulo:pron-graf