From eb3a316d03f6025752a71cd8e0b32b5b051aee82 Mon Sep 17 00:00:00 2001 From: Emerson Rocha Date: Sun, 24 Apr 2022 02:19:08 -0300 Subject: [PATCH] hotfix0s.py (#30): ix_iso5218 --- officinam/1603/1/1/1603_1_1.no1.tm.hxl.csv | 2 +- officinam/1603/1/7/1603_1_7.no1.tm.hxl.csv | 110 ++++++++++----------- officinam/999999999/0/1603_1.py | 34 +++++-- officinam/999999999/0/hotfix0s.py | 1 + officinam/999999999/999999999.lib.sh | 20 ++-- officinam/999999999/999999_17.sh | 10 +- 6 files changed, 97 insertions(+), 80 deletions(-) diff --git a/officinam/1603/1/1/1603_1_1.no1.tm.hxl.csv b/officinam/1603/1/1/1603_1_1.no1.tm.hxl.csv index c6aed1f..dfcbd8e 100644 --- a/officinam/1603/1/1/1603_1_1.no1.tm.hxl.csv +++ b/officinam/1603/1/1/1603_1_1.no1.tm.hxl.csv @@ -19,7 +19,7 @@ 1603:1:1:1:13:24,1_13_24,10,10,1603:1:13:24,,,,,//Pre-build list of all +ix_* attributes on 1603//,[24] X,,,,,, 1603:1:1:1:20,1_20,50,50,1603:1:20,,,,,"Concept of number, prebuild tables",,,,,,, 1603:1:1:1:51,1_51,50,50,1603:1:51,internale-90|publicum-10,,13,,//Dictiōnāria Linguārum//,,,//Dictiōnāria Linguārum ad MMXXII ex Numerordĭnātĭo//,,,, -1603:1:1:1:99,1_99,20,20,1603:1:99,internale-20|publicum-10,,15,,Nōtitiae temporāriōrum circā librārium,,,,,,, +1603:1:1:1:99,1_99,20,20,1603:1:99,internale-20|publicum-1,,15,,Nōtitiae temporāriōrum circā librārium,,,,,,, 1603:1:1:1:101,1_101,50,50,1603:1:101,experimentum-50|internale-20,,16,,//Dictiōnāria Archīōrum ad MMXXII ex Numerordĭnātĭo//,,,//Dictiōnāria Archīōrum ad MMXXII ex Numerordĭnātĭo//,,,, 1603:1:1:1:2020,1_2020,50,50,1603:1:2020,internale-100|publicum-10,,17,,//Guia rápido de lexicografia para colaboradores//@por-Latn,,,,,,, 1603:1:1:3,3,50,50,1603:3,,,,Q1093434,Commūnitās scientiae,[2003] Wikipedia,,Commūnitās scientiae,بعلم المواطنين,Гражданская наука,, diff --git a/officinam/1603/1/7/1603_1_7.no1.tm.hxl.csv b/officinam/1603/1/7/1603_1_7.no1.tm.hxl.csv index 9940af2..0a8817a 100644 --- a/officinam/1603/1/7/1603_1_7.no1.tm.hxl.csv +++ b/officinam/1603/1/7/1603_1_7.no1.tm.hxl.csv @@ -1,55 +1,55 @@ -#item+conceptum+numerordinatio,#item+conceptum+codicem,#status+conceptum+definitionem,#status+conceptum+codicem,#item+rem+i_lat+is_latn,#item+rem+i_qcc+is_zxxx+ix_wikiq,#item+rem+i_qcc+is_zxxx+ix_wikip,#item+rem+i_mul+is_zyyy+ix_trivium,#item+rem+i_qcc+is_zxxx+ix_regulam,#item+rem+i_qcc+is_zxxx+ix_wikip1630,#item+rem+i_qcc+is_zxxx+ix_hxlix,#item+rem+i_qcc+is_zxxx+ix_hxlvoc,#item+rem+definitionem+i_eng+is_latn,#item+rem+i_qcc+is_zxxx+ix_codexfacto,, -1603:1:7:0:1603:1:7:2616:98,0_1603_1_7_2616_98,11,11,,,,,,,,,,EticaAI,, -1603:1:7:0:1603:1:7:2616:123,0_1603_1_7_2616_123,11,11,,,,,,,,,,EticaAI,, -1603:1:7:0:1603:1:7:2616:577,0_1603_1_7_2616_577,11,11,,,,,,,,,,2022-01-01,, -1603:1:7:0:1603:1:7:2616:859,0_1603_1_7_2616_859,11,11,,,,,,,,,,pro bonō publicō,, -1603:1:7:0:1603:1:7:2616:2479,0_1603_1_7_2616_2479,11,11,,,,,,,,,,CC0-1.0,, -1603:1:7:0:1603:1:7:2616:7535,0_1603_1_7_2616_7535,11,11,,,,,,,,,,This Numerodinatio namespace contains dictionaries related to bare minimum interlingual concepts used to understand Numerodinatio tables.\n\nThe decision making is mostly based on what is very essential to explain other tables.,, -1603:1:7:1,1,11,11,/Generic numeric namespace/,,,,,,,,,,, -1603:1:7:1:1,1_1,50,50,Cōdex factō,,,,,,ix_codexfacto,v_codex_facto,,,, -1603:1:7:1:2,1_2,50,19,Numerordĭnātĭo,,,,,,ix_n1603,v_n1603,a generic strategy of arranging numbers in an taxonomy-like explicit way,,, -1603:1:7:1:3,1_3,50,19,Dictiōnāria,,,,,,,,,,, -1603:1:7:1:4,1_4,50,19,Dictiōnāria necessitātibus,,,,,,ix_dctnrnncssttbs,v_dictionaria_necessitatibus,Dictionaries groups required by this work.,,, -1603:1:7:1:91,1_91,50,19,/Wiki QID/,,,,Q[1-9]\d*,,ix_wikiq,v_wiki_q,"QID (or Q number) is the unique identifier of a data item on Wikidata, comprising the letter ""Q"" followed by one or more digits. It is used to help people and machines understand the difference between items with the same or similar names e.g there are several places in the world called London and many people called James Smith. This number appears next to the name at the top of each Wikidata item.",,, -1603:1:7:1:92,1_92,50,19,/Wiki P/,,,,P[1-9]\d*,,ix_wikip,v_wiki_p,"Property (also attribute) describes the data value of a statement and can be thought of as a category of data, for example ""color"" for the data value ""blue"". Properties, when paired with values, form a statement in Wikidata. Properties are also used in qualifiers. Properties have their own pages on Wikidata and are connected to items, resulting in a linked data structure.",,, -1603:1:7:1:93,1_93,50,19,/Wiki LID/,,,,,,ix_wikil,v_wiki_l,"LID (or L number) The identifier for a lexeme entity in Wikidata, comprising the letter ""L"" followed by one or more digits.",,, -1603:1:7:1:95,1_95,11,19,/rēgulam/,Q185612,,,,,ix_regulam,v_regex,,,, -1603:1:7:1:96,1_96,50,19,//Cōdex annotātiōnibus internālibus//,,,,,,ix_n1603ia,,Internal annotations of a codex. List of items. Used on 1603_1_1 as undocumented tags to manage how dictionaries are exported,,, -1603:1:7:1:97,1_97,50,19,//opus papȳrō ex 1603//,,,,,,ix_n1603op,,Workfsheet index Used on 1603_1_1 as undocumented feature to manage where the main table should be extracted,,, -1603:1:7:1:200,1_200,50,19,"/HXL Standard, hashtag, base tab, or attribute (but not readable header)/",,,,,,ix_hxl,v_hxl,"/HXL Standard, hashtag, base tab, or attribute (but not readable header)/",,, -1603:1:7:1:201,1_201,50,19,"/HXL Standard, full hashtag/",,,,,,ix_hxlhstg,v_hxl_hashtag,"/HXL Standard, full hashtag/",,, -1603:1:7:1:202,1_202,50,19,"/HXL Standard, human readable header (lat: caput)/",,,,,,ix_hxlcpt,v_hxl_caput,"/HXL Standard, human readable header (lat: caput)/",,, -1603:1:7:1:203,1_203,50,19,"/HXL Standard, base hashtag only/",,,,,,ix_hxlt,v_hxl_t,"/HXL Standard, base hashtag only/",,, -1603:1:7:1:204,1_204,50,19,"/HXL Standard, attributes only/",,,,,,ix_hxla,v_hxl_a,"/HXL Standard, attributes only/",,, -1603:1:7:1:205,1_205,50,19,"/Normalized CSV-like header; full header, only prefix or only suffix/",,,,,,ix_csv,v_csv,"/Normalized CSV-like header; full header, only prefix or only suffix/",,, -1603:1:7:1:206,1_206,50,19,/Normalized CSV-like identifier; prefix affinity (lat: praefīxum)/,,,,,,ix_csvprfxu,v_csv_praefixum,/Normalized CSV-like identifier; prefix affinity (lat: praefīxum)/,,, -1603:1:7:1:207,1_207,50,19,/Normalized CSV-like identifier; suffix affinity (lat: suffīxum)/,,,,,,ix_csvsffxm,v_csv_suffixum,/Normalized CSV-like identifier; suffix affinity (lat: suffīxum)/,,, -1603:1:7:1:208,1_208,50,19,/GLIDE hazard code/,,,,,,ix_glidehc,,,,, -1603:1:7:2616,2616,11,11,/Wikidata P local numeric namespace/,,,,,,,,,,, -1603:1:7:2616:50,2616_50,60,60,scrīptor,,P50,,,,ix_wikip50,v_wiki_p_50,"Main creator(s) of a written work (use on works, not humans)",,, -1603:1:7:2616:98,2616_98,60,60,/dictiōnārium ēditōrī/,,P98,,,,ix_wikip98,v_wiki_p_98,editor of a compiled work such as a book or a periodical (newspaper or an academic journal),,, -1603:1:7:2616:110,2616_110,60,60,pictor,,P110,,,,ix_wikip110,v_wiki_p_110,Person drawing the pictures or taking the photographs in a book,,, -1603:1:7:2616:123,2616_123,60,60,/cōdex pūblicandī/,,P123,,,,ix_wikip123,v_wiki_p_123,"organization or person responsible for publishing books, periodicals, printed music, podcasts, games or software",,, -1603:1:7:2616:393,2616_393,60,60,numerus editionis,,P393,,,,ix_wikip393,v_wiki_p_393,"number of an edition (first, second, ... as 1, 2, ...) or event",,, -1603:1:7:2616:487,2616_487,60,60,//unicodex pūnctō//,,P487,,,https://util.unicode.org/UnicodeJsps/character.jsp?a=$1,ix_wikip487,v_wiki_p_487,Unicode character representing the item,,, -1603:1:7:2616:577,2616_577,60,60,/publication date/@eng-Latn,,P577,,,,ix_wikip577,v_wiki_p_577,Date or point in time when a work was first published or released,,, -1603:1:7:2616:655,2616_655,60,60,/translator/@eng-Latn,,P655,,,,ix_wikip655,v_wiki_p_655,agent who adapts any kind of written text from one language to another,,, -1603:1:7:2616:854,2616_854,60,60,/reference URL/@eng-Latn,,P854,,,,ix_wikip854,v_wiki_p_854,should be used for Internet URLs as references,,, -1603:1:7:2616:856,2616_856,60,60,/official website/@eng-Latn,,P856,,,,ix_wikip856,v_wiki_p_856,"URL of the official page of an item (current or former) [if the page changes, add an additional statement with preferred rank. Do not remove the former URL]",,, -1603:1:7:2616:859,2616_859,60,60,spōnsor,,P859,,,,ix_wikip859,v_wiki_p_859,organization or individual that sponsors this item,,, -1603:1:7:2616:1476,2616_1476,60,60,titulus,,P1476,,,,ix_wikip1476,v_wiki_p_1476,"published name of a work, such as a newspaper article, a literary work, piece of music, a website, or a performance work",,, -1603:1:7:2616:1323,2616_1323,60,60,Terminologia Anatomica 98 ID,,P1323,,A\d{2}\.\d\.\d{2}\.\d{3}[FM]?,https://wikidata-externalid-url.toolforge.org/?p=1323&url_prefix=https:%2F%2Fwww.unifr.ch%2Fifaa%2FPublic%2FEntryPage%2FTA98%20Tree%2FEntity%20TA98%20EN%2F&url_suffix=%20Entity%20TA98%20EN.htm&id=$1,ix_wikip1323,v_wiki_p_1323,Terminologia Anatomica (1998 edition) human anatomical terminology identifier,,, -1603:1:7:2616:1324,2616_1324,60,60,/source code repository/@eng-Latn,,P1324,,,,ix_wikip1324,v_wiki_p_1324,public source code repository,,, -1603:1:7:2616:1630,2616_1630,60,60,/formatter URL/@eng-Latn,,P1630,,,,ix_wikip1630,v_wiki_p_1630,"web page URL; URI template from which ""$1"" can be automatically replaced with the effective property value on items. If the site goes offline, set it to deprecated rank. If the formatter url changes, add a new statement with preferred rank.",,, -1603:1:7:2616:1889,2616_1889,60,60,/different from/@eng-Latn,,P1889,,,,ix_wikip1889,v_wiki_p_1889,"item that is different from another item, with which it may be confused",,, -1603:1:7:2616:2479,2616_2479,60,60,/SPDX license ID/@eng-Latn,,P2479,,"[0-9A-Za-z\.\-]{3,36}[+]?",https://spdx.org/licenses/$1.html,ix_wikip2479,v_wiki_p_2479,SPDX license identifier,,, -1603:1:7:2616:2699,2616_2699,60,60,URL,,P2699,,,,ix_wikip2699,v_wiki_p_2699,location of a resource,,, -1603:1:7:2616:3916,2616_3916,60,60,UNESCO thēsaurus,,P3916,,concept[1-9]\d*,http://vocabularies.unesco.org/thesaurus/$1,ix_wikip3916,v_wiki_p_3916,"The UNESCO Thesaurus is a controlled and structured list of terms used in subject analysis and retrieval of documents and publications in the fields of education, culture, natural sciences, social and human sciences, communication and information. Continuously enriched and updated, its multidisciplinary terminology reflects the evolution of UNESCO's programmes and activities.",,, -1603:1:7:2616:3982,2616_3982,60,60,/Terminologia Anatomica 98 Latin preferred term/@eng-Latn,,P3982,,,,ix_wikip3982,v_wiki_p_3982,Latin name for anatomical subject as described in Terminologia Anatomica 98,,, -1603:1:7:2616:4354,2616_4354,60,60,/search formatter URL/@eng-Latn,,P4354,,,,ix_wikip4354,v_wiki_p_4354,"web page search URL; URI template from which ""$1"" can be automatically replaced with the string to be searched for. $1 can be whatever you want.",,, -1603:1:7:2616:4945,2616_4945,60,60,/download link/@eng-Latn,,P4945,,,,ix_wikip4945,v_wiki_p_4945,URL which can be used to download a work,,, -1603:1:7:2616:7470,2616_7470,60,60,/URN formatter/@eng-Latn,,P7470,,,,ix_wikip7470,v_wiki_p_7470,formatter to generate Uniform Resource Name (URN) from property value. Include $1 to be replaced with property value,,, -1603:1:7:2616:7535,2616_7535,60,60,/scope and content/@eng-Latn,,P7535,,,,ix_wikip7535,v_wiki_p_7535,a summary statement providing an overview of the archival collection,,, -1603:1:7:2617,2617,11,11,/Wikidata Q local numeric namespace/@eng-Latn,,,,,,ix_wikiq9289584,v_wiki_q_9289584,,,, -1603:1:7:2617:355217,2617_355217,60,60,/to-do list/@eng-Latn,Q355217,,,,,ix_wikiq355217,v_wiki_q_355217,time management - procedures to process pending tasks and appointments within the available period,,, -1603:1:7:2617:9289584,2617_9289584,60,60,caveat lector,Q9289584,,,,,ix_wikiq9289584,v_wiki_q_9289584,"Caveat lector is a Latin phrase meaning ""let the reader beware""",,, +#item+conceptum+numerordinatio,#item+conceptum+codicem,#status+conceptum+definitionem,#status+conceptum+codicem,#item+rem+i_lat+is_latn,#item+rem+i_qcc+is_zxxx+ix_wikiq,#item+rem+i_qcc+is_zxxx+ix_wikip,#item+rem+i_mul+is_zyyy+ix_trivium,#item+rem+i_qcc+is_zxxx+ix_regulam,#item+rem+i_qcc+is_zxxx+ix_wikip1630,#item+rem+i_qcc+is_zxxx+ix_hxlix,#item+rem+i_qcc+is_zxxx+ix_hxlvoc,#item+rem+definitionem+i_eng+is_latn,#item+rem+definitionem+i_por+is_latn,#item+rem+i_qcc+is_zxxx+ix_codexfacto,, +1603:1:7:0:1603:1:7:2616:98,0_1603_1_7_2616_98,11,11,,,,,,,,,,,EticaAI,, +1603:1:7:0:1603:1:7:2616:123,0_1603_1_7_2616_123,11,11,,,,,,,,,,,EticaAI,, +1603:1:7:0:1603:1:7:2616:577,0_1603_1_7_2616_577,11,11,,,,,,,,,,,2022-01-01,, +1603:1:7:0:1603:1:7:2616:859,0_1603_1_7_2616_859,11,11,,,,,,,,,,,pro bonō publicō,, +1603:1:7:0:1603:1:7:2616:2479,0_1603_1_7_2616_2479,11,11,,,,,,,,,,,CC0-1.0,, +1603:1:7:0:1603:1:7:2616:7535,0_1603_1_7_2616_7535,11,11,,,,,,,,,,,This Numerodinatio namespace contains dictionaries related to bare minimum interlingual concepts used to understand Numerodinatio tables.\n\nThe decision making is mostly based on what is very essential to explain other tables.,, +1603:1:7:1,1,11,11,/Generic numeric namespace/,,,,,,,,,,,, +1603:1:7:1:1,1_1,50,50,Cōdex factō,,,,,,ix_codexfacto,v_codex_facto,,,,, +1603:1:7:1:2,1_2,50,19,Numerordĭnātĭo,,,,,,ix_n1603,v_n1603,a generic strategy of arranging numbers in an taxonomy-like explicit way,uma estratégia genérica de organizar os números de maneira explícita como taxonomia,,, +1603:1:7:1:3,1_3,50,19,Dictiōnāria,,,,,,,,,,,, +1603:1:7:1:4,1_4,50,19,Dictiōnāria necessitātibus,,,,,,ix_dctnrnncssttbs,v_dictionaria_necessitatibus,Dictionaries groups required by this work.,Grupos de dicionários exigidos por este trabalho.,,, +1603:1:7:1:91,1_91,50,19,/Wiki QID/,,,,Q[1-9]\d*,,ix_wikiq,v_wiki_q,"QID (or Q number) is the unique identifier of a data item on Wikidata, comprising the letter ""Q"" followed by one or more digits. It is used to help people and machines understand the difference between items with the same or similar names e.g there are several places in the world called London and many people called James Smith. This number appears next to the name at the top of each Wikidata item.","QID (ou número Q) é o identificador único de um item de dados no Wikidata, composto pela letra ""Q"" seguida por um ou mais dígitos. Ele é usado para ajudar pessoas e máquinas a entender a diferença entre itens com nomes iguais ou semelhantes, por exemplo, existem vários lugares no mundo chamados Londres e muitas pessoas chamadas James Smith. Este número aparece ao lado do nome na parte superior de cada item do Wikidata.",,, +1603:1:7:1:92,1_92,50,19,/Wiki P/,,,,P[1-9]\d*,,ix_wikip,v_wiki_p,"Property (also attribute) describes the data value of a statement and can be thought of as a category of data, for example ""color"" for the data value ""blue"". Properties, when paired with values, form a statement in Wikidata. Properties are also used in qualifiers. Properties have their own pages on Wikidata and are connected to items, resulting in a linked data structure.","Propriedade (ou atributo) descreve o valor de dados de uma instrução e pode ser considerada como uma categoria de dados, por exemplo, ""cor"" para o valor de dados ""azul"". Propriedades, quando combinadas com valores, formam uma declaração no Wikidata. Propriedades também são usadas em qualificadores. As propriedades têm suas próprias páginas no Wikidata e são conectadas a itens, resultando em uma estrutura de dados vinculada.",,, +1603:1:7:1:93,1_93,50,19,/Wiki LID/,,,,,,ix_wikil,v_wiki_l,"LID (or L number) The identifier for a lexeme entity in Wikidata, comprising the letter ""L"" followed by one or more digits.","LID (ou número L) O identificador de uma entidade lexema no Wikidata, compreendendo a letra ""L"" seguida por um ou mais dígitos.",,, +1603:1:7:1:95,1_95,11,19,/rēgulam/,Q185612,,,,,ix_regulam,v_regex,,,,, +1603:1:7:1:96,1_96,50,19,//Cōdex annotātiōnibus internālibus//,,,,,,ix_n1603ia,,Internal annotations of a codex. List of items. Used on 1603_1_1 as undocumented tags to manage how dictionaries are exported,Anotações internas de um códice. Lista de itens. Usado em 1603_1_1 como tags não documentadas para gerenciar como os dicionários são exportados,,, +1603:1:7:1:97,1_97,50,19,//opus papȳrō ex 1603//,,,,,,ix_n1603op,,Worksheet index used on 1603_1_1 as undocumented feature to manage where the main table should be extracted,Índice de planilha usado em 1603_1_1 como recurso não documentado para gerenciar onde a tabela principal deve ser extraída,,, +1603:1:7:1:200,1_200,50,19,"/HXL Standard, hashtag, base tab, or attribute (but not readable header)/",,,,,,ix_hxl,v_hxl,"/HXL Standard, hashtag, base tag, or attribute (except CSV heading, if any)/","/Padrão HXL, hashtag, tag base ou atributo (exceto cabeçalho CSV, se houver)/",,, +1603:1:7:1:201,1_201,50,19,"/HXL Standard, full hashtag/",,,,,,ix_hxlhstg,v_hxl_hashtag,"/HXL Standard, full hashtag/","/HXL Padrão, hashtag completa/",,, +1603:1:7:1:202,1_202,50,19,"/HXL Standard, human readable header (lat: caput)/",,,,,,ix_hxlcpt,v_hxl_caput,"/HXL Standard, CSV heading, if any (/caput/@lat-Latn)/","/Padrão HXL, cabeçalho CSV, se houver (/caput/@lat-Latn)/",,, +1603:1:7:1:203,1_203,50,19,"/HXL Standard, base hashtag only/",,,,,,ix_hxlt,v_hxl_t,"/HXL Standard, base hashtag only/","/Padrão HXL, somente hashtag base/",,, +1603:1:7:1:204,1_204,50,19,"/HXL Standard, attributes only/",,,,,,ix_hxla,v_hxl_a,"/HXL Standard, attributes only/","/Padrão HXL, somente atributos/",,, +1603:1:7:1:205,1_205,50,19,"/Normalized CSV-like header; full header, only prefix or only suffix/",,,,,,ix_csv,v_csv,"/Normalized CSV-like header; full header, or only prefix, or only suffix/","/Cabeçalho tipo CSV normalizado; cabeçalho completo, ou apenas prefixo, ou apenas sufixo/",,, +1603:1:7:1:206,1_206,50,19,/Normalized CSV-like identifier; prefix affinity (lat: praefīxum)/,,,,,,ix_csvprfxu,v_csv_praefixum,/Normalized CSV-like identifier; prefix affinity (/praefīxum/@lat-Latn)/,/Identificador tipo CSV normalizado; afinidade de prefixo (/praefīxum/@lat-Latn)/,,, +1603:1:7:1:207,1_207,50,19,/Normalized CSV-like identifier; suffix affinity (lat: suffīxum)/,,,,,,ix_csvsffxm,v_csv_suffixum,/Normalized CSV-like identifier; suffix affinity (/suffīxum/@lat-Latn)/,/Identificador tipo CSV normalizado; afinidade de sufixo (/suffīxum/@lat-Latn)/,,, +1603:1:7:1:208,1_208,50,19,/GLIDE hazard code/,,,,,,ix_glidehc,,,,,, +1603:1:7:2616,2616,11,11,/Wikidata P local numeric namespace/,,,,,,,,,,,, +1603:1:7:2616:50,2616_50,60,60,scrīptor,,P50,,,,ix_wikip50,v_wiki_p_50,"Main creator(s) of a written work (use on works, not humans)","Principais criadores de uma obra escrita (uso em obras, não em humanos)",,, +1603:1:7:2616:98,2616_98,60,60,/dictiōnārium ēditōrī/,,P98,,,,ix_wikip98,v_wiki_p_98,editor of a compiled work such as a book or a periodical (newspaper or an academic journal),"editor de um trabalho compilado, como um livro ou um periódico (jornal ou revista acadêmica)",,, +1603:1:7:2616:110,2616_110,60,60,pictor,,P110,,,,ix_wikip110,v_wiki_p_110,Person drawing the pictures or taking the photographs in a book,Pessoa que desenhou as ilustrações ou tirou as fotos em um livro,,, +1603:1:7:2616:123,2616_123,60,60,/cōdex pūblicandī/,,P123,,,,ix_wikip123,v_wiki_p_123,"organization or person responsible for publishing books, periodicals, printed music, podcasts, games or software","organização ou pessoa responsável pela publicação de livros, periódicos, música impressa, podcasts, jogos ou software",,, +1603:1:7:2616:393,2616_393,60,60,numerus editionis,,P393,,,,ix_wikip393,v_wiki_p_393,"number of an edition (first, second, ... as 1, 2, ...) or event","número de uma edição (primeira, segunda, ... como 1, 2, ...) ou evento",,, +1603:1:7:2616:487,2616_487,60,60,//unicodex pūnctō//,,P487,,,https://util.unicode.org/UnicodeJsps/character.jsp?a=$1,ix_wikip487,v_wiki_p_487,Unicode character representing the item,Caractere Unicode que representa o item,,, +1603:1:7:2616:577,2616_577,60,60,/publication date/@eng-Latn,,P577,,,,ix_wikip577,v_wiki_p_577,Date or point in time when a work was first published or released,Data ou ponto no tempo em que um trabalho foi publicado ou lançado pela primeira vez,,, +1603:1:7:2616:655,2616_655,60,60,/translator/@eng-Latn,,P655,,,,ix_wikip655,v_wiki_p_655,agent who adapts any kind of written text from one language to another,agente que adapta qualquer tipo de texto escrito de um idioma para outro,,, +1603:1:7:2616:854,2616_854,60,60,/reference URL/@eng-Latn,,P854,,,,ix_wikip854,v_wiki_p_854,should be used for Internet URLs as references,deve ser usado para URLs da Internet como referências,,, +1603:1:7:2616:856,2616_856,60,60,/official website/@eng-Latn,,P856,,,,ix_wikip856,v_wiki_p_856,"URL of the official page of an item (current or former) [if the page changes, add an additional statement with preferred rank. Do not remove the former URL]","URL da página oficial de um item (atual ou anterior) [se a página mudar, adicione uma declaração adicional com classificação preferencial. Não remova o URL anterior]",,, +1603:1:7:2616:859,2616_859,60,60,spōnsor,,P859,,,,ix_wikip859,v_wiki_p_859,organization or individual that sponsors this item,organização ou indivíduo que patrocina este item,,, +1603:1:7:2616:1476,2616_1476,60,60,titulus,,P1476,,,,ix_wikip1476,v_wiki_p_1476,"published name of a work, such as a newspaper article, a literary work, piece of music, a website, or a performance work","nome publicado de uma obra, como um artigo de jornal, uma obra literária, uma peça musical, um site ou uma obra performática",,, +1603:1:7:2616:1323,2616_1323,60,60,Terminologia Anatomica 98 ID,,P1323,,A\d{2}\.\d\.\d{2}\.\d{3}[FM]?,https://wikidata-externalid-url.toolforge.org/?p=1323&url_prefix=https:%2F%2Fwww.unifr.ch%2Fifaa%2FPublic%2FEntryPage%2FTA98%20Tree%2FEntity%20TA98%20EN%2F&url_suffix=%20Entity%20TA98%20EN.htm&id=$1,ix_wikip1323,v_wiki_p_1323,Terminologia Anatomica (1998 edition) human anatomical terminology identifier,Terminologia Anatomica (edição de 1998) identificador de terminologia anatômica humana,,, +1603:1:7:2616:1324,2616_1324,60,60,/source code repository/@eng-Latn,,P1324,,,,ix_wikip1324,v_wiki_p_1324,public source code repository,repositório público de código fonte,,, +1603:1:7:2616:1630,2616_1630,60,60,/formatter URL/@eng-Latn,,P1630,,,,ix_wikip1630,v_wiki_p_1630,"web page URL; URI template from which ""$1"" can be automatically replaced with the effective property value on items. If the site goes offline, set it to deprecated rank. If the formatter url changes, add a new statement with preferred rank.","URL da página da web; Modelo de URI a partir do qual ""$1"" pode ser substituído automaticamente pelo valor efetivo da propriedade nos itens. Se o site ficar offline, defina-o para classificação obsoleta. Se o URL do formatador for alterado, adicione uma nova instrução com classificação preferencial.",,, +1603:1:7:2616:1889,2616_1889,60,60,/different from/@eng-Latn,,P1889,,,,ix_wikip1889,v_wiki_p_1889,"item that is different from another item, with which it may be confused","item diferente de outro item, com o qual pode ser confundido",,, +1603:1:7:2616:2479,2616_2479,60,60,/SPDX license ID/@eng-Latn,,P2479,,"[0-9A-Za-z\.\-]{3,36}[+]?",https://spdx.org/licenses/$1.html,ix_wikip2479,v_wiki_p_2479,SPDX license identifier,identificador de licença SPDX,,, +1603:1:7:2616:2699,2616_2699,60,60,URL,,P2699,,,,ix_wikip2699,v_wiki_p_2699,location of a resource,localização de um recurso,,, +1603:1:7:2616:3916,2616_3916,60,60,UNESCO thēsaurus,,P3916,,concept[1-9]\d*,http://vocabularies.unesco.org/thesaurus/$1,ix_wikip3916,v_wiki_p_3916,"The UNESCO Thesaurus is a controlled and structured list of terms used in subject analysis and retrieval of documents and publications in the fields of education, culture, natural sciences, social and human sciences, communication and information. Continuously enriched and updated, its multidisciplinary terminology reflects the evolution of UNESCO's programmes and activities.","O Thesaurus da UNESCO é uma lista controlada e estruturada de termos usados na análise de assuntos e recuperação de documentos e publicações nas áreas de educação, cultura, ciências naturais, ciências sociais e humanas, comunicação e informação. Continuamente enriquecida e atualizada, sua terminologia multidisciplinar reflete a evolução dos programas e atividades da UNESCO.",,, +1603:1:7:2616:3982,2616_3982,60,60,/Terminologia Anatomica 98 Latin preferred term/@eng-Latn,,P3982,,,,ix_wikip3982,v_wiki_p_3982,Latin name for anatomical subject as described in Terminologia Anatomica 98,Nome em latim para assunto anatômico conforme descrito em Terminologia Anatomica 98,,, +1603:1:7:2616:4354,2616_4354,60,60,/search formatter URL/@eng-Latn,,P4354,,,,ix_wikip4354,v_wiki_p_4354,"web page search URL; URI template from which ""$1"" can be automatically replaced with the string to be searched for. $1 can be whatever you want.","URL de pesquisa de página da web; Modelo de URI a partir do qual ""$1"" pode ser substituído automaticamente pela string a ser pesquisada. $1 pode ser o que você quiser.",,, +1603:1:7:2616:4945,2616_4945,60,60,/download link/@eng-Latn,,P4945,,,,ix_wikip4945,v_wiki_p_4945,URL which can be used to download a work,,,, +1603:1:7:2616:7470,2616_7470,60,60,/URN formatter/@eng-Latn,,P7470,,,,ix_wikip7470,v_wiki_p_7470,formatter to generate Uniform Resource Name (URN) from property value. Include $1 to be replaced with property value,formatador para gerar o Uniform Resource Name (URN) a partir do valor da propriedade. Incluir $ 1 a ser substituído pelo valor da propriedade,,, +1603:1:7:2616:7535,2616_7535,60,60,/scope and content/@eng-Latn,,P7535,,,,ix_wikip7535,v_wiki_p_7535,a summary statement providing an overview of the archival collection,uma declaração resumida fornecendo uma visão geral da coleção de arquivo,,, +1603:1:7:2617,2617,11,11,/Wikidata Q local numeric namespace/@eng-Latn,,,,,,ix_wikiq9289584,v_wiki_q_9289584,,,,, +1603:1:7:2617:355217,2617_355217,60,60,/to-do list/@eng-Latn,Q355217,,,,,ix_wikiq355217,v_wiki_q_355217,time management - procedures to process pending tasks and appointments within the available period,gestão do tempo - procedimentos para processar tarefas pendentes e compromissos dentro do período disponível,,, +1603:1:7:2617:9289584,2617_9289584,60,60,caveat lector,Q9289584,,,,,ix_wikiq9289584,v_wiki_q_9289584,"Caveat lector is a Latin phrase meaning ""let the reader beware""","Caveat lector é uma expressão em língua latina que pode ser traduzida como ""alerta ao leitor""",,, diff --git a/officinam/999999999/0/1603_1.py b/officinam/999999999/0/1603_1.py index 4c9319f..d2ec35f 100755 --- a/officinam/999999999/0/1603_1.py +++ b/officinam/999999999/0/1603_1.py @@ -669,19 +669,23 @@ def numerordinatio_nomen( def numerordinatio_nomen_v2( - rem: dict, objectivum_linguam: str = 'mul-Zyyy', - auxilium_linguam: list = None) -> str: + rem: dict, + objectivum_linguam: str = 'mul-Zyyy', + auxilium_linguam: list = None, + auxilium_linguam_admonitioni: bool = True +) -> str: """numerordinatio_nomen_v2 _extended_summary_ Args: rem (dict): _description_ - objectivum_linguam (str, optional): _description_. Defaults to 'mul-Zyyy'. - auxilium_linguam (list, optional): _description_. Defaults to None. + objectivum_linguam (str, optional): Defaults to 'mul-Zyyy'. + objectivum_linguam (str, optional): Defaults to 'mul-Zyyy'. + auxilium_linguam_admonitioni (bool, optional): Defaults to None. Returns: - str: _description_ + str: >>> rem = {'#item+rem+i_lat+is_latn': 'Salvi, Mundi!'} >>> numerordinatio_nomen_v2(rem, 'mul-Latn', ['por-Latn', 'lat-Latn']) @@ -697,8 +701,6 @@ def helper(rem, attr): objectivum_attr = qhxl_bcp47_2_hxlattr(objectivum_linguam) - # auxilium = list(map(qhxl_bcp47_2_hxlattr, auxilium_linguam)) - perfectum = helper(rem, objectivum_attr) if perfectum: return _brevis(perfectum) @@ -708,7 +710,8 @@ def helper(rem, attr): item_attr = qhxl_bcp47_2_hxlattr(item) resultatum_item = helper(rem, item_attr) if resultatum_item: - if resultatum_item.lower().endswith('@' + item.lower()): + if auxilium_linguam_admonitioni is False or \ + resultatum_item.lower().endswith('@' + item.lower()): return _brevis(resultatum_item) else: return _brevis('/' + resultatum_item + '/@' + item) @@ -1191,6 +1194,9 @@ class Codex: # >>> codex.sarcinarum.__dict__ """ + objectivum_linguam = 'mul-Zyyy' + auxilium_linguam = [] + def __init__( self, de_codex: str, @@ -4794,9 +4800,16 @@ def translatio(self, textum: str) -> str: def translatio_codicem(self, codex: str) -> str: for clavem, conceptum in self.dictionaria.items(): if codex == clavem: - return conceptum['#item+rem+i_eng+is_latn'] + return numerordinatio_nomen_v2( + conceptum, + self.codex.objectivum_linguam, + self.codex.auxilium_linguam, + auxilium_linguam_admonitioni=False + ) + + # return conceptum['#item+rem+i_eng+is_latn'] return None - return '[ @TODO ' + codex + ' ]' + # return '[ @TODO ' + codex + ' ]' class DictionariaNumerordinatio: @@ -5278,6 +5291,7 @@ def initiari(self): # self.linguae['#item+rem+i_eng+is_latn'] = 'en' # self.linguae['#item+rem+i_por+is_latn'] = 'pt' + # self.codex = Codex('1603_1_1', 'lat-Latn', ['mul-Zyyy']) self.codex = Codex('1603_1_1') self.libraria_status_quo = LibrariaStatusQuo( diff --git a/officinam/999999999/0/hotfix0s.py b/officinam/999999999/0/hotfix0s.py index 8e81cdc..44e8f1f 100755 --- a/officinam/999999999/0/hotfix0s.py +++ b/officinam/999999999/0/hotfix0s.py @@ -41,6 +41,7 @@ '#item+conceptum+codicem', '#status+conceptum', '#item+rem+i_qcc+is_zxxx+ix_n1603', + '#item+rem+i_qcc+is_zxxx+ix_iso5218', ] # ./999999999/0/hotfix0s.py 999999/0/1603_1_1--old.csv 999999/0/1603_1_1--new.csv diff --git a/officinam/999999999/999999999.lib.sh b/officinam/999999999/999999999.lib.sh index 19ad817..11dcd54 100644 --- a/officinam/999999999/999999999.lib.sh +++ b/officinam/999999999/999999999.lib.sh @@ -677,13 +677,13 @@ neo_codex_de_numerordinatio() { echo "${FUNCNAME[0]} [$objectivum_archivum]" - set -x + # set -x "${ROOTDIR}/999999999/0/1603_1.py" \ --objectivum-linguam="$est_objectivum_linguam" \ --auxilium-linguam="$est_auxilium_linguam" \ --codex-de "$_nomen" \ >"$objectivum_archivum" - set +x + # set +x } ####################################### @@ -2167,20 +2167,20 @@ opus_temporibus_cdn() { # --in-limitem=2 \ # >"$opus_temporibus_temporarium" - "${ROOTDIR}/999999999/0/1603_1.py" \ - --ex-opere-temporibus='cdn' \ - --quaero-ix_n1603ia='({publicum}>=1)' \ - --in-ordinem=chaos \ - --in-limitem=2 \ - >"$opus_temporibus_temporarium" - # "${ROOTDIR}/999999999/0/1603_1.py" \ # --ex-opere-temporibus='cdn' \ # --quaero-ix_n1603ia='({publicum}>=1)' \ # --in-ordinem=chaos \ - # --in-limitem=25 \ + # --in-limitem=2 \ # >"$opus_temporibus_temporarium" + "${ROOTDIR}/999999999/0/1603_1.py" \ + --ex-opere-temporibus='cdn' \ + --quaero-ix_n1603ia='({publicum}>=1)' \ + --in-ordinem=chaos \ + --in-limitem=25 \ + >"$opus_temporibus_temporarium" + while IFS=$'\t' read -r -a line; do # echo "${line[0]}" diff --git a/officinam/999999999/999999_17.sh b/officinam/999999999/999999_17.sh index 086072f..f370a66 100755 --- a/officinam/999999999/999999_17.sh +++ b/officinam/999999999/999999_17.sh @@ -65,15 +65,17 @@ ROOTDIR="$(pwd)" # Download entire XLSX to local temp file_download_1603_xlsx "1" # actiones_completis_locali "1603_1_1" +# actiones_completis_locali "1603_1_7" # actiones_completis_locali "1603_1_51" -actiones_completis_locali "1603_1_99" -actiones_completis_locali "1603_1_2020" +# actiones_completis_locali "1603_1_99" +# actiones_completis_locali "1603_1_2020" +# actiones_completis_locali "1603_45_31" # actiones_completis_locali "1603_99_876" #### Manual action, TEST locally, one per time, END ---------------------------- ## Full drill (remote, randon publish few at time) -# opus_temporibus_cdn -# deploy_0_9_markdown +opus_temporibus_cdn +deploy_0_9_markdown # @TODO: maybe check ssdiff (diff spreadsheets) to our uses.