Description Usage Arguments Value Author(s) References See Also Examples
This function provides a basic single term stemmer for Spanish using apicultur's "LematizadorClasico" API (see references below). Given a term in Spanish, it returns a list of possible lemmas it may derive from.
1 | lematiza(conexion, termino)
|
conexion |
apicultuR connexion string as created by the |
termino |
a single term (character string) to be stemmed |
It returns a data frame with the following columns:
lema |
lemma from which |
categoria |
coded POS (part of speech) corresponding to the lemma |
categoriaSimple |
alternative coded categorization of POS |
The correspondence of POS codes and their descriptions can be found at http://www.apicultur.com/codigos-de-categorias-gramaticales/.
Carlos J. Gil Bellosta
http://www.apicultur.com/lematizadorclasico-documentacion/
1 2 3 4 5 6 7 | ## Not run:
apicultur <- conexion.apicultur("8FRk...oa")
lematiza(apicultur, "casas")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.