Overview of ekphrasis functionality
masterekphrasis is a collection of lightweight text tools specifically designed for social network text (e.g., Twitter, Facebook). Its core capabilities include:
- Social Tokenizer: A tokenizer that handles complex emoticons, emojis, dates, times, and other unstructured expressions common in social media.
- Word Segmentation: Splits long strings into constituent words, which is particularly useful for segmenting hashtags.
- Spell Correction: Replaces misspelled words with the most probable candidates based on word statistics.
- Customization:
- Word Statistics: Segmentation and Spell Correction rely on word statistics. While Wikipedia and Twitter corpora are provided, you can generate statistics from your own domain-specific corpus (e.g., biomedical text) to prevent domain-specific terms from being flagged as misspellings.
- Entity Identification: You can identify new entities by adding regular expressions to
ekphrasis/regexes/expressions.txt.
- Pre-Processing Pipeline: A way to combine tokenization, normalization, word annotation (labeling), and other steps into a single workflow for preparing datasets for machine learning or analysis.