Go package for text annotation. There are two parts to anno, the first is a series of Finder functions that look for interesting articles (which it calls `Notes`) inside the text, returning a slice of Note structs. The second is the Expander, which replaces the text in each Note with something else, like the HTML for a link or something. It tells you the bytes that it found, the `Start` index and a string describing the kind of `Note`. The kind is useful for when you run pass `Finder` objects to the `FindMany` or `FindManyString` functions. Since most of the built-in finders operate on a per field basis (word by word), it made sense to add a special helper called `FieldFunc` that generates`FinderFunc` functions for us, and takes away the repetitive task of breaking the string up, and iterating over each word.

Features

  • Go package for text annotation
  • Simple interface
  • Very extensible
  • Looks nice in JSON (good for APIs)
  • Emoji support lives in its own package due to the external dependency
  • You can expand (replace) occurances of the notes

Project Samples

Project Activity

See All Activity >

Categories

Text Annotation

License

MIT License

Follow anno

anno Web Site

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of anno!

Additional Project Details

Programming Language

Go

Related Categories

Go Text Annotation Tool

Registered

2023-05-23