# π« rust-sensitive
[](https://github.com/wqwqzzz/rust-sensitive)
> Sensitive word filtering, support multiple data source loading, multiple filtering algorithms, multiple operation functions
## π Feature
- Supports a wide range of operating functions
- `filter()` returns the filtered text.
- `replace()` Returns the text after replacing sensitive words.
- `is_sensitive()` Returns whether the text contains sensitive words.
- `find_one()` Returns the first sensitive word matched.
- `find_all()` returns all the sensitive words matched.
- Support multiple data sources loading
β
Support memory storage
π² Support mysql storage
π² Support mongo storage
- Support multiple filtering algorithms
β
**DFA** Use `HashMap` to match sensitive words.
π² **AC automated machine**
## β Usage
```rust
```
## β Get
```
```
## π Import
```go
```
##
## π TODO
- [ ] add mongo data source support
- [ ] add bloom algorithm