@his="normal" weg
This commit is contained in:
@@ -55,28 +55,28 @@ do
|
|||||||
# score nieuw-extra-$ds-$i > nieuw-extra-$ds-$i.score
|
# score nieuw-extra-$ds-$i > nieuw-extra-$ds-$i.score
|
||||||
|
|
||||||
alto \
|
alto \
|
||||||
'fp://node[(@neclass="LOC" and @his="normal" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="LOC"] and @his="normal")]' \
|
'fp://node[(@neclass="LOC" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="LOC"])]' \
|
||||||
tt:%l $files | sort | uniq -c | grep -v '^ *1 ' | sed -e 's/\([0-9]\) */\1\t/' | \
|
tt:%l $files | sort | uniq -c | grep -v '^ *1 ' | sed -e 's/\([0-9]\) */\1\t/' | \
|
||||||
sort -f -k 2 | sort -n -r -k 1,1 -s > locaties-$ds-$i
|
sort -f -k 2 | sort -n -r -k 1,1 -s > locaties-$ds-$i
|
||||||
|
|
||||||
# score locaties-$ds-$i > locaties-$ds-$i.score
|
# score locaties-$ds-$i > locaties-$ds-$i.score
|
||||||
|
|
||||||
alto \
|
alto \
|
||||||
'fp://node[(@neclass="PER" and @his="normal" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="PER"] and @his="normal")]' \
|
'fp://node[(@neclass="PER" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="PER"])]' \
|
||||||
tt:%l $files | sort | uniq -c | grep -v '^ *1 ' | sed -e 's/\([0-9]\) */\1\t/' | \
|
tt:%l $files | sort | uniq -c | grep -v '^ *1 ' | sed -e 's/\([0-9]\) */\1\t/' | \
|
||||||
sort -f -k 2 | sort -n -r -k 1,1 -s > personen-$ds-$i
|
sort -f -k 2 | sort -n -r -k 1,1 -s > personen-$ds-$i
|
||||||
|
|
||||||
# score personen-$ds-$i > personen-$ds-$i.score
|
# score personen-$ds-$i > personen-$ds-$i.score
|
||||||
|
|
||||||
alto \
|
alto \
|
||||||
'fp://node[(@neclass="ORG" and @his="normal" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="ORG"] and @his=" normal")]' \
|
'fp://node[(@neclass="ORG" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="ORG"])]' \
|
||||||
tt:%l $files | sort | uniq -c | grep -v '^ *1 ' | sed -e 's/\([0-9]\) */\1\t/' | \
|
tt:%l $files | sort | uniq -c | grep -v '^ *1 ' | sed -e 's/\([0-9]\) */\1\t/' | \
|
||||||
sort -f -k 2 | sort -n -r -k 1,1 -s > organisaties-$ds-$i
|
sort -f -k 2 | sort -n -r -k 1,1 -s > organisaties-$ds-$i
|
||||||
|
|
||||||
# score organisaties-$ds-$i > organisaties-$ds-$i.score
|
# score organisaties-$ds-$i > organisaties-$ds-$i.score
|
||||||
|
|
||||||
alto \
|
alto \
|
||||||
'fp://node[(@neclass="MISC" and @his="normal" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="MISC"] and @his="normal")]' \
|
'fp://node[(@neclass="MISC" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="MISC"])]' \
|
||||||
tt:%l $files | sort | uniq -c | grep -v '^ *1 ' | sed -e 's/\([0-9]\) */\1\t/' | \
|
tt:%l $files | sort | uniq -c | grep -v '^ *1 ' | sed -e 's/\([0-9]\) */\1\t/' | \
|
||||||
sort -f -k 2 | sort -n -r -k 1,1 -s > overigen-$ds-$i
|
sort -f -k 2 | sort -n -r -k 1,1 -s > overigen-$ds-$i
|
||||||
|
|
||||||
|
|||||||
16
namen.sh
16
namen.sh
@@ -83,26 +83,26 @@ case $XN in
|
|||||||
XVALID=1
|
XVALID=1
|
||||||
;;
|
;;
|
||||||
4)
|
4)
|
||||||
# bestaande locaties
|
# bestaande en nieuwe locaties
|
||||||
EXPR='fp://node[(@neclass="LOC" and @his="normal" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="LOC"] and @his="normal")]'
|
EXPR='fp://node[(@neclass="LOC" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="LOC"])]'
|
||||||
TEMPLATE='tt:%l'
|
TEMPLATE='tt:%l'
|
||||||
XVALID=1
|
XVALID=1
|
||||||
;;
|
;;
|
||||||
5)
|
5)
|
||||||
# bestaande personen
|
# bestaande en nieuwe personen
|
||||||
EXPR='fp://node[(@neclass="PER" and @his="normal" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="PER"] and @his="normal")]'
|
EXPR='fp://node[(@neclass="PER" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="PER"])]'
|
||||||
TEMPLATE='tt:%l'
|
TEMPLATE='tt:%l'
|
||||||
XVALID=1
|
XVALID=1
|
||||||
;;
|
;;
|
||||||
6)
|
6)
|
||||||
# bestaande organisaties
|
# bestaande en nieuwe organisaties
|
||||||
EXPR='fp://node[(@neclass="ORG" and @his="normal" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="ORG"] and @his="normal")]'
|
EXPR='fp://node[(@neclass="ORG" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="ORG"])]'
|
||||||
TEMPLATE='tt:%l'
|
TEMPLATE='tt:%l'
|
||||||
XVALID=1
|
XVALID=1
|
||||||
;;
|
;;
|
||||||
7)
|
7)
|
||||||
# bestaande andere namen (boeken, films, events, .. )
|
# bestaande en nieuwe andere namen (boeken, films, events, .. )
|
||||||
EXPR='fp://node[(@neclass="MISC" and @his="normal" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="MISC"] and @his="normal")]'
|
EXPR='fp://node[(@neclass="MISC" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="MISC"])]'
|
||||||
TEMPLATE='tt:%l'
|
TEMPLATE='tt:%l'
|
||||||
XVALID=1
|
XVALID=1
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user