自学内容网 自学内容网

根据特殊符号标记次数

-------------------------------------else------------------------------------------

    for k, v in contents.items():

        frequent_token = tuple(sorted(vocab.topk_tokens(v[0].split(), 3)))

        log_format = v[1]

        if frequent_token not in hierichical_clusters:

            hierichical_clusters[frequent_token] = {"size": 1, "cluster": {log_format: [k]}}

        else:

            hierichical_clusters[frequent_token]["size"] = hierichical_clusters[frequent_token]["size"] + 1

----------------kv------------------------------------------

8      ("config.update Can't create channel.jni jni", "'().:")

-


原文地址:https://blog.csdn.net/zhaoyangjian724/article/details/143839789

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!