Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create or load index
  • Add documents to index
  • Clear homophone dictionary using "index.Dictionaries.HomophoneDictionary.Clear()"
  • Create list of homophones and save them as "homophone groups"
  • Add homophones to the dictionary using "index.Dictionaries.HomophoneDictionary.AddRange(homophoneGroups)"
  • Import homophones from a file using "index.Dictionaries.HomophoneDictionary.ImportImportDictionary(Utilities.homophonesFilePath)". Existing homophones are staying.
  • Export homophones to file using "index.Dictionaries.HomophoneDictionary.ExportExportDictionary(Utilities.exportedHomophonesFilePath)"
  • Initialize an object of SearchParameters and name it parameters
  • Enable homophone search in parameters using "parameters.UseHomophoneSearch = true"
  • Perform a search using "index.Search(searchQuery, parameters)". The result will show all the words that are homophonic. e-g if searchQuery would be pause, results will include all its homophones like "pause", "paws", "pores", "pours" etc

...