new_tree: Create new suffix tree

Description Usage Arguments Value

View source: R/tree.R

Description

Creates a new suffix tree that can subsequently be used for sequence modeling.

Usage

1
new_tree(order_bound = NULL, terminal = "$")

Arguments

order_bound

Order bound for the suffix tree, i.e. the largest n-gram that can be stored.

terminal

Reserved terminal symbol; this character must not appear in subsequently modeled input text.

Value

The new suffix tree.


pmcharrison/suffixTree documentation built on May 3, 2019, 11:52 p.m.