Guest User

Untitled

a guest
Dec 16th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. Stream<String> lines = Files.lines(Paths.get("stopwords.txt"));
  2. List<String> stopwords = lines.map(String::trim).map(String::toLowerCase).distinct().collect(Collectors.toList());
Add Comment
Please, Sign In to add comment