Skip to content

Commit b0836fd

Browse files
committed
comments
1 parent b3660cd commit b0836fd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

index_search.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
// Lemma to property value to position of the word in the property value.
12
/**@type {Map<string, Map<String, number>>}*/
23
let wordIndex/*= GENERATED LINE*/;
3-
/**@type {Map<string, Map<string, {characters: [number, number][]}>>}*/
4+
// Property name to property value to index entry.
5+
/**@type {Map<string, Map<string, {html: string, characters: [number, number][]}>>}*/
46
let leaves/*= GENERATED LINE*/;
57

68
function updateResults(event) {

unicodetools/src/main/java/org/unicode/text/tools/Indexer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ public int compare(UnicodeProperty left, UnicodeProperty right) {
128128
return left.getName().compareTo(right.getName());
129129
}
130130
}
131+
// Property to property value to index entry.
131132
Map<UnicodeProperty, Map<String, Leaf>> leaves = new TreeMap<>(new PropertyComparator());
133+
// Lemma to property value to position of the word in the property value.
132134
Map<String, Map<String, Integer>> wordIndex = new TreeMap<>();
133135
// final var kEHDesc = iup.getProperty(UcdProperty.kEH_Desc);
134136
final var properties =

0 commit comments

Comments
 (0)