Alina-enni / lingdiggers

Project for the Building NLP Applications course
0 stars 0 forks source link

Step 2 #10

Closed Alina-enni closed 2 years ago

Alina-enni commented 2 years ago
  1. Your search application should print the contents of the retrieved documents. (A vector consisting of ones and zeros won't do!) If there are too many matching documents, maybe you want to show only the top n documents. (Still you could print out how many matching documents there are in total.) If the documents are long, maybe you want to truncate the output to the m first words or characters only.
Alina-enni commented 2 years ago

The basics of this task are solved.

Do we want to figure out how to show only the top n documents? Do we want to truncate the output? These are more relevant when the documents are longer (i.e. longer texts).

miglamigla commented 2 years ago

I added some code to print out the beginning of a matched article, but that does not always include the query, and I couldn't work out how to print the query with some context

swilli6 commented 2 years ago

I tried to get this to work as well but no luck so far. I'll think about it some more...