clarin.sru.fcs.constants¶
Various useful constants for CLARIN-FCS endpoints.
- class clarin.sru.fcs.constants.FCSDiagnostics(value)[source]¶
-
An enumeration.
- PERSISTENT_IDENTIFIER_INVALID = 'http://clarin.eu/fcs/diagnostic/1'¶
- RESOURCE_TOO_LARGE_CONTEXT_ADJUSTED = 'http://clarin.eu/fcs/diagnostic/2'¶
- RESOURCE_TOO_LARGE_CANNOT_PERFORM_QUERY = 'http://clarin.eu/fcs/diagnostic/3'¶
- REQUESTED_DATA_VIEW_INVALID = 'http://clarin.eu/fcs/diagnostic/4'¶
- GENERAL_QUERY_SYNTAX_ERROR = 'http://clarin.eu/fcs/diagnostic/10'¶
- GENERAL_QUERY_TOO_COMPLEX_CANNOT_PERFORM_QUERY = 'http://clarin.eu/fcs/diagnostic/11'¶
- QUERY_WAS_REWRITTEN = 'http://clarin.eu/fcs/diagnostic/12'¶
- GENERAL_PROCESSING_HINT = 'http://clarin.eu/fcs/diagnostic/13'¶
- class clarin.sru.fcs.constants.FCSQueryType(value)[source]¶
-
An enumeration.
- FCS = 'fcs'¶
- CQL = 'cql'¶
- SEARCH_TERMS = 'searchTerms'¶
- class clarin.sru.fcs.constants.FCSLayerType(value)[source]¶
-
An enumeration.
- TEXT = 'text'¶
Textual representation of resource, also the layer that is used in Basic Search, String
- LEMMA = 'lemma'¶
Lemmatisation, String
- POS = 'pos'¶
Part-of-Speech annotations, Universal POS tags
- ORTH = 'orth'¶
Orthographic transcription of (mostly) spoken resources, String
- NORM = 'norm'¶
Orthographic normalization of (mostly) spoken resources, String
- PHONETIC = 'phonetic'¶
Phonetic transcription, SAMPA
- class clarin.sru.fcs.constants.FCSDataViewNamespaces(value)[source]¶
-
An enumeration.
- HITS = 'http://clarin.eu/fcs/dataview/hits'¶
- KWIC = 'http://clarin.eu/fcs/1.0/kwic'¶
- ADV = 'http://clarin.eu/fcs/dataview/advanced'¶
- class clarin.sru.fcs.constants.Capabilities(value)[source]¶
-
An enumeration.
- BASIC_SEARCH = 'http://clarin.eu/fcs/capability/basic-search'¶
- ADVANCED_SEARCH = 'http://clarin.eu/fcs/capability/advanced-search'¶
- class clarin.sru.fcs.constants.FCSAuthenticationParam(value)[source]¶
-
An enumeration.
- ENABLE = 'eu.clarin.sru.server.fcs.authentication.enable'¶
- AUDIENCE = 'eu.clarin.sru.server.fcs.authentication.audience'¶
- IGNORE_ISSUEDAT = 'eu.clarin.sru.server.fcs.authentication.ignoreIssuedAt'¶
- ACCEPT_ISSUEDAT = 'eu.clarin.sru.server.fcs.authentication.acceptIssuedAt'¶
- ACCEPT_EXPIRESAT = 'eu.clarin.sru.server.fcs.authentication.acceptExpiresAt'¶
- ACCEPT_NOTBEFORE = 'eu.clarin.sru.server.fcs.authentication.acceptNotBefore'¶
- PUBLIC_KEY_PREFIX = 'eu.clarin.sru.server.fcs.authentication.key.'¶