mflbackend/src/helpers.py
def read_pos(lexconf):
    " Return a list of pos tags, either from the parameters or the config "
    pos = request.args.get('pos', '')
    partofspeech = request.args.get('partOfSpeech', lexconf['defaultpos'])
    pos = pos or partofspeech
    return pos.split(',')
 Return a list of pos tags, either from the parameters or the config 
Return a list of pos tags, either from the parameters or the config
Return a list of pos tags either from the parameters or the config
def read_pos(lexconf):
    pos = request.args.get('pos', '')
    partofspeech = request.args.get('partOfSpeech', lexconf['defaultpos'])
    pos = pos or partofspeech
    return pos.split(',')
def read_pos ( lexconf ) : pos = request . args . get ( 'pos' , '' ) partofspeech = request . args . get ( 'partOfSpeech' , lexconf [ 'defaultpos' ] ) pos = pos or partofspeech return pos . split ( ',' )
Return a list of pos tags, either from the parameters or the config
Return a list of pos tags either from the parameters or the config
" Return a list of pos tags, either from the parameters or the config "
lexconf