Skip to content

Commit

Permalink
Move back the debug line
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Aug 6, 2024
1 parent 2990199 commit acf9ada
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
Expand All @@ -18,6 +17,7 @@ void ngram() throws IOException {
var analyzer = new EnglishNGramAnalyzer();
List<String> result = analyze("Alexanderplatz", analyzer);

//System.out.println(result.stream().collect(Collectors.joining("\",\"", "\"", "\"")));
assertEquals(
List.of(
"Ale",
Expand Down Expand Up @@ -99,7 +99,6 @@ void ampersand() throws IOException {
var analyzer = new EnglishNGramAnalyzer();
List<String> result = analyze("Meridian Ave N & N 148th St", analyzer);

System.out.println(result.stream().collect(Collectors.joining("\",\"", "\"", "\"")));
assertEquals(
List.of(
"Mer",
Expand Down

0 comments on commit acf9ada

Please sign in to comment.