preprocessing

package
v0.0.0-...-34c64f0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertRecord

func InsertRecord(input chan ds.FileRecord, outputPath string, N int) (map[string]int, error)

InsertRecord 将input中的数据有序地输出到游程文件中

func Preprocess

func Preprocess(reader ds.FileReader, cvt ds.Convertable, N int) (map[string]int, string, error)

文件记录的预处理阶段, 默认将游程文件置于系统设置的临时文件存放目录

func ReadFromFile

func ReadFromFile(r ds.FileReader, output chan string) error

从文件中读取文本, 并写入到output

func SToFR

func SToFR(input chan string, cvt ds.Convertable, output chan ds.FileRecord) error

将文本转化为记录

Types

This section is empty.

Jump to

Keyboard shortcuts

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