GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - oduwsdl/QueryClassification: Source code for domain classification (scholar or non-scholar) of a web query.

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
NTRS_queries.txt
NTRS_queries.txt
 
 
README.md
README.md
 
 
classifyQuery.py
classifyQuery.py
 
 
nasaCoeffs.txt
nasaCoeffs.txt
 
 
requirements.txt
requirements.txt
 
 
services.py
services.py
 
 

Repository files navigation

QueryClassification

(Implementation associated with: A Supervised Learning Algorithm for Binary Domain Classification of Web Queries using SERPs, Alexander C. Nwala and Michael L. Nelson)

Here is the source code to classify a web query as belonging to either the scholar or non-scholar class. See tech report for full explanation: Tech Report

Short explanation

We leverage the work of Search Engines as part of our effort to route domain specific queries to local Digital Libraries. To detect queries that should be routed to local, specialized Digital Libraries, we first send the queries to Google and then examine the features in the resulting Search Engine Result Pages, and then classify the query as belonging to either the scholar or non-scholar domain. Using 400,000 AOL queries for the non-scholar domain and 400,000 queries from the NASA Technical Report Server for the scholar domain, our classifier achieved a precision of 0.809 and F-measure of 0.805.

Installation

$ git clone https://github.com/oduwsdl/QueryClassification.git
$ cd QueryClassification
$ sudo pip install -r requirements.txt

Prerequisite

  • Python 2.7+
  • Requests

Usage

$ python classifyQuery.py query 

e.g.

$ python classifyQuery.py "fluid dynamics"

Support

[email protected]

About

Source code for domain classification (scholar or non-scholar) of a web query.

Resources

Readme
GPL-3.0 license
Activity
Custom properties

Stars

11 stars

Watchers

5 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.