Skip to content
Snippets Groups Projects
Commit be5a985d authored by Konstantin Baierer's avatar Konstantin Baierer
Browse files

record whether CLI is OCR-D spec-compliant

parent f237dd78
No related branches found
No related tags found
No related merge requests found
...@@ -4,23 +4,32 @@ repodir: /data/ocrd_all ...@@ -4,23 +4,32 @@ repodir: /data/ocrd_all
repolist: repolist:
- url: https://github.com/ASVLeipzig/cor-asv-ann - url: https://github.com/ASVLeipzig/cor-asv-ann
official: true official: true
compliant_cli: true
- url: https://github.com/ASVLeipzig/cor-asv-fst - url: https://github.com/ASVLeipzig/cor-asv-fst
official: true official: true
compliant_cli: true
- url: https://github.com/OCR-D/ocrd_calamari - url: https://github.com/OCR-D/ocrd_calamari
compliant_cli: true
- url: https://github.com/OCR-D/ocrd_im6convert - url: https://github.com/OCR-D/ocrd_im6convert
compliant_cli: true
- url: https://github.com/OCR-D/ocrd_keraslm - url: https://github.com/OCR-D/ocrd_keraslm
- url: https://github.com/OCR-D/ocrd_kraken - url: https://github.com/OCR-D/ocrd_kraken
- url: https://github.com/OCR-D/ocrd_ocropy - url: https://github.com/OCR-D/ocrd_ocropy
- url: https://github.com/OCR-D/ocrd_olena - url: https://github.com/OCR-D/ocrd_olena
compliant_cli: true
- url: https://github.com/OCR-D/ocrd_segment - url: https://github.com/OCR-D/ocrd_segment
compliant_cli: true
- url: https://github.com/OCR-D/ocrd_tesserocr - url: https://github.com/OCR-D/ocrd_tesserocr
official: true official: true
compliant_cli: true
- url: https://github.com/cisocrgroup/ocrd_cis - url: https://github.com/cisocrgroup/ocrd_cis
official: true official: true
compliant_cli: true
- url: https://github.com/mjenckel/LAYoutERkennung - url: https://github.com/mjenckel/LAYoutERkennung
official: true official: true
- url: https://github.com/ocr-d-modul-2-segmentierung/segmentation-runner - url: https://github.com/ocr-d-modul-2-segmentierung/segmentation-runner
official: true official: true
compliant_cli: false
- url: https://github.com/qurator-spk/dinglehopper - url: https://github.com/qurator-spk/dinglehopper
- url: https://github.com/qurator-spk/pixelwise_segmentation_SBB - url: https://github.com/qurator-spk/pixelwise_segmentation_SBB
- url: https://github.com/seuretm/ocrd_typegroups_classifier - url: https://github.com/seuretm/ocrd_typegroups_classifier
......
...@@ -10,11 +10,12 @@ LOG = getLogger('kwalitee.repo') ...@@ -10,11 +10,12 @@ LOG = getLogger('kwalitee.repo')
class Repo(): class Repo():
def __init__(self, config, url, official=False): def __init__(self, config, url, official=False, compliant_cli=False):
self.url = url self.url = url
self.config = config self.config = config
self.name = Path(url).name self.name = Path(url).name
self.official = official self.official = official
self.compliant_cli = compliant_cli
self.path = Path(self.config['repodir'], self.name) self.path = Path(self.config['repodir'], self.name)
def __str__(self): def __str__(self):
...@@ -75,6 +76,7 @@ class Repo(): ...@@ -75,6 +76,7 @@ class Repo():
desc = {} desc = {}
desc['url'] = self.url desc['url'] = self.url
desc['official'] = self.official desc['official'] = self.official
desc['compliant_cli'] = self.compliant_cli
desc['org_plus_name'] = '/'.join(self.url.split('/')[-2:]) desc['org_plus_name'] = '/'.join(self.url.split('/')[-2:])
desc['name'] = self.name desc['name'] = self.name
desc['files'] = self.get_file_contents() desc['files'] = self.get_file_contents()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment