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,15 +355,15 @@
"man": {},
"man, elderly": {},
"woman": {},
"woman, elderly": {}
},
"animal": {
"bird": {},
"cat": {},
"dog": {},
"fish": {},
"moth": {},
"hamster": {}
"woman, elderly": {},
"animal": {
"bird": {},
"cat": {},
"dog": {},
"fish": {},
"moth": {},
"hamster": {}
},
},
"type": {
"analogist": {},

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