Skip to content

Positional indexing all done in less than 100 lines of code in python.

Notifications You must be signed in to change notification settings

bubbajoe/Positional-Index-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Joe Williams
Information Retrieval Programming

-About

Used for searching through large documents to find
2 words that are a certain distance apart from one
another.

-Usage

After the first run the data should be serialized
and it shouldn't take long at all to load the data.

Once you see 'Enter Query:', you can enter 2 words 
or 2 words and number. If you search 'love her', it 
will find all the instances where the stem of the 
word love and her are right next to each other. If 
you search 'love her 3', it will find all instance 
where the stem of the words love and her are at most
3 words from each other. '/exit' to exit program

Happy Coding Fellas

About

Positional indexing all done in less than 100 lines of code in python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages