<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def method2pos(method):
	''' Returns a list of valid POS-tags for a given method. '''

	if method in ('articles', 'plural', 'miniaturize', 'gender'):
		pos = ['NN']
	elif method in ('conjugate',):
		pos = ['VB']
	elif method in ('comparative, superlative'):
		pos = ['JJ']
	else:
		pos = ['*']
	return pos