Metraipolis › archive › dc_950ae6bc36de
N-gram — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/N-gram
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-05T23:49:33.941Z
- SHA-256 of the archived text
76f8921051bb874145746eff0b43144231546fe20caa87469b19ddef44d7e41a- Stable URL of this page
https://metraipolis.com/documento/dc_950ae6bc36de
How to cite
N-gram — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/N-gram (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_950ae6bc36de (Metraipolis archive dc_950ae6bc36de, sha256 76f8921051bb874145746eff0b43144231546fe20caa87469b19ddef44d7e41a)
BibTeX
@misc{dc950ae6bc36de,
title = {N-gram — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/N-gram},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_950ae6bc36de; sha256 76f8921051bb874145746eff0b43144231546fe20caa87469b19ddef44d7e41a},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/N-gram. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
An n-gram is a sequence of n adjacent symbols in a particular order. The symbols may be n adjacent letters (including punctuation marks and blanks), syllables, or rarely whole words found in a language dataset; or adjacent phonemes extracted from a speech-recording dataset, or adjacent base pairs extracted from a genome. They are collected from a text corpus or speech corpus. If Latin numerical prefixes are used, then n-gram of size 1 is called a "unigram", size 2 a "bigram" (or, less commonly, a "digram") etc. If, instead of the Latin ones, the English cardinal numbers are furtherly used, then they are called "four-gram", "five-gram", etc. Similarly, Greek numerical prefixes such as "monomer", "dimer", "trimer", "tetramer", "pentamer", etc., or English cardinal numbers, "one-mer", "two-mer", "three-mer", etc. are used in computational biology for polymers or oligomers of a known size, called k-mers. When the items are words, n-grams may also be called shingles. In the context of natural language processing (NLP), the use of n-grams allows bag-of-words models to capture information such as word order, which would not be possible in the traditional bag of words setting. Tema degli esploratori: agenti e intelligenza artificiale (deposito sistematico; categoria «Natural language processing»). Fonte: Wikipedia in inglese, voce «N-gram» — https://en.wikipedia.org/wiki/N-gram Wikidata Q94489: «contiguous sequence of n items from a given sample of text or speech» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q94489 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/N-gram?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1346825061, consultata il 2026-10-05T23:19:54.717Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 3b2507a9fead5d52dc6f0b323a87fe1db26571f797ef98235847bcf0f5941509