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
Failed Payment Recovery for Subscription Businesses Icon
Failed Payment Recovery for Subscription Businesses

For subscription companies searching for a failed payment recovery solution to grow revenue, and retain customers.

FlexPay’s innovative platform uses multiple technologies to achieve the highest number of retained customers, resulting in reduced involuntary churn, longer life span after recovery, and higher revenue. Leading brands like LegalZoom, Hooked on Phonics, and ClinicSense trust FlexPay to recover failed payments, reduce churn, and increase customer lifetime value.
Learn More
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