Skip to content

ngram

Fast n-Gram 'Tokenization'

v3.2.3 · Dec 10, 2023 · BSD 2-clause License + file LICENSE

Description

An n-gram is a sequence of n "words" taken, in order, from a body of text. This is a collection of utilities for creating, displaying, summarizing, and "babbling" n-grams. The 'tokenization' and "babbling" are handled by very efficient C code, which can even be built as its own standalone library. The babbler is a simple Markov chain. The package also offers a vignette with complete example 'workflows' and information about the utilities offered in the package.

Downloads

1.1K

Last 30 days

3604th

4.7K

Last 90 days

39.3K

Last year

Trend: -25.2% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Drew Schmidt <wrathematics@gmail.com>’

Found the following (possibly) invalid file URI:
  URI: openclipart.org
    From: inst/doc/ngram-guide.pdf
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Drew Schmidt <wrathematics@gmail.com>’

Found the following (possibly) invalid file URI:
  URI: openclipart.org
    From: inst/doc/ngram-guide.pdf

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Drew Schmidt <wrathematics@gmail.com>’

Found the following (possibly) invalid file URI:
  URI: openclipart.org
    From: inst/doc/ngram-guide.pdf
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Drew Schmidt <wrathematics@gmail.com>’

Found the following (possibly) invalid file URI:
  URI: openclipart.org
    From: inst/doc/ngram-guide.pdf

Reverse Dependencies (5)

suggests

Dependency Network

Dependencies Reverse dependencies MadanTextNetwork discoverableresearch revtools ulex daiR ngram

Version History

new 3.2.3 Mar 10, 2026
updated 3.2.3 ← 3.2.2 diff Dec 9, 2023
updated 3.2.2 ← 3.2.1 diff Oct 30, 2022
updated 3.2.1 ← 3.2.0 diff Mar 13, 2022
updated 3.2.0 ← 3.0.4 diff Oct 30, 2021
updated 3.0.4 ← 3.0.3 diff Nov 20, 2017
updated 3.0.3 ← 3.0.2 diff Mar 23, 2017
updated 3.0.2 ← 3.0.1 diff Jan 16, 2017
updated 3.0.1 ← 3.0.0 diff Jul 12, 2016
updated 3.0.0 ← 1.1 diff May 9, 2016
updated 1.1 ← 1.0 diff Jun 24, 2014
new 1.0 Jun 22, 2014