code: def test_average_word_length():
      # Arrange
      text = [
          "This is a, test sentence.",
          "This is another !!! test sentence.",
          "וואלק זה משפט בעברית אפילו יא ווראדי",
      ]
  
      # Act
      result = calculate_builtin_properties(
          text, include_properties=["Average Word Length"]
      )[0]
      result_none_text = calculate_builtin_properties(
          [None], include_properties=["Average Word Length"]
      )[0]
      result_empty_string = calculate_builtin_properties(
          [""], include_properties=["Average Word Length"]
      )[0]
  
      # Assert
      assert_that(
          result["Average Word Length"],
          equal_to([19 / 5, 25 / 5, 30 / 7]),
      )
      assert_that(
          result_none_text["Average Word Length"], equal_to([np.nan])
      )
      assert_that(
          result_empty_string["Average Word Length"], equal_to([0])
      )
  
imports: import os
  import pathlib
  import timeit
  import uuid
  import numpy
  import pytest
  from hamcrest import *
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.nlp.utils.text_properties import TOXICITY_MODEL_NAME_ONNX, _sample_for_property, calculate_builtin_properties, english_text
  from deepchecks.nlp.utils.text_properties_models import MODELS_STORAGE, _get_transformer_model_and_tokenizer
label_desc: Use image node_id 4 for calling a global function with example usage: test_average_word_length() without return types