Skip to content

Lab07 #69

@ykharitonova

Description

@ykharitonova
  • Make it clear (add an explanation for) why it is advantageous to use charsToRemove in the functions.
    • Add a test that shows that if we exclude the exclamation mark ! and the question mark ? from the string that's substituted for the charsToRemove parameter, they should be included as part of the returned words:
    • getCleanWordList("input3.txt", ",.?;") returns ["Hello!", "Today", "is", "a", "lovely", "day", "isn't", "it"].
    • getCleanWordList("input3.txt", ",.!;") returns ["Hello", "Today", "is", "a", "lovely", "day", "isn't", "it?"].
    • getCleanWordList("input3.txt", ",.;") returns ["Hello!", "Today", "is", "a", "lovely", "day", "isn't", "it?"].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions