Giter Site home page Giter Site logo

trec's Introduction

TREC

文件描述:

  1. indexing.py建立索引的模块,建立在当前目录下,索引大约8.5G
  2. utils.py 对语料库的xml文档提取docu_id, title, full_text三个属性,后续可以在上面添加提取别的属性
  3. search.py 检索的模块, 对一个query进行查询,并且把top10000的结果对应的id和score输出
  4. whooshDemo.py 自己测试用的,whoosh全过程简述
  5. modifyIndex.py 更改schema的模块,现在还没用上,可能后续需要添加schema的除了id,title,content之外的其他field
  6. test.py 自己测试用
  7. result.txt 把search.py的结果输出的文件中的内容,里面有程序运行时间,和top10000的id以及score

trec's People

Contributors

liyingjiao02 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.