Skip to content

Commit

Permalink
Merge branch 'patch-27' of https://github.com/johnfouf/iis into marek…
Browse files Browse the repository at this point in the history
…horst_1498_integrate_NBFC_mining_with_the_community_reference_extraction_algorithm
  • Loading branch information
marekhorst committed Nov 22, 2024
2 parents ee84c57 + 9b0fac3 commit c3629e2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ setschema 'docid,prev,middle,next' select c1, textwindow2s(keywords(filterstopwo
), grants where conceptLabel="INSPIRED RIs" and regexprmatches("\bMIS|INSPIRED", context)
) group by docid

-- NBFC
union all
select jdict('documentId',docid, 'conceptId', 'nbfc', 'confidenceLevel', 0.8,'textsnippet',context) as c1 from (
select docid, prev||" "||middle||" "||next as context
from (
setschema 'docid,prev,middle,next' select c1, textwindow2s(keywords(lower(c2)),7,4,3, 'national biodiversity future cent') from pubs where c2 is not null
)
) group by docid

union all

Expand Down

0 comments on commit c3629e2

Please sign in to comment.