Skip to content

feature request: lookup words in dictionary by partial entry or stem #7

Description

@telpirion

Feature description

This feature will allow the user to type a partial dictionary entry or a morphological "stem" and the app will return all dictionary entries that match.

For example, if the search term is "fac-" in the Latin Reader, then the dictionary results will show 'facio,' 'facinus', and 'facior'. The ReadingScreen UI will show the number of results found and will concatenate the results into a single text field.

Implementation requirements

  • The feature must use a divide-and-conquer algorithm to find the matches.
  • The feature must use the XML list of dictionary keys as the input for the search algorithm.
  • The feature must use the existing dictionary result implementation (a la the ReadingScreen composable).
  • The dictionary and dictionary search features could be moved into a separate project module.
  • The search results could be presented in a flex or grid.

Verification

The feature should include an instrumented test for the Latin Reader and the Greek Reader to ensure correct behavior.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions