UNPKG

sensitive-word-helper-plus

Version:

基于DFA算法的一个敏感词助手, 可以做步长控制

14 lines (13 loc) 338 B
/** * Created by ChengZheLin on 2019/6/4. * Features: node */ import { Children } from './index'; export default class Node { key: string; word: boolean; parent: Node | undefined; children: Children; failure: Node | undefined; constructor(key: string, parent?: Node | undefined, word?: boolean); }