Menu

MatchInfo

2014-02-07
2014-02-07
  • Benjamin Ghansah

    Hello All,
    Please can anyone tell me the algorithm implemented in the Matchinfo method. I have used it an experiment, but want to know the underlining algorithm that was used. I checked in the .cpp file but is not clear. Thanks

     
  • David Fisher

    David Fisher - 2014-02-07

    I presume you mean the method getMatches in the class MatchInfo.

    foreach term q in the query
    foreach term t in the document
    if q == t record the position of t
    return the recorded matches

     
  • Benjamin Ghansah

    Thank you sir

     

Log in to post a comment.