Open erenpakelgil opened 2 months ago
Created a separate search.py file on the root folder that serves to test the modified outputs on a new branch. Review and feedback needed.
New features are added to the search queries and a pull request is created for the branch issue#75-improve-semantic-search-feature.
Tried to improve search.py
in (https://github.com/bounswe/bounswe2024group7/pull/89); however, REGEX is so powerful that if we remove it we cannot find any result but it is too slow. Limiting the number of results may give results in a reasonable of time. (Limiting also doesn't work after trying.)
Added related search feature to search.py in (#89) that follows a non-recursive procedure by returning painting results with the same creator as the original results for given keyword.
Improving our semantic search algorithm is essential since our current algorithm sends a SPARQL query matching the exact form of given input while avoiding other relevant paintings with a name, genre field or movement field that differs slightly from the keyword string.