Skip to content

Map reduce using the MS Orleans Nuget with translation support to any language

License

Notifications You must be signed in to change notification settings

barakadax/OrleansMapReduce

Repository files navigation

Microsoft Orleans MapReduce

Start a Silo, run your client and see how much words with the same length are in the same text.

Alice's Adventures in Wonderland Result:

Word Length: 1 | encountered: 1705
Word Length: 2 | encountered: 4413
Word Length: 3 | encountered: 7067
Word Length: 4 | encountered: 5782
Word Length: 5 | encountered: 3341
Word Length: 6 | encountered: 1952
Word Length: 7 | encountered: 1573
Word Length: 8 | encountered: 723
Word Length: 9 | encountered: 447
Word Length: 10 | encountered: 184
Word Length: 11 | encountered: 108
Word Length: 12 | encountered: 34
Word Length: 13 | encountered: 11
Word Length: 14 | encountered: 5

Moby Dick Result:

Word Length: 1 | encountered: 5050
Word Length: 2 | encountered: 18422
Word Length: 3 | encountered: 24837
Word Length: 4 | encountered: 21503
Word Length: 5 | encountered: 13647
Word Length: 6 | encountered: 9061
Word Length: 7 | encountered: 7611
Word Length: 8 | encountered: 5104
Word Length: 9 | encountered: 3236
Word Length: 10 | encountered: 1795
Word Length: 11 | encountered: 952
Word Length: 12 | encountered: 506
Word Length: 13 | encountered: 263
Word Length: 14 | encountered: 77
Word Length: 15 | encountered: 35
Word Length: 16 | encountered: 7
Word Length: 17 | encountered: 5

TODO:

  • Fix Regex, use test: ProcessHistogram_InputWithNoneAlphabeticalWords_ShouldReturnExpected to fix.
  • New grain RequestGrain that will handle creating file grains and will get multiple input.
  • Add rest:
    1. Post -> text only.
    2. Post -> text + origin.
    3. Get -> origin.
  • Swagger + UI.
  • Api tests.

About

Map reduce using the MS Orleans Nuget with translation support to any language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published