stopwords

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package stopwords 停用词相关

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stopwords

type Stopwords struct {
	utils.StringSet
}

Stopwords 停用词

func New

func New() *Stopwords

New 新建停用词

func (*Stopwords) Load

func (s *Stopwords) Load(r io.Reader) error

Load 从io.Reader 加载stopwords

func (*Stopwords) LoadFile

func (s *Stopwords) LoadFile(filename string) error

LoadFile 加载stopwords文件

Jump to

Keyboard shortcuts

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