Skip to content

qWiki search helps user to gain knowledge about a topic in a jiffy. User enters topic and number of sentences he wants, as a result the user receives the relevant and latest sentences about the topic.

Notifications You must be signed in to change notification settings

Jahnvi99/qWiki-Search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

qWiki-Search

qWiki search helps user to gain knowledge about a topic in a jiffy. User enters topic and number of sentences he wants, as a result the user receives the relevant and latest sentences about the topic.

Method used:

We find relevant wikipedia pages about the topic entered by the user. Next, sentences containing dates are extracted from the pages. tf-idf vectorization is computed for these sentences. This is then given as input for non-negative matrix factorization.

Non - Negative Matrix Factorization (NMF) splits the document-word matrix (tfidf) into document-topic matrix (W) and topic-word matrix(H). Sentences giving highest score are then extracted from W and latest sentences are shown in chronological order.

Non negative matrix factorization

Screenshot

Requirements

re 2.2.1

nltk 3.2.5

np 1.19.5

sklearn 0.22.2.post1

wikipedia

punkt (nltk.download('punkt')

Running the project

Run the Google colaboratory notebook which explains the individual steps.

About

qWiki search helps user to gain knowledge about a topic in a jiffy. User enters topic and number of sentences he wants, as a result the user receives the relevant and latest sentences about the topic.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published