Skip to content

Commit

Permalink
1603_3_12.py (#12, #9): draft of --linguae-limitibus and --linguae-pa…
Browse files Browse the repository at this point in the history
…ginarum-limitibus (to cope with time limits of Wikidata SPARQL backend
  • Loading branch information
fititnt committed Feb 10, 2022
1 parent eb70d32 commit 2733700
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions officinam/999999999/0/1603_3_12.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,30 @@ def make_args(self, hxl_output=True):
nargs='?'
)

# linguae, f, pl, (Nominative) https://en.wiktionary.org/wiki/lingua
# pāginārum, f, pl, (Gengitive) https://en.wiktionary.org/wiki/pagina
# līmitibus, m, pl, (Dative) https://en.wiktionary.org/wiki/limes#Latin
# //linguae pāginārum līmitibus//
neo_codex.add_argument(
'--linguae-limitibus',
help='Number of languages of [1603:1:51] to limit on a query. ' +
'Default: 1000',
dest='linguae_limitibus',
metavar='',
default="1000",
nargs='?'
)

neo_codex.add_argument(
'--linguae-paginarum-limitibus',
help='If using --linguae-limitibus, which pagination of languages '
'return. Starts with 1. Default: 1',
dest='linguae_paginarum_limitibus',
metavar='',
default="1",
nargs='?'
)

# neo_codex.add_argument(
# '--actionem-verbum-simplex',
# help='Do not generate the codes. Just calculate the full matrix ' +
Expand Down
2 changes: 2 additions & 0 deletions officinam/999999999/1603_17.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ ROOTDIR="$(pwd)"
# neo_codex_de_numerordinatio "1603_44_1" "0" "0"
# neo_codex_de_numerordinatio_pdf "1603_45_1" "0" "0"

# ./999999999/0/1603_3_12.py --actionem-sparql --query < 999999/0/1603_45_1.uniq.q.txt

# ./999999999/0/1603_1.py --codex-de 1603_1_7 > 1603/1/7/1603_1_7.mul-Latn.codex.adoc
# ./999999999/0/1603_1.py --codex-de 1603_1_7 > 1603/1/7/1603_1_7.mul-Latn.codex.adoc ; bundle exec asciidoctor-pdf 1603/1/7/1603_1_7.mul-Latn.codex.adoc --out-file 1603/1/7/1603_1_7.mul-Latn.codex.pdf

Expand Down

0 comments on commit 2733700

Please sign in to comment.