




import warnings

from ...utils import logging
from .image_processing_clip import CLIPImageProcessor


lowerCamelCase	:	Tuple				=   logging.get_logger(__name__)




class 						__lowercase		(UpperCamelCase__							):




      """simple docstring"""





      def __init__(				self    ,				*A    ,				**A     )		->    List[Any]:
         warnings.warn(
             '''The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
             ''' use CLIPImageProcessor instead.'''    ,				_a    ,				)
         super().__init__(*_a    ,				**_a     )











from collections import defaultdict




def 						SCREAMING_SNAKE_CASE__ (   lowercase						,lowercase					)  ->       bool:
   snake_case				:    List[str]           =	first_str.lower().strip()
   snake_case				:    List[str]           =	second_str.lower().strip()

   # Remove whitespace
   snake_case				:    Any           =	first_str.replace(""" """						,""""""					)
   snake_case				:    List[str]           =	second_str.replace(""" """						,""""""					)

   # Strings of different lengths are not anagrams
   if len(lowercase					) != len(lowercase					):
      return False

   # Default values for count should be 0
   snake_case				:    defaultdict[str, int]           =	defaultdict(lowercase					)

   # For each character in input strings,
   # increment count in the corresponding
   for i in range(len(lowercase					)					):
      count[first_str[i]] += 1
      count[second_str[i]] -= 1

   return all(_count == 0 for _count in count.values()					)


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

       testmod()
       lowerCamelCase	:	List[Any]				=   input('Enter the first string ').strip()
       lowerCamelCase	:	Optional[int]				=   input('Enter the second string ').strip()

       lowerCamelCase	:	Optional[Any]				=   check_anagrams(input_a, input_b)
       print(f"""{input_a} and {input_b} are {"" if status else "not "}anagrams.""")





