Libraries tagged by tokenizer
apemsel/attributed-string
555 Downloads
A collection of fast and easy to use attributed string classes for PHP. Attributed strings can have multiple attributes for each character of the string and are for example used for word processors and natural language processing.
antto1/superclosure
160 Downloads
Serialize Closure objects, including their context and binding
kornrunner/php-token-reflection
6966 Downloads
Library emulating the PHP internal reflection using just the tokenized source code.
brad-jones/superclosure
236 Downloads
Doing interesting things with closures like serialization.
attla/data-token
21 Downloads
Turn everything into a token: randomized or predictable.
crazzy501/gpt-3-encoder-php
379 Downloads
PHP BPE Text Encoder/Decoder for GPT-2 / GPT-3. Based on coderevolutionplugins/gpt-3-encoder-php
undercoder/magenizer
3 Downloads
Implements Iterator interface over a String for extract data with an array of tokens. The name comes from Mage and tokenizer :)
thomasbachem/php-short-array-syntax-converter
10785 Downloads
Command-line script to convert PHP's array() syntax to PHP 5.4's short array syntax [] using PHP's built-in tokenizer.
risototh/search-query-composer
9910 Downloads
Tokenizer and composer for search query from user input.
phpbsb/php-short-array-syntax-converter
14 Downloads
Command-line script to convert or revert PHP's array() syntax to PHP 5.4's short array syntax [] using PHP's built-in tokenizer.
nbgrp/singlea-jwt-bundle
13 Downloads
The SingleA tokenizer JWT implementation
kickupx/waiting-for
38 Downloads
WaitingFor based tokenizer
f2/code-parser
4 Downloads
A forgiving code tokenizer for tokenizing most programming languages such as Javascript, TypeScript, Python, C, C++, PHP, Forth and so on. A nice basis for making a compiler or DSL.
codechap/context-trimmer
1 Downloads
A tokenizer-agnostic text preprocessor to trim context for LLMs.
squizlabs/php_codesniffer
320174730 Downloads
PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.