




class 			a__    :






						def __init__(   self		,			_A			):




											"""simple docstring"""



											__lowerCAmelCase				   =       len(_A			)
											__lowerCAmelCase				   =       [0] * len_array

											if len_array > 0:
																__lowerCAmelCase				   =       array[0]

											for i in range(1		,			_A			):
																__lowerCAmelCase				   =       self.prefix_sum[i - 1] + array[i]






						def 				__SCREAMING_SNAKE_CASE(   self		,			_A		,			_A			):




											"""simple docstring"""



											if start == 0:
																return self.prefix_sum[end]

											return self.prefix_sum[end] - self.prefix_sum[start - 1]






						def 				__SCREAMING_SNAKE_CASE(   self		,			_A			):




											"""simple docstring"""



											__lowerCAmelCase				   =       {0}
											for sum_item in self.prefix_sum:
																if sum_item - target_sum in sums:
																					return True

																sums.add(_A			)

											return False


if __name__ == "__main__":
					import doctest

					doctest.testmod()










from typing import TYPE_CHECKING

from ...utils import _LazyModule


UpperCamelCase__    			=			{"""tokenization_wav2vec2_phoneme""": ["""Wav2Vec2PhonemeCTCTokenizer"""]}


if TYPE_CHECKING:
					from .tokenization_wavaveca_phoneme import WavaVecaPhonemeCTCTokenizer
else:
					import sys

					UpperCamelCase__    			=			_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)




