Class BrainKeywordMatcher

java.lang.Object
ubic.gemma.core.geoscrape.BrainKeywordMatcher
All Implemented Interfaces:
GeoRecordMatcher

@Component public class BrainKeywordMatcher extends Object implements GeoRecordMatcher
Cheesy v1 brain-related keyword matcher. Cross-checks the curated keyword set against title / summary / sample details / MeSH headings.

If the supplied UberonOntologyService is loaded at first evaluation, descendant term labels of UBERON:0000955 (brain) are folded into the keyword set. Otherwise the curated set alone is used — Uberon isn't loaded in unit-test contexts.

v2 will replace this with a curation-agent pass + gene-set-fetch skill output; see GeoRecordMatcher javadoc.

  • Constructor Details

    • BrainKeywordMatcher

      @Autowired public BrainKeywordMatcher(@Nullable UberonOntologyService uberon)
    • BrainKeywordMatcher

      public BrainKeywordMatcher()
      Test seam: no-arg constructor uses the curated set only.
  • Method Details