def getNounVerb(rhinoMorph, rn, data, eomi=True, combineN=False):
    """명사류와 동사류를 가지고 옵니다"""
    morphed_data_NNGNNP = ''
    morphed_data_VVVAXR = ''
    for data_each in data:
        morphs, poses = rhinoMorph.wholeResult_list(rn, data_each, eomi=
            eomi, combineN=combineN)
        NNGNNP = []
        VVVAXR = []
        for i, pose in enumerate(poses):
            if pose == 'NNG' or pose == 'NNP' or pose == 'NP' or pose == 'XR':
                NNGNNP.append(morphs[i] + ' ')
            elif pose == 'VV' or pose == 'VA' or pose == 'XR' or pose == 'VX' or pose == 'VCP' or pose == 'VCN':
                VVVAXR.append(morphs[i] + ' ')
        joined_data_each_NNGNNP = ' '.join(NNGNNP)
        joined_data_each_VVVAXR = ' '.join(VVVAXR)
        if joined_data_each_NNGNNP:
            morphed_data_NNGNNP += joined_data_each_NNGNNP
        if joined_data_each_VVVAXR:
            morphed_data_VVVAXR += joined_data_each_VVVAXR
    return morphed_data_NNGNNP, morphed_data_VVVAXR
