Skip to content

Instantly share code, notes, and snippets.

@xrrocha
Created March 5, 2018 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xrrocha/e52bc689ba7d392061add01837022137 to your computer and use it in GitHub Desktop.
Save xrrocha/e52bc689ba7d392061add01837022137 to your computer and use it in GitHub Desktop.
private static final List<Function<List<WordSplit>, Stream<String>>> edits =
List.of(
SpellingCorrector::deletes,
SpellingCorrector::transposes,
SpellingCorrector::replaces,
SpellingCorrector::inserts
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment