def test_warn_if_part_of_speech_features_cannot_be_computed(
    create_lexical_syntactic_featurizer: Callable[
        [Dict[Text, Any]], LexicalSyntacticFeaturizer
    ],
    sentence: Text,
    feature_config: Dict[Text, Any],
    expected_features: np.ndarray,