Skip to content

Search based algo which gives Top 10 seached keywords from index - web app

License

Notifications You must be signed in to change notification settings

ricksr/tapsearch

Repository files navigation

TapSearch


This app helps you to add paragraphs** and index them

then using search box , you can search for any particular word of a paragraph,

it will show in which paragraphs the word of a paragraph occured .

    # How to use it

  • you can add paragraphs** by your own or upload pdf or txt file and copy the paragraph from the text area section after extracting
  • click on "Send" button to run the algo and index it
  • Then type any desired word and search using "search" button
  • click on "Clear" button to clear the mapping and local storage

Some outputs

**

*paragraphs can be only identified if you ENTER two new lines (\n\n) after one para end.



Code snippet

Here I'm using a MAP < KEY , LIST [ ] >

WHERE KEY is our word of a paragraph and in LIST we are storing the paragraph ranges

we are a giving a rank , then using a set to store unique occurences of paras or INDEX

and returning an array after processing it from SET OBJECT.

Outputs of large files



About

Search based algo which gives Top 10 seached keywords from index - web app

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published