def method2pos(method):
if method in ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>pos = ['<STR_LIT>']<EOL><DEDENT>elif method in ('<STR_LIT>',):<EOL><INDENT>pos = ['<STR_LIT>']<EOL><DEDENT>elif method in ('<STR_LIT>'):<EOL><INDENT>pos = ['<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>pos = ['<STR_LIT:*>']<EOL><DEDENT>return pos<EOL>
Returns a list of valid POS-tags for a given method.