ignore blue

This commit is contained in:
j 2018-08-10 14:28:36 +01:00
parent 7dd06a2fbd
commit 3fd2380475
2 changed files with 11 additions and 9 deletions

View file

@ -355,8 +355,7 @@
"man": {},
"man, elderly": {},
"woman": {},
"woman, elderly": {}
},
"woman, elderly": {},
"animal": {
"bird": {},
"cat": {},
@ -365,6 +364,7 @@
"moth": {},
"hamster": {}
},
},
"type": {
"analogist": {},
"animist": {},

View file

@ -21,6 +21,8 @@ for annotation in api.findAnnotations({
'keys': ['id', 'in', 'out', 'value', 'user', 'created'],
'range': [0, 500000]
})['data']['items']:
if annotatoin['id'].startswith('BA/'):
continue
keyword = annotation['value']
if ': ' not in keyword:
keyword = 'other: ' + keyword