La semana pasada estaba investigando algo relacionado con los nombres propios y la capitalización, y noté que no puedo hacer que la función de expresiones regulares en la lista de palabras me muestre solo todas las entradas con mayúscula inicial. Obtengo un comportamiento totalmente inesperado.
Normalmente, obtengo resultados muy útiles con las expresiones regulares, en la lista de palabras y en otras partes de PT. (De nuevo) busqué algunos ejemplos en la ayuda para confirmar la sintaxis para PT9 y probé ^[\p{Lu}] y no tuve éxito, ni un solo resultado, el cuadro se pone en rojo. Pero cuando pruebo ^[\p{Ll}], el cuadro de búsqueda se pone en verde y obtengo muchos resultados, incluyendo cosas como «Aaɖi» como resultado de la búsqueda, lo cual no parece correcto.
La funcionalidad está ahí, menos la capitalización. Por ejemplo, ^\p{Lu}{5,5}$ me da solo todas las palabras de cinco letras, como se esperaba, pero de nuevo mezcla resultados como «Afʊmɩ», lo cual es incorrecto.
Tengo la sensación de que los datos internos para la capitalización son de alguna manera más complejos de lo que muestra la interfaz gráfica. Pero en ese caso, sería bueno tener documentación al respecto, en lugar de perder tiempo haciendo «investigación» sobre una herramienta que es construida por mi propia organización.
También noté que no puedo encontrar la herramienta de expresiones regulares en PT9, incluso siguiendo la ayuda integrada de esta manera:
Usar RegEx Pal en un proyecto en particular
Para usar Paratext RegEx Pal en un proyecto en particular, haga lo siguiente:
- Haga clic en la pestaña de ese proyecto para que sea la pestaña activa.
- Abra Paratext RegEx Pal. (Haga clic en el icono del menú principal , luego, desde el menú de Paratext, apunte a Avanzado y seleccione RegEx Pal.)
Normalmente uso mis propias herramientas de pago, pero no me importaría «ajustar» mis herramientas en comparación con el «asistente» integrado.
Gracias por cualquier aporte sobre la capitalización en la lista de palabras.
I was researching something related to proper names and capitalization last week and noticed that I cannot get the regex feature in the wordlist to show me only all the capitalized entries. I get totally unexpected behaviour.
Normally I get very helpful results with regex, in the wordlist and elsewhere in PT. I (again) looked up some examples in the help to confirm flavour for PT9 andI tried ^[\p{Lu}] and got no joy, not a single hit, box turns red. But when I try ^[\p{Ll}] the search box turns green and I get many results, including things like “Aaɖi” as a search result, which does not feel right.
The functionality is there, minus the capitalisation. For example ^\p{Lu}{5,5}$ is giving me only all the five-letter-words as expected, but again it mixes results like “Afʊmɩ” which is wrong.
I have a hunch that the internal-data for the capitalisation is somehow more complex that what the GUI is showing. But then it would be nice to have documentation for that, rather than spending time doing “research” on a tool that is built by my own org.
I also noticed that I cannot find the regex tool in PT9, even following the inbuilt help like this:
Using RegEx Pal in a particular project
To use Paratext RegEx Pal in a particular project, do the following:
- Click the tab of that project to make it the active tab.
- Open Paratext RegEx Pal. (Click the main menu icon , then from the Paratext menu, point to Advanced, and select RegEx Pal.)
I am normally using my own paid tools, but would not mind “tuning” my tools against the inbuilt “helper”.
Thank you for any input about the capitalization in the wordlist.