hw2's Introduction
IDE:pycharm 语言:python web框架:Flask 分词工具:结巴 爬虫工具:BeatifulSoup+Request三方库 1) TFIDF: 给定用自己名字命名的文件夹,请自己爬取一定数量的网页、微博形成语料集合,存入该文件夹;在线状态下,对其中的词语进行TFIDF统计,且输出到“姓名-tfidf-日期.txt“文件中 tfidfpage.py 生成预料集合已经在殷旺文件夹下,内附爬虫工具 在线tfidf统计网站为127.0.0.1:5000/tfidf 上传文件保存为test.txt 结果为3015216028-tfidf-5月8日 2) SIM: 在线状态下,从网页页面输入任意两个句子,求其相似度,包括:内积,余弦及Jaccard三种度量方式;同时,可实现对导入的文件夹语料的tfidf统计。 simpage.py 两个句子网站为127.0.0.1:5000/sim 对文件夹语料的tfidf统计127.0.0.1:5000/sim/文本id 3)SJet:实现基于向量空间模型(VSM)的搜索引擎。 sjetpage.py 网站为127.0.0.1:5000/sjet 基于flask python3.x 是用pycharm直接导入工程 运行run.py即可 详细实现 代码内有注释
hw2's People
Forkers
liao3841054Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.