.. index:: single: lemmatizer(Representation,Language)
.. _lemmatizer/2:

.. rst-class:: right

**object**

``lemmatizer(Representation,Language)``
=======================================

* ``Representation`` - Word representation. Valid values are ``atom``, ``codes``, and ``chars``.
* ``Language`` - Object implementing the ``lemmatizer_language_protocol`` protocol.


Lemmatizer parameterized by text representation and language provider.

| **Availability:** 
|    ``logtalk_load(lemmatization(loader))``

| **Author:** Paulo Moura
| **Version:** 1:0:0
| **Date:** 2026-09-08

| **Compilation flags:**
|    ``static, context_switching_calls``


| **Implements:**
|    ``public`` :ref:`lemmatizer_protocol <lemmatizer_protocol/0>`
| **Imports:**
|    ``public`` :ref:`options <options/0>`
| **Uses:**
|    :ref:`list <list/0>`
|    :ref:`string(Representation) <string/1>`
|    :ref:`type <type/0>`

| **Remarks:**
|    (none)

| **Inherited public predicates:**
|     :ref:`options_protocol/0::check_option/1`  :ref:`options_protocol/0::check_options/1`  :ref:`options_protocol/0::default_option/1`  :ref:`options_protocol/0::default_options/1`  :ref:`lemmatizer_protocol/0::lemma/2`  :ref:`lemmatizer_protocol/0::lemma/3`  :ref:`lemmatizer_protocol/0::lemmas/2`  :ref:`lemmatizer_protocol/0::lemmas/3`  :ref:`options_protocol/0::option/2`  :ref:`options_protocol/0::option/3`  :ref:`options_protocol/0::valid_option/1`  :ref:`options_protocol/0::valid_options/1`  

.. contents::
   :local:
   :backlinks: top

Public predicates
-----------------

(no local declarations; see entity ancestors if any)

Protected predicates
--------------------

(no local declarations; see entity ancestors if any)

Private predicates
------------------

(no local declarations; see entity ancestors if any)

Operators
---------

(none)

.. seealso::

   :ref:`lemmatizer_protocol <lemmatizer_protocol/0>`, :ref:`lemmatizer_language_protocol <lemmatizer_language_protocol/0>`

