mflbackend/src/backend.py
def all_pos():
    " Show all part of speech tags that the lexicon use "
    lexicon = request.args.get('lexicon', C.config['default'])
    # authentication is only needed when karp is not involved
    helpers.authenticate(lexicon, 'read')
    # TODO also give combined info about tags in (the karp) lexicon
    # that are not shown in mfl?
    logging.debug('ok %s', list(paradigmdict[lexicon].keys()))
    return jsonify({"partOfSpeech": list(paradigmdict[lexicon].keys())})
 Show all part of speech tags that the lexicon use 
Show all part of speech tags that the lexicon use
Show all part of speech tags that the lexicon use
def all_pos():
    lexicon = request.args.get('lexicon', C.config['default'])
    helpers.authenticate(lexicon, 'read')
    logging.debug('ok %s', list(paradigmdict[lexicon].keys()))
    return jsonify({"partOfSpeech": list(paradigmdict[lexicon].keys())})
def all_pos ( ) : lexicon = request . args . get ( 'lexicon' , C . config [ 'default' ] ) helpers . authenticate ( lexicon , 'read' ) logging . debug ( 'ok %s' , list ( paradigmdict [ lexicon ] . keys ( ) ) ) return jsonify ( { "partOfSpeech" : list ( paradigmdict [ lexicon ] . keys ( ) ) } )
Show all part of speech tags that the lexicon use
Show all part of speech tags that the lexicon use
" Show all part of speech tags that the lexicon use " # authentication is only needed when karp is not involved # TODO also give combined info about tags in (the karp) lexicon # that are not shown in mfl?