We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2508eb7 commit eeed5e1Copy full SHA for eeed5e1
lib/boilerpipe/filters/block_proximity_fusion.rb
@@ -40,7 +40,7 @@ def process(doc)
40
diff_blocks = tb.offset_blocks_start - prev_block.offset_blocks_end - 1
41
if diff_blocks <= @max_blocks_distance
42
ok = true
43
- ok = false if prev_block.is_not_content? && !@content_only
+ ok = false if prev_block.is_not_content? && @content_only
44
ok = false if ok && prev_block.tag_level != tb.tag_level && @same_tag_level_only
45
46
if ok
0 commit comments