{"id":13595555,"url":"https://github.com/duoergun0729/nlp","last_synced_at":"2025-04-13T10:43:18.148Z","repository":{"id":39520768,"uuid":"127728085","full_name":"duoergun0729/nlp","owner":"duoergun0729","description":"兜哥出品 \u003c一本开源的NLP入门书籍\u003e","archived":false,"fork":false,"pushed_at":"2025-01-06T03:32:49.000Z","size":4974,"stargazers_count":2401,"open_issues_count":5,"forks_count":558,"subscribers_count":84,"default_branch":"master","last_synced_at":"2025-04-06T07:00:52.939Z","etag":null,"topics":["ai","fasttext","nlp","security","word2vec"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duoergun0729.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-02T08:31:32.000Z","updated_at":"2025-04-05T08:22:43.000Z","dependencies_parsed_at":"2025-01-25T14:00:43.584Z","dependency_job_id":null,"html_url":"https://github.com/duoergun0729/nlp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duoergun0729%2Fnlp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duoergun0729%2Fnlp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duoergun0729%2Fnlp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duoergun0729%2Fnlp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duoergun0729","download_url":"https://codeload.github.com/duoergun0729/nlp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248701976,"owners_count":21148111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","fasttext","nlp","security","word2vec"],"created_at":"2024-08-01T16:01:52.412Z","updated_at":"2025-04-13T10:43:18.117Z","avatar_url":"https://github.com/duoergun0729.png","language":"Python","funding_links":[],"categories":["Python","Python (1887)"],"sub_categories":[],"readme":"# NLP基础知识\n\n- [常用数据集简介](常用数据集简介.md)\n- [推荐更新源](推荐更新源.md)\n- [打造NLP工具箱](打造NLP工具箱.md)\n- [如何衡量机器学习分类模型](如何衡量机器学习分类模型.md)\n- [词袋模型和TFIDF模型](词袋模型和TFIDF模型.md)\n- [Word2Vec模型和Doc2Vec模型](Word2Vec模型和Doc2Vec模型.md)\n- [自己动手训练word2vec模型](自己动手训练word2vec模型.md)\n- [使用多层感知机进行文档分类](使用多层感知机进行文档分类.md)\n- [使用fasttext进行文档分类](使用fasttext进行文档分类.md)\n- [使用LDA进行文档主题建模](使用LDA进行文档主题建模.md)\n- [使用Jieba进行中文词性标注](使用Jieba进行中文词性标注.md)\n- [使用TextRank和TFIDF进行关键字自动提取](使用TextRank和TFIDF进行关键字自动提取.md)\n- [文档相似度](文档相似度.md)\n\n# NLP应用案例\n\n- [对美食评语进行情感分析](预测Yelp美食评分.md)\n\n# 让机器理解文字\n\n图像、文字和声音是人类接触、理解外部世界最常见的三种形式，其中文字又是最容易保存和进行交换的形式。大量的人类文明，最终都是以文字的形式保留下来的；大量的信息交换，都是是文字的形式进行。如何能让机器可以与人交流，理解人类的思想，最终能像人类一样理解文字以及文字背后的各种想法、意图呢？自然语言处理，即所谓的NLP是重要的支撑技术。\n\n![人机对话](人家对话.png)\n\n# NLP与安全\n\n在传统的web攻防中，大家与http协议结下了不解之缘。但是在安全领域，web攻防只是很小一个分支。许多明显的与工作和生活无关的垃圾邮件，人一样就可以看出来，但是基于规则的垃圾邮件网关处理起来却总是差强人意。越来越多的电商、论坛甚至是视频网站的弹幕，总是可以看到明显的人身攻击或者违法违规信息，但是基于规则的过滤机制总是被绕过。人类可以很轻松的理解二十四口交换机，知道苹果是水果还是手机，但是机器如何做到呢？答案就是NLP。\n\n# 一本开源的NLP入门书籍\n\n这可能是第一本用开源的思想写的NLP入门书籍，整个写作过程都在我的Github上。\n\n\thttps://github.com/duoergun0729/nlp\n\n之所以想用开源的思路去写，主要是因为NLP技术，尤其是基于机器学习的NLP技术发展非常快，比如目前已经广泛使用的fasttext技术，2016年发布论文，2017年已经进入大量生产领域，但是许多自然语言处理书籍还停留在大学课程的范围，甚至连词向量都很少涉及。相对周期繁琐的纸质书籍编写，在Github上我可以很方便的进行编写和更新，有勘误也可以很快修改。目前我已经完成了其中的三篇，后面我将不断更新内容，大家可以订阅我的Github，或者关注我的微信公众号《**兜哥带你学安全**》\n\n![公众号](公众号.png)\n\n\n\n\n# License\n\n© 2018~2025 兜哥.\n\n本作品采用[知识共享署名-非商业性使用 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc/4.0/)进行许可。没有我许可的任何使用该书进行的商业行为都是违法。\n\t\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduoergun0729%2Fnlp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduoergun0729%2Fnlp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduoergun0729%2Fnlp/lists"}