ДалееСледующее руководство
Кросс-энкодеры против би-энкодеров
Языковой ИИ
РУКОВОДСТВО ПО ЯЗЫКУ ИИ
Stemming and lemmatization normalize related word forms for tasks such as search and text analysis.
Прослушайте это руководствоОзвучено ИИ · ~2 min
Stemmers apply heuristics and may return non-words; lemmatizers use morphological information and context to select a dictionary form.
Stemming and lemmatization are distinct normalization methods. A stemmer applies rules such as suffix removal and can produce a fragment that is not a dictionary word; for example, the Porter stemmer maps “studies” to “studi”. A lemmatizer aims to return a dictionary lemma using vocabulary and morphological analysis, often informed by part of speech. Context matters: a system may map comparative adjective “better” to “good”, while the appropriate normalization depends on the token’s role and the tool’s rules. Both methods can reduce variation for indexing, but can also collapse distinctions. Subword tokenization is a separate technique: byte-pair encoding merges frequent adjacent symbols to build subword units, which neural translation systems can use to represent rare or unknown words. WordNet’s Morphy documentation describes exception lists and part-of-speech-specific morphology rules for mapping inflected forms to base forms. With the comparative adjective reading, “better” may map to “good” in a lexicon-based lemmatizer; behavior depends on the resource, POS, and context.
Поисковые системы индексируют слова «connect», «connected» и «connection» под одной основой, поэтому запрос соответствует им всем.
Классификаторы спама и настроений уменьшают размер словарного запаса, чтобы уменьшить разреженность данных.
Поиск юридических или медицинских документов с использованием лемматизации для сопоставления слов «диагноз» и «поставлен диагноз».
Построение частотного анализа слов, при котором изменяемые формы объединяются в базовые леммы.
Subword tokenization and contextual models are used in some neural pipelines to represent rare or open-vocabulary words, while stemming and lemmatization remain useful in other search and text-analysis systems. They solve different problems; choose and evaluate normalization for the language and task.
Бесплатная рассылка
Три проверенных AI-истории каждое утро буднего дня, написанные простым английским. Бесплатно навсегда, без рекламы.
Одно электронное письмо каждый будний день. Отписаться в один клик. Мы никогда не продаем и не передаем ваш адрес.
Проверьте себя
Мгновенная обратная связь по каждому ответу и общий сертификат с проверяемым идентификатором после прохождения курса.
Поддержите бесплатное образование в области искусственного интеллекта. AI Understanding — это некоммерческая организация 501(c)(3). Никакой рекламы и платного доступа. Сделать пожертвование
Stemming and lemmatization normalize related word forms for tasks such as search and text analysis. Stemmers apply heuristics and may return non-words; lemmatizers use morphological information and context to select a dictionary form.
Суффиксы отбивных с использованием эвристики могут давать не слова; лемматизация использует лексикон и POS для возврата допустимых базовых форм.
Стеммер Портера удаляет суффикс и дает слово «studi», которое не является настоящим словом, иллюстрируя, что основы не обязательно должны быть действительными словами.
WordNet Morphy handles irregular forms through part-of-speech-specific exception lists as well as suffix rules. For the comparative adjective “better,” a lemmatizer with the relevant lexical and POS information may return “good”; tools and contexts can differ.
Такие слова, как «видел», отображаются по-разному в зависимости от того, являются ли они существительным или глаголом, поэтому POS определяет выбор леммы.
Стемминг использует быструю эвристику, обменивая точность на скорость, тогда как лемматизация более точна, но тяжелее.
Продолжайте учиться
Другие руководства, выбранные по этой теме
ДалееСледующее руководство
Кросс-энкодеры против би-энкодеров
Языковой ИИ