code: def rule_5(dep_rel, text):
      """Extract term if rule 5 applies.
  
      Args:
          dep_rel (DepRelation): Dependency relation.
          text (str): Sentence text.
      """
      candidate = None
      if (
          is_subj_obj_or_mod(dep_rel)
          and dep_rel.dep.norm_pos == POS.ADJ
      ):
          return CandidateTerm(
              dep_rel.dep, dep_rel.gov, text, Polarity.UNK
          )
      return candidate
  
file_path: nlp-architect/nlp_architect/models/absa/train/rules.py
imports: from nlp_architect.models.absa.inference.data_types import Polarity
  from nlp_architect.models.absa.train.data_types import CandidateTerm, RelCategory, DepRelationTerm, POS
label_desc: Use image node_id 5 for calling a global function with example usage: rule_5(dep_rel, text) and returns: candidate, CandidateTerm