Repository navigation
parallel-letter-frequency: remove characters with accents / diacritics - #1109
Merged
Merged
Conversation
Contributor
Author
|
As per discussion on #1104, I'd like to know what others think of this change, and if I have reduced test coverage too much. I think it should be ok, however. |
FridaTveit
approved these changes
Dec 26, 2017
FridaTveit
left a comment
Contributor
There was a problem hiding this comment.
Looks great! I don't think it reduces test coverage too much :)
Contributor
Author
|
Thanks @FridaTveit, glad you agree 🙂 🎄 |
stkent
reviewed
Dec 27, 2017
|
|
||
| Java documentation on [parallel streams](https://docs.oracle.com/javase/tutorial/collections/streams/parallelism.html) may provide some help. | ||
|
|
||
| As a stretch goal, consider if your implementation will work for characters with [diacritics or accents](https://en.wikipedia.org/wiki/Diacritic). For example, a good solution should not consider e and ë the same character. An example text for this case is [Wilhelmus](https://en.wikipedia.org/wiki/Wilhelmus), the dutch national anthem. |
Contributor
There was a problem hiding this comment.
I'm a bit wary of using the phrase a good solution here; maybe just such solutions?
stkent
reviewed
Dec 27, 2017
|
|
||
| Java documentation on [parallel streams](https://docs.oracle.com/javase/tutorial/collections/streams/parallelism.html) may provide some help. | ||
|
|
||
| As a stretch goal, consider if your implementation will work for characters with [diacritics or accents](https://en.wikipedia.org/wiki/Diacritic). For example, a good solution should not consider e and ë the same character. An example text for this case is [Wilhelmus](https://en.wikipedia.org/wiki/Wilhelmus), the dutch national anthem. |
Contributor
|
Couple minor comments, LGTM otherwise! |
stkent
approved these changes
Dec 27, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1104.
I have removed the two Strings called 'OdeAnDieFreude' and Wilhelmus. The test case for appending all three anthems has been removed, and in the comma test case, I have substituted 'StarSpangledBannner'.
Reviewer Resources:
Track Policies