Skip to content

Commit 929316c

Browse files
committed
smaller fixes
1 parent c95c4c5 commit 929316c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

propertysuggester/analyzer/impl/MainAnalyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def _count_occurrences(self, distinct_ids, property_value_pairs):
2525
self.pair_occurrences[currentTuple][pid2] += 1
2626

2727
for pid1, value in property_value_pairs:
28-
if pid1 in self.classiying_pids:
28+
if pid1 in self.classiying_pids and value[1:].isdigit():
2929
self.tuple_occurrences[pid1, int(value[1:])] += 1
3030
for pid2 in distinct_ids:
3131
if pid1 != pid2:

0 commit comments

Comments
 (0)