it implements the retrieval the relevant images based on the controlled vocabulary. it will rank the image and output the similarity based on Cosine Similarity. the programming also implements the spelling error correction.
input: the controlled vocabulary
output: retrieval the relevant images
- the function:
- the string-string correction - using Damerau-Levenshtein distance
- describe the concept of vocabulary - using tree structure
- the Synonyms - build our own dictionary, accuatually can get information from Intenet, BUT give up due to the low accuracy.
- the image retrieval - similarity : Cosine or Jaccard
- the object distance in image - similarity : Cosine or Jaccard
the result:
output: the value of similarity and the corresponding image
- use the inputed vocabulary compare with each known image
- get the value of similarity
- ranking
- output