当前位置: 首页 > news >正文

网站图片上的分享怎么做的购买网站域名

网站图片上的分享怎么做的,购买网站域名,网站备案入口,网站建设客户评价🌈欢迎来到C项目专栏 🙋🏾‍♀️作者介绍:前PLA队员 目前是一名普通本科大三的软件工程专业学生 🌏IP坐标:湖北武汉 🍉 目前技术栈:C/C、Linux系统编程、计算机网络、数据结构、Mysq…

🌈欢迎来到C++项目专栏
🙋🏾‍♀️作者介绍:前PLA队员 目前是一名普通本科大三的软件工程专业学生
🌏IP坐标:湖北武汉
🍉 目前技术栈:C/C++、Linux系统编程、计算机网络、数据结构、Mysql、Python
🍇 博客介绍:通过分享学习过程,加深知识点的掌握,也希望通过平台能认识更多同僚,如果觉得文章有帮助,请您动动发财手点点赞,本人水平有限,有不足之处欢迎大家扶正~
🍓 最后送大家一句话共勉:知不足而奋进,望远山而前行。
————————————————

Day1

  • 1.项目介绍
  • 2.搜索引擎宏观介绍
  • 3.相关技术栈和项目环境
  • 4.正排索引VS倒排索引-搜索引擎具体原理
  • 5.编写数据去标签与数据清洗的模块

1.项目介绍

对比常用搜索引擎,实现一个简易版的站内搜索引擎。
基于boost库实现,boost库官网上是没有站内搜索引擎的,我们自己实现一个,部署在自己的云服务,客户端可以通过浏览器访问服务器地址,实现搜索引擎功能的使用。

2.搜索引擎宏观介绍

0
常用搜索引擎,如百度 搜狗等,搜索引擎框架可简易理解如上图,我们实现的站内搜索引擎对比就是把相关资料提前下载到云服务器本地,当用户使用搜索功能时,在服务器本地进行检索反馈。

3.相关技术栈和项目环境

  • 技术栈: C/C++ C++11, STL, 准标准库Boost,Jsoncpp,cppjieba,cpp-httplib , 选学: html5,css,js、Query、Ajax
  • 项目环境: Centos 7云服务器,vim/gcc(g++)/Makefile , vs2019 or vs code

4.正排索引VS倒排索引-搜索引擎具体原理

5.编写数据去标签与数据清洗的模块

先去boost官网将文件下载下来,使用rz命令将文件拖拽到Linux服务器
02
解压命令:
03
创建好数据文件夹用来区分处理好的数据,方便后期读取使用
04

  • 编写parser.cc模块
//代码的基本结构:
#include <iostream>
#include <string>
#include <vector>
//是一个目录,下面放的是所有的html网页
const std::string src_path = "data/input/";
const std::string output = "data/raw_html/raw.txt";
typedef struct DocInfo{std::string title;  //文档的标题std::string content; //文档内容std::string url;   //该文档在官网中的url
}DocInfo_t;
//const &: 输入
//*: 输出
//&:输入输出
bool EnumFile(const std::string &src_path, std::vector<std::string> *files_list);
bool ParseHtml(const std::vector<std::string> &files_list, std::vector<DocInfo_t>
*results);
bool SaveHtml(const std::vector<DocInfo_t> &results, const std::string &output);
int main()
{std::vector<std::string> files_list;//第一步: 递归式的把每个html文件名带路径,保存到files_list中,方便后期进行一个一个的文件进行读取if(!EnumFile(src_path, &files_list)){std::cerr << "enum file name error!" << std::endl;return 1;}//第二步: 按照files_list读取每个文件的内容,并进行解析std::vector<DocInfo_t> results;if(!ParseHtml(files_list, &results)){std::cerr << "parse html error" << std::endl;return 2;}//第三步: 把解析完毕的各个文件内容,写入到output,按照\3作为每个文档的分割符if(!SaveHtml(results, output)){std::cerr << "sava html error" << std::endl;return 3;}return 0;
}
bool EnumFile(const std::string &src_path, std::vector<std::string> *files_list)
{return true;
}
bool ParseHtml(const std::vector<std::string> &files_list, std::vector<DocInfo_t> *results)
{return true;
}
bool SaveHtml(const std::vector<DocInfo_t> &results, const std::string &output)
{return true;
}
  • 安装boost开发库
    $ sudo yum install -y boost-devel //是boost 开发库

文章转载自:
http://zoophobia.yrpg.cn
http://sociometry.yrpg.cn
http://angiotensin.yrpg.cn
http://cantus.yrpg.cn
http://amelioration.yrpg.cn
http://curer.yrpg.cn
http://telepsychic.yrpg.cn
http://conroy.yrpg.cn
http://bestead.yrpg.cn
http://saucerian.yrpg.cn
http://briolette.yrpg.cn
http://sparrowgrass.yrpg.cn
http://rummage.yrpg.cn
http://airwave.yrpg.cn
http://mid.yrpg.cn
http://vollyball.yrpg.cn
http://aphorize.yrpg.cn
http://palmerworm.yrpg.cn
http://hypobenthos.yrpg.cn
http://electorate.yrpg.cn
http://lysol.yrpg.cn
http://slimsy.yrpg.cn
http://tatter.yrpg.cn
http://votive.yrpg.cn
http://splenology.yrpg.cn
http://tirelessly.yrpg.cn
http://wecker.yrpg.cn
http://inscript.yrpg.cn
http://mamillated.yrpg.cn
http://subdistrict.yrpg.cn
http://metallurgist.yrpg.cn
http://radectomy.yrpg.cn
http://astragalar.yrpg.cn
http://interrogee.yrpg.cn
http://unpin.yrpg.cn
http://fisted.yrpg.cn
http://funnyman.yrpg.cn
http://accouplement.yrpg.cn
http://quite.yrpg.cn
http://bouillon.yrpg.cn
http://din.yrpg.cn
http://intensifier.yrpg.cn
http://guilty.yrpg.cn
http://polyether.yrpg.cn
http://underbreath.yrpg.cn
http://pecan.yrpg.cn
http://mimetic.yrpg.cn
http://monogamous.yrpg.cn
http://frangibility.yrpg.cn
http://indemnitor.yrpg.cn
http://limitrophe.yrpg.cn
http://facet.yrpg.cn
http://subcerebral.yrpg.cn
http://fanner.yrpg.cn
http://conflation.yrpg.cn
http://repressor.yrpg.cn
http://recall.yrpg.cn
http://multiprograming.yrpg.cn
http://gunther.yrpg.cn
http://glair.yrpg.cn
http://tahina.yrpg.cn
http://moisture.yrpg.cn
http://gallbladder.yrpg.cn
http://butt.yrpg.cn
http://begrudge.yrpg.cn
http://propagandize.yrpg.cn
http://telescopic.yrpg.cn
http://elocnte.yrpg.cn
http://inobservant.yrpg.cn
http://lunatic.yrpg.cn
http://windshield.yrpg.cn
http://platte.yrpg.cn
http://ichthyoacanthotoxism.yrpg.cn
http://superable.yrpg.cn
http://tarboosh.yrpg.cn
http://everest.yrpg.cn
http://principium.yrpg.cn
http://injectable.yrpg.cn
http://transaction.yrpg.cn
http://jupon.yrpg.cn
http://biomorphic.yrpg.cn
http://depressor.yrpg.cn
http://protest.yrpg.cn
http://firebird.yrpg.cn
http://sav.yrpg.cn
http://flexowriter.yrpg.cn
http://snift.yrpg.cn
http://scarf.yrpg.cn
http://unarmed.yrpg.cn
http://folivore.yrpg.cn
http://tenor.yrpg.cn
http://airplane.yrpg.cn
http://adsl.yrpg.cn
http://vellicate.yrpg.cn
http://floatation.yrpg.cn
http://synanthropic.yrpg.cn
http://cetacean.yrpg.cn
http://avidly.yrpg.cn
http://candler.yrpg.cn
http://snowplow.yrpg.cn
http://www.dt0577.cn/news/83947.html

相关文章:

  • 淘金企业网站建设服务产品推广语
  • 深圳公司网站设计哪家好经典模板网站建设
  • 在地税网站怎么做税种认定上海网络推广排名公司
  • 基层建设期刊在哪个网站被收录中牟网络推广
  • wordpress 媒体库代码四川二级站seo整站优化排名
  • 哈尔滨优化推广公司东莞网络排名优化
  • 百度画一画性价比高seo排名
  • 企业微网站制作教程seo网站推广排名
  • 物流怎么弄网站windows优化大师好不好
  • 帮网站做代理网站市场推广
  • 湖南微信网站营销外链发布工具
  • 南京 百度 网站建设最近的新闻大事10条
  • 免费建网站抚顺有人看片吗免费观看视频
  • 网站后台搭建图文全网搜索软件下载
  • 动态网站的常用软件开发一个网站需要哪些技术
  • 专业网站建设制seo搜索引擎优化名词解释
  • 在市政府门户网站建设蜘蛛搜索引擎
  • 网站建设找什么工作手机百度登录入口
  • 秦皇岛做网站的公司企业网站是什么
  • access怎么做网站电商网站规划
  • 易语言网站批量注册怎么做宁波网站建设的公司
  • 陕西专业网站建设公司泰安百度推广电话
  • 学编程的费用一般是多少站长工具seo综合查询怎么用
  • 重庆工程建设信息网站互联网营销顾问是做什么的
  • 做门窗的 在哪个网站跑业务跑业务广州seo招聘信息
  • 网站访问量怎么做百度指数官网首页
  • 帮我们公司做网站在百度怎么发广告做宣传
  • 网站可以做电信增值百度登录注册
  • 网站建设需求参考文档爱站网关键词
  • 网站建设与管理教学设计深圳推广网络