Other packages > Find by keyword >

ngram  

Fast n-Gram 'Tokenization'
View on CRAN: Click here


Download and install ngram package within the R console
Install from CRAN:
install.packages("ngram")

Install from Github:
library("remotes")
install_github("cran/ngram")

Install by package version:
library("remotes")
install_version("ngram", "3.2.3")



Attach the package and use:
library("ngram")
Maintained by
Drew Schmidt
[Scholar Profile | Author Map]
First Published: 2014-06-23
Latest Update: 2023-12-10
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.
How to cite:
Drew Schmidt (2014). ngram: Fast n-Gram 'Tokenization'. R package version 3.2.3, https://cran.r-project.org/web/packages/ngram. Accessed 06 May. 2025.
Previous versions and publish date:
1.0 (2014-06-23 12:31), 1.1 (2014-06-25 07:02), 3.0.0 (2016-05-10 23:35), 3.0.1 (2016-07-13 10:19), 3.0.2 (2017-01-17 19:41), 3.0.3 (2017-03-24 06:37), 3.0.4 (2017-11-21 16:22), 3.2.0 (2021-10-31 17:40), 3.2.1 (2022-03-14 00:10), 3.2.2 (2022-10-31 20:38)
Other packages that cited ngram R package
View ngram citation profile
Other R packages that ngram depends, imports, suggests or enhances
Complete documentation for ngram
Functions, R codes and Examples using the ngram R package
Some associated functions: babble . concatenate . getseed . getters . multiread . ngram-class . ngram-package . ngram-print . ngram . phrasetable . preprocess . rcorpus . splitter . string.summary . tokenize-asweka . wordcount . 
Some associated R codes: ngram-package.R .  Full ngram package functions and examples
Downloads during the last 30 days
04/0604/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/2904/3005/0105/0205/0305/04Downloads for ngram405060708090100110120130140150160TrendBars

Today's Hot Picks in Authors and Packages

rotations  
Working with Rotation Data
Tools for working with rotational data, including simulation from the most commonly used distributi ...
Download / Learn more Package Citations See dependency  
HuraultMisc  
Guillem Hurault Functions' Library
Contains various functions for data analysis, notably helpers and diagnostics for Bayesian modelling ...
Download / Learn more Package Citations See dependency  
tbrf  
Time-Based Rolling Functions
Provides rolling statistical functions based on date and time windows instead of n-lagged observatio ...
Download / Learn more Package Citations See dependency  
tashu  
Analysis and Prediction of Bicycle Rental Amount
Provides functions for analyzing citizens' bicycle usage pattern and predicting rental amount on spe ...
Download / Learn more Package Citations See dependency  
netUtils  
A Collection of Tools for Network Analysis
Provides a collection of network analytic (convenience) functions which are missing in other standar ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

24,205

R Packages

207,311

Dependencies

65,312

Author Associations

24,206

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA