Twitter Text Libraries. This code is used at Twitter to tokenize and parse text to meet the expectations for what can be used on the platform. This repository is a collection of libraries and conformance tests to standardize parsing of Tweet text. It synchronizes development, testing, creating issues, and pull requests for twitter-text's implementations and specification. These libraries are responsible for determining the quantity of characters in a Tweet and identifying and linking any URL, @username, #hashtag, or $cashtag. Emoji supported by twemoji always count as two characters, regardless of combining modifiers. This includes emoji which have been modified by Fitzpatrick skin tone or gender modifiers, even if they are composed of significantly more Unicode code points. Emoji weight is defined by a regular expression in twitter-text that looks for sequences of standard emoji combined with one or more Unicode Zero Width Joiners (U+200D).

Features

  • Conformance
  • For Java, Ruby, JavaScript, and Objective-C
  • Tokenize and parse text to meet the expectations for what can be used
  • Twitter Text Libraries
  • See implementations and conformance in this repository

Project Samples

Project Activity

See All Activity >

Categories

Graphics, Libraries

License

Apache License V2.0

Follow twitter-text

twitter-text Web Site

Other Useful Business Software
Managed Cybersecurity Platform Built for MSPs Icon
Managed Cybersecurity Platform Built for MSPs

Discover the cyber platform that secures and insures SMEs

In a world that lives and breathes all things digital, every business is at risk. Cybersecurity has become a major problem for small and growing businesses due to limited budgets, resources, time, and training. Hackers are leveraging these vulnerabilities, and most of the existing cybersecurity solutions on the market are too cumbersome, too complicated, and far too costly.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of twitter-text!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Graphics Software, JavaScript Libraries

Registered

2022-10-14