read_model_file {segmenter} | R Documentation

## Read `modelfile`

### Description

The model file is the output of running `learn_model` and named `model_#.txt`

### Usage

    read_model_file(file)

### Arguments

`file` | A string. The path to the file.

### Value

A `data.frame`

### Examples

    # locate the file
    modelfile <- file.path(tempdir(), 'model_3.txt')

    # read the file
    read_model_file(modelfile)

[Package segmenter version 1.0.0 Index]