[][src]Crate twitter_text

Modules

autolinker
entity
extractor
hit_highlighter
validator

Structs

TwitterTextParseResults

A struct that represents a parsed tweet containing the length of the tweet, its validity, display ranges etc. The name mirrors Twitter's Java implementation.

Functions

parse

Produce a TwitterTextParseResults struct from a str. If extract_urls is true, the weighted length will give all URLs the weight supplied in Configuration, regardless of their length.