class_docstr: Spanish rule-based lemmatizer with morph-based rule selection.
class_docstr_tok: ["Spanish","rule-based","lemmatizer","with","morph-based","rule","selection","."]
code: def select_rule(self, pos: str, features: List[str]) -> Optional[str]:
      groups = self.lookups.get_table("lemma_rules_groups")
      if pos in groups:
          for group in groups[pos]:
              if set(group[1]).issubset(features):
                  return group[0]
      return None
  
file_path: spacy/spacy/lang/es/lemmatizer.py
imports: import re
  from typing import List, Optional, Tuple
  from ...pipeline import Lemmatizer
  from ...tokens import Token
label_desc: Use image node_id 3 for calling the SpanishLemmatizer obj's underlying member method code with example usage: obj.select_rule(pos, features) and returns: None, group