splitfeatures

package
v0.0.0-...-a0027d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2016 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package splitfeatures implements spec.CLG and provides functionality to split information sequences into features.

One possible CLG tree might look like described below. Here the output of the two upper CLGs are used to feed the lower CLG.

|---------------------|     |---------------------|
| read-information-id |     |    read-separator   |
|---------------------|     |---------------------|
           |                           |
           -----------------------------
                         |
                         V
                 |----------------|
                 | split-features |
                 |----------------|

Index

Constants

View Source
const (
	// FeatureSize represents the number of characters a feature consists of. E.g.
	// a FeatureSize of 4 results in features being registered which are 4
	// characters long. Features are detected by a window sliding over an
	// information sequence. Once a feature is detected the window slides one
	// character farther.
	FeatureSize int = 4
)

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func New

func New() servicespec.CLGService

New creates a new splitfeatures CLG service.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL