2019-07-19 11:28:17 +00:00
|
|
|
from flask import Blueprint
|
|
|
|
|
|
|
|
|
2021-02-19 12:00:52 +00:00
|
|
|
SERVICES = {
|
|
|
|
'corpus_analysis': {
|
|
|
|
'name': 'Corpus analysis'
|
|
|
|
},
|
2021-05-27 11:05:46 +00:00
|
|
|
'file_setup': {
|
2021-02-19 12:00:52 +00:00
|
|
|
'name': 'File setup',
|
|
|
|
'versions': {
|
2021-04-14 10:00:09 +00:00
|
|
|
'latest': '1.0.0b',
|
|
|
|
'1.0.0b': {
|
2021-02-19 12:00:52 +00:00
|
|
|
'publishing_data': {
|
|
|
|
'date': None,
|
|
|
|
'title': 'nopaque File setup service',
|
2021-04-14 10:00:09 +00:00
|
|
|
'url': 'https://gitlab.ub.uni-bielefeld.de/sfb1288inf/file-setup/-/tree/1.0.0b', # noqa
|
2021-02-19 12:00:52 +00:00
|
|
|
'version': '1.0.0'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
'nlp': {
|
|
|
|
'name': 'Natural Language Processing',
|
|
|
|
'versions': {
|
2021-04-14 10:00:09 +00:00
|
|
|
'latest': '1.0.0b',
|
|
|
|
'1.0.0b': {
|
2021-02-19 12:00:52 +00:00
|
|
|
'check_encoding': True,
|
2021-03-26 12:10:42 +00:00
|
|
|
'models': {
|
|
|
|
'de': 'German',
|
|
|
|
'en': 'English',
|
|
|
|
'it': 'Italian',
|
|
|
|
'nl': 'Dutch',
|
|
|
|
'pl': 'Polish',
|
|
|
|
'zh': 'Chinese'
|
|
|
|
},
|
2021-02-19 12:00:52 +00:00
|
|
|
'publishing_data': {
|
|
|
|
'date': None,
|
|
|
|
'title': 'nopaque NLP service',
|
2021-04-14 10:00:09 +00:00
|
|
|
'url': 'https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nlp/-/tree/1.0.0b', # noqa
|
2021-02-19 12:00:52 +00:00
|
|
|
'version': '1.0.0'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
'ocr': {
|
|
|
|
'name': 'Optical Character Recognition',
|
|
|
|
'versions': {
|
2021-04-14 10:00:09 +00:00
|
|
|
'latest': '1.0.0b',
|
|
|
|
'1.0.0b': {
|
2021-02-19 12:00:52 +00:00
|
|
|
'binarization': True,
|
|
|
|
'models': {
|
2021-03-26 12:10:42 +00:00
|
|
|
'ara': 'Arabic',
|
|
|
|
'chi_tra': 'Chinese - Traditional',
|
|
|
|
'dan': 'Danish',
|
2021-02-19 12:00:52 +00:00
|
|
|
'eng': 'English',
|
|
|
|
'enm': 'English, Middle 1100-1500',
|
|
|
|
'fra': 'French',
|
|
|
|
'frm': 'French, Middle ca. 1400-1600',
|
|
|
|
'deu': 'German',
|
|
|
|
'frk': 'German Fraktur',
|
2021-03-26 12:10:42 +00:00
|
|
|
'ell': 'Greek, Modern (1453-)',
|
2021-02-19 12:00:52 +00:00
|
|
|
'ita': 'Italian',
|
|
|
|
'por': 'Portuguese',
|
2021-03-26 12:10:42 +00:00
|
|
|
'rus': 'Russian',
|
2021-02-19 12:00:52 +00:00
|
|
|
'spa': 'Spanish; Castilian',
|
|
|
|
},
|
|
|
|
'publishing_data': {
|
|
|
|
'date': None,
|
|
|
|
'title': 'nopaque OCR service',
|
2021-04-14 10:00:09 +00:00
|
|
|
'url': 'https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr/-/tree/1.0.0b', # noqa
|
2021-02-19 12:00:52 +00:00
|
|
|
'version': '1.0.0'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2019-11-12 12:36:22 +00:00
|
|
|
services = Blueprint('services', __name__)
|
2020-11-13 09:01:51 +00:00
|
|
|
from . import views
|