2017 © Pedro Peláez
 

library php-trie-tree

Trie tree implementation for PHP

image

h2ero/php-trie-tree

Trie tree implementation for PHP

  • Saturday, March 10, 2018
  • by h2ero
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 50 % Grown

The README.md

Trie Tree For PHP

install

composer require h2ero/php-trie-tree, (*1)

Usage

php <?php $trie = new \h2ero\TrieTree(); $trie->add("shit"); $result = $trie->find("oh shit"); var_dump($result); $trie->add("吃瓜"); $result = $trie->find("oh shit, 吃瓜群众"); var_dump($result); $trie->delete("shit"); $result = $trie->find("oh shit, 吃瓜群众"); var_dump($result);, (*2)

中文说明

Trie tree 的PHP实现, 用于敏感词过滤, 建议独立写为一个RPC服务。, (*3)

The Versions

10/03 2018

dev-master

9999999-dev https://github.com/h2ero/php-trie-tree

Trie tree implementation for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.1

 

by Avatar h2ero

trie trie tree 敏感词过滤 黑名单

10/03 2018

1.0.5

1.0.5.0 https://github.com/h2ero/php-trie-tree

Trie tree implementation for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.1

 

by Avatar h2ero

trie trie tree 敏感词过滤 黑名单

10/03 2018

1.0.2

1.0.2.0 https://github.com/h2ero/php-trie-tree

Trie tree implementation for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.1

 

by Avatar h2ero

trie trie tree 敏感词过滤 黑名单

10/03 2018

1.0.1

1.0.1.0 https://github.com/h2ero/php-trie-tree

Trie tree implementation for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.1

 

by Avatar h2ero

trie trie tree 敏感词过滤 黑名单

10/03 2018

1.0.0

1.0.0.0 https://github.com/h2ero/php-trie-tree

Trie tree implementation for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.1

 

by Avatar h2ero

trie trie tree 敏感词过滤 黑名单