getLemma               package:wordnet               R Documentation

_G_e_t _I_n_d_e_x _T_e_r_m _L_e_m_m_a

_D_e_s_c_r_i_p_t_i_o_n:

     Retrieve the lemma (i.e., word) of an index term.

_U_s_a_g_e:

     getLemma(indexterm)

_A_r_g_u_m_e_n_t_s:

indexterm: The index term whose lemma is returned.

_V_a_l_u_e:

     A character vector holding the index term lemma.

_A_u_t_h_o_r(_s):

     Ingo Feinerer

_R_e_f_e_r_e_n_c_e_s:

     M. Wallace (2007). Jawbone Java WordNet API. <URL:
     http://mfwallace.googlepages.com/jawbone.html>

_S_e_e _A_l_s_o:

     'getIndexTerms'

_E_x_a_m_p_l_e_s:

     if (initDict()) {
       filter <- getTermFilter("StartsWithFilter", "car", TRUE)
       terms <- getIndexTerms("NOUN", 5, filter)
       sapply(terms, getLemma)
     }

