Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tomaž Erjavec
siIUS
Commits
2b86c0a3
Commit
2b86c0a3
authored
Feb 07, 2020
by
Tomaž Erjavec
Browse files
Minor improvements.
parent
014cca09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
2b86c0a3
...
...
@@ -14,8 +14,8 @@ bug:
nohup
:
nohup time
make all
>
nohup.all &
all
:
cnv text ana tei val-ana
xall
:
get move val-dariah cnv val-text text ana tei val-ana
all
:
clean
cnv text ana tei val-ana
xall
:
get move val-dariah
clean
cnv val-text text ana tei val-ana
val-ana
:
$j
schema/tei_clarin.rng CLARIN/
*
.ana.xml
...
...
@@ -54,6 +54,8 @@ cnv:
$s
-xsl
:bin/tei2ana.xsl DARIAH/UstVol.xml
>
CLARIN/UstVol.xml
$s
-xsl
:bin/tei2ana.xsl DARIAH/ZKP.xml
>
CLARIN/ZKP.xml
$s
-xsl
:bin/tei2ana.xsl DARIAH/ZKP1929.xml
>
CLARIN/ZKP1929.xml
clean
:
rm
-f
CLARIN/
*
val-dariah
:
$j
schema/tei_clarin.rng DARIAH/
*
.xml
move
:
...
...
bin/conllu2tei.pl
View file @
2b86c0a3
...
...
@@ -48,6 +48,7 @@ while (<>) {
$conllu_ab
=
shift
(
@connlu
);
(
$conllu_incipit
)
=
$conllu_ab
=~
/\n# text = (.+)\n/
or
die
"
WEIRD2:
$conllu_ab
";
$conllu_incipit
=
&xml_encode
(
$conllu_incipit
);
die
"
Out of synch:
\n
$conllu_incipit
\n
$text
\n
"
unless
$text
=~
/^\Q$conllu_incipit\E/
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment