9,10 -> C,T

This commit is contained in:
Peter Kleiweg
2026-04-03 13:15:39 +02:00
parent d5179e80b5
commit f9b0e83062
8 changed files with 13 additions and 13 deletions

View File

@@ -59,8 +59,8 @@ cd xml
alto -o $corpus.data.dz *.xml 2> /dev/null
# telling per bericht, niet per zin
/net/corpora/nlnieuws/namen.sh -x 9 -s $corpus.data.dz > $corpus.cat.txt
/net/corpora/nlnieuws/namen.sh -x 10 -s $corpus.data.dz > $corpus.tag.txt
/net/corpora/nlnieuws/namen.sh -x C -s $corpus.data.dz > $corpus.cat.txt
/net/corpora/nlnieuws/namen.sh -x T -s $corpus.data.dz > $corpus.tag.txt
cd ../..
rm -fr out

View File

@@ -57,7 +57,7 @@ cd xml
alto -o $corpus.data.dz *.xml 2> /dev/null
# telling per bericht, niet per zin
/net/corpora/nlnieuws/namen.sh -x 10 -s $corpus.data.dz > $corpus.tag.txt
/net/corpora/nlnieuws/namen.sh -x T -s $corpus.data.dz > $corpus.tag.txt
cd ../..
rm -fr out

View File

@@ -59,7 +59,7 @@ cd xml
alto -o $corpus.data.dz *.xml 2> /dev/null
# telling per bericht, niet per zin
/net/corpora/nlnieuws/namen.sh -x 10 -s $corpus.data.dz > $corpus.tag.txt
/net/corpora/nlnieuws/namen.sh -x T -s $corpus.data.dz > $corpus.tag.txt
cd ../..
rm -fr out

View File

@@ -59,7 +59,7 @@ cd xml
alto -o $corpus.data.dz *.xml 2> /dev/null
# telling per bericht, niet per zin
/net/corpora/nlnieuws/namen.sh -x 10 -s $corpus.data.dz > $corpus.tag.txt
/net/corpora/nlnieuws/namen.sh -x T -s $corpus.data.dz > $corpus.tag.txt
cd ../..
rm -fr out

View File

@@ -59,7 +59,7 @@ cd xml
alto -o $corpus.data.dz *.xml 2> /dev/null
# telling per bericht, niet per zin
/net/corpora/nlnieuws/namen.sh -x 10 -s $corpus.data.dz > $corpus.tag.txt
/net/corpora/nlnieuws/namen.sh -x T -s $corpus.data.dz > $corpus.tag.txt
cd ../..
rm -fr out

View File

@@ -59,7 +59,7 @@ cd xml
alto -o $corpus.data.dz *.xml 2> /dev/null
# telling per bericht, niet per zin
/net/corpora/nlnieuws/namen.sh -x 10 -s $corpus.data.dz > $corpus.tag.txt
/net/corpora/nlnieuws/namen.sh -x T -s $corpus.data.dz > $corpus.tag.txt
cd ../..
rm -fr out

View File

@@ -57,8 +57,8 @@ cd xml
alto -o $corpus.data.dz *.xml 2> /dev/null
# telling per bericht, niet per zin
/net/corpora/nlnieuws/namen.sh -x 9 -s $corpus.data.dz > $corpus.cat.txt
/net/corpora/nlnieuws/namen.sh -x 10 -s $corpus.data.dz > $corpus.tag.txt
/net/corpora/nlnieuws/namen.sh -x C -s $corpus.data.dz > $corpus.cat.txt
/net/corpora/nlnieuws/namen.sh -x T -s $corpus.data.dz > $corpus.tag.txt
cd ../..
rm -fr out

View File

@@ -7,8 +7,8 @@ usage() {
echo "
gebruik:
$PROGNAME [opties] -x 1..8 -i
$PROGNAME [opties] -x 1..8 corpusfile(s) en/of corpusdirectory(s)
$PROGNAME [opties] -x 1..10 -i
$PROGNAME [opties] -x 1..10 corpusfile(s) en/of corpusdirectory(s)
-x : query
@@ -116,13 +116,13 @@ case $XN in
TEMPLATE='tt:%w\t%P'
XVALID=1
;;
9)
9|C)
# categorieën
EXPR='fp://meta[@name="cat"]/@value'
TEMPLATE='tt:%m'
XVALID=1
;;
10)
10|T)
# tags
EXPR='fp://meta[@name="tag"]/@value'
TEMPLATE='tt:%m'