Author |
Message |
laramjo
Joined: Mon Sep 30, 2013 6:56 pm Posts: 68
|
 Códigos morfológicos
Hola me ayudan por favor. Quiero hacer un modulo de biblia que contenga Códigos morfológicos (Morfologias) pero no sé como hacerlo. ¿Podria alguin darme una mano al respecto?
|
Tue Aug 25, 2020 9:17 pm |
|
 |
jonathangkoehn
Joined: Wed Sep 29, 2010 10:04 pm Posts: 997 Location: Colorado, United States
|
 Re: Códigos morfológicos
Esta Biblia es una buena ejemplo de Códigos morfológicos en el texto: https://www.theword.net/bin/get.php/The+Greek+New+Testament+-+Byzantine+Textform.nt.exeCode: <wt>Βίβλος<WG976><WTN-NSF l="βίβλος"> <wt>γενέσεως<WG1078><WTN-GSF l="γένεσις"> <wt>Ἰησοῦ<WG2424><WTN-GSM l="Ἰησοῦς"> <wt>χριστοῦ<WG5547><WTN-GSM l="Χριστός">, <wt>υἱοῦ<WG5207><WTN-GSM l="υἱός"> <wt>Δαυίδ<WG1138><WTN-PRI l="Δαβίδ">, <wt>υἱοῦ<WG5207><WTN-GSM l="υἱός"> <wt>Ἀβραάμ<WG11><WTN-PRI l="Ἀβραάμ">.<CM> Va a notar <WTN-NSF l="βίβλος"> esto es el Código morfológico para la palabra Βίβλος Si uno no tiene el lemma como l="βίβλος" puede solamente poner <WTN-NSF> Nota <WT indica el principio del codigo. y > el fin. Tambíen el otro parte que es importante es el "Verse Rule" el final de la Biblia Code: verse.rule="<wt>([^<]+)(<W(G\d+)>)(<W(G\d+)>)?(<W(G\d+)>)?(<WT([^\ >]+) l=""([^""]+)"">)(<W(G\d+)>)?(<WT([^\ >]+) l=""([^""]+)"">)?" "<wt><a href=""_ORIGWORD_$1|_LEMMA_$10|_STRONG_$3|_STRONG2_$5|_STRONG3_$7|_STRONG4_$12|_MORPH_$9|_MORPH2_$14|_NOLINK_"">$1</a>$2$4$6$8$11$13" Va a necesitar estudiare esta parte para entenderle es un RegEx verse.rule="string" tab "string" Si no tiene lemma puede hacer un verse.rule como esto: Code: verse.rule="<wt>([^<]+)(<W(G\d+)>)(<W(G\d+)>)?(<W(G\d+)>)?(<WT([^\ >]+)>)(<W(G\d+)>)?(<WT([^\ >]+)>)?" "<wt><a href=""_ORIGWORD_$1|_STRONG_$3|_STRONG2_$5|_STRONG3_$7|_STRONG4_$11|_MORPH_$9|_MORPH2_$13|_NOLINK_"">$1</a>$2$4$6$8$10$12" También hay un buen arrimiento para ayudar en estas cosas pero es en Ingles y Portuguese. https://github.com/rubiot/ibiblia/releases
_________________ Jonathan Koehn @ http://www.thewordbooks.com 2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” (NET2)
|
Tue Aug 25, 2020 9:51 pm |
|
 |
laramjo
Joined: Mon Sep 30, 2013 6:56 pm Posts: 68
|
 Re: Códigos morfológicos
Hermano aca le mando Gn 1.1 de un modulo hecho para e-Sword. Code: En <tvm>P</tvm> el principio <tvm>NCFSA</tvm> creó <tvm>VaP3MS</tvm> Dios <tvm>NCMPA</tvm> <tvm>PO</tvm> los <tvm>A</tvm> cielos <tvm>NCMPA</tvm> y <tvm>C</tvm> <tvm>PO</tvm> la <tvm>A</tvm> tierra <tvm>NC-SA</tvm> . Como se debe escribir para nuestro amado theWord. Gracias por su oportuna respuesta.
|
Tue Aug 25, 2020 9:55 pm |
|
 |
jonathangkoehn
Joined: Wed Sep 29, 2010 10:04 pm Posts: 997 Location: Colorado, United States
|
 Re: Códigos morfológicos
Para funcionar con RMAC en Español los Codigos van a necesitar ser convertido a los codigos de RMAC Para ejemplo: <tvm>P</tvm> necesita ser como <tvm>PREP</tvm> o mejor <WTPREP> con una programa como Notepad++ esto trabajo será más facíl. Va a necesitar comparar con https://www.theword.net/bin/get.php/Robinson%27s+Morphological+Analysis+Codes.spa.dct.exe en theWord.
_________________ Jonathan Koehn @ http://www.thewordbooks.com 2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” (NET2)
|
Tue Aug 25, 2020 10:47 pm |
|
 |
laramjo
Joined: Mon Sep 30, 2013 6:56 pm Posts: 68
|
 Re: Códigos morfológicos
tal vez entendí mal. (Seguramente)
Si no tengo lemma ¿debería quedar así:? En <WTN-NSF P> el principio... ¿ó asi? En <WTP> el principio...
y si los convierto a RMAC ¿debería quedar asi?
En <WTPREP> el principio...
|
Tue Aug 25, 2020 11:09 pm |
|
 |
jonathangkoehn
Joined: Wed Sep 29, 2010 10:04 pm Posts: 997 Location: Colorado, United States
|
 Re: Códigos morfológicos
Un poco más información: En es la palabra lo que queda entere <tvm>...</tvm> es el codigo. Por ejemplo: Frase 1. En este caso P es para "En" lo cual es realmente Preposición pero en RMAC es PREP Frase 2.Code: el principio <tvm>NCFSA</tvm> NCFSA es el codigo no se exacto puede ser N- Sustantivo F - femenino S - singular A - acusativo C - no se Entonces en el formato mejor será Code: el principio <WTN-ASF-C> más o menos porque yo no se que es C Frase 3.Code: creó <tvm>VaP3MS</tvm> VaP3MS es: V - Verbo a - aorist P - no se depende el codigo a veces es Participulo, Passivo, Presente, depend la Biblia (usted va a necesitar investigar esas cosas) 3 - 3cera persona S - Singular M - no se depende el codigo a veces iMperativo, Masculino, ... Entonces en el formato mejor será Frase 4.Code: Dios <tvm>NCMPA</tvm> N - sustantivo C - no se M- Masculino P - plural A - Acusativo Entonces en el formato mejor será más o menos porque no se C
_________________ Jonathan Koehn @ http://www.thewordbooks.com 2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” (NET2)
|
Tue Aug 25, 2020 11:34 pm |
|
 |
laramjo
Joined: Mon Sep 30, 2013 6:56 pm Posts: 68
|
 Re: Códigos morfológicos
Mi amigo te agradezco mucho tu gran interés por quererme ayudar... (Esto es realmente complicado) Usando el código <tvm>...</tvm> No pasa nada, theWord lo muestra como una palabra más.
En el documento tw3-bibli-module, oficial del sitio web de theWord explican esto (Pero está en ingles)
<WTXXX l=”[lemma]” lh=”[homonym]”>: Morphology codes. The XXX may not include a space. The morph tag is assumed to end at the first space, or at the end of the tag. The l=”[lemma]” is optional, but if present will be used in morphological searches. The [homonym] is used (for now) to just display in a parenthesis after the lemma in the popup. Double quotes are optional if there are no spaces. Notice that by default the lemma is displayed when the user moves the mouse over the morph tag. Support is not tested for non-UTF8 modules. Here are 2 examples of a WT tag for Greek and Hebrew: Greek: <WTV-AAI-3S l=γεννάω> Hebrew: <WT@vqw3ms l=”אמר” lh=1> Notes: a. It is a good practice (although not necessary at this point for some functions) to add a <wt> tag (notice lowercase) just before the word that this WT refers to, for example: <wt>εγεννησεν<WG1080><WTV-AAI-3S l=γεννάω> This will allow for the inclusion of verse.rules to enhance the functionality (read below). b. The following verse rules will turn the words into links when the morph tags are not visible: verse.rule="<WT(.*?)lh=(\d)>" "<WT$1lh=($2)>" "toggle=^morph" verse.rule="<wt>(.*?)<WT(.*?)\ l=""(.*?)""( lh=(.*?))?>" "<a href=""tw://[morph]?t=$2|tw://*.*?txt={\b\fs20 Hebrew Word:} \f2\fs28 $1|tw://*.*?txt={\b\fs20 Lemma:} \f2\fs28 $3\f0\fs20 $5"">$1</a>" "toggle=^morph" Notice here that the first link above uses [morph] as target, but if the module uses another dictionary to look up morphology tags it should be replaced. The rules above are used when there are <wt> starting tags also. The first verse rule just adds parenthesis to the homonym (it’s optional to have the homonym display in the popup in a similar way to when the morph tags are visible). Of course, if the tags are not exactly like that (e.g. more spaces, etc) the verse rules should be adjusted, they are only given here as an example. c. An extra function is supported concerning the Lemma: if the actual word is enclosed in a href with the _LEMMA_ as target, then the Word lookup dictionaries will use the Lemma for the lookup instead of the actual word. The complete href format is: <a href=_LEMMA_$6|_NOLINK_>$1</a> Notice the _NOLINK_ attribute (which is optional), yet has the effect that the word is NOT treated as a link. Here are a couple of verse rules that automate this in a module with morph tags that also contain lemmas (for WHNU): verse.rule="((^|(\ ))([αβγδεζηθικλμνξοπρστυφχψως]+))" "$3<wt>$4" verse.rule="<wt>([αβγδεζηθικλμνξοπρστυφχψως]+)(.*?)(<WT([^\ >]+)( l=""(.*?)"")?(.*?)>)" "<wt><a href=_LEMMA_$6|_NOLINK_>$1</a>$2$3"
Estaré muy agradecido si me sigues ayudando.
|
Tue Aug 25, 2020 11:57 pm |
|
 |
jonathangkoehn
Joined: Wed Sep 29, 2010 10:04 pm Posts: 997 Location: Colorado, United States
|
 Re: Códigos morfológicos
Puede mandar el texto biblico a jgk at thewordbooks.com
_________________ Jonathan Koehn @ http://www.thewordbooks.com 2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” (NET2)
|
Wed Aug 26, 2020 12:01 am |
|
 |
jonathangkoehn
Joined: Wed Sep 29, 2010 10:04 pm Posts: 997 Location: Colorado, United States
|
 Re: Códigos morfológicos
probablmente si quiere utilizar <tvm> va a necesitar cambiar el verse.rule a algo como esto pero no va a connectar con RMAC hasta que cambia los codigos.
verse.rule="([^<]+)(<tvm>([^<]+)</tvm)" "<a href=""_ORIGWORD_$1|_MORPH_$3|_NOLINK_"">$1</a>$2"
_________________ Jonathan Koehn @ http://www.thewordbooks.com 2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” (NET2)
|
Wed Aug 26, 2020 12:04 am |
|
 |
laramjo
Joined: Mon Sep 30, 2013 6:56 pm Posts: 68
|
 Re: Códigos morfológicos
Donde obtengo los códigos de RMAC para poder convertir los actuales?.
|
Wed Aug 26, 2020 12:39 am |
|
 |
jonathangkoehn
Joined: Wed Sep 29, 2010 10:04 pm Posts: 997 Location: Colorado, United States
|
 Re: Códigos morfológicos
_________________ Jonathan Koehn @ http://www.thewordbooks.com 2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” (NET2)
|
Wed Aug 26, 2020 12:44 am |
|
 |
jonathangkoehn
Joined: Wed Sep 29, 2010 10:04 pm Posts: 997 Location: Colorado, United States
|
 Re: Códigos morfológicos
Mando me email en private, ya recibe?
_________________ Jonathan Koehn @ http://www.thewordbooks.com 2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” (NET2)
|
Wed Aug 26, 2020 12:45 am |
|
 |
laramjo
Joined: Mon Sep 30, 2013 6:56 pm Posts: 68
|
 Re: Códigos morfológicos
Enviado
|
Wed Aug 26, 2020 3:35 am |
|
|