【24h】

A search engine in a few lines.

机译:一行中的搜索引擎。

获取原文

摘要

Many research implementations of search engines are written in C, C++, or Java. They are difficult to understand and modify because they are at least a few thousand lines of code and contain many low-level details. In this paper, we show how to achieve a much shorter and higher level implementation: one in about a few hundred lines. We accomplish this result through the use of a high-level functional programming language, F#, and some of its features such as sequences, pipes and structured input and output. By using a search engine implementation as a case study, we argue that functional programming fits the domain of Information Retrieval problems much better than imperative/OO languages like C++ and Java.
机译:搜索引擎的许多研究实现是用C,C ++或Java编写的。它们很难理解和修改,因为它们至少是几千行代码,并包含许多低级细节。在本文中,我们展示了如何实现更短,更高的级别实现:一个大约几百条线。我们通过使用高级功能编程语言,F#以及一些功能,例如序列,管道和结构化输入和输出来完成此结果。通过使用搜索引擎实现作为案例研究,我们认为功能性编程符合信息检索问题的域,而不是C ++和Java等刻录/ oo语言。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号