Skip to content

danieltnaves/QueryProcessor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Query Processor

A query processor class that extract words from hard disk files, creates a inverted index with words found, calculates their positions and count ocurrences.

I created an example using a set of HTML files with portuguese text, the example basically has a form for write words sequence. After search the file list with words or terms, you can see a file list matched and access them.

More about inverted index at: Inverted Index

Example

For running the example put 'example' directory at web server, open file 'index.php' and alter variables: $FOLDER_PATH and $INVERTED_INDEX_PATH.

alt text

About

PHP class that extracts words from files, create inverted index and makes queries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages