class_docstr: Dummy-valued seq2seq salience, for testing.
class_docstr_tok: ["Dummy-valued","seq2seq","salience",",","for","testing","."]
code: def is_compatible(
      self, model: lit_model.Model, dataset: lit_dataset.Dataset
  ) -> bool:
      del dataset  # Unused as salience comes from the model.
      has_inputs = utils.spec_contains(
          model.input_spec(), types.TextSegment
      )
      has_outputs = utils.spec_contains(
          model.output_spec(), _SUPPORTED_OUTPUTS
      )
      return has_inputs and has_outputs
  
file_path: lit/lit_nlp/components/sequence_salience.py
imports: from typing import Optional
  import Levenshtein
  from lit_nlp.api import components
  from lit_nlp.api import dataset
  from lit_nlp.api import dtypes
  from lit_nlp.api import model
  from lit_nlp.api import types
  from lit_nlp.lib import utils
  import numpy
label_desc: Use image node_id 5 for calling the DummySequenceSalience obj's underlying member method code with example usage: obj.is_compatible(model, dataset) and returns: unknown