Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 677 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 677 Bytes

gner

DOI

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
}