public ZipLineCluster(ClusteringConfig config, ClusteringVocabulary vocabulary) : base(config) { #if DEBUG this.Vocabulary = vocabulary; this.Vocabulary?.UseWildcard(TokenZipNode.WildcardId, "*"); #endif }
public static TokenZipNode CreateRoot(IEnumerable <Token> tokens, ClusteringVocabulary vocabulary = null) { var node = new TokenZipNode(WildcardId, 0, null); #if DEBUG node.Vocabulary = vocabulary; #endif return(node); }
public override bool InitIfPending(Clustering clustering, ClusteringVocabulary vocabulary) { this.Vocabulary = vocabulary; return(base.InitIfPending(clustering, vocabulary)); }