code: def test_data_sequence_str(self, docs):
      data = [tok.text for tok in docs[0]]
      graph = network.build_similarity_network(data, "levenshtein")
      assert len(graph) == len(set(data))
      assert all(
          "weight" in data for _, _, data in graph.edges(data=True)
      )
  
file_path: textacy/tests/representations/test_network.py
imports: from cytoolz import itertoolz
  import pytest
  import textacy
  from textacy.representations import network
label_desc: Use image node_id 1 for calling the TestSimilarityNetwork obj's underlying member method code with example usage: obj.test_data_sequence_str(docs) without return types