This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangshuo1-domain-classific…/README.md
2019-12-31 11:32:33 +08:00

15 lines
703 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Domain Classification
使用url库和cdn库对指定格式dns日志中的域名进行分类
使用makefile进行编译需要c++11的环境支持
编译的可执行程序是DomainDeal调用格式DomainDeal filefile是输入文件
输入文件应使用指定格式第一行为忽略行剩下的每行存在至少15个以tab分隔的短语其中第3个短语为待分类域名一个示例的输入文件为test.txt
输出的结果存储在data目录下其中包含多个文件。_statis.txt是统计结果_other是无法分类的部分其他每个文件是分类的类别。
除了统计结果外,文件每一行都是域名的分类结果,未经过去重