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

View file

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