gner

module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: MIT

README

gner

Global Named Entity Recognition

This project provides libraries that a shared between different named entity recongition (NER) projects. In the future it might also have a command line application that combines functionality of several NER projects.

Usage

func Example() {
	text := "one\vtwo Poma-  \t\r\n tomus " +
		"dash -\nstandalone " +
		"Tora-\nBora\n\rthree 1778,\n"
	res := token.Tokenize([]rune(text), func(t token.TokenNER) token.TokenNER { return t })
	fmt.Println(res[0].Cleaned())
	fmt.Println(res[2].Cleaned())
	// Output:
	// one
	// Pomatomus
}

Directories

Path Synopsis
ent
txt

Jump to

Keyboard shortcuts

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