Learn R Programming

ngram (version 3.2.3)

phrasetable: Get Phrasetable

Description

Get a table

Usage

get.phrasetable(ng)

Arguments

ng

An ngram object.

See Also

ngram-class

Examples

Run this code
library(ngram)

str = "A B A C A B B"
ng = ngram(str)
get.phrasetable(ng)

Run the code above in your browser using DataLab