






def       snake_case_		(     lowerCAmelCase_       :						str       ,       lowerCAmelCase_       :						int      ):
							return [sentence[i : i + ngram_size] for i in range(len(lowerCAmelCase_      ) - ngram_size + 1      )]


if __name__ == "__main__":
	from doctest import testmod

	testmod()







import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


lowerCamelCase : Union[str, Any]						   =       logging.get_logger(__name__)

class 		lowerCAmelCase     ( __a			):

					'''simple docstring'''

					def __init__(  self				:	int		,     *__a				:	Dict		,     **__a				:	Optional[Any]							)			->  None:


												"""simple docstring"""

												warnings.warn(
												    """The class BeitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
												    """ use BeitImageProcessor instead."""		,     __a		,     )
												super().__init__(*__a		,     **__a							)