index
int64
0
731k
package
stringlengths
2
98
name
stringlengths
1
76
docstring
stringlengths
0
281k
code
stringlengths
4
8.19k
signature
stringlengths
2
42.8k
embed_func_code
sequencelengths
768
768
16,293
exif._image
get_all
Return dictionary containing all EXIF tag values keyed by tag name.
def get_all(self) -> Dict[str, Any]: """Return dictionary containing all EXIF tag values keyed by tag name.""" all_tags = {} for tag_name in self.list_all(): try: tag_value = getattr(self, tag_name) except Exception: # pylint: disable=broad-except logger.warning("unable to read tag %r", tag_name) else: all_tags[tag_name] = tag_value return all_tags
(self) -> Dict[str, Any]
[ 0.0432889498770237, -0.07831497490406036, -0.058681387454271317, -0.05045502260327339, -0.00371785880997777, -0.0036310250870883465, -0.023070376366376877, -0.06650557368993759, 0.06745617091655731, -0.0027672569267451763, -0.01126097608357668, -0.00036333102616481483, 0.01619679480791092, 0.007138654589653015, 0.004238862078636885, -0.045592330396175385, -0.02663513459265232, 0.06621307879686356, -0.007961290888488293, -0.030766597017645836, -0.02341771312057972, 0.05838889256119728, -0.0011265546781942248, -0.020986365154385567, 0.01832650788128376, 0.04361800104379654, 0.04219210147857666, -0.04241146892309189, 0.06628619879484177, 0.018344787880778313, -0.06613995879888535, -0.06189880892634392, 0.008879901841282845, -0.014460117556154728, -0.05469617247581482, -0.03440447524189949, 0.0075271218083798885, 0.015822038054466248, -0.017467310652136803, 0.07012517005205154, 0.004138317424803972, -0.042703963816165924, 0.007284901104867458, -0.045994509011507034, 0.004540495108813047, -0.015026822686195374, -0.019999202340841293, -0.05162499472498894, 0.09842386096715927, -0.0022028370294719934, 0.04738384857773781, 0.02703731134533882, -0.010721692815423012, -0.021553069353103638, -0.017558714374899864, 0.0006204048404470086, -0.015812896192073822, 0.03711003437638283, 0.006512537132948637, 0.08621227741241455, -0.032923731952905655, -0.01974327117204666, 0.041351184248924255, -0.05974167212843895, -0.013061636127531528, 0.002394785638898611, -0.0041268919594585896, -0.011617451906204224, -0.04610419273376465, 0.009469457902014256, -0.005589356180280447, -0.07663314044475555, 0.012869687750935555, 0.0004890115815214813, -0.03912092372775078, 0.00036761557566933334, -0.03835313022136688, 0.01892063394188881, -0.0072254883125424385, -0.029084762558341026, -0.05476929619908333, 0.03687238693237305, 0.0009905911283567548, 0.03294201195240021, -0.009076420217752457, 0.028134159743785858, 0.012485790066421032, -0.005502522457391024, 0.03422166779637337, 0.06986924260854721, -0.019267968833446503, 0.0665786936879158, -0.009405474178493023, 0.04153399169445038, 0.012741722166538239, -0.03080315701663494, -0.024660807102918625, 0.02822556346654892, 0.00845487229526043, -0.010337796062231064, -0.031022528186440468, -0.024496279656887054, 0.0031945707742124796, 0.004721018020063639, -0.022101493552327156, -0.040290895849466324, -0.02453284151852131, -0.03455072268843651, 0.0673830509185791, 0.030620349571108818, -0.04160711541771889, -0.0376950204372406, 0.04113181307911873, 0.012165876105427742, 0.012266420759260654, -0.06153319403529167, 0.013491234742105007, 0.006224614568054676, -0.058352332562208176, -0.08299485594034195, 0.011123870499432087, 0.05334339290857315, 0.001262518111616373, 0.037585336714982986, 0.01956046186387539, 0.034751810133457184, 0.014734329655766487, 0.008473153226077557, 0.025867341086268425, 0.034130264073610306, 0.012951950542628765, 0.030912842601537704, 0.01616937294602394, 0.028755707666277885, 0.04544608294963837, -0.04756665602326393, 0.04244803264737129, 0.023527396842837334, 0.027530893683433533, 0.030656911432743073, 0.010803956538438797, -0.00423200661316514, 0.005575645714998245, 0.003144298680126667, 0.008829629048705101, -0.012568053789436817, 0.05173468217253685, 0.020730433985590935, -0.017485590651631355, -0.10573618113994598, -0.011480346322059631, 0.025556566193699837, -0.04489766061306, -0.02180900052189827, 0.016370462253689766, -0.013235303573310375, 0.024989861994981766, 0.015986565500497818, -0.07889995723962784, -0.02758573554456234, -0.03354527801275253, 0.042630840092897415, -0.06730993092060089, -0.04504390433430672, -0.0228692889213562, -0.035483043640851974, 0.0019320526625961065, 0.018271666020154953, 0.05517147108912468, 0.004753009416162968, -0.03879186883568764, -0.017814645543694496, -0.03281404823064804, 0.004995230119675398, 0.0142316073179245, 0.06438499689102173, -0.0023022389505058527, 0.029706310480833054, 0.027969632297754288, 0.03504430502653122, 0.016818340867757797, -0.06105789169669151, -0.0465429313480854, 0.04449548199772835, 0.021077768877148628, 0.029139604419469833, 0.047530096024274826, -0.01780550554394722, -0.029815994203090668, 0.005283152684569359, 0.04032745957374573, -0.030858000740408897, -0.051369063556194305, 0.01638874225318432, 0.027786824852228165, -0.0026141551788896322, -0.0059915343299508095, 0.018353929743170738, -0.03948654234409332, 0.06303221732378006, 0.0010762824676930904, 0.00555279478430748, -0.01766839809715748, 0.02952350117266178, -0.03648848831653595, 0.0019263399299234152, 0.02318006195127964, -0.033307626843452454, -0.04083932191133499, -0.005877279210835695, 0.040217772126197815, -0.006741047371178865, -0.06862614303827286, -0.010438339784741402, 0.032119374722242355, 0.03603146970272064, -0.013783727772533894, 0.026671696454286575, -0.01892063394188881, -0.00851428508758545, 0.0004061766667291522, -0.028097597882151604, -0.00873822532594204, 0.005772164557129145, 0.02268647961318493, 0.018664702773094177, 0.039011240005493164, -0.008336047641932964, -0.020145447924733162, -0.009506018832325935, 0.040217772126197815, -0.018299086019396782, 0.015301034785807133, 0.019615305587649345, 0.004967809189110994, 0.04603106901049614, 0.024331752210855484, -0.0228510070592165, 0.0312967412173748, -0.03319794312119484, 0.05787703022360802, -0.003674441948533058, -0.032046250998973846, 0.0432889498770237, -0.03040098026394844, -0.08028929680585861, 0.011196993291378021, 0.07802248001098633, -0.02029169537127018, -0.06266660243272781, 0.09454832971096039, 0.017010290175676346, 0.05228310450911522, 0.00743571761995554, 0.0007769342628307641, -0.06292253732681274, -0.016937166452407837, 0.034532442688941956, 0.0673830509185791, -0.06475061178207397, 0.03740252926945686, -0.0409124419093132, 0.014249888248741627, 0.017138255760073662, -0.0043805381283164024, 0.06467749178409576, 0.05246591195464134, 0.008697093464434147, -0.0889909639954567, 0.006306877825409174, 0.053526200354099274, -0.006535388063639402, -0.049211930483579636, -0.04233834519982338, 0.02751261368393898, 0.02478877268731594, 0.0882597342133522, -0.006092078518122435, -0.04003496468067169, -0.023947855457663536, 0.02310693822801113, -0.012248139828443527, 0.031973131000995636, 0.017576994374394417, 0.011644873768091202, -0.02928585186600685, -0.032283902168273926, 0.01680920086801052, 0.0017595276003703475, -0.03890155628323555, 0.008610259741544724, 0.02509954571723938, -0.06233754754066467, -0.03422166779637337, 0.0004607334267348051, -0.00016981155204121023, -0.05407462269067764, -0.05155187100172043, 0.05447680130600929, 0.005685330834239721, 0.020657310262322426, 0.02623295597732067, 0.00625203549861908, 0.010328655131161213, -0.06778522580862045, 0.046323563903570175, 0.049358174204826355, 0.008486864157021046, -0.061642877757549286, -0.02237570658326149, 0.019048599526286125, 0.055134911090135574, 0.042630840092897415, 0.010292093269526958, -0.04237490892410278, -0.035483043640851974, -0.00008847624121699482, 0.05751141533255577, -0.01707427203655243, 0.032686080783605576, 0.007572823669761419, 0.04197273030877113, -0.055463965982198715, -0.009359772317111492, 0.10200689733028412, -0.013171320781111717, 0.018070576712489128, -0.014725188724696636, 0.025373758748173714, 0.021699316799640656, 0.0025958744809031487, -0.03193656727671623, 0.011608311906456947, 0.08314110338687897, 0.004389678593724966, 0.04610419273376465, -0.018024874851107597, 0.005429399199783802, -0.00690100435167551, -0.00635715015232563, -0.05283153057098389, -0.054659608751535416, -0.028682583943009377, 0.008555416949093342, -0.021699316799640656, -0.005758453626185656, 0.009926477447152138, -0.014304731041193008, 0.0244597177952528, -0.03361840173602104, 0.02663513459265232, -0.0002312236319994554, 0.03643364459276199, 0.05688986927270889, 0.0432889498770237, -0.024989861994981766, -0.03458728641271591, 0.05652425065636635, 0.011379801668226719, 0.04146086797118187, 0.03253983333706856, -0.01972498930990696, -0.019871236756443977, -0.03562929108738899, 0.07802248001098633, -0.012942810542881489, 0.03352699801325798, 0.06222786381840706, 0.02310693822801113, -0.03831657022237778, -0.03440447524189949, 0.030620349571108818, -0.0681874081492424, -0.04281364753842354, 0.04098556563258171, -0.0340571403503418, 0.05392837896943092, -0.011489486321806908, -0.048553820699453354, 0.041899606585502625, -0.013975676149129868, 0.026598572731018066, 0.025611409917473793, 0.021534789353609085, 0.04837101325392723, -0.038864992558956146, 0.04354488104581833, -0.022759603336453438, 0.015895159915089607, 0.020108886063098907, 0.0033453875221312046, 0.001496740966103971, -0.08613915741443634, 0.03824344649910927, -0.009195245802402496, -0.06507966667413712, -0.024404875934123993, -0.051698118448257446, -0.04281364753842354, 0.01648014597594738, -0.012979372404515743, -0.03296029195189476, -0.03513570874929428, -0.012760002166032791, 0.002458768431097269, -0.016726937144994736, -0.014478398486971855, -0.07257480174303055, -0.008884471841156483, -0.05901044234633446, 0.006914714816957712, 0.003608174156397581, -0.010118425823748112, -0.06156975403428078, 0.024496279656887054, 0.048955999314785004, 0.04113181307911873, 0.024898458272218704, 0.01664467342197895, 0.012330403551459312, -0.019597023725509644, -0.025044703856110573, -0.04109525308012962, 0.05235622823238373, -0.04665261507034302, -0.010383497923612595, 0.008532566018402576, 0.03239358961582184, 0.0027238400653004646, 0.014505819417536259, -0.007801333907991648, 0.06504310667514801, -0.06376345455646515, -0.02237570658326149, 0.024807052686810493, -0.04186304658651352, -0.018299086019396782, -0.05743829160928726, 0.0010477186879143119, 0.05027221515774727, -0.057292044162750244, 0.016013985499739647, 0.03350871801376343, 0.030894562602043152, 0.002579878782853484, -0.013646621257066727, -0.05275840684771538, 0.0705639123916626, 0.026598572731018066, -0.05751141533255577, 0.033399030566215515, -0.0312601774930954, 0.06720024347305298, -0.03703691437840462, 0.0697961151599884, 0.05286809056997299, -0.021936967968940735, -0.02910304255783558, -0.015950003638863564, -0.010694271884858608, -0.02621467597782612, 0.04025433585047722, -0.005584786180406809, -0.03263123705983162, -0.049211930483579636, -0.029377255588769913, -0.03423994779586792, -0.01948734000325203, 0.0014933133497834206, 0.007769342511892319, 0.0761943981051445, -0.00169897242449224, -0.0036950078792870045, -0.02910304255783558, -0.07041766494512558, -0.017458168789744377, 0.015118226408958435, 0.051442187279462814, -0.02109605073928833, -0.0842379555106163, 0.043581441044807434, -0.06635932624340057, -0.011571750044822693, -0.02645232528448105, 0.008921033702790737, 0.01536501757800579, 0.06957674771547318, -0.014697767794132233, -0.04548264667391777, -0.01127011701464653, -0.04124149680137634, 0.031570952385663986, -0.036689575761556625, 0.03317966312170029, 0.021754158660769463, -0.006105788983404636, 0.021224016323685646, 0.0320645347237587, -0.038938116282224655, 0.03583037853240967, 0.014386993832886219, -0.08643165230751038, 0.021205734461545944, 0.021443385630846024, 0.011526048183441162, 0.020785275846719742, -0.0038092629984021187, 0.009560861624777317, 0.012906248681247234, -0.049358174204826355, -0.026763100177049637, -0.017421608790755272, -0.008655961602926254, -0.009231806732714176, 0.009295789524912834, -0.06405594199895859, -0.04756665602326393, 0.02623295597732067, -0.022119775414466858, 0.05901044234633446, -0.013865991495549679, 0.023527396842837334, -0.003514484968036413, 0.001858929404988885, -0.01877438835799694, 0.011462065391242504, -0.0011694002896547318, -0.0268545038998127, -0.04160711541771889, 0.0015595812583342195, -0.006964987143874168, -0.030528945848345757, -0.04153399169445038, -0.04105868935585022, -0.02389301359653473, -0.0032539833337068558, 0.043983619660139084, -0.009926477447152138, -0.04939473792910576, 0.030364418402314186, 0.07129514217376709, -0.01799745298922062, 0.02760401740670204, 0.020474502816796303, 0.044861096888780594, -0.02782338671386242, -0.041351184248924255, -0.006352580152451992, 0.05974167212843895, -0.015758054330945015, 0.021077768877148628, -0.0505281463265419, -0.048480696976184845, -0.0753900408744812, 0.023618800565600395, -0.013600919395685196, 0.03182688355445862, -0.025721093639731407, -0.055683333426713943, -0.014094501733779907, 0.021955247968435287, 0.027402928099036217, -0.03904780000448227, 0.015191350132226944, -0.04347175732254982, 0.0244597177952528, -0.0034687828738242388, 0.04244803264737129, -0.0432889498770237, -0.020639030262827873, -0.011873383074998856, -0.0005552794900722802, -0.011580890975892544, -0.040619950741529465, 0.07422006875276566, 0.0441298671066761, -0.012366965413093567, 0.011946506798267365, -0.009743670001626015, -0.05571989715099335, 0.03190000727772713, 0.0070335399359464645, 0.031022528186440468, -0.028993358835577965, 0.014405274763703346, 0.03831657022237778, -0.023399431258440018, 0.03264952078461647, 0.021224016323685646, 0.025556566193699837, -0.027000749483704567, -0.07049078494310379, 0.013116477988660336, -0.03237530589103699, -0.004912966396659613, -0.020273413509130478, 0.012138455174863338, 0.008907322771847248, -0.0633978322148323, -0.04826132580637932, 0.04994316026568413, -0.002297668717801571, 0.008441162295639515, -0.025702813640236855, -0.0441298671066761, -0.006791319232434034, 0.0449342206120491, 0.020309975370764732, -0.017394186928868294, -0.017842067405581474, -0.028463214635849, -0.024770492687821388, 0.033088259398937225, 0.03111393190920353, 0.014249888248741627, 0.04153399169445038, -0.014323011040687561, 0.03871874511241913, 0.028847111389040947, -0.0040286327712237835, -0.011818541213870049, -0.0489194355905056, -0.047676343470811844, 0.029413817450404167, -0.007202637381851673, -0.06665182113647461, 0.00511405523866415, 0.032521553337574005, 0.012440088205039501, 0.020072324201464653, 0.036762699484825134, -0.007390015758574009, 0.09440208226442337, -0.026415765285491943, 0.0025044702924788, 0.03776814416050911, 0.044239550828933716, -0.02332630753517151, -0.06613995879888535, 0.04434923455119133, 0.018792668357491493, -0.0142316073179245, -0.015282753854990005, 0.03306997939944267, 0.03952310234308243, 0.02398441731929779, -0.0006758185336366296, -0.010602867230772972, 0.0794118195772171, -0.06687118858098984, 0.010557165369391441, -0.018463613465428352, -0.014935418032109737, 0.004935817793011665, -0.04467828944325447, -0.0046593202278018, -0.04098556563258171, 0.008157809264957905, -0.03809719905257225, -0.008336047641932964, -0.06273972243070602, 0.004341691266745329, -0.03831657022237778, 0.002751261228695512, 0.036616455763578415, -0.0545133613049984, -0.09593766927719116, 0.023216623812913895, 0.015785476192831993, 0.0003644735552370548, 0.06135038286447525, 0.06193536892533302, 0.06910144537687302, -0.0008751935674808919, -0.030766597017645836, 0.0200540442019701, 0.04829788953065872, 0.025483444333076477, 0.043435193598270416, -0.012257280759513378, -0.009094701148569584, 0.04467828944325447, 0.043983619660139084, 0.04416642710566521, 0.023838171735405922, -0.016343040391802788, -0.0061514913104474545, -0.010721692815423012, 0.01893891580402851, 0.02268647961318493, -0.027640579268336296, -0.06149663031101227, 0.03915748745203018, 0.027530893683433533, 0.012385246343910694, 0.0184453334659338, 0.01671779714524746, 0.0009945901110768318, 0.02431347221136093, -0.018216822296380997, -0.03182688355445862, -0.010822237469255924, 0.0022154052276164293, 0.021607913076877594, 0.027933072298765182, -0.03595834597945213, 0.0168366227298975, 0.017650118097662926, -0.06599371135234833, -0.002547887386754155, -0.026982469484210014, 0.014249888248741627, -0.039669349789619446, -0.008870760910212994, 0.03535507991909981, 0.02760401740670204, 0.0433255098760128, -0.03283232823014259, 0.019213126972317696, 0.02413066290318966, 0.030583787709474564, 0.025629689916968346, 0.013600919395685196, 0.06559152901172638, -0.01996264047920704, 0.05147875100374222, -0.010877079330384731, 0.000994018861092627, -0.05981479585170746, 0.07904620468616486, -0.005895559675991535, 0.02912132441997528, -0.05955886468291283, 0.00017395328904967755, -0.06263004243373871, -0.06478717923164368, 0.0034367914777249098, -0.02228430286049843, -0.02630607970058918, 0.014725188724696636, 0.03283232823014259, -0.00509577477350831, 0.008125818334519863, 0.02069387212395668, 0.004385108128190041, -0.06665182113647461, 0.04314270243048668, 0.01002702210098505, -0.047603219747543335, 0.03071175329387188, -0.001277371309697628, 0.07926557213068008, 0.011855103075504303, -0.023545678704977036, 0.060765400528907776, -0.009615703485906124, 0.03992528095841408, -0.016653813421726227, 0.04186304658651352, 0.05414774641394615, -0.02109605073928833, -0.026598572731018066, -0.023527396842837334, 0.035574447363615036, -0.011608311906456947, 0.03456900268793106, -0.007188926916569471, -0.02398441731929779 ]
16,294
exif._image
get_file
Generate equivalent binary file contents. :returns: image binary with EXIF metadata
def get_file(self) -> bytes: """Generate equivalent binary file contents. :returns: image binary with EXIF metadata """ assert isinstance(self._segments["preceding"], bytes) img_bytes = self._segments["preceding"] if self._has_exif: assert isinstance(self._segments["APP1"], App1MetaData) img_bytes += self._segments["APP1"].get_segment_bytes() assert isinstance(self._segments["succeeding"], bytes) img_bytes += self._segments["succeeding"] return img_bytes
(self) -> bytes
[ 0.050406407564878464, -0.05464620143175125, -0.027739832177758217, 0.04602166637778282, 0.045695528388023376, -0.08762235194444656, -0.012873384170234203, 0.020528562366962433, 0.005358625203371048, -0.025402510538697243, 0.0859554260969162, 0.031164279207587242, -0.017756391316652298, -0.0007808055961504579, 0.044862065464258194, 0.013960509561002254, -0.0035512782633304596, -0.03757832199335098, 0.017548024654388428, 0.03478803113102913, 0.024061722680926323, 0.027160031720995903, -0.023155784234404564, -0.03678109496831894, 0.024623403325676918, 0.03830307349562645, -0.010998091660439968, -0.032668136060237885, 0.033755261451005936, -0.040187425911426544, -0.009602946229279041, -0.08617285639047623, 0.045043252408504486, -0.01095279399305582, -0.0058206538669764996, 0.01462184451520443, 0.03888287395238876, 0.0323963537812233, -0.05518976226449013, 0.021996183320879936, -0.0460941419005394, -0.05859609320759773, 0.02480459213256836, 0.0034403009340167046, -0.008950671181082726, -0.002738198498263955, -0.014993279241025448, -0.07200397551059723, 0.024188553914427757, 0.03080190345644951, 0.047724831849336624, 0.02500389888882637, 0.010436409153044224, -0.016306890174746513, 0.005612288136035204, 0.017566144466400146, -0.024858947843313217, -0.015092932619154453, -0.02612726204097271, 0.08914433419704437, -0.0025298327673226595, -0.010427350178360939, 0.07341723889112473, -0.07059071213006973, 0.016931988298892975, 0.05671174079179764, 0.0035082462709397078, -0.03123675286769867, -0.046855129301548004, 0.025402510538697243, 0.033121105283498764, -0.039498910307884216, 0.006604290567338467, 0.01526506058871746, -0.058125004172325134, -0.0340995192527771, -0.006106024142354727, -0.01574520766735077, 0.07733089476823807, -0.0045500751584768295, -0.01228452380746603, 0.009213392622768879, 0.0332479365170002, 0.018517378717660904, 0.04830463230609894, 0.016986344009637833, 0.03649119660258293, -0.005875010043382645, -0.046601466834545135, 0.03540407121181488, 0.018934112042188644, 0.06544498354196548, -0.01262878067791462, 0.0372159481048584, 0.0580887645483017, -0.05685668811202049, -0.03714347258210182, 0.05218204855918884, -0.004343974404036999, -0.0055035753175616264, -0.07841802388429642, 0.004602166824042797, -0.029153095558285713, 0.015636496245861053, 0.021778756752610207, -0.0035512782633304596, -0.004033690318465233, -0.0005837639910168946, -0.011967445723712444, -0.040658511221408844, -0.0016272917855530977, -0.04449969157576561, -0.03540407121181488, -0.04598543047904968, 0.04254286363720894, -0.039100296795368195, 0.022902121767401695, 0.014676201157271862, -0.0009421758586540818, -0.006640527863055468, 0.012121454812586308, -0.04004247486591339, -0.04410107806324959, 0.0038321190513670444, 0.0032002271618694067, -0.014042044058442116, 0.03681733459234238, -0.04185435175895691, -0.011777197942137718, -0.0691412165760994, 0.012900562025606632, -0.0013521129731088877, 0.016687383875250816, 0.014757735654711723, -0.056603025645017624, -0.027794187888503075, 0.07265625149011612, -0.014703379012644291, -0.02991408295929432, 0.06116895750164986, 0.00941269937902689, 0.002640810329467058, 0.018263716250658035, 0.0056802332401275635, -0.009566708467900753, 0.001636351109482348, 0.03453436866402626, -0.012565365061163902, 0.01161412987858057, -0.012384177185595036, 0.0309830904006958, -0.024242909625172615, -0.03304862976074219, -0.028863195329904556, 0.04533315449953079, -0.037723273038864136, 0.03563961386680603, 0.027739832177758217, -0.07631624490022659, -0.005181967280805111, -0.011686604470014572, 0.002053082687780261, -0.01160506997257471, -0.046818893402814865, -0.0032477888744324446, 0.008225919678807259, -0.037976935505867004, 0.06638716161251068, 0.057001639157533646, -0.015138229355216026, -0.025783004239201546, -0.0018118766602128744, -0.03056635893881321, 0.0010072902077808976, 0.037723273038864136, 0.08327385038137436, -0.017149413004517555, 0.010237103328108788, 0.0036124291364103556, 0.01730342209339142, 0.0020213748794049025, -0.005743648856878281, -0.01989440619945526, 0.03056635893881321, 0.04558681696653366, 0.013752143830060959, 0.04388365149497986, 0.02851893939077854, 0.11588763445615768, -0.0492105707526207, 0.005983722861856222, 0.015554960817098618, -0.005888598971068859, 0.04428226500749588, 0.029986558482050896, -0.035549018532037735, 0.03859297186136246, 0.03415387496352196, -0.014649023301899433, -0.005209145601838827, -0.03801317140460014, -0.03438941761851311, 0.018481142818927765, -0.0007485315436497331, -0.04446345195174217, 0.03237823769450188, 0.03317546099424362, 0.017756391316652298, -0.1248745396733284, 0.029497351497411728, 0.022630339488387108, -0.04120207577943802, -0.05805252864956856, -0.00794960930943489, 0.01635218784213066, -0.007546466309577227, -0.04765235632658005, 0.0607341043651104, -0.04964542016386986, 0.03761455789208412, -0.017756391316652298, 0.01504763588309288, -0.02723250724375248, -0.0030167745426297188, 0.03205209970474243, -0.009512352757155895, 0.013770262710750103, -0.06250974535942078, -0.013281055726110935, 0.0025841891765594482, -0.017412135377526283, -0.01902470551431179, 0.02543874830007553, 0.02904438227415085, 0.06287211924791336, 0.0768960490822792, 0.014114519581198692, -0.043267615139484406, -0.004928304348140955, -0.009802252985537052, 0.003986128605902195, 0.023771822452545166, 0.019079061225056648, 0.0425066277384758, -0.004047279711812735, -0.08175187557935715, 0.041491974145174026, 0.02194182574748993, -0.029624182730913162, -0.027051318436861038, 0.06852517277002335, -0.024224791675806046, 0.035096049308776855, -0.010101212188601494, 0.03652743250131607, 0.043956127017736435, 0.031309228390455246, -0.07892534881830215, 0.07979504764080048, 0.06254598498344421, 0.029497351497411728, -0.023373208940029144, 0.01595357432961464, -0.04449969157576561, -0.04754364490509033, 0.0027019609697163105, -0.028645770624279976, 0.014567488804459572, -0.06229231879115105, 0.04696384444832802, 0.042397912591695786, 0.05993688106536865, -0.04696384444832802, -0.04801473021507263, 0.03326605632901192, -0.07573644816875458, 0.0230470709502697, -0.015237882733345032, 0.021851232275366783, -0.036183178424835205, -0.013670609332621098, -0.0038343840278685093, 0.048848193138837814, -0.005376744084060192, 0.023119546473026276, -0.014495013281702995, -0.010454528033733368, -0.011432942003011703, 0.026525873690843582, -0.03167160600423813, -0.01683233492076397, 0.04388365149497986, -0.06645963340997696, -0.07646119594573975, 0.00036775434273295105, -0.010291459038853645, -0.061857469379901886, -0.016415603458881378, 0.008416167460381985, -0.028446463868021965, -0.034624963998794556, 0.05471867695450783, 0.014784913510084152, 0.023101426661014557, -0.07979504764080048, 0.06109648197889328, 0.03525912016630173, -0.02239479497075081, -0.039317723363637924, -0.03344724327325821, 0.019187774509191513, 0.0035943102557212114, 0.04852205887436867, 0.016886690631508827, -0.005730059929192066, 0.0016476752934977412, 0.04584047943353653, 0.06722062081098557, 0.05913965404033661, 0.03549466282129288, 0.02610914222896099, 0.04160068929195404, -0.005236323457211256, 0.00974789634346962, 0.11690228432416916, -0.0023599693085998297, 0.006096965167671442, -0.00007162574911490083, -0.009584827348589897, 0.04112960025668144, 0.01679609715938568, 0.027323100715875626, 0.021525094285607338, 0.06428538262844086, 0.0040948414243757725, -0.002611367264762521, -0.006133202463388443, -0.03188902884721756, -0.0012026331387460232, -0.03228764235973358, 0.0007536274497397244, -0.05961074307560921, 0.022865884006023407, 0.01637030579149723, 0.013888034969568253, -0.05953826755285263, -0.0003671881277114153, -0.05649431422352791, -0.03179843723773956, -0.02632656879723072, -0.04584047943353653, -0.0009387786267325282, -0.025583699345588684, -0.015573079697787762, -0.009956262074410915, -0.00006146933446871117, -0.0513848215341568, 0.0006771889165975153, -0.002867294941097498, 0.0674380511045456, 0.06214737147092819, 0.04910185933113098, -0.03395456820726395, -0.010318637825548649, -0.01816406287252903, 0.004683701321482658, -0.00619661808013916, 0.06787289679050446, -0.012520067393779755, -0.003870621556416154, -0.05584203824400902, 0.0060652573592960835, -0.03406327962875366, -0.02415231615304947, 0.06160380691289902, -0.039752572774887085, -0.022412914782762527, -0.05243571102619171, -0.03502357751131058, 0.02411607839167118, -0.04228920117020607, 0.047724831849336624, -0.09117363393306732, 0.028899433091282845, 0.011695663444697857, 0.021198956295847893, -0.012556305155158043, -0.01730342209339142, 0.004950953181833029, -0.02411607839167118, -0.0043167960830032825, 0.0024641521740704775, -0.04986284673213959, 0.010499825701117516, -0.018752923235297203, -0.03545842692255974, -0.0192240122705698, 0.038194358348846436, -0.0005302570061758161, -0.016442781314253807, -0.0031707840971648693, -0.019840048626065254, 0.028682008385658264, 0.019749455153942108, 0.0007428694516420364, -0.07595387101173401, -0.015437189489603043, -0.035766445100307465, 0.012257345952093601, -0.07182279229164124, -0.04141950234770775, -0.02944299578666687, -0.034008923918008804, -0.004950953181833029, 0.035730209201574326, 0.0005837639910168946, 0.007682356983423233, -0.042180489748716354, 0.019586386159062386, 0.006699413992464542, -0.006069786846637726, 0.0943625345826149, -0.006934958044439554, 0.014857389032840729, -0.045079492032527924, -0.003814000403508544, -0.0256924107670784, 0.008769483305513859, -0.021343907341361046, 0.01839054748415947, 0.0011250621173530817, 0.050768785178661346, -0.04910185933113098, 0.027848543599247932, -0.011885911226272583, -0.03968009725213051, -0.0012660488719120622, -0.06957606226205826, 0.04312266409397125, 0.12023613601922989, -0.022666577249765396, 0.011007150635123253, 0.0030099800787866116, 0.020981531590223312, -0.01882539875805378, 0.002267110627144575, -0.0831288993358612, -0.009802252985537052, 0.02609102427959442, -0.03783198446035385, 0.04464464262127876, -0.017104115337133408, 0.035929515957832336, -0.04634780436754227, -0.010101212188601494, 0.018200300633907318, 0.017756391316652298, -0.07399704307317734, -0.050406407564878464, -0.03250506892800331, -0.052798084914684296, 0.04178187623620033, 0.006640527863055468, -0.09429006278514862, 0.04674641788005829, -0.06482894718647003, -0.024858947843313217, 0.0254568662494421, -0.047036319971084595, 0.004688230808824301, 0.046601466834545135, -0.031055565923452377, -0.014422538690268993, 0.012637839652597904, 0.04627532884478569, 0.02299271523952484, 0.024224791675806046, 0.02989596500992775, 0.005521694198250771, -0.06638716161251068, -0.001575200236402452, -0.035730209201574326, -0.08791225403547287, 0.005123081151396036, 0.009385521523654461, 0.039716336876153946, 0.0023078778758645058, -0.016941046342253685, 0.033990807831287384, -0.024224791675806046, -0.0049600121565163136, 0.07385209202766418, -0.08146197348833084, 0.03393644839525223, 0.016542434692382812, 0.05794381722807884, 0.03565773367881775, -0.007818248122930527, -0.028410226106643677, 0.0027653768192976713, -0.02482271008193493, -0.04134702682495117, 0.006685825064778328, -0.04116583615541458, -0.040803462266922, -0.011487297713756561, -0.056530553847551346, -0.046565230935811996, -0.0012932269601151347, -0.018281836062669754, -0.008855546824634075, -0.013362590223550797, -0.03449813276529312, 0.029805371537804604, -0.07276497036218643, 0.021742520853877068, 0.007261095568537712, 0.02011183090507984, 0.014694320037961006, 0.002665723441168666, -0.020492324605584145, 0.0011386512778699398, -0.0012728433357551694, -0.0009308516164310277, -0.028265276923775673, -0.0071931504644453526, -0.019532030448317528, -0.039064060896635056, -0.021343907341361046, -0.0030031856149435043, -0.046565230935811996, -0.02726874314248562, 0.044862065464258194, -0.020528562366962433, 0.003510511014610529, -0.00323419994674623, -0.01839054748415947, 0.00498719047755003, -0.01316328439861536, -0.054609961807727814, 0.015346595086157322, -0.03681733459234238, -0.0074060456827282906, 0.0037822925951331854, -0.0032002271618694067, -0.027812307700514793, 0.03391833230853081, -0.013933331705629826, 0.04913809522986412, -0.03034893423318863, -0.03609258309006691, -0.006934958044439554, 0.051022447645664215, -0.030656952410936356, 0.0513848215341568, 0.03779574856162071, 0.049246806651353836, 0.010110272094607353, -0.02920745126903057, -0.009965321980416775, 0.007777480408549309, 0.03538595139980316, -0.016270652413368225, -0.033121105283498764, -0.08486830443143845, 0.09443501383066177, 0.002493595238775015, 0.03203397989273071, -0.04210801422595978, -0.02522132359445095, 0.0009002762380987406, 0.07341723889112473, 0.0114057632163167, -0.04145573824644089, 0.05533471331000328, 0.003453889861702919, 0.0005741384229622781, 0.08080969750881195, 0.02900814637541771, -0.05939331650733948, 0.037976935505867004, -0.052616897970438004, 0.02877260185778141, 0.008103618398308754, -0.03053012117743492, -0.020872818306088448, -0.02194182574748993, 0.004819591995328665, -0.002731404034420848, 0.010300518944859505, -0.013688728213310242, -0.0708443745970726, 0.022865884006023407, 0.01130611076951027, 0.0034199173096567392, 0.003533159615471959, 0.002108571585267782, -0.029569827020168304, -0.054102636873722076, -0.03609258309006691, 0.0641404315829277, 0.008629062213003635, 0.007940549403429031, 0.01729436218738556, 0.017810747027397156, 0.03881039842963219, -0.07827307283878326, 0.04243415221571922, -0.02594607323408127, -0.00016476753808092326, -0.00604260852560401, 0.025348154827952385, -0.0014993279473856091, -0.0006879469146952033, 0.003578456351533532, 0.07892534881830215, -0.059465792030096054, 0.03681733459234238, -0.028935670852661133, 0.033066749572753906, -0.003410857869312167, -0.013145165517926216, -0.04185435175895691, 0.02083658240735531, 0.02038361318409443, -0.00630986038595438, 0.018771043047308922, 0.038158122450113297, 0.034425657242536545, 0.0051774377934634686, 0.04069475084543228, 0.016904808580875397, 0.05645807832479477, 0.005417511332780123, 0.07638871669769287, -0.014522191137075424, -0.006740181241184473, 0.02743181213736534, -0.009258689358830452, 0.031037447974085808, 0.044862065464258194, -0.041491974145174026, -0.03129110857844353, -0.01637030579149723, -0.02239479497075081, -0.013842737302184105, -0.005354095716029406, -0.04022366181015968, -0.007011962588876486, -0.042361676692962646, 0.005245382897555828, -0.01728530414402485, 0.026870131492614746, -0.022431032732129097, 0.025619935244321823, -0.009140918031334877, 0.04522444307804108, 0.009738837368786335, -0.0868976041674614, -0.015817683190107346, -0.0035422188229858875, -0.010318637825548649, -0.014114519581198692, 0.0006862482987344265, 0.020727869123220444, -0.002375823212787509, -0.013888034969568253, -0.04069475084543228, 0.01795569807291031, -0.03013150952756405, 0.03056635893881321, 0.05555213987827301, -0.010228043422102928, -0.015020458027720451, 0.025384392589330673, -0.05022522062063217, 0.030675072222948074, 0.024840829893946648, 0.05845114216208458, 0.04247038811445236, 0.038375549018383026, -0.0006313257617875934, 0.06004559248685837, -0.025819242000579834, 0.031780317425727844, -0.02417043410241604, 0.051928386092185974, 0.002116498537361622, -0.04210801422595978, -0.03652743250131607, -0.052363235503435135, 0.0021482063457369804, 0.05663926526904106, 0.03293991833925247, 0.006785477977246046, 0.02455092966556549, 0.010382053442299366, 0.019387081265449524, -0.020256781950592995, 0.00009618516924092546, -0.035041693598032, -0.03341100737452507, 0.029062502086162567, 0.0018379223765805364, 0.005014368798583746, -0.0025728647597134113, 0.015002339147031307, -0.00419902428984642, -0.04642027989029884, 0.020945293828845024, 0.018245598301291466, 0.04015118628740311, -0.002432444365695119, -0.015826743096113205, 0.013117986731231213, 0.04424602910876274, -0.10784289985895157, 0.03583892062306404, -0.008253098465502262, 0.01383367832750082, -0.05471867695450783, 0.011686604470014572, 0.053667787462472916, 0.027087556198239326, -0.028247157111763954, 0.026634586974978447, 0.028065970167517662, -0.03859297186136246, -0.03779574856162071, 0.04830463230609894, 0.000028593678507604636, -0.03284932300448418, -0.00011083589197369292, 0.015083873644471169, -0.023192021995782852, -0.008792131207883358, -0.024750234559178352, -0.039100296795368195, -0.0032885561231523752, -0.008832898922264576, 0.016044167801737785, 0.050406407564878464, -0.03717970848083496, 0.05486362427473068, 0.03478803113102913, -0.018861636519432068, 0.059175893664360046, -0.015681792050600052, -0.024858947843313217, 0.061205193400382996, 0.013543778099119663, 0.01574520766735077, -0.007709535304456949, 0.0499715581536293, 0.030022796243429184, 0.030874378979206085, 0.014676201157271862, 0.004226202145218849, 0.04536939039826393, 0.0062781525775790215, -0.03515040874481201, -0.028917551040649414, -0.02542063035070896, 0.023771822452545166, -0.01130611076951027, 0.03823059797286987, -0.04424602910876274, 0.04565929248929024 ]
16,295
exif._image
get_thumbnail
Extract thumbnail binary contained in EXIF metadata. :returns: thumbnail binary :raises RuntimeError: image does not contain thumbnail
def get_thumbnail(self) -> bytes: """Extract thumbnail binary contained in EXIF metadata. :returns: thumbnail binary :raises RuntimeError: image does not contain thumbnail """ thumbnail_bytes = None try: app1_segment = self._segments["APP1"] except KeyError: pass else: assert isinstance(app1_segment, App1MetaData) thumbnail_bytes = app1_segment.thumbnail_bytes if not thumbnail_bytes: raise RuntimeError("image does not contain thumbnail") return thumbnail_bytes
(self) -> bytes
[ 0.04433156177401543, -0.007772358600050211, -0.0069391257129609585, 0.015526797622442245, 0.02236288972198963, -0.06386324763298035, 0.025194087997078896, 0.04540669918060303, 0.03255879133939743, -0.02888539806008339, 0.06730369478464127, 0.09052669256925583, 0.013000220991671085, -0.02770274505019188, 0.021126478910446167, 0.023115485906600952, -0.026125876232981682, -0.03596339747309685, 0.07002738118171692, 0.03135821968317032, 0.016046447679400444, 0.00413704477250576, 0.0006165249506011605, -0.016458583995699883, -0.014326225966215134, 0.01967504248023033, 0.026484254747629166, -0.012480570934712887, 0.054832085967063904, -0.033257629722356796, -0.040855277329683304, -0.058810099959373474, 0.02460276149213314, 0.05164250731468201, -0.002999189542606473, 0.0419304184615612, 0.00971208792179823, -0.023993516340851784, -0.04605178162455559, -0.00542049203068018, -0.04551421478390694, -0.06572682410478592, 0.028598694130778313, -0.004529022611677647, 0.009703128598630428, 0.0038033039309084415, 0.01719326339662075, -0.08679954707622528, -0.017363494262099266, -0.0025668940506875515, 0.024405652657151222, 0.033257629722356796, 0.005550404544919729, 0.01078722719103098, -0.023563461378216743, -0.0028155199252068996, -0.03599923476576805, -0.010267576202750206, 0.007189991418272257, 0.06905975937843323, -0.0019934866577386856, 0.0016418267041444778, 0.03558709844946861, -0.02716517634689808, 0.045048318803310394, 0.022291213274002075, 0.02557038702070713, -0.00783955492079258, -0.05931182950735092, -0.0035009211860597134, 0.014568132348358631, -0.03664431720972061, -0.018761174753308296, 0.004047450143843889, -0.028222396969795227, -0.07156841456890106, -0.00552800577133894, -0.043005555868148804, 0.03619634360074997, 0.008654868230223656, 0.020983127877116203, 0.040138520300388336, 0.056767333298921585, 0.005926703102886677, 0.06067367270588875, -0.0021973152179270983, 0.05325521528720856, 0.019155392423272133, -0.04243214800953865, 0.055262140929698944, 0.03375936299562454, 0.02782817929983139, -0.008981890045106411, 0.03198538348078728, 0.052144236862659454, -0.02858077548444271, -0.05884593725204468, 0.0041997614316642284, 0.026914311572909355, -0.06285978853702545, -0.03931424766778946, -0.02974550984799862, -0.044869132339954376, 0.026932230219244957, 0.044618263840675354, 0.03073105402290821, 0.00397353433072567, -0.0047574895434081554, -0.01363634504377842, -0.0033642889466136694, -0.02039180137217045, -0.03791656717658043, -0.04178706556558609, -0.0236351378262043, 0.03942175954580307, -0.02546287328004837, 0.03245127573609352, -0.010778267867863178, -0.00039141776505857706, -0.017148464918136597, -0.021305669099092484, -0.03375936299562454, -0.033669766038656235, -0.033132199198007584, -0.014738362282514572, 0.012856869027018547, 0.033777281641960144, -0.046266812831163406, -0.02576749585568905, -0.04805871099233627, 0.011951960623264313, -0.00038861791836097836, -0.006827132310718298, 0.04866795614361763, -0.05995691195130348, -0.03841829672455788, 0.07877184450626373, 0.004524542950093746, -0.017963780090212822, 0.019961746409535408, -0.0579858236014843, 0.013071897439658642, 0.0018792531918734312, 0.019585447385907173, -0.004502144176512957, -0.044869132339954376, 0.03257670998573303, 0.0034068464301526546, 0.08350245654582977, -0.0343686081469059, -0.0019912468269467354, -0.04261133819818497, 0.034637391567230225, 0.0009429864003323019, 0.015275931917130947, -0.031519487500190735, 0.01445165928453207, 0.046338487416505814, -0.04304139316082001, -0.005774391815066338, 0.030265159904956818, -0.018725335597991943, -0.023814326152205467, -0.07669324427843094, -0.05379278212785721, -0.024459410458803177, 0.005460809916257858, 0.08149553090333939, 0.02105480432510376, 0.03935008496046066, -0.026143794879317284, 0.001151294563896954, -0.028867479413747787, -0.010697632096707821, 0.01782042719423771, 0.1030699834227562, -0.008018744178116322, 0.004582779482007027, 0.006719618104398251, 0.03189578652381897, -0.009774805046617985, 0.006652421783655882, -0.026143794879317284, 0.027201013639569283, 0.0015567115042358637, 0.03660847991704941, 0.06802045553922653, 0.023706812411546707, 0.06432914733886719, -0.04436739906668663, 0.03116110898554325, -0.0009054685360752046, -0.015284891240298748, 0.03823910653591156, 0.05941934511065483, -0.028921237215399742, 0.04361480101943016, 0.04243214800953865, -0.04128533601760864, 0.0045379819348454475, -0.02232705056667328, -0.007906750775873661, 0.0332755483686924, 0.0014279189053922892, 0.009273072704672813, -0.007606607861816883, 0.035730451345443726, 0.015302810817956924, -0.14557380974292755, 0.02372473105788231, -0.0017549402546137571, 0.005147227551788092, -0.062250543385744095, 0.0024280219804495573, -0.006930166389793158, 0.021735724061727524, -0.05228758975863457, 0.060852862894535065, -0.03383103758096695, -0.00394441606476903, -0.04963557794690132, -0.012364097870886326, -0.024566924199461937, 0.027129339054226875, 0.045155834406614304, 0.0011692135594785213, 0.03995933011174202, -0.04547837749123573, 0.033562254160642624, 0.011342715471982956, -0.015455122105777264, -0.029243778437376022, 0.04823789745569229, 0.030372673645615578, 0.0472702756524086, 0.07511637359857559, 0.012892707251012325, -0.04178706556558609, 0.05468873307108879, -0.002470579696819186, 0.015535756945610046, 0.006419475190341473, -0.0002132078807335347, 0.054079487919807434, -0.021502777934074402, -0.08321575075387955, -0.014084319584071636, 0.022810863330960274, -0.029351292178034782, -0.053326889872550964, 0.05769912153482437, 0.014191833324730396, 0.07690826803445816, -0.006276123225688934, 0.04651767760515213, 0.0027460840065032244, -0.019388338550925255, -0.08844809234142303, 0.04236047342419624, 0.028742047026753426, 0.049671418964862823, -0.012435773387551308, 0.018743254244327545, 0.02212994173169136, -0.08135217428207397, -0.011602540500462055, -0.030139727517962456, 0.051606666296720505, -0.06099621579051018, 0.05167834460735321, 0.0365009643137455, 0.04372231662273407, -0.01498922798782587, -0.029082506895065308, 0.05200088396668434, -0.046553514897823334, -0.007387100253254175, -0.04583675414323807, 0.014254550449550152, -0.04744946211576462, -0.044869132339954376, -0.006105893291532993, 0.0483454130589962, -0.005097950343042612, 0.04637432470917702, -0.022094104439020157, 0.029620077461004257, 0.0006826012395322323, 0.038740839809179306, 0.0008270730031654239, -0.019836312159895897, -0.003411326091736555, -0.09640412032604218, -0.08400418609380722, -0.04533502459526062, -0.006495630834251642, -0.07461464405059814, 0.018976202234625816, 0.02008717879652977, -0.008354725316166878, -0.042467985302209854, 0.017354533076286316, -0.023581380024552345, 0.015060904435813427, -0.04877546802163124, 0.08300072699785233, 0.013716980814933777, -0.02247040346264839, -0.003603955265134573, 0.0006322040571831167, 0.024943223223090172, 0.009008768014609814, 0.038489971309900284, 0.013340681791305542, -0.02116231806576252, 0.04494080692529678, 0.06178465113043785, 0.05759160593152046, 0.035730451345443726, 0.036536805331707, 0.024244382977485657, 0.04662518948316574, -0.002316028345376253, 0.018994120880961418, 0.10292663425207138, -0.04494080692529678, -0.04121365770697594, 0.0030798250809311867, -0.003767465939745307, 0.010186941362917423, 0.020678505301475525, 0.01802649535238743, 0.053756944835186005, 0.029942618682980537, 0.007095916662365198, 0.03531831502914429, 0.00852943491190672, -0.005438411142677069, -0.03284549340605736, -0.024531086906790733, 0.0023227480705827475, -0.0612112432718277, 0.028204478323459625, 0.039385922253131866, 0.036035072058439255, 0.006222366355359554, 0.015625352039933205, -0.08586776256561279, -0.032612547278404236, -0.06669445335865021, -0.029351292178034782, -0.013457155786454678, -0.03243335708975792, -0.03553334251046181, -0.001575750415213406, -0.020678505301475525, -0.03642928972840309, -0.005787831265479326, -0.027003904804587364, 0.05060320347547531, 0.05167834460735321, 0.00837264396250248, -0.05873842164874077, -0.013949926942586899, -0.009936075657606125, 0.02503281831741333, -0.028509100899100304, 0.10342836380004883, 0.003930976614356041, 0.022291213274002075, -0.05243094265460968, 0.015096742659807205, -0.025409115478396416, -0.016942396759986877, 0.027236852794885635, -0.02085769549012184, -0.014182874001562595, -0.026054199784994125, -0.0772666484117508, 0.058917611837387085, -0.0020450036972761154, 0.033365145325660706, -0.1073705404996872, -0.013053977862000465, 0.011889244429767132, 0.008175535127520561, -0.08178223669528961, -0.025749577209353447, 0.003890658961609006, 0.0025579347275197506, -0.015069863758981228, 0.016575058922171593, -0.03447612002491951, 0.02544495463371277, 0.000997863244265318, -0.006365718320012093, -0.02340218983590603, 0.052144236862659454, -0.001995726488530636, -0.013448195531964302, -0.025265764445066452, -0.028419505804777145, -0.012310340069234371, 0.00800530519336462, 0.022739188745617867, -0.07060078531503677, 0.00681817252188921, -0.01208635326474905, 0.010231738910079002, -0.08292904496192932, -0.0110112139955163, -0.08550938218832016, -0.03619634360074997, -0.014917552471160889, 0.04684021696448326, 0.016136042773723602, 0.035497501492500305, -0.006352278869599104, -0.02533744089305401, 0.026394659653306007, -0.014379982836544514, 0.08737295866012573, -0.01644066534936428, -0.011297917924821377, -0.05350608006119728, 0.018958283588290215, -0.028311992064118385, -0.0006215646862983704, -0.00204164395108819, 0.02071434259414673, -0.024943223223090172, 0.02490738406777382, -0.03931424766778946, 0.010016710497438908, -0.011208322830498219, -0.007095916662365198, -0.02404727414250374, -0.026143794879317284, -0.008946051821112633, 0.08679954707622528, 0.024316057562828064, 0.016297314316034317, 0.007248227950185537, 0.010204860009253025, 0.015876218676567078, 0.02533744089305401, -0.060637835413217545, -0.03338306397199631, -0.012659761123359203, -0.027201013639569283, 0.0029812706634402275, -0.03202122077345848, 0.013224208727478981, -0.04669686779379845, 0.009676250629127026, -0.03599923476576805, -0.04454658925533295, -0.033777281641960144, -0.018671579658985138, -0.03719980642199516, -0.055692195892333984, 0.04522750899195671, -0.002743844175711274, -0.11260288208723068, 0.023688893765211105, -0.01332276314496994, -0.000017673995898803696, 0.015455122105777264, -0.06604936718940735, -0.0008052342454902828, 0.09712088108062744, -0.03585588186979294, -0.00397577416151762, 0.016485463827848434, 0.031537409871816635, 0.015114661306142807, -0.0065807462669909, 0.023025890812277794, 0.05110493674874306, -0.039385922253131866, 0.05063904449343681, -0.016888640820980072, -0.021144399419426918, -0.01730973646044731, -0.005899824667721987, 0.021664049476385117, -0.02987094223499298, -0.03424317389726639, 0.023151325061917305, -0.017229100689291954, -0.023169243708252907, 0.08335909992456436, -0.06526093184947968, 0.08027704060077667, 0.03268422186374664, 0.006930166389793158, 0.058917611837387085, 0.005550404544919729, -0.008036663755774498, 0.023455947637557983, -0.03354433551430702, -0.01620771922171116, 0.022094104439020157, -0.04841708764433861, -0.004513343330472708, -0.0019397297874093056, -0.04970725625753403, -0.006831611972302198, 0.012964383698999882, -0.02157445438206196, -0.02598252333700657, 0.0268605537712574, -0.0006081254687160254, 0.03526455536484718, -0.08722960203886032, 0.015974773094058037, 0.0065314690582454205, 0.02931545488536358, 0.01847447082400322, 0.008775820955634117, -0.0035972355399280787, -0.00003375558299012482, -0.011118728667497635, -0.00799634587019682, 0.00940746534615755, -0.038274943828582764, 0.015759743750095367, -0.0015813501086086035, -0.029476724565029144, 0.009201397188007832, -0.04171539098024368, 0.0007621166878379881, 0.030677296221256256, -0.03773737698793411, -0.005066592246294022, -0.024459410458803177, -0.06991986930370331, -0.010401968844234943, 0.011593581177294254, -0.0387050025165081, -0.023581380024552345, -0.05895344913005829, -0.028204478323459625, 0.04931303858757019, -0.025928767397999763, -0.023796407505869865, 0.03289924934506416, 0.03395647183060646, 0.01519529614597559, -0.015652230009436607, -0.03148365020751953, -0.014595010317862034, 0.08350245654582977, -0.03478074446320534, -0.008287529461085796, 0.06027945503592491, 0.01956752873957157, -0.007660364732146263, 0.013125654309988022, -0.000939066638238728, 0.01838487572968006, 0.024996979162096977, 0.04856044054031372, 0.0008024343987926841, -0.08077877014875412, 0.05952685698866844, -0.05651646852493286, 0.012838950380682945, -0.06418579071760178, -0.01187132578343153, -0.00523682264611125, 0.04218128323554993, 0.02944088727235794, -0.0026116915978491306, -0.022721268236637115, -0.017363494262099266, 0.023688893765211105, 0.059562694281339645, 0.03723564371466637, -0.023599298670887947, 0.03456571698188782, -0.012740395963191986, 0.07185512036085129, 0.004372231662273407, 0.003984733484685421, -0.0483454130589962, -0.031322378665208817, 0.00843088049441576, -0.053541917353868484, 0.02340218983590603, 0.02567790076136589, -0.04314890876412392, 0.010760348290205002, -0.002286910079419613, 0.02630506455898285, -0.016162920743227005, 0.032702140510082245, -0.041536200791597366, -0.0472344346344471, -0.015177377499639988, 0.049133848398923874, 0.016198759898543358, 0.013949926942586899, -0.02128775045275688, -0.005859507247805595, 0.039242569357156754, -0.04135701060295105, 0.007481175009161234, -0.03605299070477486, -0.01208635326474905, -0.010876822285354137, 0.05594306066632271, -0.0035681172739714384, 0.021126478910446167, -0.02385016530752182, 0.07006321847438812, -0.054402027279138565, 0.03363392874598503, -0.009523938409984112, 0.0026430499274283648, -0.0023361872881650925, -0.019603366032242775, -0.03155532851815224, 0.01068867277354002, 0.03338306397199631, 0.0010023430222645402, 0.02546287328004837, 0.02718309499323368, 0.012498489581048489, -0.011934041976928711, 0.047951195389032364, -0.0032276567071676254, 0.0923902690410614, -0.009152119979262352, 0.033562254160642624, -0.015705987811088562, 0.01519529614597559, 0.010142143815755844, -0.02997845597565174, 0.03191370517015457, 0.005608641542494297, -0.052681807428598404, -0.058702584356069565, 0.013349641114473343, 0.03596339747309685, -0.013716980814933777, 0.005774391815066338, -0.0021984351333230734, -0.011727973818778992, -0.030981918796896935, 0.015544717200100422, -0.0018557345028966665, 0.03608882799744606, 0.030910244211554527, 0.03676975145936012, 0.004114645998924971, 0.034762825816869736, 0.02266751229763031, -0.13446404039859772, -0.04253966361284256, -0.004356552381068468, -0.061497945338487625, -0.051176611334085464, 0.005492168013006449, 0.055692195892333984, -0.004535742104053497, -0.014379982836544514, -0.010661793872714043, -0.017910022288560867, -0.05013731122016907, 0.017578521743416786, 0.02426230162382126, 0.020284287631511688, -0.02890331856906414, 0.012874788604676723, -0.05275348201394081, 0.009685209952294827, 0.0440806970000267, 0.010401968844234943, 0.052574291825294495, 0.03370560333132744, -0.011235201731324196, 0.029476724565029144, -0.007467735558748245, 0.040138520300388336, 0.017255978658795357, 0.00021418783580884337, 0.022739188745617867, -0.05490376055240631, -0.006500110495835543, -0.031179027631878853, -0.037128131836652756, 0.034529879689216614, 0.018420713022351265, -0.005133788101375103, 0.007508053444325924, -0.02458484284579754, 0.034655310213565826, 0.012229705229401588, -0.03415358066558838, -0.01375281810760498, -0.0036285938695073128, -0.011512945406138897, 0.006325400434434414, 0.050961583852767944, 0.0017179823480546474, -0.03365184739232063, 0.007960507646203041, -0.0354795828461647, 0.01824152283370495, -0.008229291997849941, 0.03587380051612854, 0.04813038557767868, -0.032397519797086716, -0.003453883808106184, 0.01240889448672533, -0.08515100181102753, 0.04899049550294876, 0.016691531985998154, 0.04210960865020752, -0.04827373847365379, -0.025301601737737656, 0.03788072615861893, 0.03949343413114548, -0.03300676494836807, 0.083717480301857, 0.041106145828962326, -0.05594306066632271, -0.01890452578663826, 0.021986590698361397, -0.004788848105818033, -0.008323366753757, -0.023921839892864227, 0.02372473105788231, -0.01089474093168974, -0.00210772012360394, -0.02911834605038166, -0.053326889872550964, 0.03574836999177933, -0.03856164962053299, 0.036877263337373734, 0.030354754999279976, -0.01859990321099758, 0.04425988346338272, 0.03300676494836807, -0.053326889872550964, 0.00919243786484003, -0.0007346782367676497, -0.000045182434405433014, 0.03737899661064148, 0.012175948359072208, 0.005044193472713232, -0.027021825313568115, 0.0440806970000267, 0.021556535735726357, 0.008238252252340317, -0.004141524899750948, -0.011297917924821377, 0.030766891315579414, 0.011199363507330418, -0.013412358239293098, -0.011996758170425892, -0.005066592246294022, 0.0026564891450107098, -0.036877263337373734, 0.016261475160717964, -0.026161713525652885, 0.027631070464849472 ]
16,296
exif._image
list_all
List all EXIF tags contained in the image.
def list_all(self) -> List[str]: """List all EXIF tags contained in the image.""" tags_list = [] if self._has_exif: assert isinstance(self._segments["APP1"], App1MetaData) tags_list += self._segments["APP1"].get_tag_list(include_unknown=False) return tags_list
(self) -> List[str]
[ 0.010146494954824448, -0.05724798142910004, -0.03855852410197258, -0.03111223317682743, 0.047258153557777405, 0.002633388852700591, -0.013427287340164185, -0.08338373154401779, 0.06753271073102951, 0.024550648406147957, -0.0008426613640040159, -0.02143573760986328, -0.020790638402104378, -0.01953730173408985, 0.04088088497519493, -0.027665557339787483, -0.020385148003697395, 0.002275128150358796, 0.05809582769870758, 0.0018028230406343937, -0.011574930511415005, 0.06919153779745102, -0.015970822423696518, -0.04873266816139221, 0.021970249712467194, 0.0075338417664170265, 0.020845932886004448, -0.047331880778074265, 0.03903774172067642, -0.014284348115324974, -0.07099781930446625, -0.058869946748018265, 0.037894994020462036, -0.03712087497115135, -0.06506290286779404, 0.016754157841205597, 0.035775382071733475, 0.016864746809005737, 0.0385216623544693, 0.06952330470085144, -0.0068288398906588554, -0.034116555005311966, 0.01717808097600937, -0.024734962731599808, -0.006824232172220945, -0.00047432101564481854, -0.017933769151568413, -0.08788099884986877, 0.0763060674071312, -0.015122978016734123, 0.023794960230588913, 0.04434598982334137, -0.020661618560552597, -0.03269733488559723, -0.021933386102318764, 0.02895575575530529, 0.0026126534212380648, 0.0030342719983309507, 0.04419853910803795, 0.06834369152784348, -0.02525104209780693, -0.0004201787232887, 0.047221291810274124, -0.0841209888458252, 0.04397736117243767, 0.033121258020401, 0.021767504513263702, 0.010985124856233597, -0.06004955619573593, -0.004050303716212511, -0.039885587990283966, -0.0431663803756237, 0.010386103764176369, 0.04290834069252014, -0.05640013515949249, -0.035775382071733475, 0.020182402804493904, 0.04250284656882286, -0.01560219470411539, -0.06189269945025444, -0.01922396756708622, 0.053377386182546616, 0.034116555005311966, 0.05993896722793579, 0.0390746034681797, 0.02713104709982872, -0.010745516046881676, 0.016440823674201965, 0.013620817102491856, 0.08043470233678818, 0.015795724466443062, 0.01942671462893486, -0.005967171397060156, 0.031628310680389404, 0.007040801458060741, 0.017832396551966667, -0.06576329469680786, 0.002407603897154331, 0.01968475431203842, -0.006644526030868292, -0.04464089125394821, -0.013869641348719597, -0.01442258432507515, 0.03454047441482544, 0.005077855661511421, -0.024200450628995895, -0.06296171993017197, 0.012404344044625759, 0.04663148522377014, 0.043719321489334106, -0.0014699054881930351, -0.031960077583789825, 0.06561584770679474, -0.04419853910803795, 0.06126603111624718, -0.00218412303365767, 0.02720477245748043, -0.0029190757777541876, -0.02338946796953678, -0.04427226260304451, -0.008446197025477886, 0.005506386049091816, 0.01560219470411539, -0.021822797134518623, -0.008460020646452904, 0.020016519352793694, 0.03524086996912956, -0.004522609058767557, -0.05960720404982567, -0.0420604944229126, 0.01253336388617754, 0.008985316380858421, 0.0038729016669094563, 0.01248728483915329, 0.004658540710806847, -0.0813194140791893, 0.05164483189582825, -0.05264012888073921, 0.015952391549944878, 0.010690221562981606, -0.06285113096237183, 0.011648655869066715, 0.01271767821162939, 0.04876952990889549, -0.020053381100296974, -0.003893636865541339, 0.051202476024627686, 0.012865128926932812, 0.041728727519512177, -0.06701663136482239, -0.014828075654804707, 0.02350005693733692, -0.024292608723044395, -0.05536797642707825, -0.0014065474970266223, 0.009952965192496777, 0.026043592020869255, 0.0010753580136224627, -0.045599326491355896, 0.004713835194706917, -0.01825631968677044, -0.012339834123849869, -0.060786813497543335, 0.0048428550362586975, -0.027518106624484062, -0.08795472234487534, -0.030080072581768036, 0.03454047441482544, 0.007787273731082678, 0.01271767821162939, -0.011160222813487053, -0.05551542714238167, 0.011362968944013119, -0.026301631703972816, 0.001987137133255601, 0.08389981091022491, -0.047110702842473984, 0.05525738745927811, 0.020606324076652527, 0.033950671553611755, -0.04405108839273453, -0.004206970799714327, -0.051497381180524826, 0.049396198242902756, -0.010035906918346882, 0.03804244473576546, 0.0040825591422617435, -0.004582511261105537, 0.01552846934646368, -0.013123169541358948, 0.041802454739809036, -0.014238269999623299, -0.021675346419215202, 0.025914572179317474, -0.000564462156035006, 0.015924744307994843, -0.017749454826116562, 0.009464533068239689, -0.07508959621191025, -0.04183931648731232, -0.003091870341449976, -0.013196894899010658, 0.02698359452188015, 0.007335704285651445, 0.021620051935315132, 0.049138158559799194, 0.0007902469951659441, -0.02502986416220665, -0.029379678890109062, -0.03524086996912956, 0.06351466476917267, -0.011344537138938904, -0.06742212176322937, -0.024808688089251518, 0.008082176558673382, 0.03607028350234032, -0.01168551854789257, 0.022689074277877808, -0.021620051935315132, -0.0333055704832077, -0.01915024220943451, -0.026338495314121246, -0.06657427549362183, -0.007837960496544838, -0.011657871305942535, 0.050612673163414, 0.054741308093070984, -0.04209735617041588, 0.013104737736284733, 0.013316699303686619, -0.043240103870630264, -0.04998600482940674, 0.024329470470547676, 0.015390233136713505, 0.01617356948554516, 0.09333669394254684, 0.03900087997317314, -0.04040166735649109, 0.0018028230406343937, -0.029527129605412483, -0.0038337348960340023, -0.011077282018959522, -0.004930404014885426, 0.024108294397592545, -0.008188157342374325, -0.07918136566877365, -0.017555924132466316, 0.011925127357244492, 0.010957477614283562, -0.04663148522377014, 0.028531834483146667, -0.024182019755244255, 0.055294252932071686, -0.034005966037511826, -0.0047691292129457, -0.0424291230738163, -0.023776527494192123, -0.009381591342389584, 0.04810599982738495, 0.005077855661511421, 0.039590682834386826, -0.03837421163916588, -0.018449848517775536, 0.038005582988262177, -0.022854957729578018, 0.049175020307302475, 0.034116555005311966, 0.028384381905198097, -0.09599082171916962, 0.045525599271059036, 0.09024021774530411, 0.006589231546968222, -0.05802210047841072, -0.01065335888415575, 0.020735343918204308, 0.026541240513324738, 0.04806913807988167, 0.011344537138938904, -0.06403074413537979, -0.012763756327331066, 0.011409047059714794, 0.01950043998658657, 0.047258153557777405, 0.00035538076190277934, 0.02501143328845501, -0.06683231890201569, -0.02488241344690323, 0.02353692054748535, -0.03623616695404053, -0.036844402551651, 0.04441971704363823, 0.06421505659818649, -0.017445337027311325, -0.04972796514630318, -0.012441206723451614, 0.031886350363492966, -0.0070684487000107765, 0.03227341175079346, -0.0016933864681050181, -0.025453787297010422, 0.009183453395962715, 0.02333417348563671, -0.013427287340164185, 0.006824232172220945, -0.05370914936065674, 0.02486398257315159, 0.0034904496278613806, -0.008132862858474255, -0.015224350616335869, -0.02886359952390194, 0.012819050811231136, 0.04593109339475632, 0.02720477245748043, -0.035554204136133194, -0.030503995716571808, -0.009455316700041294, 0.021730640903115273, 0.04010676220059395, -0.0016968423733487725, 0.01950043998658657, 0.04851149022579193, 0.04888011887669563, -0.03911146894097328, 0.01050590816885233, 0.09805513918399811, 0.003612557891756296, 0.02901105023920536, -0.02320515364408493, -0.004243833944201469, 0.011639440432190895, 0.037968721240758896, -0.0033429982140660286, 0.014035523869097233, 0.06285113096237183, 0.0034604985266923904, -0.010155711323022842, -0.0007113374886102974, -0.0008651246316730976, -0.025564376264810562, -0.023794960230588913, -0.05971779301762581, -0.06521035730838776, -0.012339834123849869, 0.026430651545524597, 0.010386103764176369, 0.020735343918204308, 0.03269733488559723, 0.006289721000939608, -0.045525599271059036, -0.010192574001848698, 0.028329087421298027, 0.0252141784876585, 0.008460020646452904, 0.021767504513263702, 0.05562601611018181, 0.0027601048350334167, -0.05182914435863495, 0.07132958620786667, -0.002995105227455497, 0.058796219527721405, 0.03667851909995079, -0.007884038612246513, -0.0038083915133029222, -0.031996939331293106, 0.04272402450442314, -0.01150120422244072, 0.03992244973778725, 0.028273794800043106, 0.007759626489132643, -0.005598543211817741, -0.07689587026834488, 0.011455126106739044, -0.05551542714238167, -0.06712722033262253, 0.04449344053864479, -0.08036097884178162, 0.06627937406301498, -0.029932621866464615, -0.043535009026527405, 0.07003938406705856, -0.04449344053864479, 0.05632641166448593, 0.004163196310400963, 0.00007113374886102974, 0.011316889896988869, 0.027518106624484062, -0.04010676220059395, 0.006469427607953548, -0.015786508098244667, 0.015980038791894913, 0.021878091618418694, 0.00948296394199133, -0.09186218678951263, 0.015675920993089676, -0.014901801012456417, -0.04607854411005974, -0.0291216392070055, 0.012994148768484592, 0.006635310128331184, -0.023629076778888702, 0.015869449824094772, -0.027518106624484062, 0.0038682937156409025, -0.008321784436702728, 0.01162100862711668, -0.0020113284699618816, -0.01903965324163437, -0.08272019773721695, -0.05820641666650772, -0.06200328841805458, 0.039332643151283264, -0.03078046627342701, 0.012800619006156921, -0.016090627759695053, 0.016966119408607483, 0.015500822104513645, 0.02115926705300808, 0.041360098868608475, 0.016993766650557518, 0.019721616059541702, 0.00574138667434454, 0.0008910438045859337, -0.020440442487597466, 0.07269351184368134, -0.03430086746811867, 0.02348162606358528, -0.011243164539337158, 0.023629076778888702, -0.019666321575641632, -0.037360481917858124, 0.005598543211817741, 0.08581668138504028, -0.029582424089312553, -0.016219647601246834, -0.024698099121451378, -0.05264012888073921, -0.011068065650761127, -0.09164100885391235, -0.009423062205314636, 0.04382991045713425, -0.017850827425718307, 0.004962658975273371, 0.05064953491091728, 0.028126342222094536, 0.049101296812295914, 0.029656151309609413, -0.08154059201478958, 0.04054911807179451, 0.007105311378836632, -0.039590682834386826, 0.019869068637490273, -0.011123360134661198, 0.031222820281982422, -0.03308439254760742, 0.010008259676396847, 0.05017031729221344, -0.018873771652579308, -0.027757713571190834, -0.06657427549362183, -0.011464341543614864, -0.01752827875316143, 0.06690604239702225, -0.0023914764169603586, -0.02899261936545372, 0.016947688534855843, -0.038705974817276, -0.0019203232368454337, -0.013252189382910728, -0.00907286535948515, -0.007321880664676428, 0.06716408580541611, 0.007962372153997421, 0.03148085996508598, -0.019740048795938492, -0.027757713571190834, 0.029748307541012764, 0.030135367065668106, 0.01547317486256361, 0.03280792385339737, -0.06189269945025444, -0.00336603750474751, -0.0919359102845192, -0.04183931648731232, -0.011132575571537018, -0.04117578640580177, 0.010100416839122772, 0.0312596820294857, -0.061007991433143616, -0.0578746497631073, -0.033784788101911545, -0.013298267498612404, 0.005100894719362259, -0.06860173493623734, 0.006994722876697779, 0.04648403450846672, 0.0181457307189703, 0.0050363847985863686, 0.0028084872756153345, -0.03288164734840393, 0.02110397256910801, -0.00808678474277258, -0.05621582269668579, 0.02320515364408493, -0.01741768978536129, 0.018523573875427246, -0.027960460633039474, 0.04641030728816986, -0.037526365369558334, -0.011427478864789009, -0.06808565557003021, -0.00725276255980134, 0.0011750028934329748, -0.004727658350020647, 0.023702802136540413, -0.021970249712467194, -0.05278757959604263, -0.023997705429792404, 0.034042827785015106, 0.02123299241065979, 0.08493196964263916, -0.05017031729221344, -0.039774999022483826, 0.0018926761113107204, -0.004001921508461237, 0.017961416393518448, -0.03706558048725128, -0.012431991286575794, -0.009519826620817184, -0.0500597283244133, -0.0030043211299926043, -0.01630258932709694, -0.010865320451557636, -0.037544798105955124, -0.041728727519512177, -0.005372758023440838, 0.0013581650564447045, -0.024384764954447746, 0.01449630968272686, 0.05669504031538963, 0.018339259549975395, 0.01359316986054182, -0.025601238012313843, 0.029324384406208992, 0.05013345554471016, -0.010072769597172737, -0.019869068637490273, 0.00025674389326013625, 0.004805991891771555, 0.0461522676050663, 0.01825631968677044, 0.005801288411021233, -0.055220525711774826, -0.00718364492058754, -0.051607970148324966, 0.05846445634961128, -0.001378900371491909, 0.06447310000658035, -0.008271098136901855, -0.05813268944621086, -0.04829031229019165, -0.017666513100266457, 0.0333055704832077, -0.05477817356586456, -0.02350005693733692, -0.024034569039940834, 0.04040166735649109, -0.021988680586218834, -0.004679276142269373, -0.04408795014023781, -0.013178463093936443, 0.02479025535285473, -0.03877970203757286, 0.022283583879470825, -0.050428356975317, 0.043682459741830826, 0.024734962731599808, 0.005446483846753836, 0.03269733488559723, -0.008284921757876873, -0.06705349683761597, 0.027628693729639053, -0.053008757531642914, 0.05153424292802811, 0.012017284519970417, 0.011049634777009487, 0.008349431678652763, 0.011270811781287193, 0.013740621507167816, -0.02126985602080822, 0.021675346419215202, -0.006529329344630241, -0.054925624281167984, 0.06392015516757965, 0.0016749550122767687, -0.05068639665842056, -0.03501969203352928, 0.020606324076652527, -0.017537493258714676, -0.050944436341524124, -0.033618904650211334, 0.10417436808347702, 0.016385529190301895, 0.03918519243597984, -0.05068639665842056, -0.01076394785195589, 0.013547091744840145, -0.00875492300838232, 0.022007111459970474, -0.021693777292966843, 0.012146304361522198, -0.031941644847393036, 0.04607854411005974, 0.006925605237483978, -0.027942027896642685, -0.027518106624484062, 0.08102451264858246, -0.025896141305565834, 0.07999235391616821, 0.06414133310317993, 0.014063171111047268, 0.01050590816885233, -0.03452204540371895, -0.031904783099889755, -0.003674763720482588, 0.024200450628995895, -0.030393406748771667, -0.05256640166044235, 0.045709915459156036, 0.033932238817214966, 0.023260448127985, 0.06414133310317993, 0.0038014797028154135, 0.05772719904780388, -0.010155711323022842, 0.021914955228567123, 0.004100990481674671, -0.04043852910399437, -0.05374601110816002, -0.04228167235851288, 0.04018048942089081, 0.010542770847678185, -0.035554204136133194, -0.00965806283056736, -0.011851401068270206, 0.054925624281167984, 0.006022465415298939, -0.051239341497421265, 0.03087262436747551, 0.03678910806775093, -0.022541623562574387, 0.01364846434444189, 0.007335704285651445, -0.011777675710618496, -0.0028430460952222347, -0.058538179844617844, 0.03476165235042572, -0.033821649849414825, 0.0016000773757696152, -0.07354135811328888, -0.029637718573212624, -0.011316889896988869, 0.00039857940282672644, 0.006759722251445055, 0.04113892465829849, 0.041728727519512177, -0.039738137274980545, 0.0035572636406868696, -0.02867928519845009, 0.005921092815697193, 0.02915850281715393, 0.04364559426903725, 0.057137392461299896, 0.057137392461299896, 0.04246598482131958, -0.004852070473134518, 0.008510706946253777, 0.02342633157968521, 0.06211387738585472, 0.05418836697936058, 0.017555924132466316, -0.053008757531642914, -0.022320445626974106, 0.04777423292398453, -0.026338495314121246, 0.01823788695037365, -0.007114527281373739, 0.006953252013772726, 0.016201214864850044, 0.002232505474239588, 0.021785935387015343, -0.06027073413133621, -0.028494970872998238, 0.05385660007596016, 0.024532215669751167, 0.04084401950240135, 0.045599326491355896, 0.008483059704303741, 0.008708844892680645, -0.002087357919663191, -0.04784796014428139, -0.003137948689982295, 0.0014457142679020762, -0.031683605164289474, 0.03715773671865463, 0.03072517178952694, 0.015943175181746483, 0.012100225314497948, 0.01255179475992918, -0.07837038487195969, 0.025527512654662132, -0.02674398571252823, 0.041765592992305756, -0.011427478864789009, 0.022043975070118904, 0.029656151309609413, -0.018302397802472115, 0.03625459596514702, -0.0002786311961244792, 0.06716408580541611, 0.025785552337765694, 0.01608141139149666, 0.02138044312596321, 0.018007494509220123, 0.027813008055090904, 0.00977786723524332, 0.061118580400943756, 0.02867928519845009, 0.02549065090715885, -0.047479331493377686, 0.05772719904780388, -0.01953730173408985, 0.004518001340329647, -0.03992244973778725, 0.022836526855826378, -0.014957095496356487, -0.018578868359327316, 0.007547665387392044, -0.03430086746811867, -0.033711060881614685, -0.05249267816543579, 0.06790134310722351, -0.024679668247699738, -0.013749836944043636, 0.00717903720214963, 0.027315359562635422, -0.07508959621191025, 0.04434598982334137, -0.012570226565003395, -0.047700509428977966, 0.06336721032857895, -0.002279735868796706, 0.03334243223071098, -0.00019381787569727749, -0.06380956619977951, 0.04700011387467384, 0.05640013515949249, 0.027813008055090904, -0.024808688089251518, 0.008340216241776943, 0.01940828189253807, -0.00817894097417593, -0.012699246406555176, -0.006529329344630241, 0.002275128150358796, 0.012643951922655106, 0.016680432483553886, -0.026062024757266045, -0.0288451686501503 ]
16,297
exif._image
set
Set the value of the specified attribute. :param attribute: image EXIF attribute name :param value: tag value :type value: corresponding Python type
def set(self, attribute: str, value) -> None: """Set the value of the specified attribute. :param attribute: image EXIF attribute name :param value: tag value :type value: corresponding Python type """ setattr(self, attribute, value)
(self, attribute: str, value) -> NoneType
[ 0.05409279838204384, -0.013023934327065945, 0.033278606832027435, 0.019127020612359047, -0.008379907347261906, -0.04565693810582161, -0.023723702877759933, 0.006055742036551237, -0.002184285083785653, 0.005801805295050144, -0.0015085554914548993, -0.002132636960595846, 0.055607810616493225, 0.05054629221558571, 0.0075148013420403, 0.011276505887508392, -0.021571697667241096, 0.0475851334631443, 0.005048603750765324, -0.004661242943257093, 0.006335502490401268, 0.02823430486023426, -0.0217782910913229, -0.017474280670285225, 0.053059834986925125, 0.031281545758247375, 0.043797604739665985, 0.011207642033696175, 0.04211043193936348, -0.04445181414484978, -0.001946488511748612, -0.07044803351163864, 0.03152256831526756, -0.028354818001389503, 0.04848036915063858, -0.033192526549100876, -0.021571697667241096, 0.011233465746045113, -0.06545538455247879, 0.02649548463523388, -0.0348452664911747, -0.013471551239490509, 0.0008226039353758097, 0.008638148196041584, 0.008435859344899654, 0.03821960836648941, -0.0017183759482577443, -0.007101616356521845, 0.025445306673645973, -0.005182027816772461, 0.003124711336567998, 0.04193827137351036, 0.0038951290771365166, 0.023844216018915176, -0.029714884236454964, 0.07306487113237381, 0.0014493754133582115, 0.05064959079027176, 0.03078227862715721, 0.031539786607027054, 0.0053843166679143906, -0.0175259280949831, 0.026254460215568542, -0.11011379212141037, -0.026650430634617805, 0.025910140946507454, -0.011698299087584019, 0.04555364325642586, -0.010966617614030838, 0.004484778270125389, -0.014728321693837643, -0.018937643617391586, 0.026443837210536003, -0.03307201340794563, -0.015485827811062336, 0.025359226390719414, -0.10054167360067368, 0.09668528288602829, -0.003281807526946068, -0.024618936702609062, 0.0067486874759197235, 0.07258282601833344, 0.013041149824857712, 0.00224669324234128, -0.047068651765584946, 0.003931713290512562, -0.030472390353679657, -0.014530337415635586, -0.012137307785451412, 0.03496577590703964, -0.01871383562684059, 0.055229056626558304, 0.011965148150920868, 0.057777028530836105, 0.017362376675009727, 0.03159143403172493, 0.027838336303830147, -0.039975643157958984, 0.06135796755552292, 0.011112953536212444, -0.012774301692843437, -0.04069871827960014, 0.06297627091407776, -0.01861053891479969, -0.016777031123638153, -0.040251102298498154, -0.00022219451784621924, -0.0003989279211964458, 0.04868696257472038, -0.017749737948179245, 0.0068864161148667336, -0.04613898694515228, -0.02976653352379799, 0.005100251641124487, 0.01907537132501602, -0.018834346905350685, 0.03494856134057045, -0.042076002806425095, 0.034914128482341766, -0.010234936140477657, -0.0074803694151341915, -0.024377912282943726, -0.026839805766940117, 0.07726559042930603, 0.03577493131160736, 0.007441633380949497, 0.021829938516020775, 0.047344110906124115, -0.028096577152609825, -0.06652277708053589, -0.05526348948478699, -0.0213478896766901, -0.0039188009686768055, 0.05836237594485283, 0.023913079872727394, -0.04359101131558418, 0.01411715243011713, 0.002603925997391343, -0.02615116536617279, 0.028940163552761078, -0.062218766659498215, -0.010940792970359325, 0.04001007601618767, -0.01971236616373062, 0.007428721059113741, 0.00445034634321928, 0.0030493910890072584, -0.005918013863265514, -0.0070714885368943214, -0.05691622942686081, -0.0448305681347847, -0.00112872663885355, 0.007742913905531168, -0.027098046615719795, -0.002058392856270075, -0.02377535030245781, 0.00819053128361702, 0.026392189785838127, 0.034535374492406845, 0.014530337415635586, -0.009150325320661068, 0.01916145160794258, -0.042351458221673965, 0.0023263173643499613, -0.004867835436016321, -0.007006928324699402, -0.03622254729270935, 0.046793196350336075, 0.008130274713039398, -0.014108545146882534, 0.004850619472563267, -0.07272055000066757, -0.018111273646354675, 0.03178080916404724, 0.05819021537899971, 0.04996094852685928, 0.036635734140872955, 0.011939323507249355, 0.030076421797275543, 0.05471257492899895, 0.013747007586061954, 0.022759605199098587, -0.013041149824857712, 0.04996094852685928, 0.007019840180873871, -0.00032629776978865266, 0.02541087567806244, 0.03839176893234253, 0.03432878479361534, -0.00793659407645464, 0.1094251498579979, -0.02179550565779209, -0.05901658535003662, -0.04128406196832657, 0.0412151999771595, -0.03412219136953354, 0.023723702877759933, -0.0690363198518753, 0.014926306903362274, 0.07726559042930603, -0.0009388121543452144, 0.010157463140785694, 0.02776947245001793, 0.03205626457929611, 0.05867226421833038, -0.040078941732645035, 0.04689649119973183, -0.002862166613340378, -0.07843627780675888, -0.023534325882792473, 0.023930296301841736, -0.004958219360560179, 0.018903212621808052, 0.009425781667232513, 0.05936090648174286, -0.03587822616100311, -0.017095528542995453, 0.03849506378173828, 0.0032452235464006662, 0.01952298916876316, 0.05357631668448448, 0.0401478037238121, -0.0010474884184077382, -0.027562879025936127, 0.053507450968027115, 0.0006638935301452875, 0.03532731533050537, -0.058224648237228394, -0.00903842132538557, 0.012851773761212826, -0.02434348128736019, 0.010019735433161259, 0.014960738830268383, 0.0399412140250206, 0.013901952654123306, -0.009873398579657078, 0.028285954147577286, 0.00016799088916741312, -0.06717699021100998, -0.03295150026679039, -0.0007822538027539849, 0.024033591151237488, 0.0011911347974091768, 0.054678142070770264, -0.02568633109331131, -0.026478270068764687, -0.05874112993478775, 0.08428972959518433, -0.06545538455247879, -0.03384673595428467, 0.05230233073234558, 0.018490027636289597, -0.04782615974545479, 0.010682553052902222, 0.012051227502524853, 0.011310937814414501, -0.016553223133087158, -0.03238337114453316, 0.04438295215368271, -0.022673524916172028, -0.021296242251992226, -0.0951702669262886, 0.03513793647289276, 0.00633119884878397, 0.03928700461983681, 0.0069811041466891766, 0.023895863443613052, 0.02685702219605446, -0.049169011414051056, 0.0021552329417318106, 0.029732100665569305, 0.019109804183244705, -0.024842744693160057, -0.0075621455907821655, 0.0249632578343153, -0.015726853162050247, 0.011560570448637009, -0.027924416586756706, -0.01533949188888073, -0.04300566762685776, 0.06046273186802864, -0.03577493131160736, 0.02670207805931568, 0.0537484772503376, -0.007497585378587246, 0.000997992348857224, 0.02394751086831093, 0.08842158317565918, -0.0012374029029160738, -0.010639512911438942, 0.02713247947394848, 0.08194834738969803, -0.07334032654762268, -0.0075148013420403, -0.003266743617132306, 0.011655258946120739, -0.10481125116348267, 0.031264327466487885, 0.0047559309750795364, -0.02950829267501831, 0.013617887161672115, -0.0058147176168859005, -0.012834557332098484, 0.007312512956559658, -0.02207096293568611, 0.04183497652411461, 0.0033054796513170004, 0.019454125314950943, -0.05929204076528549, 0.01612282171845436, 0.0849783718585968, 0.1045357957482338, -0.1094251498579979, 0.021554481238126755, 0.06573083996772766, 0.027924416586756706, 0.04042326286435127, 0.0025565819814801216, -0.02015998214483261, 0.050064243376255035, 0.01570102758705616, -0.0688297301530838, -0.048514802008867264, -0.022036531940102577, 0.06759016960859299, -0.022587444633245468, 0.021382320672273636, 0.02912953868508339, -0.030627334490418434, 0.004205017816275358, -0.05953306704759598, 0.024997690692543983, 0.04111190512776375, 0.04730967804789543, -0.011302330531179905, 0.016475750133395195, -0.04176611453294754, -0.017172999680042267, 0.0069681922905147076, 0.026943102478981018, -0.011595003306865692, 0.021038001403212547, 0.005250892136245966, -0.019454125314950943, 0.014470081776380539, -0.0057329414412379265, -0.017517320811748505, -0.05009867623448372, 0.045243751257658005, 0.014728321693837643, -0.041077472269535065, 0.00407374557107687, 0.028802433982491493, -0.020986352115869522, 0.03105773590505123, -0.0037315767258405685, -0.020401006564497948, 0.027011966332793236, -0.03438043221831322, -0.034173838794231415, -0.00572002911940217, -0.017353767529129982, 0.018094057217240334, -0.03276212513446808, -0.016957798972725868, 0.02277682162821293, -0.041525088250637054, 0.01799076236784458, 0.028544194996356964, 0.0060600461438298225, 0.023172790184617043, -0.029301699250936508, -0.060944780707359314, -0.01157778687775135, 0.04996094852685928, 0.00966680608689785, 0.0006224674289114773, -0.016587654128670692, -0.04827377572655678, 0.010269368067383766, 0.020728111267089844, 0.022639092057943344, 0.010424312204122543, 0.008926516398787498, 0.02921561896800995, -0.01978123001754284, 0.03033466264605522, -0.004790362901985645, 0.004678458906710148, 0.022914549335837364, -0.03360570967197418, 0.0074115050956606865, -0.0038972811307758093, -0.047619566321372986, 0.03221121057868004, -0.07554398477077484, -0.04369430989027023, 0.0037057525478303432, 0.0004922711523249745, -0.034001678228378296, -0.018937643617391586, -0.03794415295124054, -0.010656728409230709, 0.05185471102595329, 0.034810833632946014, 0.026839805766940117, -0.03023136593401432, 0.014616417698562145, -0.014564769342541695, -0.08366995304822922, 0.0013934231828898191, -0.009236405603587627, -0.037358805537223816, -0.057880327105522156, 0.0624597929418087, 0.035809364169836044, 0.041972704231739044, -0.08194834738969803, -0.025479739531874657, 0.016604870557785034, -0.03567163646221161, 0.025445306673645973, -0.05030526965856552, 0.06273525208234787, -0.03594709187746048, -0.016028132289648056, 0.0535418838262558, -0.019316397607326508, 0.014444257132709026, 0.03976905345916748, -0.03114381618797779, 0.0688297301530838, -0.018558891490101814, 0.028182657435536385, 0.007587969768792391, -0.0847717821598053, -0.03701448440551758, -0.05426495894789696, -0.03295150026679039, -0.010596472769975662, 0.006869200151413679, -0.036084819585084915, 0.03539617732167244, -0.008474595844745636, -0.04545034468173981, -0.025806844234466553, -0.04083644598722458, 0.057604867964982986, 0.03343354910612106, -0.0097184544429183, 0.016028132289648056, 0.03160864859819412, -0.008418643847107887, -0.00036476485547609627, 0.08380768448114395, -0.035706065595149994, -0.053610749542713165, -0.07402896881103516, 0.02830316871404648, -0.029800964519381523, -0.04848036915063858, 0.03914927318692207, -0.027201343327760696, -0.048790257424116135, -0.03859836235642433, 0.03095443919301033, 0.037083350121974945, -0.001418171334080398, -0.00533266831189394, 0.0006149354157969356, 0.02415410429239273, -0.06559310853481293, -0.002980527002364397, 0.02143396995961666, -0.0020626967307180166, -0.022897332906723022, -0.004519210662692785, 0.03777199238538742, -0.0537484772503376, -0.05853453651070595, 0.006877807900309563, 0.02479109726846218, -0.003645496442914009, 0.034345999360084534, 0.027752256020903587, -0.008005458861589432, 0.03240058571100235, -0.03303758054971695, 0.02424018457531929, 0.018317867070436478, -0.03240058571100235, 0.04169724881649017, -0.024205751717090607, 0.005371404346078634, 0.019040940329432487, 0.01266239769756794, 0.02823430486023426, 0.002309101400896907, -0.03704891726374626, -0.01814570650458336, -0.0656619742512703, -0.07995128631591797, 0.002806214615702629, -0.050890613347291946, 0.05130380019545555, 0.026633214205503464, -0.005999790038913488, -0.023258870467543602, -0.008509027771651745, -0.04445181414484978, 0.007613793481141329, -0.027545664459466934, 0.02706361562013626, -0.01850724220275879, 0.029646020382642746, -0.02241528406739235, -0.02685702219605446, 0.0011631586821749806, -0.03963132202625275, 0.004725803155452013, 0.013049758039414883, -0.041077472269535065, 0.03233172371983528, -0.03503464162349701, -0.0016936279134824872, -0.040251102298498154, 0.02071089670062065, -0.03231450542807579, -0.02906067483127117, -0.012240604497492313, -0.0016322957817465067, -0.009451606310904026, -0.014909090474247932, -0.009838966652750969, 0.02869913913309574, 0.05973965674638748, 0.014788578264415264, 0.0001644938747631386, 0.07216963917016983, -0.025737980380654335, -0.007747218012809753, -0.005039995536208153, -0.040974173694849014, 0.032348938286304474, 0.016983622685074806, -0.041800543665885925, -0.08559814840555191, -0.038254041224718094, 0.06700482964515686, -0.034724753350019455, -0.030799495056271553, -0.010346840135753155, -0.043969765305519104, -0.020831407979130745, 0.000009953023436537478, 0.026908669620752335, 0.04173168167471886, -0.022484147921204567, -0.018128490075469017, 0.044417381286621094, -0.025204282253980637, -0.0267709419131279, 0.06576526910066605, 0.02360319159924984, 0.01842116191983223, 0.006180558353662491, 0.0213478896766901, -0.029646020382642746, -0.01235250849276781, -0.058603398501873016, 0.03667016327381134, 0.038632795214653015, 0.02850976213812828, 0.008526244200766087, -0.06111694127321243, 0.03976905345916748, 0.027941633015871048, 0.011147385463118553, -0.007807474117726088, -0.02876800298690796, -0.005087339784950018, 0.020573167130351067, -0.018765483051538467, 0.00899538118392229, -0.018576107919216156, -0.027287423610687256, 0.012877597473561764, 0.07533738762140274, -0.07533738762140274, 0.0017915441421791911, -0.031367626041173935, -0.060875918716192245, -0.01502099446952343, -0.014788578264415264, -0.04803275316953659, -0.008392819203436375, 0.03358849510550499, -0.08876590430736542, 0.013368255458772182, -0.022294770926237106, 0.0635271891951561, -0.0211412962526083, -0.02785555273294449, 0.04620785266160965, 0.006085870321840048, 0.017129959538578987, -0.01352319959551096, 0.026615997776389122, -0.0231555737555027, 0.009606550447642803, 0.016243332996964455, 0.07795422524213791, 0.0065722232684493065, 0.03424270451068878, -0.018042409792542458, 0.028802433982491493, 0.0041490658186376095, 0.056950658559799194, -0.03493134677410126, 0.0065033589489758015, -0.042076002806425095, -0.028991810977458954, -0.04789502173662186, -0.01879991590976715, 0.005126075819134712, -0.07189418375492096, 0.0008742520003579557, 0.0017528081079944968, -0.025927355512976646, -0.06514549255371094, 0.01916145160794258, -0.018180137500166893, 0.03914927318692207, -0.007708481978625059, -0.0003787528839893639, -0.03405332565307617, 0.038081880658864975, 0.03722107782959938, -0.013824479654431343, -0.001420323271304369, 0.027614528313279152, -0.002563037909567356, 0.0463111475110054, 0.011147385463118553, 0.031178249046206474, 0.02806214429438114, -0.05164812132716179, -0.04593239352107048, -0.016140038147568703, -0.020573167130351067, -0.0005697433371096849, -0.020022254437208176, -0.005522044841200113, 0.0039855134673416615, 0.046242281794548035, 0.006344110704958439, -0.04775729402899742, 0.042626913636922836, -0.009236405603587627, -0.02241528406739235, -0.06259752064943314, 0.015821540728211403, 0.008960948325693607, 0.054609280079603195, 0.05767373368144035, -0.010114422999322414, -0.009675414301455021, -0.04848036915063858, -0.059601929038763046, 0.03856392949819565, -0.022983413189649582, 0.0475851334631443, 0.004635418765246868, -0.016329413279891014, 0.024928824976086617, -0.06397480517625809, 0.009572118520736694, -0.04531261697411537, 0.0361192524433136, 0.07044803351163864, -0.026478270068764687, 0.022002099081873894, 0.013135838322341442, -0.05213017016649246, 0.013841696083545685, 0.03438043221831322, 0.027201343327760696, -0.00792368222028017, 0.01674259826540947, -0.02523871511220932, -0.045966826379299164, -0.05984295532107353, -0.04476170241832733, 0.023310517892241478, -0.025910140946507454, -0.04493386298418045, -0.0074115050956606865, 0.020211631432175636, 0.06745244562625885, 0.020297711715102196, 0.004099569283425808, 0.05781146138906479, -0.05419609323143959, 0.01648435741662979, 0.0143409613519907, -0.058603398501873016, -0.025548603385686874, 0.007463153451681137, 0.02613394893705845, -0.03598152473568916, 0.002984830876812339, 0.02043543942272663, -0.04176611453294754, -0.04638001322746277, 0.04128406196832657, 0.058500103652477264, -0.053231995552778244, -0.02060759998857975, -0.014065505005419254, 0.030937224626541138, 0.013755615800619125, 0.011595003306865692, 0.03728994354605675, -0.04341885447502136, -0.050787318497896194, -0.029990341514348984, 0.01878269948065281, 0.013118622824549675, -0.0004885051166638732, 0.007209216710180044, 0.0043233782052993774, 0.06927734613418579, -0.034707535058259964, 0.005018475465476513, -0.05237119272351265, -0.05285324156284332, -0.03914927318692207, -0.047344110906124115, 0.023672055453062057, 0.021106865257024765, 0.02162334695458412, 0.031436488032341, 0.00376816070638597, -0.03649800643324852, 0.008418643847107887, 0.004794667009264231, -0.011904891580343246, 0.01080306526273489, -0.0006977876182645559, 0.04458954185247421, -0.008311043493449688, 0.005095947999507189, -0.027976064011454582, 0.06321729719638824, 0.13676422834396362, -0.06786563247442245, 0.061323534697294235, 0.05302540212869644, 0.08105311542749405, 0.003770312760025263, -0.07678353786468506, 0.014909090474247932, 0.005160507746040821, -0.04655217379331589, -0.017448456957936287, 0.03711778298020363, -0.01507264282554388, -0.0002773396554403007 ]
16,298
exif._constants
LightSource
Class of the program used by the camera to set exposure when the picture is taken.
class LightSource(IntEnum): """Class of the program used by the camera to set exposure when the picture is taken.""" UNKNOWN = 0 """Unknown""" DAYLIGHT = 1 """Daylight""" FLUORESCENT = 2 """Fluorescent""" TUNGSTEN = 3 """Tungsten (Incandescent Light)""" FLASH = 4 """Flash""" FINE_WEATHER = 9 """Fine Weather""" CLOUDY_WEATHER = 10 """Cloudy Weather""" SHADE = 11 """Shade""" DAYLIGHT_FLUORESCENT = 12 """Daylight Fluorescent (D 5700 - 7100K)""" DAY_WHITE_FLUORESCENT = 13 """Day White Fluorescent (N 4600 - 5400K)""" COOL_WHITE_FLUORESCENT = 14 """Cool White Fluorescent (W 3900 - 4500K)""" WHITE_FLUORESCENT = 15 """White Fluorescent (WW 3200 - 3700K)""" STANDARD_LIGHT_A = 17 """Standard Light A""" STANDARD_LIGHT_B = 18 """Standard Light B""" STANDARD_LIGHT_C = 19 """Standard Light C""" D55 = 20 """D55""" D65 = 21 """D65""" D75 = 22 """D75""" D50 = 23 """D50""" ISO_STUDIO_TUNGSTEN = 24 """ISO Studio Tungsten""" OTHER = 255 """Other Light Source"""
(value, names=None, *, module=None, qualname=None, type=None, start=1)
[ 0.04665140435099602, -0.1269267499446869, -0.06957682222127914, 0.026982851326465607, -0.004514578729867935, -0.08005701005458832, -0.008919988758862019, -0.008460571058094501, -0.040137674659490585, -0.008055737242102623, -0.047015298157930374, 0.02976665273308754, -0.003129501361399889, 0.04734280705451965, -0.008537898771464825, 0.007382530253380537, -0.07106879353523254, 0.0063545252196490765, 0.0196867473423481, -0.04246660694479942, 0.01856776885688305, 0.057240765541791916, 0.0038300002925097942, -0.01763983443379402, 0.007878337986767292, 0.07201492041349411, -0.01835852861404419, -0.021797340363264084, -0.061389174312353134, -0.07223325967788696, -0.06462784111499786, -0.012636271305382252, 0.009242946282029152, -0.025982139632105827, -0.09373947978019714, -0.05869634449481964, 0.007032280787825584, 0.04035601019859314, -0.06044304370880127, 0.018795203417539597, -0.05240095406770706, -0.022106653079390526, 0.017994632944464684, 0.017648931592702866, -0.04581444337964058, -0.034679241478443146, -0.040137674659490585, -0.06848513334989548, 0.029329977929592133, -0.05218261480331421, 0.03142237663269043, 0.004607826936990023, -0.03235030919313431, -0.0022675239015370607, -0.014692281372845173, 0.027747033163905144, -0.03231392055749893, 0.033041711896657944, -0.021542614325881004, 0.030658196657896042, -0.017721710726618767, 0.003070368431508541, 0.010744014754891396, -0.006718420889228582, 0.0034024231135845184, -0.007992055267095566, -0.0213242769241333, 0.05869634449481964, 0.000046410892537096515, 0.06037026643753052, -0.027055630460381508, -0.0033250951673835516, 0.03305990621447563, -0.02878413535654545, 0.01116249430924654, 0.014874229207634926, -0.047160856425762177, 0.03655330464243889, 0.014337482862174511, -0.018249358981847763, 0.041229359805583954, 0.026728125289082527, 0.05141843482851982, 0.024690309539437294, 0.021451640874147415, -0.0530923530459404, -0.034915775060653687, -0.04854366183280945, 0.010298242792487144, -0.028838718309998512, -0.049489788711071014, 0.04042879119515419, -0.03995572775602341, 0.0056722210720181465, -0.005230998154729605, 0.011508195661008358, -0.030294300988316536, 0.019613968208432198, 0.012836414389312267, -0.018322138115763664, -0.02563643828034401, -0.013336770236492157, -0.04406774789094925, 0.00337058212608099, 0.015811260789632797, -0.029948599636554718, -0.01239973958581686, 0.03613482415676117, -0.004894394427537918, 0.058332450687885284, -0.02257971651852131, -0.08551544696092606, -0.05516656115651131, 0.032623231410980225, -0.034515488892793655, 0.0043485513888299465, 0.005367458797991276, 0.028547603636980057, -0.01525631919503212, 0.023089170455932617, -0.013291283510625362, 0.00398238142952323, -0.020705655217170715, 0.03784513473510742, 0.06742984056472778, 0.04090185463428497, 0.04108380153775215, -0.02257971651852131, -0.017339620739221573, 0.010316438041627407, -0.007719133514910936, 0.022688884288072586, -0.03673525154590607, -0.010980547405779362, 0.0514548234641552, -0.023180143907666206, 0.009138326160609722, 0.02339848130941391, 0.03759040683507919, 0.04992646351456642, -0.03267781808972359, 0.02612769789993763, 0.027346746996045113, -0.009311175905168056, -0.03256864845752716, 0.02529073879122734, 0.04246660694479942, -0.003388776909559965, -0.022670689970254898, 0.05305596441030502, -0.0068548815324902534, -0.011226176284253597, -0.05855078622698784, 0.025763802230358124, -0.008155807852745056, -0.009534062817692757, -0.00270874728448689, -0.04850727319717407, -0.00917016714811325, 0.06622898578643799, -0.005276484880596399, 0.0021003594156354666, -0.017576152458786964, -0.03988294675946236, -0.0074871499091386795, 0.01083498913794756, -0.024744894355535507, -0.020978575572371483, 0.02090579643845558, -0.004917138256132603, -0.0053447154350578785, -0.10451079159975052, 0.02134247124195099, 0.012326960451900959, 0.053456250578165054, 0.07176019251346588, -0.03125862404704094, 0.0013213956262916327, 0.004432701971381903, 0.03522508591413498, 0.03762679547071457, 0.023416675627231598, -0.09133777022361755, -0.028056344017386436, 0.012554395012557507, -0.008396889083087444, 0.032113779336214066, -0.028674965724349022, 0.009406698867678642, -0.003124952781945467, 0.06393644213676453, -0.05258290097117424, 0.00786014273762703, -0.03577093034982681, -0.008474216796457767, -0.027401331812143326, -0.008264976553618908, -0.04967173561453819, 0.06037026643753052, 0.05280124023556709, -0.012281473726034164, 0.0359346829354763, -0.016348006203770638, 0.024253636598587036, -0.023907935246825218, -0.012754537165164948, 0.019577577710151672, -0.04894394427537918, -0.03726290166378021, -0.04192076250910759, -0.041884373873472214, -0.014392067678272724, 0.026000333949923515, 0.038318198174238205, 0.035588979721069336, -0.06732066720724106, -0.03149515762925148, 0.03258684277534485, -0.07088684290647507, 0.03473382815718651, -0.004757933784276247, -0.03051263839006424, -0.04588722437620163, -0.03189544007182121, 0.033351022750139236, 0.029384562745690346, -0.01256349217146635, -0.0029248101636767387, -0.022379573434591293, 0.018958956003189087, -0.006336330436170101, -0.05127287656068802, -0.04785225912928581, 0.02538171224296093, 0.042211879044771194, 0.08413264155387878, 0.06386366486549377, 0.01310933567583561, -0.0575682707130909, -0.015529240481555462, 0.019795915111899376, 0.012417933903634548, 0.046251118183135986, 0.034915775060653687, -0.0059815323911607265, -0.042721331119537354, -0.003552529960870743, -0.009256592020392418, -0.03879126161336899, -0.008023896254599094, -0.03034888580441475, -0.037008173763751984, 0.02951192669570446, 0.0228890273720026, 0.018958956003189087, -0.07419829815626144, -0.054365988820791245, 0.00023155694361776114, 0.015274514444172382, -0.07357966899871826, -0.02951192669570446, -0.0018035571556538343, 0.03174988180398941, 0.05210983753204346, 0.003184085711836815, 0.008460571058094501, 0.0502539686858654, -0.01376434788107872, 0.030403470620512962, -0.019905084744095802, 0.13726139068603516, 0.03686261549592018, -0.07816475629806519, 0.01290009543299675, -0.010116294957697392, 0.001526086824014783, 0.022597910836338997, 0.01572028547525406, 0.038063470274209976, -0.010971449315547943, 0.03529786318540573, 0.020942186936736107, -0.052619289606809616, 0.05400209501385689, 0.004871651064604521, -0.029948599636554718, 0.0014908344019204378, -0.008355950936675072, 0.009352114982903004, -0.012235986068844795, 0.055676013231277466, 0.07569026947021484, 0.06408199667930603, -0.0227434691041708, 0.08020257204771042, 0.044286083430051804, 0.005462981294840574, 0.024599336087703705, 0.012763635255396366, -0.02025078423321247, 0.027928980067372322, -0.02265249565243721, 0.09170167148113251, -0.01784907467663288, -0.07459858059883118, -0.018212970346212387, 0.024380998685956, -0.05913301929831505, 0.017130380496382713, -0.0008864267147146165, 0.02727396786212921, 0.052946798503398895, 0.019977863878011703, -0.03371492028236389, 0.005649477709084749, -0.02934817224740982, 0.01410095114260912, 0.024653920903801918, 0.004253028891980648, 0.05913301929831505, 0.011562779545783997, 0.0113717345520854, -0.025036010891199112, 0.021124133840203285, 0.04355829209089279, -0.05382014438509941, 0.03473382815718651, 0.013409549370408058, 0.023798765614628792, -0.055676013231277466, -0.08624323457479477, -0.06895820051431656, 0.027747033163905144, 0.053383469581604004, 0.021196912974119186, -0.02993040531873703, 0.011517292819917202, -0.007546283304691315, -0.017376011237502098, -0.00776916928589344, 0.02487225830554962, -0.005840522702783346, -0.07103240489959717, 0.02969387359917164, 0.09264779835939407, 0.010552969761192799, 0.061534732580184937, -0.03267781808972359, 0.026491593569517136, 0.002499507274478674, 0.004726092796772718, -0.06440950185060501, -0.0020628327038139105, 0.013236699625849724, 0.051636774092912674, 0.00040824527968652546, -0.018067412078380585, -0.07401634752750397, 0.03293254226446152, 0.004289418458938599, 0.036589693278074265, 0.007014086004346609, -0.005931496620178223, 0.007141449488699436, -0.03991933912038803, -0.021942898631095886, 0.015238124877214432, -0.01574757881462574, 0.017466984689235687, 0.032113779336214066, -0.028984276577830315, -0.029875820502638817, -0.05141843482851982, 0.029803041368722916, 0.007468955125659704, -0.015174442902207375, 0.02909344621002674, 0.022197626531124115, 0.0350431390106678, 0.0026086759753525257, 0.016202447935938835, 0.07554470747709274, -0.035443421453237534, 0.04614195227622986, 0.017275938764214516, -0.01994147337973118, 0.0189407616853714, 0.006254454143345356, 0.0004017065220978111, 0.004239382687956095, -0.004459994379431009, 0.007646354380995035, 0.04133852943778038, -0.06619258970022202, 0.03324185311794281, -0.0007960214279592037, -0.041229359805583954, 0.021779146045446396, 0.012135915458202362, -0.04283050075173378, -0.004305338952690363, -0.004707898013293743, -0.058405227959156036, 0.0018831592751666903, -0.04941701143980026, 0.0036207602825015783, 0.021560808643698692, 0.04417691379785538, -0.07041378319263458, -0.060552213340997696, -0.01805831491947174, 0.002223174087703228, -0.03648052364587784, -0.024126272648572922, -0.00537655595690012, -0.027965370565652847, 0.008296817541122437, -0.01479235291481018, -0.013964490033686161, 0.031385987997055054, 0.0014749140245839953, -0.0073006534948945045, 0.011217079125344753, 0.05589434877038002, -0.04541416093707085, 0.006732067093253136, 0.037990693002939224, 0.042211879044771194, -0.02636422961950302, 0.030130548402667046, 0.024180857464671135, 0.043849408626556396, -0.009652328677475452, -0.09148333221673965, 0.026637151837348938, -0.03527966886758804, -0.03407881408929825, 0.016429882496595383, 0.010725820437073708, -0.03497035801410675, 0.054948221892118454, -0.019886890426278114, 0.044504422694444656, 0.07758252322673798, 0.006863979157060385, -0.0946856141090393, -0.05855078622698784, 0.005553955212235451, 0.032859764993190765, -0.009788788855075836, -0.1034918799996376, 0.005299228243529797, -0.0050445012748241425, -0.007273361552506685, 0.06404560804367065, -0.02165178209543228, -0.09046442061662674, 0.015756675973534584, 0.0003061839670408517, -0.04621472954750061, 0.046251118183135986, 0.003734477562829852, -0.036407746374607086, -0.03309629485011101, -0.014583112671971321, 0.018649645149707794, 0.050217580050230026, -0.06444589793682098, -0.03009415790438652, -0.008324109949171543, 0.009861567988991737, 0.034097008407115936, 0.07419829815626144, -0.0078283017501235, -0.0016750565264374018, 0.022015677765011787, -0.04206632077693939, 0.019068125635385513, -0.030458053573966026, -0.04381301999092102, 0.0265461765229702, -0.02778342179954052, 0.025945749133825302, 0.01376434788107872, -0.02703743614256382, 0.0265461765229702, -0.020614679902791977, 0.015802161768078804, 0.005644929129630327, -0.03755401819944382, -0.023089170455932617, -0.007409822195768356, 0.006272648926824331, -0.022252211347222328, -0.011708337813615799, 0.024926843121647835, 0.0011474080383777618, -0.009861567988991737, 0.008087577298283577, 0.034515488892793655, 0.020359953865408897, -0.045341379940509796, -0.08020257204771042, -0.048761997371912, 0.04181159287691116, -0.006309038493782282, 0.008824465796351433, -0.027892591431736946, 0.00646824249997735, 0.061316393315792084, -0.0043553742580115795, 0.006372720003128052, 0.06066138297319412, -0.06699316203594208, 0.009397601708769798, -0.028966082260012627, -0.00284293363802135, 0.06535563617944717, -0.017667127773165703, 0.0073506892658770084, -0.019413825124502182, -0.002275484148412943, 0.04184798523783684, -0.03184085711836815, -0.0014680909225717187, 0.012699953280389309, -0.07245159894227982, -0.038245417177677155, 0.0074780527502298355, -0.012299668043851852, 0.025982139632105827, -0.010725820437073708, -0.038245417177677155, 0.026091307401657104, 0.02967567928135395, -0.04705169051885605, 0.025763802230358124, -0.031313207000494, -0.01553833857178688, 0.0023243825417011976, 0.011353540234267712, -0.023544039577245712, -0.02943914756178856, 0.03606204688549042, 0.05134565755724907, -0.04854366183280945, -0.03238670155405998, -0.01562931202352047, 0.012654466554522514, -0.013973587192595005, 0.04192076250910759, 0.03107667714357376, -0.031022092327475548, -0.044286083430051804, 0.023343896493315697, 0.06571952998638153, 0.03726290166378021, -0.019304657354950905, 0.0042211879044771194, -0.00847876537591219, 0.013973587192595005, -0.01934104599058628, -0.05574879050254822, 0.017485179007053375, -0.07656361162662506, -0.05563962459564209, 0.017093991860747337, 0.04632389917969704, 0.011253468692302704, -0.008019347675144672, 0.04359468072652817, 0.015474656596779823, 0.0457780547440052, 0.047670312225818634, 0.0011656028218567371, 0.02620047703385353, 0.04421330615878105, 0.015574728138744831, 0.04108380153775215, -0.05029036104679108, -0.012427031993865967, -0.002447197213768959, -0.027892591431736946, -0.09213834255933762, 0.02241596393287182, 0.021033160388469696, 0.019541189074516296, 0.024417389184236526, -0.004967173561453819, 0.00018194776203017682, -0.009370309300720692, 0.008869953453540802, -0.013546010479331017, -0.02074204385280609, -0.08143981546163559, -0.014974299818277359, 0.009706912562251091, -0.014928813092410564, 0.032859764993190765, 0.06637454032897949, -0.029311783611774445, -0.045268602669239044, -0.030949313193559647, -0.021597199141979218, 0.024180857464671135, -0.014182827435433865, 0.06178945675492287, -0.05578518286347389, -0.01479235291481018, 0.0023164222948253155, 0.034606464207172394, -0.0029043410904705524, -0.029875820502638817, -0.009197458624839783, 0.05713159590959549, 0.018276652321219444, 0.029329977929592133, 0.05531211569905281, 0.01814928837120533, 0.04079268500208855, -0.02256152220070362, 0.01796734146773815, -0.033041711896657944, 0.00009296392818214372, 0.008365048095583916, -0.0011547997128218412, -0.02174275740981102, 0.016384394839406013, 0.0009501084568910301, -0.0517459399998188, 0.038645703345537186, 0.05123648792505264, -0.004303064197301865, -0.04515943303704262, -0.036425940692424774, 0.013409549370408058, 0.023998908698558807, -0.008919988758862019, 0.0023312056437134743, 0.03850014507770538, -0.017976438626646996, 0.06288114190101624, 0.003952815197408199, 0.024290025234222412, -0.006909465882927179, -0.0026109502650797367, -0.05705881491303444, 0.008774430491030216, 0.019632162526249886, -0.03347838670015335, -0.009452185593545437, 0.04297605901956558, 0.008970024064183235, 0.027001047506928444, -0.02943914756178856, 0.008205844089388847, -0.013982685282826424, 0.04359468072652817, 0.06226252019405365, -0.00851515494287014, -0.06601064652204514, 0.059242188930511475, 0.10101739317178726, 0.006600155029445887, 0.039227936416864395, -0.011881188489496708, 0.02248874306678772, -0.019613968208432198, 0.04912589490413666, 0.007591770030558109, -0.020705655217170715, -0.03209558501839638, 0.046251118183135986, 0.028238290920853615, -0.0017967340536415577, -0.0031454218551516533, 0.038900431245565414, 0.02232498861849308, 0.06371810287237167, 0.010780404321849346, -0.01843130774796009, 0.06288114190101624, 0.0030180583707988262, 0.002920261351391673, 0.06837596744298935, 0.079038105905056, -0.06866708397865295, -0.011635558679699898, 0.013546010479331017, 0.013618789613246918, -0.05192789062857628, -0.05669492110610008, -0.01264536939561367, -0.00874713808298111, -0.020450927317142487, -0.006868527736514807, -0.038645703345537186, -0.02090579643845558, 0.005340166389942169, -0.03167710453271866, 0.012754537165164948, -0.026437008753418922, -0.06801207363605499, 0.017812686040997505, -0.003022607183083892, -0.021051354706287384, 0.013546010479331017, -0.021469835191965103, 0.06757539510726929, -0.018158385530114174, 0.0013759798603132367, 0.03628038242459297, -0.02365320734679699, 0.03850014507770538, 0.048070598393678665, -0.02166997827589512, -0.036589693278074265, 0.019122708588838577, -0.012226888909935951, -0.0050308555364608765, 0.04508665204048157, 0.0002000003878492862, 0.033769503235816956, 0.058332450687885284, -0.036826226860284805, 0.0251269843429327, 0.03180446848273277, 0.006063409149646759, -0.048398103564977646, 0.005945142824202776, 0.01049838587641716, 0.014901520684361458, -0.036080241203308105, 0.007891983725130558, -0.013409549370408058, 0.009406698867678642, 0.027819812297821045, -0.0033069003839045763, 0.02405349351465702, 0.009716009721159935, -0.014310191385447979, -0.016084181144833565, -0.04541416093707085, -0.03240489587187767, -0.05669492110610008, 0.039628222584724426, 0.04919867217540741, -0.034915775060653687, -0.00015849355258978903, 0.05902385339140892, 0.03185905143618584, -0.0041938959620893, 0.03433354198932648, -0.00108031474519521, 0.0657559186220169, -0.0227434691041708, -0.0006703637773171067, -0.028474824503064156, -0.006186223588883877, -0.02283444255590439, 0.00824678223580122, -0.021451640874147415, 0.04301244765520096, -0.006313587073236704, -0.009033706039190292, 0.04854366183280945, -0.06528285145759583, -0.04061073809862137 ]
16,299
exif._constants
MeteringMode
Metering mode.
class MeteringMode(IntEnum): """Metering mode.""" UNKNOWN = 0 """Unknown""" AVERAGE = 1 """Average""" CENTER_WEIGHTED_AVERAGE = 2 """Center Weighted Average""" SPOT = 3 """Spot""" MULTI_SPOT = 4 """Multi Spot""" PATTERN = 5 """Pattern""" PARTIAL = 6 """Partial""" OTHER = 255 """Other"""
(value, names=None, *, module=None, qualname=None, type=None, start=1)
[ 0.1024969145655632, -0.05532921850681305, -0.051101405173540115, -0.006617447827011347, 0.02181919664144516, -0.06749796867370605, -0.003347785212099552, -0.07602712512016296, -0.053270455449819565, -0.023565467447042465, -0.038160618394613266, 0.032113004475831985, -0.027021246030926704, 0.023620612919330597, 0.029796898365020752, -0.02306915819644928, -0.06683622300624847, -0.017940636724233627, 0.028344735503196716, -0.020091306418180466, 0.049814678728580475, 0.04422660917043686, -0.028050627559423447, -0.005978680215775967, 0.05132198706269264, 0.05382191017270088, -0.01680096425116062, -0.02595510147511959, -0.04437366500496864, -0.024576466530561447, -0.08257104456424713, -0.006557707209140062, -0.04676329717040062, -0.008970318362116814, -0.061468739062547684, -0.05727768689393997, -0.014282658696174622, 0.04077083244919777, -0.11124665290117264, 0.022903721779584885, -0.04271930456161499, -0.01770167239010334, -0.004935513250529766, 0.017205365002155304, -0.05253518372774124, -0.027774900197982788, -0.018510472029447556, -0.040697306394577026, 0.04146933928132057, -0.06683622300624847, 0.014962784945964813, -0.023804431781172752, -0.01760057359933853, 0.019503090530633926, -0.05308663845062256, 0.0399620346724987, -0.0319659486413002, 0.004953895229846239, -0.03391442075371742, 0.0392635241150856, -0.050439659506082535, 0.02525659278035164, -0.003770566778257489, -0.025366883724927902, -0.010054844431579113, -0.02246255986392498, -0.022389031946659088, 0.07249782234430313, -0.01822555437684059, 0.06334368139505386, 0.000504925090353936, -0.037149619311094284, 0.012370951473712921, -0.00736650638282299, -0.0018220959464088082, -0.02341841347515583, -0.03323429450392723, 0.03882236033678055, 0.005491562653332949, 0.030201297253370285, 0.02090010605752468, 0.034337203949689865, 0.0771300345659256, -0.0013154475018382072, -0.037186380475759506, -0.033730603754520416, 0.009324167855083942, -0.05415278300642967, 0.008993295952677727, -0.043160464614629745, -0.01933765411376953, -0.031818896532058716, -0.03124905936419964, -0.008919768035411835, -0.04808678850531578, 0.021433178335428238, -0.039410579949617386, -0.009053036570549011, -0.03992526978254318, -0.053601328283548355, -0.04555010050535202, 0.01104746200144291, 0.0031616694759577513, -0.051726385951042175, 0.014815730974078178, -0.06911556422710419, -0.029613079503178596, -0.0016130029689520597, -0.028620462864637375, 0.013878258876502514, 0.006571493577212095, -0.024833811447024345, -0.07128462195396423, -0.0065163481049239635, -0.00641065277159214, 0.05716739594936371, -0.02906162478029728, -0.020955251529812813, -0.0002408302971161902, 0.014971976168453693, -0.0321313850581646, 0.0294476430863142, -0.0053766765631735325, 0.01122208870947361, 0.03819737955927849, 0.04213108494877815, 0.06301280856132507, -0.008317764848470688, -0.02755431830883026, 0.07860057801008224, -0.0020116581581532955, 0.01822555437684059, 0.00846022367477417, -0.02244417741894722, -0.01216875109821558, 0.01629546470940113, 0.023234594613313675, -0.0005376676563173532, 0.012692633084952831, 0.07529184967279434, -0.014108031056821346, 0.0399620346724987, 0.011120988987386227, -0.0015509643126279116, 0.012793732807040215, 0.04510893672704697, -0.018060117959976196, 0.004266875330358744, -0.012012505903840065, 0.033399730920791626, 0.02687419205904007, 0.0258815735578537, -0.02845502644777298, 0.022572850808501244, 0.03407985717058182, -0.021947868168354034, 0.020753052085638046, -0.0018967719515785575, -0.022352268919348717, 0.02781166322529316, -0.0009891706285998225, -0.019117072224617004, 0.0029686607886105776, -0.0066725932992994785, 0.025716137140989304, 0.02814253605902195, -0.02849178947508335, -0.048822060227394104, 0.02246255986392498, -0.031157150864601135, -0.02055085264146328, -0.05922615900635719, -0.02496248483657837, 0.0018795389914885163, 0.047277990728616714, 0.06440982967615128, -0.017278891056776047, 0.04455748200416565, 0.055182162672281265, 0.004560984205454588, 0.020716289058327675, 0.019392799586057663, -0.0899972915649414, -0.03069760650396347, -0.004565579351037741, -0.023620612919330597, 0.04735151678323746, -0.04084435850381851, -0.005840817000716925, -0.035293057560920715, 0.06849058717489243, -0.03351002186536789, -0.01680096425116062, -0.006553111597895622, -0.013538195751607418, -0.033050477504730225, 0.038454726338386536, -0.05874823406338692, 0.062093719840049744, 0.05974084883928299, -0.009668827056884766, 0.02213168703019619, 0.011258852668106556, 0.049116168171167374, -0.023234594613313675, 0.021433178335428238, 0.041322287172079086, -0.0588952861726284, -0.030164534226059914, 0.0008191389497369528, -0.0198891069740057, -0.01994425244629383, 0.02523821033537388, 0.08764442056417465, 0.04150610417127609, -0.04271930456161499, -0.018629953265190125, 0.06429953873157501, -0.06113786622881889, 0.05374838411808014, -0.01898839883506298, -0.024245593696832657, 0.020311888307332993, -0.023822812363505363, 0.03279313072562218, -0.00876352284103632, -0.018253127112984657, -0.0290983896702528, -0.06573331356048584, 0.014778967015445232, -0.02464999444782734, -0.03132258728146553, -0.03948410600423813, 0.028859425336122513, -0.0009535558638162911, 0.05341751128435135, 0.03481512889266014, -0.02053247019648552, -0.09264427423477173, -0.008359123952686787, 0.05271900072693825, -0.005266385618597269, -0.004765481688082218, 0.04058701545000076, 0.009576917625963688, -0.039704687893390656, 0.03319752961397171, 0.010165135376155376, -0.014962784945964813, -0.030182914808392525, -0.018878107890486717, -0.05400572717189789, 0.014558385126292706, 0.004641404375433922, 0.015468284487724304, -0.05224107578396797, -0.10359982401132584, 0.04246195778250694, 0.026782281696796417, -0.033050477504730225, -0.052682239562273026, -0.019705289974808693, -0.009328763000667095, 0.030440259724855423, 0.02431912161409855, -0.0017554619116708636, 0.016828536987304688, 0.03069760650396347, -0.007931746542453766, -0.01565210334956646, 0.1399957835674286, -0.025403646752238274, -0.07448305189609528, 0.0171134565025568, -0.02977851592004299, 0.017811963334679604, 0.021341269835829735, 0.010983125306665897, 0.011387525126338005, -0.01994425244629383, 0.0335284024477005, -0.011029079556465149, -0.023161068558692932, 0.029227061197161674, -0.022241977974772453, 0.022701522335410118, 0.0009403439471498132, -0.01931927166879177, 0.04588097333908081, 0.011056652292609215, 0.004995254334062338, 0.030899805948138237, 0.02814253605902195, -0.008418864570558071, 0.08367395401000977, 0.003072058316320181, 0.05143227428197861, -0.048491187393665314, 0.03981497883796692, -0.0070356340147554874, 0.04510893672704697, -0.0493367500603199, 0.045403044670820236, 0.022021396085619926, -0.06036582961678505, 0.032756365835666656, 0.04297664761543274, -0.023786049336194992, 0.0392635241150856, 0.013501431792974472, -0.01377715915441513, 0.03470483794808388, 0.0009001337457448244, -0.0009001337457448244, -0.017977399751544, 0.03755401819944382, -0.017131837084889412, 0.005785671528428793, 0.016341419890522957, 0.046616245061159134, 0.010946362279355526, 0.029852043837308884, -0.01486168522387743, 0.009324167855083942, -0.005105544812977314, -0.07062287628650665, 0.012159560807049274, 0.00513311754912138, 0.01773843728005886, -0.026138920336961746, -0.06863763928413391, -0.0658436045050621, 0.030421879142522812, 0.018253127112984657, -0.024833811447024345, 0.009324167855083942, 0.030513787642121315, -0.006507157348096371, 0.024190448224544525, 0.031046859920024872, 0.04749857261776924, -0.00885083619505167, -0.04264577478170395, 0.020661143586039543, 0.04488835483789444, 0.03669007122516632, 0.03724152594804764, 0.007996083237230778, 0.07007142156362534, 0.036855507642030716, -0.030918186530470848, -0.039741452783346176, -0.00426917290315032, 0.015256893821060658, 0.04650595411658287, -0.020679524168372154, 0.006962106563150883, -0.08470333367586136, -0.006139521021395922, 0.0250176303088665, 0.010817688889801502, -0.03332620486617088, 0.01217794232070446, 0.04613831639289856, -0.058380596339702606, -0.04595449939370155, 0.017471900209784508, -0.006576088722795248, 0.07025524228811264, -0.004409334156662226, -0.005330721847712994, -0.017453519627451897, -0.017030738294124603, 0.022205214947462082, 0.040292903780937195, 0.03580774739384651, 0.014898449182510376, 0.023951485753059387, 0.03632243722677231, 0.0011212897952646017, 0.012297424487769604, 0.008905981667339802, -0.019172217696905136, 0.0639318972826004, 0.054557181894779205, 0.012793732807040215, 0.02431912161409855, 0.012784541584551334, -0.018914872780442238, 0.0016175983473658562, -0.029557934030890465, 0.004963085986673832, -0.022701522335410118, -0.04543980956077576, -0.0029341948684304953, 0.038454726338386536, -0.048233844339847565, -0.008239641785621643, -0.01664471998810768, 0.00006343875429593027, 0.020422179251909256, -0.013639295473694801, -0.039116472005844116, 0.020054543390870094, -0.028087390586733818, 0.022223595529794693, 0.023951485753059387, 0.010698207654058933, -0.024741902947425842, -0.05323369428515434, -0.006387675646692514, 0.013510623015463352, -0.010376526042819023, -0.01900678128004074, -0.04058701545000076, -0.0021414796356111765, 0.04154286906123161, -0.014291848987340927, 0.007224047556519508, 0.01327165961265564, 0.03674521669745445, -0.0256242286413908, 0.05187343806028366, 0.05257194861769676, 0.006874793209135532, -0.011056652292609215, 0.05095434933900833, -0.0015555598074570298, -0.045991264283657074, 0.012995932251214981, -0.011323188431560993, 0.0043472955003380775, -0.049189697951078415, -0.0899972915649414, 0.032480642199516296, -0.03900618106126785, -0.04404279217123985, -0.02942926250398159, -0.051726385951042175, -0.0481235533952713, 0.000403537938836962, -0.01674581877887249, -0.011203707195818424, 0.04595449939370155, 0.01832665503025055, -0.07396836578845978, -0.03893265128135681, 0.014834112487733364, 0.03384089469909668, -0.02343679405748844, -0.0250176303088665, 0.02523821033537388, 0.006741525139659643, 0.00980668980628252, 0.07786530256271362, -0.014209131710231304, -0.03442911058664322, -0.008942745625972748, -0.003612023778259754, -0.05213078483939171, 0.04135904833674431, 0.0022310910280793905, -0.09220311045646667, -0.013703632168471813, 0.008239641785621643, 0.09808528423309326, 0.041322287172079086, -0.015238512307405472, 0.010339762084186077, 0.007633042521774769, -0.04841766133904457, 0.023142686113715172, 0.06867440789937973, -0.007706569507718086, -0.035513635724782944, 0.06095404922962189, -0.028693988919258118, 0.004751695320010185, -0.02749917283654213, -0.02873075380921364, 0.045991264283657074, -0.03374898433685303, -0.000057084103900706396, -0.005004445090889931, -0.018335845321416855, -0.006052207667380571, -0.03479674831032753, 0.014889257960021496, -0.022664759308099747, -0.03510923683643341, -0.025789665058255196, 0.025991864502429962, 0.05823354050517082, -0.024502938613295555, 0.037756215780973434, 0.07580654323101044, -0.0192825086414814, 0.011130180209875107, -0.00045523676089942455, 0.049152933061122894, 0.06371131539344788, -0.02946602553129196, -0.058380596339702606, -0.06922585517168045, 0.03003586083650589, -0.04680006206035614, -0.018593190237879753, -0.03602832928299904, 0.027719754725694656, 0.043197229504585266, 0.029613079503178596, -0.008078801445662975, 0.055513035506010056, -0.011764352209866047, 0.015854302793741226, -0.010431671515107155, 0.009788308292627335, -0.025991864502429962, 0.03007262386381626, 0.03441073000431061, -0.02374928630888462, -0.040035560727119446, 0.04327075555920601, -0.008046632632613182, -0.008496986702084541, 0.05808648839592934, -0.05779238045215607, -0.05146903917193413, 0.013299232348799706, -0.0034396944101899862, 0.019429562613368034, 0.009650444611907005, -0.025385266169905663, 0.08117403090000153, 0.026800664141774178, -0.03676360100507736, 0.024852193892002106, 0.020789815112948418, 0.032756365835666656, 0.017315655946731567, -0.021745668724179268, -0.05242489278316498, 0.010799307376146317, -0.0031501809135079384, 0.08485038578510284, -0.02788519114255905, -0.02338164858520031, -0.016212748363614082, 0.043785449117422104, -0.02091848850250244, 0.017205365002155304, 0.02461322955787182, -0.055513035506010056, -0.09418834000825882, 0.018262317404150963, 0.05257194861769676, 0.061468739062547684, -0.00608437554910779, 0.013418713584542274, -0.030918186530470848, -0.028528552502393723, -0.00664042541757226, -0.007623851299285889, 0.0007140180678106844, 0.022885341197252274, -0.041910503059625626, 0.0016233427450060844, 0.026635227724909782, -0.004246195778250694, -0.04264577478170395, 0.026708755642175674, -0.016387375071644783, 0.05510863661766052, -0.025146301835775375, 0.019723670557141304, 0.04771915078163147, 0.022940486669540405, 0.015376375988125801, -0.0004460458585526794, -0.03424529358744621, -0.04543980956077576, -0.003770566778257489, -0.03132258728146553, -0.05253518372774124, 0.03834443539381027, 0.021267741918563843, 0.00256426096893847, 0.007582492660731077, 0.011920597404241562, 0.04172668606042862, -0.0037131235003471375, 0.011415097862482071, 0.04271930456161499, -0.019208980724215508, -0.07444629073143005, 0.003880857490003109, -0.013988549821078777, -0.02312430366873741, 0.039704687893390656, 0.0310100968927145, 0.005491562653332949, 0.026745518669486046, -0.04183697700500488, 0.0061808801256120205, 0.04830737039446831, 0.004096843767911196, 0.01582673005759716, -0.0015613040886819363, -0.027260208502411842, -0.018703481182456017, 0.003722314490005374, 0.0009098990703932941, -0.04018261283636093, -0.023473558947443962, 0.11227603256702423, 0.002103567123413086, 0.0096412543207407, -0.009898599237203598, 0.009053036570549011, -0.03130420669913292, -0.05529245361685753, 0.04455748200416565, -0.04271930456161499, -0.007403269875794649, 0.01813364587724209, 0.013630104251205921, -0.044153083115816116, -0.022205214947462082, -0.00886002741754055, -0.09095314890146255, 0.01992587186396122, 0.035862892866134644, 0.002897431142628193, -0.0776447206735611, -0.05371161922812462, -0.012600723654031754, -0.019833961501717567, 0.021929487586021423, 0.005215835757553577, 0.03323429450392723, 0.014650294557213783, 0.09742353856563568, 0.030513787642121315, 0.008377505466341972, -0.013437096029520035, 0.0036533826496452093, -0.04668977111577988, -0.0006881686276756227, 0.0012430691858753562, -0.006392270792275667, -0.027260208502411842, 0.037498872727155685, 0.020624378696084023, -0.03134096786379814, -0.024594848975539207, -0.00245167245157063, -0.005422630812972784, 0.03253578767180443, 0.051101405173540115, -0.0512484572827816, -0.11007022112607956, 0.04452072083950043, 0.04422660917043686, 0.02244417741894722, 0.04293988272547722, 0.019061926752328873, -0.03632243722677231, -0.030256442725658417, 0.0613216832280159, -0.022278741002082825, 0.021451560780405998, 0.027719754725694656, 0.05779238045215607, -0.0001349195372313261, -0.03755401819944382, 0.06746120750904083, 0.02558746561408043, 0.012095224112272263, 0.07187283784151077, 0.01760057359933853, 0.02433750219643116, 0.030568933114409447, -0.005758098792284727, 0.038087088614702225, 0.040623776614665985, 0.014319421723484993, -0.0474250428378582, -0.004085354972630739, -0.021708905696868896, -0.02303239516913891, -0.03407985717058182, -0.03896941617131233, -0.02148832380771637, -0.018096882849931717, 0.020403798669576645, -0.02338164858520031, -0.001961108297109604, 0.023602230474352837, 0.023841194808483124, -0.007214856334030628, -0.011111797764897346, -0.01486168522387743, -0.05665270611643791, 0.005914343986660242, 0.009760735556483269, -0.004434609320014715, 0.027002863585948944, -0.005785671528428793, 0.06106434017419815, -0.06731414794921875, 0.01136914361268282, 0.0997028797864914, -0.05279253050684929, 0.04051348567008972, 0.028289590030908585, 0.012563960626721382, -0.014374567195773125, 0.04952056705951691, -0.03691065311431885, -0.005978680215775967, -0.0007559515070170164, 0.0026354906149208546, 0.014843303710222244, 0.04485158994793892, -0.05117493122816086, 0.004719526972621679, 0.018087690696120262, 0.04323399439454079, -0.02882266230881214, -0.0013453179271891713, 0.022572850808501244, -0.006677188910543919, -0.03490703925490379, 0.0109004070982337, -0.0009351740591228008, 0.02716830000281334, 0.04841766133904457, -0.01838180050253868, 0.021304506808519363, 0.049189697951078415, -0.0011385227553546429, 0.017811963334679604, -0.05602772533893585, -0.060218777507543564, -0.07058611512184143, 0.07463010400533676, 0.0011867749271914363, 0.011626488529145718, -0.0008363719098269939, 0.04654271900653839, 0.0048849633894860744, -0.0474250428378582, 0.01377715915441513, -0.01897001825273037, 0.025550702586770058, -0.014962784945964813, 0.024098539724946022, -0.06047612056136131, -0.02218683250248432, -0.002961767604574561, -0.035881273448467255, -0.0392635241150856, 0.014567576348781586, 0.004338104743510485, -0.05569685250520706, 0.014659485779702663, -0.019521471112966537, -0.04216784983873367 ]
16,300
exif._constants
Orientation
Image orientation in terms of rows and columns.
class Orientation(IntEnum): """Image orientation in terms of rows and columns.""" TOP_LEFT = 1 """The 0th row is at the visual top of the image and the 0th column is the visual left-hand side.""" TOP_RIGHT = 2 """The 0th row is at the visual top of the image and the 0th column is the visual right-hand side.""" BOTTOM_RIGHT = 3 """The 0th row is at the visual bottom of the image and the 0th column is the visual right-hand side.""" BOTTOM_LEFT = 4 """The 0th row is at the visual bottom of the image and the 0th column is the visual left-hand side.""" LEFT_TOP = 5 """The 0th row is the visual left-hand side of the image and the 0th column is the visual top.""" RIGHT_TOP = 6 """The 0th row is the visual right-hand side of the image and the 0th column is the visual bottom.""" RIGHT_BOTTOM = 7 """The 0th row is the visual right-hand side of the image and the 0th column is the visual bottom.""" LEFT_BOTTOM = 8 """The 0th row is the visual left-hand side of the image and the 0th column is the visual bottom."""
(value, names=None, *, module=None, qualname=None, type=None, start=1)
[ 0.027052806690335274, -0.10738570988178253, -0.07188857346773148, -0.029494954273104668, 0.03147275000810623, -0.057648446410894394, 0.005748506169766188, -0.016217924654483795, -0.053692854940891266, 0.012391320429742336, 0.03038926236331463, 0.035772304981946945, 0.00713296327739954, 0.05489673092961311, -0.014695881865918636, -0.0160803385078907, 0.020809851586818695, -0.009355833753943443, -0.002300262451171875, -0.018453694880008698, 0.015607387758791447, 0.028239483013749123, 0.0021422537975013256, -0.035565927624702454, 0.016493096947669983, 0.026296084746718407, 0.008775393478572369, -0.03181671351194382, 0.026382075622677803, -0.05355526879429817, -0.09734194725751877, 0.022822042927145958, 0.014506702311336994, 0.006230056751519442, -0.04309874773025513, -0.037629712373018265, 0.025900525972247124, 0.02648526430130005, -0.04715752974152565, 0.039143156260252, -0.04320193827152252, -0.017533589154481888, 0.04464659094810486, -0.044268228113651276, -0.03618506342172623, 0.013242632150650024, -0.014455107040703297, -0.1127515584230423, 0.022392086684703827, -0.06346144527196884, 0.037148162722587585, -0.04581606760621071, 0.015598788857460022, 0.012141945771872997, -0.02942616119980812, 0.04629761725664139, -0.0056367176584899426, 0.006156964227557182, 0.00020140732522122562, 0.02118821255862713, -0.048223819583654404, -0.02043149061501026, 0.007055571302771568, -0.032556239515542984, -0.00718455808237195, -0.023802341893315315, -0.01912442408502102, 0.04433702304959297, -0.0367354080080986, 0.04812062904238701, -0.03821445256471634, 0.01438631396740675, 0.054380785673856735, -0.013672588393092155, -0.0368729904294014, -0.013105046935379505, -0.059024304151535034, 0.0712694376707077, 0.04898054152727127, -0.015108639374375343, 0.003228966612368822, 0.04275478422641754, 0.10016245394945145, -0.01589115895330906, 0.04502495005726814, -0.032797012478113174, 0.02557375840842724, -0.015968549996614456, 0.025350181385874748, 0.008366935886442661, -0.022890836000442505, -0.020620670169591904, -0.016923053190112114, -0.02136019431054592, -0.022237302735447884, 0.04186047613620758, -0.010817683301866055, -0.0018595579313114285, 0.0041533708572387695, -0.09403988718986511, -0.09335196018218994, -0.0149538554251194, -0.007915482856333256, -0.031902704387903214, -0.046366412192583084, -0.03157594054937363, -0.003564331913366914, 0.006836294196546078, -0.05654776096343994, -0.019365200772881508, 0.026571255177259445, -0.0011662545148283243, -0.013896164484322071, 0.04629761725664139, 0.062463950365781784, -0.03491239622235298, -0.02117101289331913, -0.012511707842350006, -0.010869277641177177, 0.016656480729579926, -0.05957464873790741, 0.0007895059534348547, 0.01139382366091013, 0.02849745750427246, 0.023509971797466278, 0.026296084746718407, 0.0413445308804512, -0.008620609529316425, -0.05826758220791817, 0.050700362771749496, -0.01244291476905346, -0.039246346801519394, -0.029305772855877876, -0.003987838048487902, 0.012150545604526997, -0.011307831853628159, 0.05345207825303078, 0.005344348028302193, -0.005658215843141079, 0.09686039388179779, -0.0019229764584451914, 0.037870489060878754, 0.005443237721920013, 0.026777634397149086, 0.03083641454577446, 0.0736083984375, 0.06077852472662926, 0.019709164276719093, 0.04416503757238388, -0.009166653268039227, 0.005507731344550848, 0.003699767868965864, 0.022374888882040977, 0.025952119380235672, 0.0482582151889801, -0.08021251857280731, 0.003115028375759721, -0.05379604548215866, -0.02093023806810379, 0.06356463581323624, 0.006862091366201639, 0.00988897867500782, -0.03941832855343819, -0.0005508806207217276, -0.017886152490973473, 0.03334735706448555, -0.008276645094156265, -0.04640080779790878, 0.014283125288784504, -0.0436834879219532, 0.022684456780552864, -0.08860524743795395, -0.03374291583895683, -0.02278764732182026, 0.014652886427938938, 0.06841453164815903, -0.02464505471289158, 0.04619443044066429, 0.002084209816530347, -0.0012318227672949433, 0.027706338092684746, 0.0031343763694167137, -0.040381431579589844, -0.004007186274975538, 0.0020111172925680876, 0.0368385948240757, 0.07869907468557358, -0.021205410361289978, 0.0758097693324089, -0.04447460547089577, -0.0022637161891907454, 0.0019885445944964886, -0.021257005631923676, -0.004269459284842014, 0.03728574886918068, -0.03331296145915985, -0.009691199287772179, -0.03314097598195076, 0.06879289448261261, 0.022598465904593468, 0.007335042580962181, 0.01230532955378294, 0.024266693741083145, 0.030905207619071007, -0.015117239207029343, 0.03353653475642204, -0.014240129850804806, -0.05661655217409134, -0.010843480005860329, 0.009261243976652622, -0.03615066781640053, -0.028617843985557556, -0.04024384543299675, 0.008237949572503567, 0.02944335900247097, -0.012503108941018581, -0.01907283067703247, 0.03811126574873924, -0.04275478422641754, 0.0368385948240757, 0.053761646151542664, 0.03707937151193619, 0.0008631358505226672, -0.053004927933216095, 0.05008122697472572, -0.03811126574873924, -0.02228889800608158, -0.0643213540315628, -0.05307371914386749, 0.046607185155153275, -0.029288575053215027, -0.0666259229183197, -0.03952151909470558, 0.023045619949698448, 0.03618506342172623, 0.08619749546051025, -0.02209971845149994, -0.011350828222930431, -0.06690108776092529, 0.01655329018831253, -0.017215421423316002, 0.0051293703727424145, 0.01821291819214821, 0.01460989098995924, -0.02739677019417286, -0.049358904361724854, 0.016415704041719437, 0.035772304981946945, -0.03838643431663513, -0.03869600221514702, -0.062223173677921295, -0.044956158846616745, 0.01632111519575119, -0.03773290291428566, 0.027499960735440254, -0.017215421423316002, -0.087298184633255, -0.0070254746824502945, 0.052316997200250626, -0.023355187848210335, 0.021308599039912224, -0.07532822340726852, 0.028566250577569008, 0.013586596585810184, 0.010877876542508602, -0.009828784503042698, 0.02435268461704254, 0.03475761041045189, -0.005580823868513107, -0.008805491030216217, 0.11006863415241241, 0.05826758220791817, -0.08640387654304504, 0.0040501817129552364, 0.05107872560620308, 0.013388817198574543, 0.06535325199365616, 0.00048692472046241164, 0.012537505477666855, -0.011806581169366837, 0.043408315628767014, -0.024215098470449448, -0.06504368036985397, 0.06965280324220657, -0.0037556621246039867, -0.016656480729579926, -0.027035608887672424, -0.04533451795578003, 0.024335486814379692, 0.018900848925113678, 0.041103754192590714, 0.06050335243344307, -0.025711344555020332, -0.002306711860001087, 0.0437522828578949, -0.012124747969210148, -0.006333245895802975, -0.007507024798542261, 0.006019378546625376, -0.0021551523823291063, 0.012812676839530468, -0.010181348770856857, 0.10449641197919846, -0.0020100423134863377, -0.020379895344376564, 0.009940573014318943, -0.01045652013272047, -0.017989343032240868, 0.01289006881415844, -0.010181348770856857, 0.022478079423308372, 0.04461219161748886, 0.006922285072505474, 0.03061283938586712, -0.003523486200720072, -0.021738555282354355, 0.004340401850640774, 0.0035170367918908596, 0.02896180935204029, 0.07051271945238113, 0.006681509781628847, 0.04447460547089577, -0.0874357670545578, -0.010172749869525433, 0.016432903707027435, -0.06401178985834122, 0.013406015932559967, 0.016441501677036285, 0.018040936440229416, 0.03993427753448486, -0.06934323906898499, -0.04849899187684059, 0.01289006881415844, 0.046091239899396896, -0.0067846993915736675, -0.02989051304757595, 0.03197149932384491, 0.06291110068559647, 0.025126604363322258, -0.000231101133977063, 0.013526403345167637, -0.03952151909470558, -0.005198162980377674, 0.006655712611973286, 0.06779539585113525, -0.029821719974279404, 0.03983108699321747, -0.028411466628313065, 0.04306435212492943, 0.028342673555016518, -0.018574081361293793, 0.016002947464585304, 0.010662898421287537, -0.022839240729808807, -0.0010700520360842347, -0.0026549757458269596, -0.02963254041969776, -0.0941774770617485, 0.030286071822047234, 0.04230763018131256, 0.07223253697156906, -0.0029623941518366337, -0.025453371927142143, 0.006857791915535927, -0.03639144077897072, -0.025642551481723785, -0.025728542357683182, -0.029856117442250252, 0.040828581899404526, 0.016845660284161568, -0.006831994280219078, -0.023527169600129128, -0.0321606770157814, 0.013689786195755005, 0.050941139459609985, 0.03800807520747185, -0.02096463553607464, 0.04650399833917618, 0.036219459027051926, -0.03408687934279442, 0.01912442408502102, 0.029116593301296234, 0.0413445308804512, 0.06927444785833359, -0.03169632703065872, -0.02024230919778347, 0.037388939410448074, 0.02211691625416279, -0.06163843348622322, -0.02251247502863407, -0.10518433898687363, -0.00021215621381998062, 0.00040899525629356503, -0.060881711542606354, 0.03659782186150551, -0.026364877820014954, -0.05727008730173111, 0.053761646151542664, 0.0252985879778862, -0.041998062282800674, 0.027190392836928368, -0.017645377665758133, -0.01565898209810257, 0.028635043650865555, -0.0022293198853731155, 0.02435268461704254, 0.025212597101926804, 0.04873976483941078, -0.02624448947608471, -0.08186354488134384, -0.0020960334222763777, -0.002689372282475233, 0.0028269579634070396, 0.011204643175005913, 0.033725716173648834, -0.0010786510538309813, 0.013096447102725506, -0.005696911830455065, -0.026313282549381256, 0.023613162338733673, -0.019915543496608734, 0.04031263664364815, 0.009553613141179085, 0.06528446078300476, -0.047295115888118744, -0.024748243391513824, 0.031180379912257195, 0.02741396799683571, -0.029030602425336838, 0.004419943317770958, -0.008182055316865444, 0.04388986900448799, 0.02048308402299881, -0.06064093858003616, 0.0062085590325295925, -0.03879919275641441, -0.021738555282354355, 0.013741380535066128, -0.0253329835832119, 0.009149455465376377, 0.04278917983174324, -0.0004038895422127098, -0.031403955072164536, 0.04671037569642067, -0.02141178958117962, -0.04416503757238388, -0.04158530384302139, 0.03260783106088638, 0.008121861144900322, -0.01299325842410326, 0.004314604215323925, 0.04168849438428879, -0.03009689226746559, -0.02435268461704254, 0.04447460547089577, -0.019416794180870056, -0.04392426460981369, -0.01345761027187109, 0.005984982009977102, -0.043339524418115616, 0.059918612241744995, -0.004669317975640297, -0.03842083364725113, -0.044990554451942444, 0.004630621988326311, -0.0160803385078907, 0.033226966857910156, -0.01583096571266651, -0.004445740953087807, -0.005318550858646631, 0.006406338419765234, 0.020603472366929054, 0.03766411170363426, 0.002921548206359148, -0.02046588622033596, 0.011806581169366837, 0.045678481459617615, 0.029770124703645706, -0.030251676216721535, -0.05568784847855568, 0.013139443472027779, -0.037354543805122375, -0.035806700587272644, -0.02648526430130005, -0.023097215220332146, -0.012004360556602478, -0.050528381019830704, 0.017430400475859642, 0.02442147769033909, -0.04299556091427803, 0.008452926762402058, 0.03848962485790253, -0.04296116158366203, 0.029064998030662537, 0.044268228113651276, 0.026055309921503067, -0.0050390795804560184, -0.053245700895786285, -0.04444020986557007, -0.028239483013749123, 0.053486477583646774, -0.03862721100449562, -0.0021229058038443327, -0.058061204850673676, 0.028910214081406593, -0.005245458334684372, 0.04530012235045433, -0.05964343994855881, 0.012632095254957676, -0.02395712584257126, -0.004454339854419231, 0.010619902983307838, 0.04296116158366203, -0.03818005695939064, -0.010138353332877159, 0.01114444900304079, -0.04757028818130493, 0.01185817550867796, 0.048602182418107986, 0.03866160660982132, -0.01242571696639061, -0.06542204320430756, 0.024335486814379692, 0.0714070275425911, -0.04691675305366516, 0.06332386285066605, 0.005641017574816942, -0.056926120072603226, 0.018780460581183434, 0.006879289634525776, -0.03934953734278679, -0.02320040389895439, -0.02228889800608158, 0.05589422583580017, -0.013672588393092155, 0.01563318632543087, -0.0034890896640717983, 0.0009964221389964223, 0.041034962981939316, 0.037870489060878754, 0.0016703774454072118, -0.022822042927145958, -0.032126281410455704, 0.02342398092150688, 0.05585983023047447, -0.014050949364900589, 0.026554057374596596, -0.03169632703065872, 0.06463092565536499, -0.024782640859484673, 0.009759992361068726, 0.028875818476080894, -0.02230609580874443, -0.08227629959583282, 0.027310779318213463, 0.06793298572301865, 0.03513597324490547, -0.05152587965130806, -0.004000736866146326, -0.04213564842939377, 0.0011146599426865578, -0.006715906318277121, -0.04041582718491554, -0.019433993846178055, -0.035290755331516266, -0.01586536131799221, 0.029752926900982857, 0.016828462481498718, 0.018264513462781906, -0.002257266780361533, 0.009407428093254566, -0.01011255569756031, 0.05658215656876564, -0.025487767532467842, -0.01104125939309597, -0.004437141586095095, 0.008276645094156265, 0.02626168727874756, -0.0008695852011442184, -0.04258280247449875, -0.006427836138755083, -0.03848962485790253, 0.013302826322615147, -0.07298926264047623, -0.011754985898733139, 0.013371619395911694, 0.002407751278951764, 0.07071909308433533, 0.023372385650873184, 0.011763584800064564, -0.009003270417451859, -0.029133791103959084, 0.02531578578054905, -0.01909002847969532, -0.01821291819214821, -0.018092531710863113, -0.002149777952581644, -0.058577150106430054, -0.030630037188529968, -0.006797598209232092, 0.04254840686917305, 0.01565898209810257, -0.05678853392601013, 0.056272588670253754, 0.03377731144428253, 0.00218847393989563, 0.07230133563280106, -0.02369915321469307, -0.039452724158763885, -0.03154154121875763, 0.015796568244695663, 0.04100056737661362, 0.013225434347987175, -0.04230763018131256, 0.05125070735812187, 0.02050028368830681, -0.03773290291428566, 0.035565927624702454, -0.02093023806810379, 0.022873638197779655, -0.050012435764074326, -0.00011185563926119357, -0.029580945149064064, -0.026812031865119934, -0.006793298292905092, -0.015985749661922455, -0.016166331246495247, 0.018470892682671547, 0.02481703646481037, -0.062223173677921295, 0.06545644253492355, 0.01792054995894432, 0.020999031141400337, -0.06497488915920258, -0.03178231790661812, -0.0010383427143096924, -0.01507424283772707, 0.011350828222930431, 0.01552139688283205, 0.03525635972619057, 0.02808469906449318, 0.02048308402299881, 0.026175696402788162, 0.0482582151889801, 0.03310658037662506, -0.0018574082059785724, -0.030698830261826515, -0.00614836486056447, 0.005043379031121731, -0.03248744457960129, -0.025642551481723785, 0.044509004801511765, 0.05778603255748749, -0.039005570113658905, -0.053692854940891266, 0.004110375419259071, -0.013689786195755005, 0.011987161822617054, 0.005223960615694523, -0.02667444571852684, -0.051181916147470474, 0.02230609580874443, 0.015727775171399117, 0.05768284201622009, 0.059712234884500504, 0.03563471883535385, -0.01951998472213745, 0.005305652040988207, 0.041757289320230484, -0.03728574886918068, 0.04684796184301376, 0.03697618097066879, 0.03749212995171547, -0.004669317975640297, 0.0028979007620364428, 0.02916818857192993, 0.049599677324295044, -0.035772304981946945, 0.07684166729450226, 0.037182558327913284, -0.026106903329491615, 0.04629761725664139, -0.02578013762831688, -0.00506487675011158, 0.07553459703922272, 0.004091027658432722, -0.003465442219749093, -0.035101573914289474, -0.02689802274107933, -0.03649463132023811, -0.036219459027051926, -0.033932097256183624, 0.03307218477129936, -0.021944934502243996, 0.006122567690908909, -0.001782165956683457, -0.017817359417676926, 0.04189487174153328, -0.005021881312131882, -0.007008276414126158, 0.0021616017911583185, -0.05448397248983383, -0.07188857346773148, 0.025143804028630257, 0.018539685755968094, -0.0010824132477864623, 0.051869843155145645, 0.01659628562629223, 0.05114751681685448, -0.03824884817004204, -0.017413200810551643, 0.07890544831752777, -0.028858618810772896, -0.01866007223725319, 0.028222285211086273, 0.06972160190343857, -0.02923697978258133, 0.017817359417676926, -0.022013725712895393, -0.03202309459447861, 0.012847073376178741, 0.0299249105155468, 0.015444004908204079, -0.025246992707252502, -0.06583479791879654, -0.013242632150650024, 0.02393992803990841, 0.015504199080169201, -0.10153831541538239, -0.0264336708933115, -0.01412834133952856, -0.009949172846972942, -0.02486863173544407, 0.039899878203868866, -0.0390743650496006, 0.007494125980883837, 0.057854823768138885, -0.009759992361068726, -0.0012307479046285152, 0.045403312891721725, 0.011454016901552677, -0.0051293703727424145, -0.030286071822047234, -0.015108639374375343, -0.021996527910232544, 0.008151957765221596, 0.005322850309312344, -0.004910092800855637, 0.0050476789474487305, 0.08110682666301727, 0.03384610638022423, -0.017868954688310623, 0.011006862856447697, -0.0021153816487640142, 0.02046588622033596, -0.06019378453493118, 0.035325150936841965, -0.004340401850640774, 0.011866774410009384, -0.03357093408703804, -0.05912749469280243, -0.022202907130122185, 0.007163060363382101, 0.007089967839419842, -0.03632264956831932, 0.02734517678618431, -0.0030827815644443035, -0.019881146028637886 ]
16,301
exif._constants
ResolutionUnit
Unit for measuring X resolution and Y resolution tags.
class ResolutionUnit(IntEnum): """Unit for measuring X resolution and Y resolution tags.""" INCHES = 2 """Inches or Unknown""" CENTIMETERS = 3 """Centimeters"""
(value, names=None, *, module=None, qualname=None, type=None, start=1)
[ 0.05342050641775131, -0.03859316185116768, -0.03960969299077988, -0.003178853075951338, 0.015099003911018372, -0.028480419889092445, 0.007847451604902744, -0.061973392963409424, -0.07606463134288788, -0.00889903586357832, 0.03461466357111931, 0.016054194420576096, 0.03617451712489128, 0.03209086135029793, 0.010498320683836937, 0.030162956565618515, -0.010778743773698807, -0.04279949888586998, -0.01315357256680727, -0.0021371268667280674, 0.0021360316313803196, 0.04153759777545929, 0.017421254888176918, -0.03433424234390259, -0.019541949033737183, 0.02737625688314438, 0.019419265910983086, -0.042869605123996735, -0.04241391643881798, -0.0923992469906807, -0.08917438983917236, 0.04227370768785477, -0.03231870383024216, -0.005774952936917543, -0.01579129695892334, -0.02369570918381214, -0.00015349303430411965, 0.013907208107411861, -0.0917682945728302, 0.07319030165672302, -0.043290238827466965, -0.011768985539674759, 0.005389371886849403, 0.014853634871542454, -0.009341577999293804, -0.0176228079944849, 0.007882503792643547, -0.043991293758153915, 0.023152390494942665, -0.04052106663584709, 0.03359813243150711, -0.027972154319286346, -0.029041266068816185, 0.01957700215280056, -0.03666525334119797, 0.08202361315488815, 0.0031525634694844484, 0.05051112174987793, 0.012662832625210285, 0.026570040732622147, -0.04798731580376625, 0.02947942540049553, 0.02159254066646099, -0.059554748237133026, -0.041187070310115814, -0.02678035758435726, 0.027148412540555, 0.0324413888156414, -0.0318630188703537, 0.0476718433201313, 0.02106674760580063, -0.006405903957784176, 0.019752267748117447, -0.012960782274603844, 0.07501304894685745, 0.0029641545843333006, -0.04872342571616173, 0.02387097291648388, 0.05597935989499092, 0.027726784348487854, -0.001987057039514184, 0.03897874057292938, 0.06880869716405869, -0.009779738262295723, 0.0022324267774820328, -0.04041590541601181, 0.03883853182196617, -0.039083898067474365, 0.014923740178346634, 0.019874950870871544, -0.046655308455228806, -0.026710253208875656, 0.006182441953569651, -0.014503106474876404, -0.03554356470704079, 0.04788215830922127, -0.04392119124531746, -0.0012750464957207441, -0.07459241151809692, -0.0623239241540432, -0.008697481825947762, -0.025868983939290047, -0.006107954774051905, 0.003643302945420146, 0.007308513857424259, -0.0032511495519429445, 0.010051397606730461, -0.03584151342511177, -0.026990674436092377, 0.05755673721432686, -0.03314244747161865, -0.04591920226812363, -0.07627494633197784, 0.02373076230287552, -0.020768798887729645, 0.014126288704574108, -0.04041590541601181, -0.0104194525629282, 0.00011063547572121024, 0.03401876613497734, -0.03051348403096199, 0.0500904880464077, 0.008903417736291885, 0.03342286869883537, 0.042869605123996735, 0.032546546310186386, 0.02196059562265873, 0.025728773325681686, -0.048898689448833466, 0.06922932714223862, 0.06646015495061874, -0.024922559037804604, 0.03869831934571266, 0.01523045264184475, 0.06239403039216995, 0.015493348240852356, 0.037681788206100464, 0.016702670603990555, 0.04080148786306381, 0.0931704118847847, -0.005704847164452076, 0.07333050668239594, -0.015861403197050095, -0.023993657901883125, 0.0071858293376863, 0.07168302685022354, -0.0074662514962255955, 0.011655064299702644, -0.05131733417510986, 0.0276566781103611, -0.03673535957932472, -0.028340209275484085, 0.03372081741690636, -0.007733529433608055, 0.05370092764496803, -0.07014070451259613, 0.02139974944293499, -0.03231870383024216, 0.0034570847637951374, 0.032406337559223175, 0.0057618082500994205, 0.0010148888686671853, -0.006392758805304766, -0.024326659739017487, -0.002154653426259756, 0.07161292433738708, -0.06610962748527527, -0.0483027920126915, 0.01906873658299446, -0.0292515829205513, -0.010945244692265987, -0.051843129098415375, 0.02041827142238617, 0.02238122932612896, 0.050721436738967896, -0.004385984502732754, -0.008149782195687294, 0.03126712143421173, 0.014494342729449272, 0.0035622434224933386, 0.08013075590133667, -0.00817607156932354, -0.06579415500164032, -0.021855436265468597, -0.013731944374740124, 0.0458841472864151, 0.03960969299077988, -0.008469638414680958, -0.005770571529865265, -0.07031596451997757, 0.05965990945696831, -0.001040630741044879, -0.028725789859890938, -0.0013429613318294287, -0.007049999199807644, -0.0348600335419178, 0.017491359263658524, -0.040345802903175354, 0.05769694969058037, 0.011067929677665234, -0.05321018770337105, 0.05208849906921387, 0.029602110385894775, 0.03377339616417885, 0.007531975861638784, 0.012224672362208366, 0.007983281277120113, -0.0276566781103611, -0.04879353195428848, -0.0027647914830595255, -0.02215338498353958, -0.028813421726226807, -0.01915636844933033, 0.038242630660533905, 0.008855219930410385, -0.01521292608231306, -0.031249593943357468, 0.034123923629522324, -0.04213349521160126, 0.02958458475768566, 0.06376108527183533, 0.006528588477522135, 0.0763450562953949, -0.05037090927362442, 0.032599128782749176, -0.02953200414776802, -0.0020900247618556023, -0.028252577409148216, -0.020085269585251808, 0.014389184303581715, -0.006506680510938168, -0.05261429026722908, -0.016334615647792816, 0.0027647914830595255, -0.024554504081606865, 0.006007177755236626, -0.004199766553938389, 0.014196394011378288, -0.057451579719781876, -0.014284025877714157, -0.030969170853495598, 0.007067525759339333, -0.04560372605919838, 0.0174300167709589, -0.0318630188703537, -0.048898689448833466, -0.019384212791919708, 0.010752454400062561, -0.016834119334816933, -0.0038864819798618555, -0.049319323152303696, -0.02762162685394287, 0.022696703672409058, -0.011225666850805283, 0.0322485975921154, -0.026850463822484016, -0.13453274965286255, -0.006725760642439127, 0.034123923629522324, -0.03342286869883537, 0.0122684882953763, -0.02877836860716343, 0.034789927303791046, 0.06789731979370117, 0.016457300633192062, 0.013460285030305386, 0.013810813426971436, -0.005231634248048067, -0.010621005669236183, -0.0019290008349344134, 0.09450241923332214, 0.0020757843740284443, -0.04981006309390068, -0.006427811924368143, -0.008211124688386917, 0.03953958675265312, 0.04241391643881798, 0.006208731792867184, 0.029076319187879562, -0.007155158091336489, 0.00567855779081583, 0.0020746891386806965, -0.02967221662402153, 0.03270428627729416, -0.011418458074331284, 0.0062218764796853065, 0.013766996562480927, 0.018718209117650986, 0.002256525680422783, 0.027884522452950478, -0.024554504081606865, -0.00995500199496746, -0.009218893013894558, -0.014652080833911896, 0.08104213327169418, 0.0287433173507452, -0.002155748661607504, -0.021785330027341843, 0.027954628691077232, 0.018560471013188362, -0.013381415978074074, -0.013635548762977123, 0.008601087145507336, 0.03463219106197357, -0.02588651143014431, 0.06807258725166321, 0.05937948450446129, -0.0458841472864151, 0.016273273155093193, 0.015055187977850437, -0.0008434585761278868, 0.022486386820673943, -0.01308346726000309, 0.006988657172769308, 0.02779689058661461, 0.0528947114944458, -0.04213349521160126, 0.02294207364320755, 0.004679552279412746, 0.02036569081246853, 0.0002529006451368332, 0.016886698082089424, 0.0035994870122522116, -0.0416778102517128, 0.034316714853048325, 0.006791485007852316, -0.012259725481271744, 0.062358975410461426, 0.02607930265367031, -0.06148265674710274, -0.058573272079229355, -0.09022597223520279, 0.015475822612643242, -0.0034220321103930473, -0.01556345447897911, -0.03677041456103325, 0.06463740766048431, 0.04826774075627327, 0.036139462143182755, 0.012645306997001171, 0.08440720289945602, -0.02355549857020378, -0.04290465638041496, 0.028164945542812347, 0.026832938194274902, -0.02369570918381214, 0.003860192373394966, -0.02812989242374897, 0.08854343742132187, 0.003965350799262524, -0.024098817259073257, -0.005520820152014494, 0.02055848203599453, -0.014248973689973354, 0.009700869210064411, 0.03400123864412308, 0.0048635792918503284, -0.11188861727714539, 0.009946239180862904, 0.005766189657151699, 0.006651273462921381, 0.00843020435422659, -0.016325853765010834, 0.004995027557015419, -0.026342198252677917, -0.03491261228919029, 0.04003032669425011, -0.012522622011601925, 0.05387619137763977, 0.03433424234390259, -0.0028589959256350994, 0.011821565218269825, -0.026710253208875656, 0.01579129695892334, 0.026903042569756508, 0.05457725003361702, 0.03733125701546669, 0.042448971420526505, -0.07501304894685745, -0.052544184029102325, 0.0003929750237148255, -0.004177858587354422, -0.05447208881378174, 0.0661446824669838, 0.0014798864722251892, -0.026096828281879425, 0.001379109569825232, -0.008807022124528885, -0.053385451436042786, 0.02841031551361084, -0.025500930845737457, -0.006673181429505348, 0.006624984089285135, -0.001495222095400095, -0.008154163137078285, 0.01196177676320076, -0.02224101684987545, -0.007194592151790857, 0.00042200315510854125, 0.028795896098017693, 0.04087159410119057, -0.05668041855096817, -0.017307331785559654, 0.032073333859443665, -0.018420260399580002, -0.013714417815208435, 0.03280944377183914, 0.0032314322888851166, -0.01469589676707983, 0.01109421905130148, -0.024081291630864143, -0.019086264073848724, 0.005617215298116207, -0.007383001036942005, -0.07333050668239594, -0.045814041048288345, -0.030162956565618515, -0.05559378117322922, 0.02162759378552437, -0.01593150943517685, -0.02513287588953972, -0.03827768564224243, 0.033475447446107864, 0.061973392963409424, 0.02327507548034191, -0.04739141836762428, 0.08622995018959045, -0.01812230981886387, -0.0026859226636588573, 0.04514803737401962, -0.026044249534606934, 0.025781352072954178, -0.06540857255458832, -0.09197860956192017, 0.04770689457654953, -0.05545356869697571, -0.031109381467103958, -0.02162759378552437, -0.0192440003156662, -0.02027805894613266, 0.010340583510696888, 0.04262423515319824, 0.04662025719881058, 0.07248923927545547, 0.013845865614712238, -0.0727696642279625, -0.042308758944272995, 0.003998212981969118, 0.000684625469148159, -0.03468476980924606, -0.02756904624402523, -0.0201378483325243, 0.03210838884115219, -0.05370092764496803, 0.09373125433921814, -0.07168302685022354, -0.07564399391412735, -0.0063226534985005856, -0.012776754796504974, -0.05215860530734062, 0.04949459061026573, 0.016483591869473457, -0.00929776206612587, -0.04893374443054199, -0.027148412540555, 0.021014168858528137, 0.03270428627729416, -0.011733933351933956, 0.021136853843927383, 0.0192440003156662, -0.03929421678185463, 0.06306003034114838, 0.03603430464863777, -0.0259390901774168, -0.03323007747530937, 0.01625574752688408, -0.04602435976266861, 0.055488623678684235, -0.021662645041942596, -0.04676046967506409, 0.06852827221155167, -0.00812787376344204, 0.033861029893159866, 0.024098817259073257, -0.003003588877618313, 0.039925169199705124, 0.005271068774163723, -0.017640333622694016, -0.02162759378552437, -0.014932502992451191, -0.04570888355374336, 0.03512293100357056, 0.016194405034184456, -0.07515325397253036, 0.020663639530539513, 0.02616693452000618, 0.028848474845290184, -0.014730949886143208, -0.05387619137763977, 0.029707269743084908, 0.05356071516871452, -0.03663020208477974, 0.021189432591199875, -0.06414666771888733, 0.03620956838130951, 0.010270477272570133, -0.0033584986813366413, -0.036980729550123215, 0.005144001916050911, 0.008842075243592262, -0.005490148905664682, -0.0024274082388728857, 0.01462579146027565, -0.040345802903175354, 0.04742647334933281, -0.003141609486192465, -0.005257923621684313, 0.0020801660139113665, 0.02706078067421913, 0.0014919358072802424, -0.03280944377183914, -0.031109381467103958, 0.05797737091779709, 0.0208389051258564, 0.011716406792402267, 0.012277252040803432, -0.06561888754367828, -0.029829954728484154, 0.004670788999646902, -0.010892665013670921, 0.03890863433480263, -0.032073333859443665, -0.018280047923326492, 0.050441015511751175, 0.027831943705677986, -0.01161124836653471, -0.030338220298290253, -0.04279949888586998, 0.03153001517057419, 0.04493772238492966, -0.009376631118357182, -0.006208731792867184, 0.05205344408750534, 0.025290613994002342, 0.06120223179459572, 0.0019246191950514913, -0.00033108488423749804, -0.021469855681061745, 0.06670552492141724, -0.0074925413355231285, 0.009078681468963623, 0.014590738341212273, -0.017307331785559654, -0.05685568228363991, -0.004534959327429533, 0.04451708868145943, 0.04669036343693733, -0.014923740178346634, 0.02597414329648018, 0.010445741936564445, -0.0004663668805733323, -0.006230639759451151, 0.027148412540555, 0.02700820192694664, -0.03631472587585449, -0.02078632451593876, -0.01546705886721611, 0.018192416056990623, -0.010296767577528954, 0.01608048379421234, 0.01597532443702221, -0.012163329869508743, 0.04153759777545929, -0.0374714694917202, -0.03396618738770485, -0.014967556111514568, 0.016290800645947456, 0.01991000398993492, -0.017044436186552048, -0.03743641823530197, -0.0661446824669838, 0.03102174960076809, -0.04963479936122894, -0.07886885851621628, 0.031179487705230713, 0.031792912632226944, -0.014652080833911896, -0.0004869056574534625, 0.017351148650050163, 0.02364313043653965, 0.02182038314640522, -0.016799066215753555, 0.01434536837041378, -0.015440769493579865, -0.06341055780649185, -0.05980011820793152, -0.06936953961849213, -0.03999527171254158, 0.001589426537975669, 0.004311497323215008, 0.018981104716658592, 0.016001613810658455, -0.01882336661219597, 0.033528026193380356, 0.037261154502630234, 0.017500123009085655, 0.052544184029102325, -0.03442187234759331, -0.06330540031194687, -0.019612055271863937, 0.0129695450887084, -0.02607930265367031, -0.010086450725793839, -0.017640333622694016, 0.0378570519387722, -0.004223865456879139, 0.02201317436993122, -0.03592914715409279, -0.04676046967506409, -0.015817588195204735, -0.08658047765493393, 0.04658520594239235, -0.026903042569756508, -0.006239403039216995, 0.027744311839342117, 0.008649284951388836, -0.009192603640258312, -0.01649235375225544, 0.006896643433719873, -0.11209893226623535, 0.030531011521816254, 0.06758184731006622, -0.012855623848736286, -0.09969023615121841, -0.0644971951842308, -0.014967556111514568, -0.027358729392290115, 0.004784710705280304, 0.0034965192899107933, 0.027972154319286346, 0.04430676996707916, 0.07396145910024643, -0.005976506508886814, 0.05962485447525978, 0.005805624183267355, -0.01322367787361145, -0.06376108527183533, -0.0199450571089983, 0.027306150645017624, -0.013696891255676746, -0.004234819207340479, 0.042589183896780014, 0.06533846259117126, -0.022819388657808304, -0.0031131289433687925, 0.00789564847946167, -0.005262305494397879, -0.0064847725443542, 0.0001916951296152547, -0.0141788674518466, -0.0655137300491333, 0.03312491998076439, 0.009963765740394592, 0.04886363819241524, 0.0324413888156414, -0.014389184303581715, -0.030986696481704712, 0.0037309350445866585, 0.0035775790456682444, -0.046234674751758575, 0.05222870782017708, 0.01980484649538994, 0.05860832333564758, 0.002738501876592636, -0.07059638947248459, 0.06043107062578201, 0.00869310088455677, 0.00014363443187903613, 0.05219365656375885, 0.04080148786306381, -0.004026693291962147, -0.015896456316113472, -0.032406337559223175, 0.005599688738584518, 0.03528066724538803, 0.016150590032339096, -0.02611435391008854, -0.023380234837532043, 0.00558216217905283, -0.021434802561998367, -0.007650278974324465, -0.04462224617600441, -0.03638483211398125, 0.017456306144595146, 0.002740692812949419, -0.02224101684987545, -0.013302546925842762, 0.03314244747161865, 0.06148265674710274, -0.024449344724416733, 0.015554690733551979, -0.0336507111787796, -0.037506524473428726, 0.011435983702540398, 0.009841080754995346, 0.012645306997001171, 0.02232864871621132, -0.0030364510603249073, 0.09246934950351715, -0.02316991798579693, 0.03603430464863777, 0.06369098275899887, -0.046655308455228806, -0.018630577251315117, 0.04630478098988533, 0.02723604440689087, -0.004375030752271414, 0.046094466000795364, -0.005564636085182428, -0.005433187820017338, 0.021277064457535744, -0.0038054222241044044, 0.014730949886143208, 0.020155373960733414, -0.08188340067863464, 0.03258160129189491, 0.03424660861492157, 0.019419265910983086, -0.04995027557015419, -0.00990242324769497, -0.035350773483514786, 0.03967979922890663, -0.026973148807883263, 0.025220507755875587, -0.050581227988004684, 0.029374267905950546, -0.0019257145468145609, -0.01653617061674595, 0.05447208881378174, 0.004749657586216927, 0.0014776956522837281, 0.013433994725346565, -0.0009612141875550151, -0.05650515481829643, -0.052544184029102325, 0.024028711020946503, 0.00988489668816328, 0.033528026193380356, 0.017789307981729507, 0.04108190909028053, 0.02537824586033821, -0.011549905873835087, 0.006182441953569651, -0.0015006990870460868, 0.04711099714040756, -0.05583915114402771, 0.016983093693852425, -0.04655015096068382, -0.017649097368121147, 0.02555350959300995, -0.03705083578824997, -0.04598930478096008, 0.009192603640258312, 0.03575387969613075, -0.04476245865225792, 0.027884522452950478, -0.018420260399580002, -0.003102174960076809 ]
16,302
exif._constants
Saturation
Saturation processing applied by camera.
class Saturation(IntEnum): """Saturation processing applied by camera.""" NORMAL = 0 """Normal Saturation""" LOW = 1 """Low Saturation""" HIGH = 2 """High Saturation"""
(value, names=None, *, module=None, qualname=None, type=None, start=1)
[ 0.05139746516942978, -0.07739770412445068, -0.05820789560675621, -0.00731589226052165, 0.012060137465596199, -0.05551210045814514, -0.007116367574781179, -0.019243013113737106, -0.04568663612008095, 0.022541815415024757, -0.009772257879376411, 0.034743838012218475, 0.03332499787211418, 0.02672739140689373, 0.025592319667339325, 0.019455838948488235, -0.01401990931481123, -0.02837679348886013, 0.03224313259124756, -0.007293722592294216, 0.040117692202329636, 0.03756377846002579, -0.030132606625556946, -0.029103947803378105, 0.002114957896992564, 0.029600542038679123, 0.002224696334451437, -0.022080691531300545, -0.03969204053282738, -0.07739770412445068, -0.06899107992649078, -0.010002819821238518, -0.029795633628964424, 0.010827519930899143, -0.06647264212369919, -0.05778224393725395, -0.013177473098039627, 0.03446006774902344, -0.07931313663721085, 0.03444233164191246, -0.025432700291275978, 0.006198555696755648, -0.020165259018540382, 0.013062193058431149, 0.005183198489248753, -0.02018299512565136, -0.020484497770667076, -0.025432700291275978, 0.023322176188230515, -0.08364059776067734, 0.029228096827864647, -0.019597722217440605, -0.021938808262348175, 0.031054852530360222, 0.011634484864771366, 0.03224313259124756, -0.0077637131325900555, 0.022098427638411522, -0.012663143686950207, 0.024971578270196915, -0.037847548723220825, 0.010623562149703503, 0.03133862093091011, -0.019118864089250565, -0.024421777576208115, -0.014392354525625706, -0.024492720142006874, 0.05725017935037613, -0.006087708752602339, 0.0614357590675354, -0.01050828117877245, 0.012095607817173004, 0.03245595842599869, -0.007014388684183359, -0.007475511636584997, -0.014321412891149521, -0.027986612170934677, 0.009674713015556335, -0.00614978326484561, 0.002930790651589632, 0.022985203191637993, 0.03518722206354141, 0.054377030581235886, 0.025042520835995674, -0.0152613939717412, -0.04483533278107643, 0.0062606302089989185, -0.07228988409042358, -0.021318066865205765, 0.02803981862962246, -0.053277429193258286, -0.0152613939717412, -0.04206859692931175, -0.0011289751855656505, 0.020147522911429405, 0.05288724973797798, -0.03422950580716133, 0.0063537415117025375, -0.005316215101629496, -0.07370872050523758, -0.010942800901830196, -0.00306602381169796, 0.012210888788104057, -0.019597722217440605, -0.0019819417502731085, -0.04944656416773796, -0.002975129522383213, 0.0064911916851997375, -0.001619472517631948, 0.02990204654633999, 0.027153044939041138, -0.01129751093685627, -0.031161265447735786, 0.003999354317784309, -0.04504815861582756, 0.026159856468439102, -0.00662864139303565, 0.009754522703588009, 0.015483087860047817, 0.02976016141474247, -0.033520087599754333, 0.014028777368366718, 0.00932887103408575, 0.04636058583855629, 0.06239347532391548, 0.09782899171113968, 0.011909385211765766, 0.03030996210873127, -0.02458139695227146, 0.062535360455513, -0.001585109974257648, -0.0022967467084527016, 0.009586035273969173, -0.015412146225571632, 0.03272198885679245, -0.03190615773200989, 0.041217293590307236, 0.03884073719382286, 0.038805264979600906, 0.07633357495069504, -0.023925183340907097, 0.05118463933467865, -0.01659155637025833, -0.022612757980823517, 0.01229069847613573, 0.034264978021383286, 0.010357529856264591, 0.03486798331141472, -0.024297628551721573, 0.06331571936607361, -0.0201120525598526, 0.023712357506155968, -0.015882136300206184, 0.04299084097146988, 0.03802490234375, -0.04455156624317169, 0.030185813084244728, -0.03490345552563667, -0.009488490410149097, 0.02562779188156128, -0.02032487839460373, 0.017824172973632812, 0.0149864936247468, -0.05164576321840286, -0.005981295835226774, 0.040259577333927155, -0.0351162813603878, 0.008499735966324806, 0.019313955679535866, -0.032065775245428085, -0.02823491021990776, -0.095062255859375, 0.014897816814482212, 0.033165376633405685, 0.05519286170601845, 0.044267795979976654, 0.00032478125649504364, 0.02142447978258133, 0.04072069749236107, -0.012964647263288498, 0.015483087860047817, 0.01776209846138954, -0.0899544358253479, -0.024687809869647026, 0.004961505066603422, 0.0048772613517940044, -0.0008679308230057359, -0.008109555579721928, -0.00016211351612582803, -0.06863637268543243, 0.0789584293961525, -0.021725982427597046, -0.0095062255859375, -0.032331809401512146, -0.003611390246078372, -0.03467289358377457, -0.0000435766669397708, -0.057143766433000565, 0.0972614586353302, 0.029387716203927994, -0.009905274026095867, 0.013789348304271698, -0.016627026721835136, 0.03380385413765907, 0.001559615135192871, -0.010942800901830196, 0.016423068940639496, -0.04430326819419861, -0.04664435237646103, -0.020431291311979294, -0.059272028505802155, 0.003298802301287651, 0.045970406383275986, 0.047566600143909454, 0.05168123543262482, -0.031852949410676956, -0.02059091068804264, 0.029369981959462166, -0.05462532863020897, 0.041217293590307236, -0.001474263146519661, -0.044054970145225525, 0.03373291343450546, 0.002895319601520896, 0.043842144310474396, -0.003611390246078372, -0.029387716203927994, -0.05636340752243996, -0.030327698215842247, 0.0008319055777974427, -0.024350835010409355, -0.026053443551063538, -0.03250916302204132, -0.0018644439987838268, 0.006331571843475103, 0.08846465498209, 0.04416138306260109, 0.00573743274435401, -0.07026803493499756, -0.017753232270479202, -0.0074932468123734, 0.004637832287698984, 0.0005758493789471686, 0.05831431224942207, -0.019526781514286995, -0.03547099232673645, 0.018303031101822853, 0.005493569653481245, -0.05058163404464722, 0.01908339373767376, -0.02646135911345482, -0.03958562761545181, 0.017300976440310478, 0.014959890395402908, 0.02044902741909027, -0.033928003162145615, -0.1060582622885704, 0.03391026705503464, 0.006278365384787321, -0.037776608020067215, -0.039372801780700684, -0.04877261444926262, 0.03738642483949661, 0.05831431224942207, 0.009107177145779133, -0.0003433481033425778, 0.03156918287277222, -0.015660442411899567, 0.02231125347316265, -0.008499735966324806, 0.12734085321426392, 0.0021060900762677193, -0.056576233357191086, 0.009772257879376411, -0.020910149440169334, 0.006672980263829231, 0.022098427638411522, 0.007932200096547604, 0.02287879027426243, -0.006792694795876741, 0.0526389516890049, -0.026124386116862297, -0.03497439622879028, 0.04657341167330742, -0.014525370672345161, 0.03344914689660072, 0.03064693696796894, 0.018338503316044807, 0.04433874040842056, 0.016919663175940514, 0.037776608020067215, 0.023162556812167168, 0.0204667616635561, -0.012459185905754566, 0.09889312833547592, 0.025361759588122368, 0.0029241398442536592, 0.013097663410007954, 0.026195326820015907, 0.0026248532813042402, 0.05785318836569786, -0.07590792328119278, 0.01819661818444729, 0.02658550813794136, -0.03837961331009865, 0.03112579509615898, 0.049340151250362396, -0.01824982464313507, 0.021034298464655876, 0.04550928249955177, -0.011465998366475105, 0.037634722888469696, -0.013150869868695736, 0.012193153612315655, -0.013461241498589516, -0.025982500985264778, -0.002112740883603692, -0.0021083070896565914, -0.01528799720108509, 0.0709419846534729, -0.011829575523734093, -0.013097663410007954, -0.02245313860476017, -0.018906038254499435, 0.03297028690576553, -0.03809584677219391, 0.000843544548843056, 0.03830867260694504, 0.017531538382172585, -0.05973314866423607, -0.09045103192329407, -0.07253817468881607, 0.07129669189453125, 0.020981092005968094, 0.0178330410271883, -0.036127205938100815, 0.03279293328523636, 0.014250471256673336, -0.012627673335373402, -0.018285296857357025, 0.036889832466840744, 0.010712239891290665, -0.036269087344408035, 0.027365870773792267, 0.04891449585556984, 0.004682170692831278, 0.0053871567361056805, -0.03004392981529236, 0.0650537982583046, 0.0009133780258707702, 0.021176181733608246, -0.041288234293460846, -0.0215663630515337, 0.04256518930196762, 0.043700262904167175, 0.03685436025261879, 0.013159737922251225, -0.12315528094768524, 0.03795396164059639, -0.032402750104665756, 0.010800916701555252, 0.016627026721835136, -0.0012747388100251555, 0.00806078314781189, -0.015447616577148438, 0.005231971386820078, -0.026638714596629143, -0.03490345552563667, 0.07009068131446838, 0.027525490149855614, 0.008100687526166439, 0.01777096651494503, -0.03183521330356598, 0.005280743818730116, -0.0024053766392171383, 0.019172070547938347, 0.005670924670994282, 0.04965939000248909, 0.019881490617990494, -0.011909385211765766, 0.0017746580997481942, -0.0030106003396213055, -0.07328306883573532, 0.03905356302857399, 0.052248772233724594, -0.02589382417500019, 0.017203431576490402, -0.012485789135098457, -0.024120274931192398, 0.010499413125216961, -0.036747947335243225, -0.00822483655065298, 0.018906038254499435, -0.06902655214071274, 0.023712357506155968, 0.01181184034794569, -0.020679587498307228, 0.026425888761878014, 0.005728565156459808, 0.022612757980823517, 0.00033115496626123786, -0.021956544369459152, -0.013443506322801113, -0.00899189617484808, -0.0292635690420866, -0.02809302508831024, 0.01819661818444729, 0.06129387393593788, -0.03869885206222534, -0.04813413694500923, 0.01401990931481123, -0.019668664783239365, -0.05221330001950264, 0.006380344741046429, -0.024155745282769203, -0.05650528892874718, 0.014853477478027344, -0.054731741547584534, -0.017034944146871567, 0.017735496163368225, 0.005954692605882883, -0.02225804701447487, 0.033644236624240875, 0.045296456664800644, -0.026053443551063538, -0.009320002980530262, 0.06594057381153107, 0.05849166586995125, -0.03243822231888771, 0.025184404104948044, -0.01329275406897068, 0.016582688316702843, -0.03657059371471405, -0.09711957722902298, 0.031108058989048004, -0.04103993624448776, -0.028908858075737953, -0.022825583815574646, -0.006992219015955925, -0.017992660403251648, 0.03383932635188103, -0.0039062430150806904, 0.035790231078863144, 0.04582852125167847, 0.050120510160923004, -0.08349871635437012, -0.03190615773200989, 0.025237610563635826, 0.06611792743206024, -0.04912732169032097, -0.06356401741504669, -0.012946912087500095, -0.01147486548870802, -0.020981092005968094, 0.10393000394105911, -0.061400286853313446, -0.08803900331258774, -0.00637147668749094, -0.0027223986107856035, -0.059272028505802155, 0.04015316441655159, 0.004952637013047934, -0.06239347532391548, -0.058385252952575684, -0.012060137465596199, 0.004008221905678511, 0.07619169354438782, -0.04891449585556984, -0.01504856813699007, -0.033857062458992004, -0.016236847266554832, 0.025858353823423386, 0.05278083682060242, -0.03272198885679245, -0.04196218401193619, 0.023091616109013557, -0.030558260157704353, 0.017026076093316078, -0.04345196485519409, -0.012388244271278381, 0.0603361576795578, -0.037705663591623306, -0.0050147115252912045, 0.02300293743610382, -0.007963237352669239, 0.014755932614207268, -0.027525490149855614, -0.009852067567408085, 0.019757341593503952, -0.029777897521853447, -0.030203549191355705, -0.036606062203645706, 0.026851540431380272, -0.04550928249955177, 0.023712357506155968, -0.0020329311955720186, -0.0002692192792892456, 0.0038463857490569353, -0.014711594209074974, 0.04724736139178276, 0.02809302508831024, -0.03112579509615898, -0.036960773169994354, -0.0431327261030674, 0.019526781514286995, -0.02803981862962246, 0.009160383604466915, -0.04387761652469635, 0.002053992124274373, 0.007280420977622271, 0.029458658769726753, 0.019509045407176018, 0.01501309685409069, -0.05792412906885147, 0.039159975945949554, -0.039089031517505646, 0.015421013347804546, 0.025308553129434586, 0.039089031517505646, -0.01409085188060999, -0.025663262233138084, -0.03866337984800339, 0.046112287789583206, 0.026550037786364555, -0.009124912321567535, 0.002981780329719186, -0.047495659440755844, -0.0398339219391346, -0.0038064809050410986, 0.005817242432385683, 0.03179974481463432, -0.013416902162134647, -0.024670075625181198, 0.0559377521276474, 0.014587445184588432, -0.046466998755931854, 0.012414847500622272, -0.023056143894791603, -0.017930585891008377, -0.006313836667686701, 0.004974806681275368, -0.0017103669233620167, 0.03195936232805252, 0.04579304903745651, 0.03470836579799652, -0.01708815060555935, -0.059555795043706894, -0.0011018177028745413, 0.021371273323893547, -0.023091616109013557, -0.022683698683977127, 0.06899107992649078, -0.059130143374204636, -0.0658341571688652, 0.0384150855243206, 0.06813977658748627, 0.029440922662615776, -0.01571364887058735, 0.002631504088640213, 0.004425005987286568, -0.009453019127249718, -0.02245313860476017, 0.007657300215214491, -0.0010813110275194049, -0.044657979160547256, -0.03969204053282738, 0.0005015819915570319, 0.01963319443166256, -0.01398443803191185, -0.016086094081401825, 0.022222576662898064, 0.003748840419575572, 0.03735095262527466, 0.0058482796885073185, -0.00666411267593503, 0.029848840087652206, 0.027578696608543396, 0.004447175655514002, 0.012388244271278381, -0.026762863621115685, -0.031923893839120865, -0.01591760665178299, -0.03639323636889458, -0.06594057381153107, 0.026638714596629143, 0.03444233164191246, -0.006641943007707596, 0.017593611031770706, -0.011040345765650272, 0.04235236346721649, 0.037634722888469696, -0.0027977745048701763, -0.025574585422873497, -0.04703453555703163, -0.08591074496507645, -0.043026313185691833, -0.01619250699877739, -0.027649637311697006, 0.021921072155237198, 0.06008785963058472, -0.011244304478168488, -0.03657059371471405, -0.0003741081163752824, 0.0019165420671924949, 0.03430045023560524, 0.002733483212068677, 0.08619450777769089, -0.0453319288790226, -0.041642945259809494, -0.006145349238067865, -0.0077592795714735985, 0.00960377138108015, -0.013310489244759083, 0.0051078228279948235, 0.05505098029971123, 0.021743718534708023, 0.05051069334149361, 0.004562456160783768, -0.036269087344408035, 0.019367162138223648, -0.05661170184612274, 0.05359666794538498, -0.020058846101164818, 0.0015086255734786391, 0.01977507770061493, 0.0017203431343659759, -0.034335918724536896, -0.012379376217722893, -0.023588210344314575, -0.11570637673139572, 0.022098427638411522, 0.0789584293961525, -0.02775605022907257, -0.08754240721464157, -0.06079728156328201, -0.0065887365490198135, -0.008428794331848621, 0.028642825782299042, 0.016157036647200584, 0.046466998755931854, 0.04444515332579613, 0.07168687134981155, 0.004549154546111822, 0.042884428054094315, 0.000011249223462073132, 0.0016305571189150214, -0.04430326819419861, -0.012450317852199078, -0.01611269824206829, -0.04295537248253822, -0.012822763063013554, 0.02968922071158886, 0.0033121039159595966, 0.0004830151447094977, -0.005444797221571207, -0.03756377846002579, 0.022009750828146935, 0.0032145585864782333, 0.038344141095876694, -0.00676609156653285, -0.08222176134586334, 0.048311490565538406, 0.045296456664800644, 0.04263613373041153, 0.04196218401193619, 0.0012969081290066242, 0.0022313471417874098, -0.03360876441001892, 0.04912732169032097, -0.03183521330356598, -0.0069124093279242516, 0.0038064809050410986, 0.022612757980823517, 0.006415815558284521, -0.03045184724032879, 0.05586681142449379, 0.01997016742825508, 0.035861171782016754, 0.08853559195995331, 0.014028777368366718, 0.016822118312120438, 0.045970406383275986, -0.0060345022939145565, 0.046254172921180725, 0.09860935807228088, 0.033431410789489746, -0.05579587072134018, -0.03176427260041237, 0.01504856813699007, -0.005728565156459808, -0.06530209630727768, -0.06157764047384262, -0.06774959713220596, -0.03869885206222534, 0.006176386494189501, -0.02190333791077137, -0.02403159625828266, 0.027773786336183548, 0.0413237065076828, 0.008557376451790333, 0.011865046806633472, -0.01949130930006504, -0.05529927462339401, 0.02933450974524021, 0.030203549191355705, -0.0026891445741057396, 0.0413237065076828, -0.03183521330356598, 0.07924219220876694, -0.04210406541824341, 0.006690715905278921, 0.07470190525054932, -0.055547572672367096, 0.02562779188156128, -0.014525370672345161, 0.029033007100224495, -0.06331571936607361, 0.014011042192578316, -0.0398339219391346, 0.005976862274110317, 0.015589500777423382, -0.024563660845160484, 0.010641297325491905, 0.039301857352256775, -0.08662015944719315, -0.01693739928305149, 0.023446325212717056, 0.052390653640031815, -0.028837915509939194, -0.009878670796751976, -0.005821676459163427, -0.01147486548870802, -0.042742546647787094, 0.023322176188230515, -0.02018299512565136, 0.026550037786364555, 0.01287597045302391, 0.010171307250857353, 0.04944656416773796, -0.0033187547232955694, 0.012095607817173004, 0.006792694795876741, -0.005582247395068407, -0.054589856415987015, -0.0279688760638237, 0.03169333189725876, 0.007209478877484798, -0.007444474380463362, -0.010676768608391285, 0.026620978489518166, 0.0210165623575449, 0.013594257645308971, 0.007275986950844526, 0.028128497302532196, 0.06994879245758057, -0.036464180797338486, -0.0167334396392107, -0.02768510952591896, -0.02197427861392498, 0.002349953167140484, 0.012423714622855186, -0.02818170376121998, 0.05061710625886917, -0.0039084600284695625, -0.009399812668561935, 0.06019427254796028, -0.029990723356604576, -0.054306089878082275 ]
16,303
exif._constants
SceneCaptureType
Type of scene that was shot or the mode in which the image was shot.
class SceneCaptureType(IntEnum): """Type of scene that was shot or the mode in which the image was shot.""" STANDARD = 0 """Standard""" LANDSCAPE = 1 """Landscape""" PORTRAIT = 2 """Portrait""" NIGHT_SCENE = 3 """Night Scene"""
(value, names=None, *, module=None, qualname=None, type=None, start=1)
[ 0.018146051093935966, -0.08856140077114105, -0.08906746655702591, -0.01763998530805111, 0.007699419744312763, -0.02338743954896927, 0.00024639611365273595, -0.01545306108891964, -0.037087347358465195, -0.020893260836601257, -0.017775539308786392, 0.07605436444282532, -0.041786521673202515, 0.029405999928712845, 0.006117966491729021, -0.04713635519146919, -0.008819992654025555, -0.0030499461572617292, 0.0016503598308190703, -0.03300267830491066, 0.011621424928307533, 0.05639011785387993, 0.014468041248619556, -0.04095513001084328, 0.013356504961848259, 0.04236488416790962, 0.010003823786973953, -0.028267353773117065, -0.052522335201501846, -0.02864690311253071, -0.088922880589962, -0.024815266951918602, 0.006352925207465887, -0.021327031776309013, -0.052775368094444275, -0.022628342732787132, -0.0562816746532917, 0.04684717580676079, -0.09152549505233765, 0.01221785880625248, -0.11082827299833298, -0.013736054301261902, -0.049305204302072525, 0.004925098270177841, -0.04482291266322136, -0.021345105022192, 0.02085711434483528, -0.0815487876534462, 0.020188385620713234, -0.08415140956640244, 0.057546839118003845, -0.02927948348224163, -0.03349066898226738, 0.024706823751330376, -0.030942268669605255, 0.014513225294649601, -0.037738002836704254, 0.021887317299842834, -0.02355010434985161, 0.03209898993372917, -0.008530812337994576, 0.01698932982981205, -0.014215008355677128, -0.0409189835190773, 0.019953425973653793, -0.030616942793130875, -0.0005741241620853543, 0.03987070545554161, -0.0009443537564948201, 0.06835494190454483, -0.017260435968637466, -0.01600431092083454, 0.05461888760328293, -0.002616176148876548, 0.031827881932258606, -0.034087102860212326, -0.05555872619152069, 0.07923534512519836, 0.029713254421949387, 0.018796706572175026, 0.04818463325500488, 0.016944145783782005, 0.030797678977251053, 0.008923917077481747, -0.03180981054902077, -0.013799312524497509, -0.0035243823658674955, -0.04666643589735031, -0.02369469404220581, -0.052739217877388, -0.01419693510979414, 0.002819505985826254, -0.04012373834848404, 0.012751034460961819, -0.05118487402796745, 0.03809947520494461, -0.03379792347550392, -0.00913628377020359, -0.034665461629629135, -0.07048764824867249, -0.058197494596242905, 0.017007404938340187, -0.06405338644981384, -0.021308958530426025, -0.017450211569666862, -0.024309201166033745, 0.011558166705071926, 0.034737758338451385, -0.011214765720069408, 0.05563101917505264, 0.013049251399934292, -0.04966668039560318, -0.05566716566681862, 0.04352160170674324, -0.012470891699194908, -0.023513955995440483, -0.006384554319083691, -0.008042821660637856, -0.018335824832320213, 0.002181276446208358, -0.03744882345199585, 0.023803135380148888, 0.010627368465065956, 0.04908832162618637, 0.02508637309074402, 0.06763199716806412, 0.026315387338399887, 0.022447604686021805, -0.052377745509147644, 0.03972611576318741, 0.004812137223780155, -0.034828126430511475, -0.034900423139333725, -0.00758194038644433, 0.019718468189239502, -0.010112266056239605, 0.048654548823833466, 0.017179105430841446, -0.006235445849597454, 0.04644955322146416, -0.03253275901079178, 0.043087832629680634, 0.0038564875721931458, -0.015073511749505997, -0.00012531607353594154, 0.035966772586107254, 0.02441764436662197, 0.0005919155082665384, -0.007374092470854521, 0.03609329089522362, 0.0443168506026268, 0.006759584415704012, -0.02765284664928913, 0.012769108638167381, 0.01488373801112175, -0.07641583681106567, 0.019212402403354645, -0.07041535526514053, -0.007654235698282719, 0.046557992696762085, 0.011368392035365105, 0.020513713359832764, -0.04171422868967056, -0.0373765267431736, 0.007821417413651943, 0.03582218289375305, -0.016130827367305756, -0.008923917077481747, 0.038786280900239944, -0.04261791706085205, -0.02669493667781353, -0.029387926682829857, -0.023477807641029358, 0.02201383374631405, 0.0273275189101696, 0.05320913717150688, -0.042184144258499146, 0.04764242097735405, -0.010546036064624786, 0.010509888641536236, 0.07554829865694046, 0.0035311600659042597, -0.08118730783462524, 0.007270168047398329, 0.01347398478537798, 0.0015927497297525406, 0.026351535692811012, -0.009167912416160107, 0.06148691475391388, -0.025303257629275322, 0.04879913851618767, 0.0273275189101696, -0.02790587954223156, -0.0701623186469078, 0.03654513508081436, -0.030797678977251053, -0.02580932341516018, -0.07233116775751114, 0.06383650749921799, 0.05136561393737793, -0.024941783398389816, 0.015552466735243797, -0.024128463119268417, 0.02734559215605259, -0.011711793951690197, 0.0005656520952470601, 0.034177470952272415, -0.04543742164969444, -0.029875917360186577, -0.00865281093865633, -0.07200584560632706, -0.01649230159819126, 0.03497271612286568, 0.023893505334854126, 0.07966911792755127, -0.09275451302528381, -0.036364395171403885, 0.04305168613791466, -0.05024503916501999, 0.009000730700790882, 0.027164854109287262, 0.04648569971323013, -0.012507039122283459, -0.056245528161525726, 0.014332488179206848, -0.01681762933731079, -0.020025720819830894, -0.04203955456614494, -0.041208162903785706, 0.03755726292729378, -0.03770185261964798, -0.04587119072675705, -0.051004137843847275, 0.027707068249583244, -0.0012527371291071177, 0.07316256314516068, 0.01771228015422821, -0.008196447975933552, -0.012769108638167381, -0.03896701708436012, 0.007758159656077623, 0.00821000337600708, 0.006244482472538948, 0.006980988197028637, -0.020911335945129395, -0.04659414291381836, 0.007984081283211708, -0.010058045387268066, -0.022122276946902275, 0.010103229433298111, -0.0005142548470757902, -0.04456987977027893, -0.017929164692759514, -0.008101561106741428, 0.002677174983546138, -0.012778145261108875, -0.08733239024877548, -0.018634041771292686, 0.02425497956573963, -0.03925619646906853, -0.022375309839844704, -0.009326057508587837, 0.04641340300440788, 0.022519899532198906, 0.0013826423091813922, -0.021128220483660698, 0.02476104535162449, 0.017269473522901535, -0.014269229955971241, -0.031755588948726654, 0.13822808861732483, 0.04399152100086212, -0.08733239024877548, -0.009244726039469242, 0.012714887037873268, -0.028737271204590797, -0.0069086928851902485, 0.017585763707756996, 0.05563101917505264, 0.014314414002001286, 0.038533248007297516, 0.01763998530805111, -0.0460880771279335, 0.03265927731990814, 0.016401933506131172, -0.021236663684248924, 0.031430259346961975, 0.021796949207782745, 0.009389315731823444, -0.014178860932588577, 0.015001216903328896, 0.06069166958332062, 0.01698029413819313, -0.028430016711354256, 0.011305133812129498, -0.012669702991843224, -0.01980883628129959, 0.019628098234534264, 0.00691772997379303, 0.02676723152399063, 0.0559924952685833, -0.0035017901100218296, 0.07417469471693039, -0.015977200120687485, -0.05841437727212906, 0.030924195423722267, -0.0008539849659428, -0.036599356681108475, 0.008422370068728924, -0.0015983977355062962, -0.03893087059259415, 0.05404052883386612, 0.0018774113850668073, 0.029893992468714714, -0.02911682054400444, 0.032894235104322433, -0.007627124898135662, -0.008282298222184181, 0.017133919522166252, 0.05931806564331055, 0.004622363019734621, 0.01297695655375719, -0.011802162043750286, 0.013175767846405506, 0.04569045454263687, -0.05534183979034424, -0.02620694600045681, 0.009371242485940456, 0.014133676886558533, -0.0006715529598295689, -0.09730909764766693, -0.043304719030857086, 0.027960099279880524, 0.04496750235557556, -0.02506829984486103, -0.021634286269545555, 0.014901811257004738, 0.04001529514789581, -0.005417608190327883, 0.021290883421897888, 0.0030183172784745693, -0.01416078768670559, -0.0046991766430437565, 0.0237850621342659, 0.06911404430866241, 0.011793125420808792, 0.03072538413107395, -0.02329707145690918, 0.07909075170755386, -0.025700880214571953, -0.04363004490733147, -0.026496125385165215, 0.01537172868847847, 0.00677313981577754, 0.004362552892416716, -0.0050606513395905495, 0.025899691507220268, -0.11024990677833557, -0.00938027910888195, 0.000831392768304795, 0.061270032078027725, 0.0016300268471240997, -0.02329707145690918, -0.001201904728077352, -0.006429738365113735, 0.0012256265617907047, 0.010853290557861328, -0.030110877007246017, 0.059751834720373154, -0.008792881853878498, -0.013808349147439003, 0.016971256583929062, -0.05331758037209511, 0.024797191843390465, 0.02539362572133541, 0.03170136734843254, 0.03965381905436516, -0.0046720658428967, 0.03032776154577732, -0.022935595363378525, -0.0324966125190258, 0.02443571761250496, -0.009597164578735828, 0.04019603133201599, -0.01003093458712101, -0.017115846276283264, -0.005137464962899685, 0.03278579190373421, -0.047931600362062454, -0.01762191206216812, -0.03972611576318741, 0.02362239919602871, -0.013537243008613586, -0.07742796838283539, 0.025773175060749054, -0.025755101814866066, -0.06723437458276749, 0.03994299843907356, 0.05291995778679848, 0.019212402403354645, -0.031683292239904404, 0.01528136059641838, -0.04879913851618767, 0.010780994780361652, -0.03667164966464043, 0.02814083732664585, 0.014513225294649601, 0.01116958074271679, -0.017811685800552368, -0.11480449885129929, 0.024941783398389816, -0.03893087059259415, -0.04522053524851799, -0.006136040203273296, 0.012181711383163929, -0.026170797646045685, 0.08328386396169662, 0.02783358283340931, -0.0339786596596241, 0.010618331842124462, -0.003034131834283471, 0.06614994257688522, 0.031195301562547684, 0.08393452316522598, 0.01035626232624054, -0.009032359346747398, 0.05458274111151695, 0.03439435735344887, -0.004574919585138559, 0.03762955963611603, -0.03244239091873169, 0.030110877007246017, -0.034575093537569046, -0.08342845737934113, 0.01683570258319378, -0.045184388756752014, -0.024724896997213364, -0.016935108229517937, -0.030074728652834892, 0.04854610934853554, 0.04482291266322136, 0.011784088797867298, -0.006479441188275814, 0.060800112783908844, 0.06365576386451721, -0.0751868262887001, -0.03734038025140762, 0.017567690461874008, 0.047280944883823395, -0.005151020362973213, -0.0543658584356308, 0.014052345417439938, -0.003969448618590832, -0.032062843441963196, 0.08277779817581177, -0.02767091989517212, -0.08039206266403198, 0.014793368987739086, 0.020730597898364067, -0.088922880589962, 0.05942650884389877, 0.0038497098721563816, -0.05483577400445938, -0.028195058926939964, -0.0065472181886434555, 0.053498316556215286, 0.026514198631048203, -0.011585277505218983, 0.0057429359294474125, -0.005675159394741058, 0.007048764731734991, 0.0475701242685318, 0.03726808354258537, -0.05118487402796745, 0.008481109514832497, 0.031394112855196, 0.010708699934184551, 0.018579820170998573, -0.03135796636343002, -0.022827154025435448, 0.034430503845214844, -0.019917279481887817, -0.028032394126057625, 0.016139863058924675, -0.024128463119268417, 0.014856627210974693, -0.03712349385023117, 0.015055438503623009, -0.01779361255466938, -0.005304647143930197, -0.009407389909029007, -0.008422370068728924, -0.015516319312155247, -0.010681589134037495, 0.024616455659270287, 0.03484620153903961, 0.02336936630308628, 0.011061138473451138, -0.05494421720504761, 0.02490563504397869, 0.04496750235557556, -0.03791873902082443, -0.04637725651264191, -0.041605785489082336, 0.020676376298069954, -0.019266624003648758, 0.019465435296297073, -0.02029682695865631, 0.024128463119268417, 0.011982900090515614, -0.0006139428587630391, 0.016781482845544815, 0.046630289405584335, -0.05639011785387993, -0.003291682805866003, -0.0005845730192959309, 0.012488964945077896, 0.027851657941937447, 0.004376108292490244, 0.02118244208395481, -0.02232108823955059, -0.06900560110807419, 0.04540127515792847, 0.019555803388357162, 0.012805256061255932, 0.030924195423722267, -0.030797678977251053, 0.005995968356728554, 0.034177470952272415, 0.011368392035365105, 0.02045949175953865, 0.01982690952718258, -0.01982690952718258, 0.06947551667690277, 0.030074728652834892, -0.003515345510095358, 0.034810055047273636, -0.004082409664988518, 0.04312397912144661, 0.02176080085337162, 0.008508220314979553, -0.03209898993372917, -0.013157693669199944, 0.046232666820287704, 0.05946265533566475, -0.013392653316259384, 0.02167043276131153, -0.04182267189025879, 0.02362239919602871, -0.015669945627450943, 0.02054985985159874, 0.02336936630308628, -0.019302770495414734, -0.10142991691827774, 0.023893505334854126, 0.09745369106531143, 0.04814848676323891, -0.03697890415787697, 0.02588161826133728, -0.01794723980128765, 0.004545549396425486, -0.04496750235557556, -0.015317508019506931, 0.02483334019780159, -0.07807862758636475, -0.03535226732492447, 0.0135914646089077, 0.03678009286522865, 0.03193632513284683, -0.007536755874752998, 0.08046436309814453, -0.056245528161525726, 0.062788225710392, -0.02676723152399063, -0.011955789290368557, 0.031592924147844315, 0.03755726292729378, 0.05378749594092369, -0.013582427054643631, -0.002381217200309038, 0.012416670098900795, 0.017341768369078636, -0.0018604672513902187, -0.07041535526514053, -0.012723923660814762, 0.03374370187520981, -0.01524521317332983, 0.003940078895539045, 0.011043064296245575, -0.008187411352992058, 0.024544160813093185, 0.053172990679740906, 0.036364395171403885, -0.018254492431879044, -0.07023461163043976, -0.016121789813041687, 0.04044906422495842, -0.043087832629680634, -0.01763998530805111, -0.0029053562320768833, 0.0222307201474905, -0.005675159394741058, 0.010338188149034977, 0.02101977728307247, 0.02765284664928913, -0.015796462073922157, 0.04124430939555168, -0.009750790894031525, -0.01071773748844862, 0.009479684755206108, 0.028411943465471268, 0.021417399868369102, -0.033291857689619064, -0.007446387317031622, 0.046160370111465454, 0.009289910085499287, -0.009443537332117558, 0.020278753712773323, 0.005200723186135292, 0.001561120618134737, -0.03211706504225731, 0.02241145633161068, -0.0358944796025753, -0.03605714067816734, 0.016221195459365845, -0.008083486929535866, -0.01997149921953678, -0.0080880057066679, 0.014648779295384884, -0.0848020613193512, 0.04619652032852173, 0.010654479265213013, -0.004107261076569557, -0.11335859447717667, -0.06065552309155464, -0.024724896997213364, -0.0023450697772204876, 0.03428591415286064, -0.011675646528601646, 0.04540127515792847, -0.005191686097532511, 0.058775853365659714, -0.0005441894754767418, 0.030219320207834244, 0.011160544119775295, 0.02239338308572769, -0.034267839044332504, 0.007346981670707464, 0.012082305736839771, -0.010582183487713337, 0.007441869005560875, 0.045256685465574265, 0.0015215843450278044, 0.007907267659902573, -0.0065562548115849495, 0.05667929723858833, 0.0166549663990736, 0.016537485644221306, 0.02580932341516018, -0.006217372138053179, -0.07157207280397415, 0.03218935802578926, 0.04182267189025879, 0.02864690311253071, 0.030635016039013863, -0.020025720819830894, -0.01820027269423008, -0.009443537332117558, 0.019519656896591187, -0.014323451556265354, 0.012028084136545658, -0.013681832700967789, 0.05559487268328667, 0.0036237880121916533, 0.00383389531634748, 0.039183903485536575, 0.021742727607488632, 0.028213132172822952, 0.061595357954502106, -0.013916791416704655, 0.005788120441138744, 0.03511730581521988, -0.04167808219790459, -0.00800667330622673, 0.0698731392621994, -0.00473080575466156, -0.03784644603729248, -0.017676133662462234, -0.003485975554212928, 0.00857147853821516, -0.02159813791513443, -0.040412917733192444, -0.007157207001000643, 0.02459838055074215, -0.023242849856615067, 0.004317368380725384, 0.018299678340554237, 0.04731709137558937, -0.019031664356589317, 0.009317020885646343, -0.010780994780361652, -0.03209898993372917, -0.04822077974677086, 0.04005144163966179, 0.008164819329977036, -0.0011256560683250427, 0.018146051093935966, 0.008557923138141632, 0.11899760365486145, -0.051799383014440536, 0.0004975930787622929, 0.024724896997213364, -0.01567898318171501, 0.0746084600687027, -0.02562858536839485, 0.010220709256827831, -0.02815891057252884, 0.06640297919511795, -0.04587119072675705, -0.03365333378314972, -0.009967676363885403, 0.004626881331205368, 0.015724167227745056, 0.009195023216307163, -0.019772687926888466, 0.036852385848760605, 0.036364395171403885, 0.021055925637483597, 0.00955197960138321, -0.007414758205413818, -0.0063303327187895775, -0.03162907063961029, -0.04391922429203987, -0.014169824309647083, -0.0271829292178154, 0.020116090774536133, 0.03961767256259918, -0.05371520295739174, -0.010690626688301563, 0.001701192231848836, 0.015001216903328896, 0.027598625048995018, -0.004956727381795645, -0.04550971835851669, -0.10114073753356934, 0.034430503845214844, 0.02411038987338543, -0.01201001089066267, 0.002898578532040119, 0.03137604147195816, 0.053100693970918655, 0.003020576434209943, 0.024977929890155792, -0.031339891254901886, 0.019049737602472305, -0.00302509474568069, 0.01326613686978817, -0.035135380923748016, 0.006877064239233732, 0.006931285373866558, 0.0037254528142511845, -0.031086860224604607, -0.0186882633715868, -0.0072430577129125595, -0.023965800181031227, 0.021489694714546204, -0.04601578041911125, -0.07254805415868759 ]
16,304
exif._constants
SensingMethod
Image sensor type on the camera or input device.
class SensingMethod(IntEnum): """Image sensor type on the camera or input device.""" NOT_DEFINED = 1 """Not Defined""" ONE_CHIP_COLOR_AREA_SENSOR = 2 """One-Chip Color Area Sensor""" TWO_CHIP_COLOR_AREA_SENSOR = 3 """Two-Chip Color Area Sensor""" THREE_CHIP_COLOR_AREA_SENSOR = 4 """Three-Chip Color Area Sensor""" COLOR_SEQUENTIAL_AREA_SENSOR = 5 """Color Sequential Area Sensor""" TRILINEAR_SENSOR = 7 """Trilinear Sensor""" COLOR_SEQUENTIAL_LINEAR_SENSOR = 8 """Color Sequential Linear Sensor"""
(value, names=None, *, module=None, qualname=None, type=None, start=1)
[ 0.054704077541828156, -0.12639157474040985, -0.07165104150772095, -0.012600889429450035, 0.02738848514854908, -0.05700011923909187, 0.001139478525146842, -0.045009683817625046, -0.019060781225562096, -0.008992825634777546, -0.01242777518928051, 0.05116890370845795, -0.027916938066482544, 0.01938878744840622, 0.009216051548719406, -0.019261229783296585, -0.02033635973930359, -0.01694696582853794, 0.0061409976333379745, -0.05284537747502327, 0.0050385333597660065, 0.07329107075929642, -0.01853232830762863, -0.04180251806974411, 0.05295471474528313, 0.08433393388986588, 0.02928362973034382, -0.03181656450033188, -0.04326032102108002, -0.08805133402347565, -0.05572454258799553, -0.011543981730937958, 0.00688356626778841, -0.010824191384017467, -0.03903269022703171, -0.027224481105804443, 0.019971909001469612, 0.07132303714752197, -0.09133139252662659, 0.020245246589183807, -0.06749630719423294, -0.024090204387903214, -0.010997305624186993, -0.024035535752773285, -0.041583847254514694, 0.013302457518875599, -0.04479101300239563, -0.02808094024658203, 0.04344254732131958, -0.050330668687820435, 0.000835389771964401, -0.01829543523490429, -0.05663566663861275, 0.004309631884098053, -0.013949357904493809, 0.010359516367316246, -0.01848677173256874, 0.025438671931624413, -0.01753919944167137, 0.05758323892951012, -0.004282298032194376, 0.015789834782481194, 0.004325576592236757, -0.029265405610203743, 0.0020090355537831783, -0.00600432837381959, -0.010723967105150223, 0.06520026177167892, -0.004150184337049723, 0.07959607243537903, -0.01409513782709837, -0.02419953979551792, 0.01978968270123005, -0.004965643398463726, 0.01730230636894703, -0.0279898289591074, -0.009152272716164589, 0.03633575513958931, 0.034021489322185516, -0.03250901773571968, 0.06272199749946594, 0.025128889828920364, 0.07318174093961716, -0.025967126712203026, -0.017657645046710968, -0.024144871160387993, -0.003444060916081071, -0.04293231666088104, -0.01436847634613514, 0.00391556927934289, -0.04140162095427513, -0.009288942441344261, -0.05164268985390663, -0.01675562933087349, -0.006305000279098749, 0.02385331131517887, -0.0043620215728878975, -0.026860030367970467, 0.004109183792024851, -0.06913633644580841, -0.05878593027591705, 0.021065261214971542, -0.02882806584239006, -0.04180251806974411, -0.013876467943191528, -0.06024373322725296, -0.010669299401342869, 0.05357428267598152, -0.03608063980937004, 0.040782053023576736, 0.05193425342440605, -0.010969972237944603, -0.02778938040137291, 0.01609961874783039, -0.010559964925050735, 0.004382521845400333, -0.013931135646998882, 0.005566987209022045, -0.01272844709455967, 0.0010062261717393994, -0.06363312900066376, 0.023087963461875916, -0.03300102800130844, 0.0403447151184082, 0.05488630384206772, 0.042677197605371475, 0.02108348347246647, 0.014076915569603443, -0.054558299481868744, 0.042385637760162354, -0.0358801893889904, -0.024891996756196022, 0.02952052280306816, 0.028955623507499695, 0.005607988219708204, -0.005261759739369154, 0.014049582183361053, 0.0057765464298427105, 0.004138795658946037, 0.07157815247774124, 0.002040924970060587, 0.03125166520476341, -0.01709274761378765, -0.021265709772706032, 0.03194412216544151, 0.07449375838041306, 0.03848601505160332, 0.004792529158294201, 0.013384458608925343, 0.01730230636894703, -0.03285524621605873, 0.018915001302957535, -0.010058844462037086, 0.04315098375082016, 0.010058844462037086, -0.04056338593363762, 0.04807107150554657, -0.0403447151184082, -0.034276604652404785, 0.025183556601405144, 0.0006514559499919415, -0.02500133030116558, -0.003945180680602789, -0.027461374178528786, 0.007812916301190853, 0.03485972806811333, -0.05922326818108559, -0.03194412216544151, 0.02908318117260933, -0.051569800823926926, -0.02166660502552986, -0.06279488652944565, -0.022632399573922157, 0.0038199007976800203, 0.03434949740767479, 0.06702251732349396, -0.033128585666418076, 0.01734786294400692, 0.03192589804530144, -0.016664516180753708, 0.007785581983625889, 0.019862573593854904, -0.0744573175907135, -0.014924263581633568, -0.004633082076907158, 0.03728332743048668, 0.05135113000869751, -0.05065867304801941, 0.014359365217387676, -0.029611634090542793, 0.03990737348794937, 0.0003681523376144469, 0.00027390761533752084, -0.028263166546821594, 0.01300178561359644, -0.033675260841846466, 0.01140731293708086, -0.03066854178905487, 0.03711932152509689, 0.05532364547252655, 0.014678259380161762, 0.04052693769335747, -0.0024486545007675886, 0.08856156468391418, -0.04114650562405586, 0.00962150376290083, 0.05295471474528313, -0.041583847254514694, -0.029757415875792503, -0.007475798949599266, -0.05864014849066734, 0.010022399947047234, 0.020154133439064026, 0.04056338593363762, 0.06447136402130127, -0.02350708283483982, 0.014951597899198532, 0.04030826687812805, -0.06997457146644592, 0.019516345113515854, 0.04311453923583031, -0.011689762584865093, 0.016582515090703964, -0.04723283648490906, 0.031032992526888847, -0.01307467557489872, -0.03936069458723068, -0.06326867640018463, -0.031142327934503555, -0.010332182981073856, -0.02381686493754387, -0.019753238186240196, -0.014541590586304665, 0.06122775003314018, -0.010887970216572285, 0.06177442520856857, 0.022012833505868912, -0.016819408163428307, -0.0629042237997055, -0.013566683977842331, -0.008459816686809063, -0.00040203490061685443, -0.00738013070076704, 0.027953382581472397, -0.013830911368131638, -0.05645344406366348, 0.020755479112267494, 0.0593690499663353, -0.020208802074193954, -0.05583387613296509, 0.013457349501550198, -0.052918270230293274, -0.004348354879766703, -0.02644091285765171, 0.007052124943584204, -0.05915037915110588, -0.10955394059419632, 0.0327276885509491, 0.026258686557412148, -0.06786075234413147, -0.048544857650995255, -0.03354770317673683, 0.02937474101781845, 0.009985954500734806, -0.0111066410318017, -0.029939640313386917, 0.04967465624213219, 0.044025667011737823, 0.011562204919755459, 0.0014236363349482417, 0.12879694998264313, 0.0201359111815691, -0.07704491913318634, 0.002067119814455509, 0.027570709586143494, 0.002824494382366538, 0.019425231963396072, 0.012919784523546696, 0.055104974657297134, -0.02808094024658203, 0.05116890370845795, 0.018915001302957535, -0.006865343544632196, 0.06724119186401367, 0.03635397553443909, 0.0064097801223397255, 0.022085724398493767, -0.02401731349527836, 0.025475116446614265, -0.001994229620322585, 0.013384458608925343, 0.05273604393005371, 0.008619263768196106, 0.02255951054394245, 0.0744573175907135, 0.054048068821430206, 0.01770320162177086, 0.009803729131817818, 0.03764777630567551, -0.040891390293836594, 0.029702747240662575, 0.006204776465892792, 0.004696860909461975, -0.01650051400065422, -0.026604915037751198, -0.039798036217689514, 0.03453172370791435, -0.045811478048563004, -0.011243309825658798, -0.0009219468338415027, -0.01078774593770504, 0.05889526382088661, 0.018176987767219543, -0.006664895452558994, -0.002005618764087558, -0.00426179775968194, -0.02738848514854908, 0.028955623507499695, 0.0037151211872696877, 0.08630196750164032, 0.012409552931785583, 0.01349379401654005, -0.025475116446614265, -0.0031433890108019114, -0.0015830835327506065, -0.05984283611178398, 0.0012903839815407991, -0.004564747214317322, -0.0334930382668972, 0.0030568318907171488, -0.07748226076364517, -0.061956651508808136, 0.0492008700966835, 0.028773397207260132, 0.006263999734073877, -0.02992141805589199, 0.023926200345158577, -0.003316503018140793, -0.0018313657492399216, 0.021247487515211105, 0.008564596064388752, -0.032326795160770416, -0.01650051400065422, 0.039251361042261124, 0.036864206194877625, -0.010496186092495918, 0.04730572551488876, -0.03336548060178757, 0.05940549448132515, -0.005680878181010485, 0.02048213966190815, -0.04974754527211189, -0.004778862465173006, 0.01606317237019539, 0.07762803882360458, 0.028500059619545937, -0.02986675128340721, -0.05645344406366348, 0.0451190210878849, -0.021393267437815666, 0.038886908441782, -0.0003613189037423581, 0.009949509054422379, 0.01208154670894146, -0.050877343863248825, 0.016518736258149147, -0.023780420422554016, 0.004266353324055672, 0.09074827283620834, -0.009097605012357235, -0.016628071665763855, -0.02197638899087906, -0.039251361042261124, 0.015197602100670338, 0.013894690200686455, 0.05506853014230728, 0.005653544329106808, 0.007771915290504694, 0.012309328652918339, -0.04931020736694336, -0.0124733317643404, 0.030850768089294434, -0.020154133439064026, 0.04726928099989891, 0.031689003109931946, 0.015981171280145645, 0.002030674833804369, 0.02157549187541008, -0.033966824412345886, -0.0061956653371453285, -0.08659353107213974, 0.013867356814444065, -0.03972514718770981, -0.053902287036180496, 0.03116055205464363, -0.01660073734819889, -0.03167078271508217, 0.03194412216544151, 0.011370867490768433, -0.01606317237019539, 0.016072284430265427, -0.02511066570878029, -0.012163548730313778, 0.020700810477137566, -0.020955925807356834, -0.011562204919755459, 0.025019554421305656, 0.009307164698839188, -0.03608063980937004, -0.07329107075929642, 0.015443606302142143, -0.010496186092495918, -0.017238527536392212, -0.01411336101591587, -0.0215208251029253, 0.011225087568163872, 0.02873695269227028, 0.02166660502552986, -0.0035010064020752907, 0.015352494083344936, -0.005566987209022045, -0.011325311847031116, 0.005015755537897348, 0.08768688142299652, -0.05193425342440605, 0.033383700996637344, 0.059769947081804276, 0.02664135955274105, -0.02057325281202793, 0.018732775002717972, 0.013639574870467186, 0.05379294976592064, -0.047451507300138474, -0.07799249142408371, -0.0005167799536138773, -0.06640294939279556, -0.03351125866174698, -0.0430416502058506, -0.033930376172065735, -0.03976159170269966, 0.005166091490536928, -0.011689762584865093, -0.012719335965812206, 0.05827569589018822, 0.02675069496035576, -0.07697203010320663, -0.05116890370845795, 0.03600774705410004, 0.04821685329079628, -0.05904104560613632, -0.03917847201228142, 0.0029839416965842247, -0.024819105863571167, 0.022632399573922157, 0.07799249142408371, -0.046212371438741684, -0.0430416502058506, 0.007293573580682278, 0.001329106860794127, -0.07336396723985672, 0.038959801197052, 0.007571467198431492, -0.09614214301109314, -0.026076462119817734, 0.009307164698839188, 0.03021297976374626, 0.04245853051543236, -0.05998861789703369, 0.02137504518032074, -0.0025420449674129486, 0.005521431099623442, 0.020263468846678734, 0.04490035027265549, -0.02033635973930359, -0.028244944289326668, 0.031032992526888847, 0.02111992985010147, 0.02913784794509411, -0.0546676330268383, -0.02226794883608818, 0.02937474101781845, -0.035369958728551865, -0.06574694067239761, 0.007817471399903297, -0.00688356626778841, -0.01235488522797823, -0.04081850126385689, 0.0014452756149694324, 0.011507537215948105, -0.036517977714538574, 0.008213811554014683, 0.008632930926978588, 0.012409552931785583, -0.029447631910443306, 0.020372804254293442, 0.041583847254514694, -0.03642686828970909, 0.003592119086533785, -0.014149805530905724, 0.04030826687812805, 0.03609886020421982, -0.054849859327077866, -0.05692723020911217, -0.04482746124267578, 0.037757113575935364, -0.07012034952640533, -0.008810600265860558, -0.032782357186079025, -0.00737101910635829, 0.020190579816699028, 0.028773397207260132, 0.0056717670522630215, 0.06232110410928726, -0.06060818210244179, 0.017384307458996773, -0.029848527163267136, 0.022103946655988693, 0.010131734423339367, -0.008737710304558277, 0.027971606701612473, -0.040782053023576736, -0.05791124701499939, 0.04551991447806358, 0.05295471474528313, -0.015634942799806595, 0.04030826687812805, -0.03329258784651756, -0.054157402366399765, -0.012209104374051094, 0.002028397051617503, 0.008364147506654263, 0.007617023773491383, -0.05696367472410202, 0.04941954091191292, 0.04220341145992279, 0.010979083366692066, 0.0478159561753273, -0.008145477622747421, 0.03425838425755501, 0.01548005174845457, -0.016391178593039513, -0.0314156673848629, -0.030887212604284286, 0.03285524621605873, 0.049492429941892624, -0.02908318117260933, -0.003293724963441491, -0.04245853051543236, 0.0334930382668972, -0.048982199281454086, 0.030650319531559944, 0.04777951166033745, -0.02465510368347168, -0.1038685068488121, 0.06286777555942535, 0.04347899183630943, 0.0215208251029253, -0.04927375912666321, -0.04041760414838791, -0.012546221725642681, -0.03553396090865135, -0.0083732595667243, -0.023124409839510918, 0.030158311128616333, -0.025784900411963463, -0.019261229783296585, 0.025165334343910217, 0.003496450837701559, 0.01242777518928051, -0.05248092859983444, 0.03376637399196625, -0.001782392617315054, 0.033966824412345886, 0.0068380096927285194, 0.005712767597287893, 0.022851070389151573, 0.05204358696937561, 0.011999545618891716, -0.014168028719723225, -0.03793933615088463, -0.027315594255924225, -0.02091948129236698, -0.035825520753860474, -0.06633006036281586, -0.0006019134307280183, 0.026295131072402, -0.0167100727558136, 0.008017919957637787, -0.024983108043670654, 0.02053680829703808, 0.048143964260816574, 0.0048790862783789635, 0.011944877915084362, -0.02932007424533367, -0.10080711543560028, 0.007817471399903297, 0.0014008581638336182, -0.045264799147844315, 0.013256900943815708, 0.023798642680048943, -0.016536958515644073, 0.009366387501358986, -0.024272428825497627, -0.013083786703646183, 0.07088569551706314, -0.010869747959077358, 0.011607760563492775, -0.005229870323091745, -0.015179379843175411, -0.004068183246999979, 0.03533351421356201, 0.03464105725288391, -0.00387684628367424, 0.005781102459877729, 0.08411526679992676, 0.036262862384319305, 0.030413426458835602, 0.00589043740183115, 0.011097529903054237, -0.005298204720020294, -0.03673664852976799, 0.05758323892951012, -0.011370867490768433, -0.01103375107049942, -0.02569378726184368, 0.018623439595103264, -0.05167913809418678, -0.0179400946944952, 0.00256710103712976, -0.07799249142408371, 0.02002657577395439, 0.032581910490989685, 0.049783993512392044, -0.035716187208890915, -0.05980639159679413, -0.010979083366692066, -0.0025716566015034914, 0.024272428825497627, 0.013703353703022003, 0.056890785694122314, 0.04260430857539177, 0.07471243292093277, 0.025529785081744194, 0.039142027497291565, 0.01804943010210991, 0.021812384948134422, -0.044863905757665634, -0.008332258090376854, -0.010031511075794697, -0.011525759473443031, -0.03383926674723625, 0.034221939742565155, 0.016427623108029366, -0.01933412067592144, 0.008195589296519756, -0.03881401941180229, -0.004478190094232559, -0.005352872423827648, 0.052408039569854736, -0.01749364286661148, -0.05922326818108559, 0.034823283553123474, 0.08936335891485214, 0.031032992526888847, 0.003514673328027129, 0.0033278921619057655, 0.01704719103872776, -0.02376219816505909, 0.06596560776233673, -0.009448389522731304, 0.042822979390621185, -0.004842641297727823, 0.05506853014230728, -0.007457576226443052, 0.004309631884098053, 0.042677197605371475, 0.03866824135184288, 0.012154437601566315, 0.06202954053878784, 0.021356822922825813, 0.0005631904932670295, 0.004633082076907158, 0.0035761743783950806, -0.015726055949926376, 0.05608899146318436, 0.0269875880330801, -0.011352645233273506, -0.045264799147844315, -0.024272428825497627, -0.04147450998425484, -0.028700508177280426, -0.06651228666305542, -0.01869633048772812, -0.03742910549044609, 0.019115449860692024, -0.003792567178606987, 0.0045488025061786175, -0.0009333359776064754, 0.025220001116394997, -0.009894841350615025, 0.03336548060178757, -0.01690140925347805, -0.050476446747779846, 0.030650319531559944, 0.012819560244679451, 0.021794162690639496, 0.03699176385998726, -0.011015527881681919, 0.08994647860527039, -0.03877757489681244, 0.005721879191696644, 0.04278653487563133, -0.059478383511304855, 0.013621351681649685, 0.013020007871091366, 0.04468167945742607, -0.03485972806811333, 0.0382673442363739, -0.012464220635592937, -0.003995292820036411, 0.044863905757665634, -0.03855890408158302, 0.044463008642196655, 0.03823089972138405, -0.03434949740767479, -0.010332182981073856, 0.03533351421356201, 0.047852400690317154, -0.007115903776139021, 0.0031821117736399174, 0.009033826179802418, -0.00976728368550539, -0.06957367807626724, 0.01730230636894703, -0.00325044640339911, 0.0006696784985251725, 0.05233514681458473, -0.0015637221513316035, -0.011297977529466152, 0.013676019385457039, 0.006710452027618885, -0.005785658024251461, -0.01439580973237753, -0.04114650562405586, -0.03768422082066536, 0.055651649832725525, 0.03928780555725098, -0.026459135115146637, 0.003378004301339388, 0.04340610280632973, 0.013849133625626564, 0.008396037854254246, 0.024691548198461533, 0.010897081345319748, 0.02554800733923912, -0.06122775003314018, 0.00924338586628437, -0.0034486164804548025, -0.01973501592874527, -0.0015648610424250364, -0.018404770642518997, -0.02764360047876835, 0.044718123972415924, -0.01376713253557682, -0.026021793484687805, 0.041583847254514694, -0.03987092897295952, -0.05816636234521866 ]
16,305
exif._constants
Sharpness
Sharpness processing applied by camera.
class Sharpness(IntEnum): """Sharpness processing applied by camera.""" NORMAL = 0 """Normal""" SOFT = 1 """Soft""" HARD = 2 """Hard"""
(value, names=None, *, module=None, qualname=None, type=None, start=1)
[ 0.031347550451755524, -0.08791887015104294, -0.0745263323187828, -0.027825940400362015, 0.028918854892253876, -0.055825356394052505, -0.017451930791139603, -0.02373184822499752, -0.03323846682906151, -0.01739988662302494, -0.02544928528368473, 0.05221700668334961, -0.0075506484135985374, 0.04066334292292595, -0.013010881841182709, -0.02076536789536476, -0.00843105185776949, 0.008235888555645943, 0.018527496606111526, -0.03597942739725113, 0.025778895244002342, 0.09638461470603943, -0.01892649568617344, -0.02104293368756771, 0.004458395764231682, 0.048816829919815063, 0.02317671850323677, -0.011701120063662529, -0.06089092791080475, -0.060092926025390625, -0.059745971113443375, -0.0045364610850811005, -0.0009882849408313632, 0.0013769849902018905, -0.05332726985216141, -0.04187769070267677, 0.00402253121137619, 0.05433344468474388, -0.09576009213924408, 0.01437268778681755, -0.06342371553182602, 0.007828214205801487, -0.0408715158700943, -0.0009069669176824391, -0.05405587702989578, -0.0158299058675766, -0.012637903913855553, -0.018961193040013313, 0.020730672404170036, -0.04506969451904297, 0.011917968280613422, -0.015092623420059681, -0.013149664737284184, 0.006340636406093836, -0.010885771363973618, 0.03813055902719498, -0.015942666679620743, 0.012976186349987984, -0.010122465901076794, 0.03778360038995743, -0.022344021126627922, 0.009749487973749638, 0.015491623431444168, -0.0594337098300457, 0.014598209410905838, -0.023783892393112183, -0.025466633960604668, 0.0606827549636364, -0.012022054754197598, 0.06279919296503067, -0.022378716617822647, 0.0079149529337883, 0.03519877418875694, 0.006318951956927776, 0.004887754563242197, -0.00399000383913517, -0.03226698935031891, 0.028918854892253876, 0.025275807827711105, -0.02138989046216011, 0.05537431314587593, 0.024512501433491707, 0.07175067812204361, -0.021580716595053673, -0.058184664696455, -0.03826934099197388, 0.01135416328907013, -0.05908675119280815, 0.03488651290535927, 0.0020774041768163443, -0.039795950055122375, 0.0158299058675766, -0.029803594574332237, -0.015552341006696224, 0.0017109309555962682, 0.06172362342476845, 0.001183990272693336, -0.022586891427636147, -0.007403192110359669, -0.06352780014276505, -0.04264099895954132, 0.059954144060611725, 0.00038924222462810576, -0.014884449541568756, -0.009515292011201382, -0.03830403834581375, 0.015673775225877762, 0.0092464005574584, 0.0014648084761574864, 0.03315172716975212, 0.021493976935744286, -0.04094091057777405, -0.05010056868195534, 0.018111146986484528, -0.025553371757268906, 0.008708616718649864, -0.01162305474281311, 0.0037536395248025656, 0.03172920271754265, 0.022378716617822647, -0.007351148407906294, 0.009576009586453438, -0.02786063589155674, 0.01427727472037077, 0.04899030923843384, 0.0788285955786705, 0.024234935641288757, 0.016541168093681335, -0.04264099895954132, 0.0782734677195549, -0.022344021126627922, 0.006822039373219013, -0.0051046027801930904, 0.008934139274060726, 0.017937669530510902, -0.007333800662308931, 0.018284626305103302, 0.023575717583298683, 0.059815362095832825, 0.04215525835752487, -0.020002063363790512, 0.011770511046051979, 0.012082772329449654, -0.03172920271754265, 0.036083512008190155, 0.0630420595407486, 0.020331671461462975, 0.003083579009398818, -0.021355194970965385, 0.04746369644999504, 0.03308233618736267, 0.021025585010647774, 0.015838580206036568, 0.05363953113555908, 0.022066455334424973, -0.0296474639326334, 0.009628052823245525, -0.10707088559865952, -0.017235081642866135, 0.033463988453149796, 0.017044255509972572, -0.02400941401720047, -0.007745811715722084, -0.029196418821811676, 0.0051046027801930904, 0.026195243000984192, -0.05041282996535301, -0.01692282035946846, 0.03618760034441948, -0.043508388102054596, -0.014442078769207, -0.09083330631256104, -0.03393238037824631, 0.016601884737610817, 0.08778008818626404, 0.05308439955115318, -0.023887978866696358, 0.03488651290535927, 0.02505028434097767, -0.021719498559832573, 0.01713099516928196, 0.004805352538824081, -0.05433344468474388, -0.044549260288476944, 0.031191421672701836, 0.031347550451755524, 0.05200883373618126, -0.012429729104042053, 0.03405381366610527, -0.03379359841346741, 0.026299329474568367, -0.011978685855865479, -0.026368720456957817, -0.01197001151740551, 0.016012059524655342, -0.04576360806822777, 0.0029946714639663696, -0.06134197115898132, 0.0827145129442215, 0.019915323704481125, -0.012768012471497059, 0.052112918347120285, -0.02806880883872509, 0.03840812295675278, -0.028866810724139214, 0.026438113301992416, 0.016549842432141304, -0.024408414959907532, -0.028710680082440376, -0.030237289145588875, -0.06352780014276505, 0.008131801150739193, 0.03240577131509781, 0.03577125072479248, 0.05298031121492386, -0.05069039762020111, 0.009298443794250488, 0.02551867626607418, -0.06425640732049942, 0.04423699900507927, -0.007754485588520765, -0.015482950024306774, -0.016332993283867836, -0.03329050913453102, 0.043230824172496796, 0.003515106625854969, -0.043716564774513245, -0.039518386125564575, -0.03556307777762413, -0.003940128721296787, -0.015075275674462318, -0.02482476271688938, -0.02950868010520935, 0.020071454346179962, -0.01635901629924774, 0.08292268961668015, 0.015014558099210262, 0.011475598439574242, -0.10970775783061981, -0.030098507180809975, 0.013748165220022202, 0.0015949172666296363, -0.005369157530367374, 0.054992660880088806, -0.020609237253665924, -0.033672161400318146, 0.02586563304066658, 0.031139377504587173, -0.02303793467581272, 0.009732140228152275, -0.033672161400318146, -0.07244458794593811, 0.00013214176578912884, -0.027132026851177216, 0.022448109462857246, -0.030185246840119362, -0.13739491999149323, 0.013357838615775108, 0.004562482703477144, -0.0392061248421669, -0.06325023621320724, -0.03309968486428261, 0.019221410155296326, 0.026108503341674805, -0.0048660701140761375, 0.006730963010340929, 0.02463393658399582, 0.025084979832172394, 0.015378862619400024, -0.021979717537760735, 0.09680096060037613, -0.009827553294599056, -0.05731727182865143, 0.005052559077739716, -0.01781623438000679, 0.022881804034113884, 0.016133494675159454, 0.07112615555524826, 0.05759483948349953, 0.008721628226339817, 0.07341606914997101, 0.002669399371370673, -0.024443110451102257, 0.04836578667163849, 0.0104607492685318, 0.030254637822508812, 0.03440077230334282, 0.020314324647188187, 0.0193254966288805, -0.00553829874843359, 0.018145844340324402, 0.04590239375829697, 0.043785955756902695, -0.017321821302175522, 0.12545959651470184, 0.028433114290237427, 0.015326819382607937, -0.006848060991615057, 0.01911732368171215, -0.00758534437045455, 0.05922553688287735, -0.01100720651447773, 0.020591888576745987, 0.0018399555701762438, -0.043438997119665146, -0.004666569642722607, 0.03646516427397728, -0.04333491250872612, 0.001585159101523459, 0.008140475489199162, -0.022066455334424973, 0.05235578864812851, 0.021216411143541336, 0.01809380017220974, 0.023402240127325058, -0.008760660886764526, 0.004523450043052435, 0.005599016323685646, -0.008300942368805408, 0.07390180975198746, -0.025778895244002342, 0.00025764256133697927, -0.0030011767521500587, -0.004328286740928888, -0.0002085807063849643, -0.06283389031887054, -0.009298443794250488, 0.008448399603366852, -0.0072817569598555565, -0.042536910623311996, -0.0756365954875946, -0.05516614019870758, 0.05020465701818466, 0.0006608443800359964, -0.006579169537872076, -0.005512277130037546, 0.05648457631468773, 0.030358724296092987, -0.019412236288189888, -0.027687156572937965, 0.031035291031003, 0.007455235347151756, -0.007767496630549431, 0.04493091255426407, 0.05013526603579521, 0.002326779533177614, -0.02938724495470524, -0.03526816517114639, 0.06661571562290192, -0.006076082121580839, 0.00021942310559097677, -0.0594337098300457, 0.002008012728765607, 0.03398442268371582, 0.0644298866391182, 0.01241238135844469, 0.0151706887409091, -0.0843799039721489, 0.014979862608015537, -0.009194356389343739, 0.029959725216031075, -0.011102619580924511, -0.00717333285138011, 0.044618651270866394, -0.04617995768785477, -0.0031963400542736053, -0.020331671461462975, -0.039657168090343475, 0.05329257249832153, 0.02159806340932846, -0.036291688680648804, -0.026039112359285355, -0.06342371553182602, -0.010417379438877106, 0.02681976556777954, 0.021268455311655998, -0.0019125996623188257, 0.03639577329158783, 0.057768315076828, -0.0018703143578022718, 0.0024352034088224173, 0.027739200741052628, -0.015144666656851768, 0.039518386125564575, 0.006743974052369595, -0.01554366759955883, 0.03382829204201698, 0.012577186338603497, -0.014563513919711113, 0.01321038231253624, -0.047359611839056015, 0.0013455420266836882, 0.01055616233497858, -0.0659564957022667, 0.008817041292786598, 0.006553147453814745, -0.04382064938545227, 0.014910470694303513, -0.005178330931812525, 0.0009861164726316929, 0.021441934630274773, -0.0286065936088562, -0.043924737721681595, 0.0026780732441693544, -0.042536910623311996, -0.004670906811952591, 0.029560724273324013, 0.03101794235408306, -0.03337724879384041, -0.036846816539764404, -0.015309471637010574, -0.0065965172834694386, -0.024529850110411644, 0.0013455420266836882, 0.006969495676457882, -0.01878771372139454, 0.04940665513277054, -0.025917677208781242, -0.02298589237034321, 0.03611820936203003, 0.03335990011692047, -0.02303793467581272, 0.044757433235645294, 0.08292268961668015, -0.03271803259849548, 0.009914292022585869, 0.06231345236301422, 0.027392243966460228, -0.02236136980354786, 0.0041244495660066605, -0.022725673392415047, 0.03362011909484863, -0.028172897174954414, -0.11276097595691681, 0.017972365021705627, -0.06692797690629959, -0.052806831896305084, -0.016818733885884285, -0.029699506238102913, -0.020730672404170036, 0.0612378865480423, 0.009090269915759563, -0.004228536505252123, 0.05908675119280815, 0.051835354417562485, -0.08014703541994095, -0.03530285879969597, 0.02489415369927883, 0.04697795957326889, -0.05474979057908058, -0.0410103015601635, -0.0046058520674705505, 0.014745666645467281, 0.007706779055297375, 0.0827145129442215, -0.03509468585252762, -0.09589887410402298, -0.00330259557813406, -0.003289584768936038, -0.0821593850851059, 0.04555543512105942, 0.02433902397751808, -0.09562131017446518, -0.02394002303481102, -0.0011785690439864993, 0.026091154664754868, 0.05242517963051796, -0.012056751176714897, -0.00691311527043581, -0.02015819400548935, 0.007112615741789341, -0.005416864063590765, 0.06647693365812302, -0.027548374608159065, -0.01013981457799673, 0.033949729055166245, -0.028242288157343864, 0.029283158481121063, -0.02676772139966488, -0.00651845196262002, 0.035736557096242905, -0.033255815505981445, -0.04923317953944206, 0.03452220559120178, -0.00015220021305140108, 0.0032830792479217052, -0.04382064938545227, 0.031069986522197723, 0.021216411143541336, -0.03899795189499855, 0.007828214205801487, -0.010521466843783855, 0.009775509126484394, -0.013114969246089458, 0.020800063386559486, 0.04565952345728874, -0.011744489893317223, 0.0014962514396756887, -0.03224964067339897, 0.025813590735197067, 0.024807415902614594, -0.05669274926185608, -0.06089092791080475, -0.05454161763191223, 0.04548604413866997, -0.005594679154455662, 0.0030055136885493994, -0.03204146400094032, 0.004493091255426407, 0.03342929482460022, 0.019759193062782288, -0.00334596517495811, 0.0743875503540039, -0.039379604160785675, 0.0316598117351532, -0.014511470682919025, -0.006045723333954811, 0.027739200741052628, 0.023350195959210396, 0.006527125835418701, -0.00804506242275238, -0.04961483180522919, 0.021285803988575935, 0.01303690392524004, -0.0036343729589134455, 0.004235042259097099, -0.039171427488327026, -0.04538195580244064, 0.04496560990810394, 0.011093945242464542, 0.024113502353429794, -0.018943844363093376, -0.0193254966288805, 0.04395943507552147, 0.03526816517114639, -0.008695606142282486, 0.02539724111557007, -0.02744428813457489, 0.04926787316799164, 0.006158484145998955, 0.021008238196372986, -0.024321675300598145, 0.013635404407978058, 0.03398442268371582, 0.05825405567884445, 0.01152764167636633, -0.03155572712421417, -0.04670039191842079, -0.014121144078671932, -0.03816525265574455, -0.006492430344223976, 0.01904793083667755, -0.07417937368154526, -0.10707088559865952, 0.0594337098300457, 0.04465334862470627, 0.04264099895954132, -0.035805948078632355, 0.006188842933624983, 0.002168480306863785, -0.001154715777374804, -0.03729786351323128, -0.0008088431786745787, -0.048955611884593964, -0.05530492216348648, -0.0210602805018425, 0.022239934653043747, 0.024946197867393494, 0.015855928882956505, -0.05343135446310043, 0.03819995000958443, 0.005126287695020437, 0.051974136382341385, 0.03447016328573227, 0.001147126080468297, 0.052112918347120285, 0.025882981717586517, 0.004280580207705498, 0.006661571562290192, -0.028502505272626877, -0.028849462047219276, -0.01135416328907013, -0.0622093640267849, -0.06956484913825989, 0.021719498559832573, 0.010131140239536762, -0.007741475012153387, 0.012464425526559353, -0.006553147453814745, 0.02881476655602455, 0.005664070602506399, -0.0011655582347884774, 0.0014051753096282482, -0.06554014980792999, -0.0746651142835617, -0.021493976935744286, -0.02097354270517826, -0.03337724879384041, 0.008773671463131905, 0.05329257249832153, 0.000570310337934643, 0.006726625841110945, -0.008248899132013321, 0.02855454944074154, 0.07008528709411621, 0.0165238194167614, 0.038616299629211426, -0.035875339061021805, -0.04354308545589447, -0.01162305474281311, 0.006956485100090504, 0.03537224978208542, -0.02971685491502285, -0.023749196901917458, 0.04260630160570145, 0.039934735745191574, 0.010174510069191456, 0.0036408784799277782, -0.016046755015850067, 0.01179653313010931, -0.05797649174928665, 0.036083512008190155, -0.014936492778360844, -0.010608205571770668, 0.004514776170253754, -0.012429729104042053, -0.015838580206036568, -0.02133784629404545, -0.026854461058974266, -0.07764894515275955, 0.025987068191170692, 0.036499861627817154, 0.006544473581016064, -0.0659564957022667, -0.0598500594496727, 0.004287085495889187, -0.016176862642169, 0.04080212488770485, -0.006054397206753492, 0.0641523227095604, -0.004892091732472181, 0.060509275645017624, -0.005325787700712681, 0.0319373793900013, -0.004343466367572546, -0.0006971664261072874, -0.05648457631468773, -0.015803884714841843, -0.0075766704976558685, -0.047775957733392715, -0.0207827165722847, 0.06213997304439545, 0.0013878274476155639, -0.001556968898512423, -0.006180169060826302, -0.004735961090773344, 0.023228760808706284, 0.01533549278974533, 0.031035291031003, -0.026247285306453705, -0.05384770408272743, 0.01664525456726551, 0.07681624591350555, 0.030393419787287712, 0.02765246108174324, 0.04222464933991432, 0.004679580684751272, -0.044618651270866394, 0.0629032775759697, -0.039310213178396225, 0.006644223816692829, 0.055755965411663055, -0.014164513908326626, 0.0020296976435929537, -0.023332849144935608, 0.017989713698625565, 0.005906940437853336, 0.026923852041363716, 0.05200883373618126, 0.00932446587830782, -0.013991035521030426, 0.03061894327402115, -0.016810059547424316, -0.006110777612775564, 0.0841023400425911, 0.02263893559575081, -0.032301682978868484, -0.022274630144238472, -0.01823258213698864, -0.025414589792490005, -0.07018937170505524, -0.05329257249832153, -0.026021763682365417, 0.0014995042001828551, 0.02681976556777954, -0.006752647925168276, 0.014485448598861694, -0.010018379427492619, 0.026854461058974266, -0.012022054754197598, 0.01678403839468956, -0.04149603843688965, -0.04284917190670967, 0.03844282031059265, -0.01340988278388977, 0.003992172423750162, 0.03570185974240303, -0.012204207479953766, 0.05572127178311348, -0.060509275645017624, -0.004425868391990662, 0.06918320059776306, -0.052251704037189484, 0.034088511019945145, -0.0016404553316533566, 0.0005160983419045806, -0.01610747165977955, 0.0400388203561306, -0.02263893559575081, -0.02551867626607418, 0.03287416324019432, -0.005369157530367374, 0.04284917190670967, 0.04149603843688965, -0.06311145424842834, -0.028450462967157364, 0.033325206488370895, 0.03212820366024971, -0.03547633811831474, -0.014572188258171082, 0.021303150802850723, -0.032509855926036835, -0.057074401527643204, -0.01296751294285059, -0.0027583069168031216, 0.03358542546629906, 0.04951074346899986, -0.00395747646689415, 0.0292311143130064, 0.012282272800803185, 0.02359306626021862, 0.011111292988061905, -0.03542429581284523, -0.0802164226770401, -0.03743664547801018, 0.05586005374789238, 0.03315172716975212, -0.005859233904629946, 0.00818384438753128, 0.013765512965619564, 0.03667334094643593, 0.015933994203805923, 0.029820941388607025, 0.014910470694303513, 0.07168128341436386, -0.015855928882956505, 0.008101442828774452, -0.034157902002334595, -0.02537989430129528, -0.03542429581284523, -0.017503973096609116, -0.025709502398967743, 0.029751550406217575, 0.029144376516342163, -0.0408715158700943, 0.03719377517700195, -0.02642076462507248, -0.03519877418875694 ]
16,306
exif._constants
WhiteBalance
White balance mode set when the image was shot.
class WhiteBalance(IntEnum): """White balance mode set when the image was shot.""" AUTO = 0 """Auto White Balance""" MANUAL = 1 """Manual White Balance"""
(value, names=None, *, module=None, qualname=None, type=None, start=1)
[ 0.04817524179816246, -0.09874340891838074, -0.06482015550136566, 0.006259438581764698, 0.017357515171170235, -0.09212767332792282, 0.004279995337128639, -0.04634535685181618, -0.03188222646713257, -0.032462865114212036, -0.019583288580179214, 0.0338352769613266, 0.015580415725708008, 0.020427851006388664, -0.029788415879011154, -0.030439432710409164, 0.03955366834998131, 0.030509814620018005, 0.03712555021047592, -0.013697745278477669, 0.02831043303012848, 0.05338337644934654, 0.018773917108774185, 0.032814763486385345, -0.008370844647288322, 0.034539081156253815, -0.00023519630485679954, -0.011630326509475708, -0.04177064448595047, -0.043635718524456024, -0.051342349499464035, -0.00046956786536611617, 0.008472016081213951, -0.028855878859758377, -0.04036303982138634, -0.02811688743531704, 0.025671174749732018, 0.06988753378391266, -0.11830910295248032, -0.016046684235334396, -0.029735632240772247, -0.012228558771312237, -0.00918461475521326, 0.008089323528110981, -0.017885366454720497, -0.003699359018355608, 0.01572117581963539, -0.032005392014980316, 0.017014412209391594, -0.041946593672037125, 0.02389407530426979, -0.0075086867436766624, -0.01375052984803915, 0.05338337644934654, 0.019706454128026962, 0.039799999445676804, -0.0180349238216877, -0.003299071453511715, -0.0004203566932119429, 0.03010512702167034, -0.03659769892692566, -0.009334173053503036, 0.02428116649389267, -0.05334818735718727, 0.04905499517917633, 0.0010232620406895876, -0.06144190952181816, 0.04008151963353157, 0.0019486516248434782, 0.049653224647045135, 0.022345710545778275, -0.004337179474532604, 0.021413173526525497, 0.02220495045185089, -0.04975879564881325, -0.04046861082315445, -0.00654975650832057, 0.05496693029999733, 0.01229014154523611, -0.000593832868617028, 0.05320742726325989, 0.01960088312625885, 0.045324843376874924, -0.016477763652801514, -0.02938373014330864, -0.03402882441878319, 0.020111139863729477, -0.05422794073820114, -0.019671263173222542, 0.021078867837786674, -0.026146242395043373, 0.0015725574921816587, -0.04162988439202309, 0.02619902603328228, 0.013530592434108257, 0.04814005270600319, -0.010451458394527435, 0.00613627303391695, -0.05236286297440529, -0.05201096460223198, -0.0868491604924202, 0.020392661914229393, -0.033588945865631104, -0.019899999722838402, -0.026938019320368767, -0.06467939913272858, 0.010293102823197842, 0.02493218332529068, -0.01656573824584484, -0.007073209621012211, 0.020375065505504608, -0.0668259933590889, -0.04046861082315445, -0.014102431014180183, 0.03330742567777634, 0.009923607110977173, -0.04050379991531372, -0.008947081863880157, 0.01425198931246996, 0.02519610896706581, 0.02574155479669571, -0.02129000797867775, -0.013284261338412762, 0.035770732909440994, 0.04060937091708183, 0.08157064765691757, 0.056409724056720734, 0.019917594268918037, -0.012325331568717957, 0.06900777667760849, -0.015017373487353325, -0.018087709322571754, -0.062040138989686966, 0.009175817482173443, 0.004777055699378252, -0.022908752784132957, 0.04476180300116539, 0.029366135597229004, 0.0383572056889534, 0.04353015124797821, 0.011357603594660759, 0.01024031825363636, 0.007667042315006256, -0.0012657437473535538, 0.0663333311676979, 0.04490256309509277, -0.004574712365865707, 0.0015241710934787989, 0.01729593239724636, 0.0533129945397377, 0.01894986629486084, 0.010917727835476398, -0.04479699209332466, 0.006488174200057983, 0.0035124116111546755, -0.0121229887008667, 0.015870733186602592, -0.03916657716035843, -0.018545180559158325, -0.000562216795515269, -0.008661162108182907, 0.03677365183830261, -0.003431034507229924, -0.031389568001031876, 0.013222678564488888, 0.031583111733198166, -0.047928910702466965, -0.010469053871929646, 0.03656250983476639, -0.06612218916416168, 0.00857318751513958, -0.11345287412405014, -0.03677365183830261, 0.055283643305301666, 0.04360052943229675, 0.039905570447444916, -0.03003474697470665, 0.023682935163378716, -0.0028130083810538054, -0.009624491445720196, 0.03807568550109863, 0.046239785850048065, -0.040714941918849945, -0.031389568001031876, 0.00004780217204825021, -0.019618479534983635, 0.05489655211567879, 0.019548099488019943, 0.038146063685417175, -0.022099381312727928, 0.040785323828458786, 0.010574623942375183, -0.0026348584797233343, -0.020357470959424973, 0.01898505724966526, -0.06253280490636826, -0.025723960250616074, -0.044198762625455856, 0.05194058269262314, 0.007869385182857513, -0.023225463926792145, -0.004444948863238096, 0.011322413571178913, 0.03026348352432251, 0.023542175069451332, 0.0037675397470593452, -0.004337179474532604, -0.042861536145210266, -0.004865030758082867, -0.030140317976474762, -0.05282033607363701, 0.00891629047691822, 0.009791644290089607, 0.06379964202642441, 0.053418565541505814, -0.05289071425795555, 0.05070893093943596, 0.039905570447444916, -0.046204596757888794, 0.03712555021047592, -0.01415521651506424, 0.024633066728711128, -0.0204454455524683, -0.07009867578744888, 0.035770732909440994, 0.006307824980467558, -0.05028664693236351, -0.060808487236499786, -0.02021671086549759, 0.011014500632882118, -0.025706365704536438, -0.04117241129279137, -0.06693156063556671, 0.028240052983164787, 0.01591472141444683, 0.0787554383277893, 0.0031363172456622124, -0.0617586188018322, -0.06569991260766983, -0.026357382535934448, 0.00966847874224186, 0.00976525153964758, 0.0056788017973303795, 0.039799999445676804, 0.0008561090799048543, -0.0518702007830143, -0.006602542009204626, 0.028046507388353348, -0.04616940766572952, 0.00098807190079242, -0.03394084796309471, -0.0623568519949913, -0.002549082739278674, -0.03402882441878319, -0.013257868587970734, -0.04391724243760109, -0.12527674436569214, -0.00558202899992466, 0.005551237612962723, -0.0014043047558516264, 0.009114234708249569, -0.07002829015254974, 0.012316533364355564, -0.012316533364355564, 0.02093810774385929, 0.03205817937850952, 0.010706586763262749, 0.034767813980579376, 0.016477763652801514, -0.01760384626686573, 0.11162298917770386, -0.009386958554387093, -0.022099381312727928, 0.017612643539905548, -0.027852961793541908, -0.0014482924016192555, 0.009325375780463219, 0.052679575979709625, 0.034239962697029114, -0.018668346107006073, 0.05035702884197235, -0.023454198613762856, -0.038990627974271774, 0.04265039786696434, 0.014876613393425941, -0.004561516456305981, 0.013636162504553795, -0.01248368714004755, 0.016785675659775734, -0.013609769754111767, 0.01258045993745327, 0.0691133514046669, 0.05929531157016754, -0.03241007775068283, 0.05197577178478241, 0.008691953495144844, 0.026832448318600655, -0.01607307605445385, -0.008291666395962238, 0.024457117542624474, 0.059048980474472046, -0.011111273430287838, -0.016231432557106018, -0.022662421688437462, -0.042896728962659836, 0.004772657062858343, 0.04170026630163193, -0.0016484360676258802, 0.01365375705063343, 0.011797480285167694, -0.011471971869468689, 0.028398407623171806, 0.04388204962015152, 0.05028664693236351, 0.03336021304130554, -0.07854429632425308, 0.02220495045185089, 0.0074471039697527885, 0.008370844647288322, 0.07565870881080627, -0.016407381743192673, -0.0049749999307096004, -0.022926347330212593, 0.030597789213061333, -0.021342793479561806, -0.038533154875040054, 0.011471971869468689, 0.02723713405430317, -0.007601060904562473, -0.004297590348869562, -0.1062740907073021, -0.045817505568265915, 0.03698479011654854, 0.028873473405838013, -0.02447471208870411, 0.009360565803945065, 0.024333951994776726, -0.0016220435500144958, -0.019512908533215523, -0.003820324782282114, 0.03225172311067581, -0.008076127618551254, -0.0005424223490990698, 0.023876480758190155, 0.0482456237077713, -0.01313470397144556, -0.0005740384222008288, -0.015466047450900078, 0.07143589854240417, 0.0465564988553524, -0.004513130057603121, -0.020005570724606514, 0.000025447525331401266, 0.04127798229455948, 0.07917771488428116, -0.012941158376634121, 0.006668523419648409, -0.08276710659265518, 0.030703360214829445, -0.03372970595955849, 0.025987885892391205, 0.001010615611448884, -0.02604067139327526, 0.02762422524392605, -0.025635985657572746, 0.0004956854972988367, -0.03614022955298424, -0.04859752207994461, 0.06439787894487381, -0.003129719290882349, -0.0036773651372641325, -0.009580504149198532, -0.08375243097543716, -0.019284173846244812, 0.026023076847195625, 0.035154905170202255, -0.020603802055120468, 0.013548186980187893, 0.06724827736616135, 0.03698479011654854, 0.009369363076984882, 0.020726967602968216, -0.010917727835476398, 0.07601060718297958, -0.010521838441491127, 0.013460212387144566, 0.022715207189321518, 0.002714036265388131, -0.020586205646395683, -0.03874429687857628, -0.035119716078042984, 0.007073209621012211, -0.00901746191084385, -0.03306109458208084, -0.005243324209004641, -0.0064529841765761375, 0.006910455413162708, 0.008969075977802277, 0.028204862028360367, -0.02860954776406288, 0.036914411932229996, -0.02090291678905487, -0.029067019000649452, -0.004847435746341944, -0.04986436665058136, -0.01752466894686222, -0.01814049482345581, 0.039412908256053925, -0.027852961793541908, -0.044550660997629166, -0.012228558771312237, -0.01051304116845131, -0.02174747921526432, 0.008058532141149044, -0.014146419242024422, -0.04567674547433853, 0.05067373812198639, -0.00958930142223835, -0.028521573171019554, -0.015158134512603283, 0.030087532475590706, -0.016512952744960785, 0.02232811599969864, 0.042861536145210266, -0.05929531157016754, -0.012430901639163494, 0.10282546281814575, 0.007367926649749279, -0.019917594268918037, 0.008062930777668953, -0.017577452585101128, -0.007231564726680517, -0.03448629379272461, -0.10824473947286606, 0.0366680808365345, -0.0670723244547844, -0.015606807544827461, -0.024175595492124557, -0.01829884946346283, -0.001683626207523048, 0.02470344863831997, 0.005414876155555248, 0.03800530359148979, 0.03233969956636429, 0.038568347692489624, -0.06313103437423706, -0.07896658033132553, -0.0012437499826774001, 0.058274801820516586, 0.001446093083359301, -0.05067373812198639, 0.010671396739780903, 0.004719871561974287, -0.01706719771027565, 0.0267796628177166, -0.023225463926792145, -0.06256799399852753, -0.005801967345178127, 0.04398762062191963, -0.03562997281551361, 0.03719593212008476, -0.011216843500733376, -0.12443218380212784, -0.007768213748931885, 0.02639257162809372, 0.032550837844610214, 0.039799999445676804, 0.015131741762161255, 0.02665649726986885, 0.005626016762107611, -0.015976304188370705, -0.0045263259671628475, 0.04567674547433853, -0.03372970595955849, 0.02041025646030903, 0.030756143853068352, 0.00855119340121746, 0.045817505568265915, 0.0013636162038892508, -0.02834562212228775, 0.018017329275608063, -0.0052873119711875916, -0.018052520230412483, 0.002346739638596773, -0.032198939472436905, -0.02136038802564144, -0.06510167568922043, 0.01924898289144039, 0.011155260726809502, -0.035119716078042984, -0.02519610896706581, -0.020726967602968216, 0.0013009338872507215, 0.009070247411727905, -0.024070026353001595, 0.02109646238386631, -0.0383572056889534, -0.009175817482173443, -0.007930967956781387, -0.027747390791773796, 0.030967285856604576, -0.017920557409524918, -0.06672042608261108, -0.06133633852005005, -0.017023209482431412, -0.014559902250766754, -0.008806321769952774, -0.040257468819618225, 0.01668010652065277, 0.0017924956046044827, 0.023155083879828453, 0.020163925364613533, 0.01302033569663763, -0.02489699423313141, 0.014533509500324726, 0.004513130057603121, 0.03153032809495926, 0.02401724085211754, 0.022152164950966835, -0.023489389568567276, -0.02600548230111599, -0.04222811758518219, 0.05236286297440529, 0.0767144113779068, -0.011102475225925446, 0.05165906250476837, -0.036808840930461884, -0.046662069857120514, 0.0009314378839917481, 0.027641821652650833, 0.03877948597073555, 0.013178691267967224, 0.007112798281013966, 0.019583288580179214, 0.02041025646030903, -0.027553845196962357, 0.02239849604666233, -0.020691776648163795, 0.014850220642983913, 0.022961538285017014, 0.02850397862493992, -0.05535402148962021, 0.028715118765830994, 0.02876790426671505, 0.015404464676976204, 0.03029867261648178, -0.026867639273405075, -0.02048063650727272, -0.03225172311067581, -0.03955366834998131, 0.021765075623989105, 0.0116391247138381, -0.051764633506536484, -0.10901892185211182, 0.07882581651210785, 0.04096127301454544, 0.04560636356472969, -0.008036538027226925, 0.01248368714004755, 0.006510167848318815, -0.045430414378643036, -0.04398762062191963, -0.02389407530426979, -0.007328337524086237, -0.01868594065308571, -0.050427407026290894, 0.009870822541415691, 0.03188222646713257, 0.047577012330293655, -0.03292033448815346, 0.03867391496896744, -0.018897082656621933, 0.06017506495118141, -0.007706630975008011, -0.02148355357348919, 0.017656631767749786, 0.025600794702768326, 0.011137665249407291, -0.01302033569663763, -0.03357135131955147, -0.01975923962891102, -0.03969442844390869, -0.02672687917947769, -0.07981114089488983, -0.01882670260965824, 0.0008412632741965353, -0.011903050355613232, -0.005920733790844679, -0.00613627303391695, 0.02880309335887432, 0.007112798281013966, 0.0275010596960783, 0.02831043303012848, -0.007460300344973803, -0.06390521675348282, -0.0041788239032030106, 0.022275330498814583, -0.03533085808157921, 0.011691909283399582, 0.03249805420637131, 0.05426312983036041, 0.021923430263996124, 0.028011316433548927, 0.04814005270600319, 0.06323660165071487, 0.04634535685181618, 0.009518921375274658, -0.03913138806819916, -0.012703624553978443, -0.006796087604016066, 0.016556940972805023, 0.029981961473822594, -0.022468876093626022, 0.024298761039972305, 0.04690839722752571, 0.026093456894159317, -0.005876746028661728, 0.007539478130638599, -0.036808840930461884, 0.05197577178478241, -0.031389568001031876, 0.06738903373479843, -0.04398762062191963, 0.017128778621554375, 0.01469186507165432, -0.01524610910564661, -0.0030197501182556152, -0.008995468728244305, -0.0013570181326940656, -0.06154748052358627, 0.002419319236651063, 0.06921891868114471, -0.016178647056221962, -0.061512287706136703, -0.09430945664644241, 0.01675928384065628, -0.003068136516958475, 0.02860954776406288, -0.0049574049189686775, 0.002143296878784895, 0.01350419968366623, 0.04546560347080231, 0.028240052983164787, 0.03842758387327194, 0.0016209437744691968, -0.012712422758340836, -0.08874942362308502, -0.051799822598695755, -0.02021671086549759, -0.031935013830661774, -0.04272077605128288, 0.025864720344543457, -0.013662555254995823, 0.01405844371765852, -0.022275330498814583, 0.05070893093943596, -0.002916379366070032, 0.013169893994927406, 0.03536604717373848, -0.025987885892391205, -0.09473174065351486, 0.006558554247021675, 0.03594668209552765, 0.03976481035351753, 0.03677365183830261, 0.05148310959339142, 0.006017506588250399, -0.023102298378944397, 0.019899999722838402, -0.05591706186532974, 0.01425198931246996, 0.05025145784020424, 0.012985145673155785, -0.05127197131514549, -0.02304951287806034, 0.04018709063529968, -0.011683112010359764, 0.020586205646395683, 0.06467939913272858, 0.018422015011310577, 0.007266754750162363, 0.0011183852329850197, -0.0026040670927613974, -0.0075614722445607185, 0.08593421429395676, 0.02401724085211754, -0.050427407026290894, -0.04645092785358429, -0.0321461521089077, -0.009756454266607761, -0.06738903373479843, -0.05120158940553665, 0.014683067798614502, 0.024070026353001595, -0.0008280669571831822, 0.0014559902483597398, 0.012686030007898808, 0.022680018097162247, 0.010002785362303257, -0.0022202751133590937, -0.0037939322646707296, -0.055283643305301666, -0.0484919548034668, 0.023718124255537987, 0.002522689988836646, -0.027677010744810104, 0.039799999445676804, -0.006853271275758743, 0.10141786187887192, -0.046626877039670944, -0.019231388345360756, 0.07692555338144302, -0.0533129945397377, 0.04405800253152847, -0.0162226352840662, 0.04356534034013748, -0.06612218916416168, 0.0127564100548625, -0.06650928407907486, -0.01440154667943716, 0.0010122651001438498, 0.018017329275608063, 0.032040584832429886, 0.019917594268918037, -0.033008310943841934, 0.002553481375798583, 0.051412731409072876, 0.0071875774301588535, -0.04687320813536644, -0.01576516404747963, 0.04982917755842209, -0.021307604387402534, -0.05278514325618744, 0.07083766162395477, 0.01564199849963188, 0.04560636356472969, 0.05028664693236351, -0.013926480896770954, 0.02171229012310505, 0.055600352585315704, 0.024457117542624474, -0.010539433918893337, -0.01722555235028267, -0.0425800159573555, -0.07903695851564407, 0.044550660997629166, 0.036914411932229996, 0.004799049347639084, 0.021870644763112068, 0.03225172311067581, 0.02370052970945835, 0.017093589529395103, 0.04124279320240021, 0.05848594009876251, 0.045113705098629, 0.002938373014330864, 0.02190583571791649, -0.02018151991069317, -0.040327850729227066, -0.0535593256354332, 0.014744650572538376, 0.01564199849963188, -0.004051259718835354, 0.0019706455059349537, -0.01470946054905653, 0.026709282770752907, -0.0040710545144975185, -0.0414891242980957 ]
16,315
generator_oj_problem
getAppDirectory
null
def getAppDirectory() -> pathlib.Path: return pathlib.Path(__file__).parent.resolve()
() -> pathlib.Path
[ 0.0285172276198864, -0.003309205872938037, -0.004296162165701389, -0.02281378209590912, 0.014472260139882565, -0.0436582937836647, 0.04655646160244942, 0.04209774360060692, -0.01794634573161602, -0.010775239206850529, -0.024244287982583046, -0.08642484992742538, -0.0008586518233641982, 0.0027634771540760994, -0.008030340075492859, -0.018512975424528122, 0.048339951783418655, -0.0066137672401964664, 0.022163551300764084, 0.010320077650249004, 0.05153536796569824, -0.03191700205206871, -0.019618365913629532, -0.013636250048875809, -0.061307393014431, 0.04194911941885948, -0.024392912164330482, 0.0013666439335793257, -0.018559420481324196, -0.06127023696899414, 0.02760690450668335, -0.01965552195906639, 0.08575604110956192, 0.029241768643260002, -0.026083508506417274, 0.02400277368724346, 0.015512628480792046, -0.04317526891827583, -0.043955542147159576, -0.0901404470205307, 0.027922730892896652, -0.00862483587116003, 0.042209211736917496, 0.009363311342895031, 0.07758171856403351, 0.008318298496305943, -0.04016563296318054, -0.025173187255859375, 0.022126395255327225, 0.05551105737686157, 0.010877417400479317, -0.016051391139626503, -0.033458974212408066, 0.005076437722891569, 0.023816993460059166, 0.07609547674655914, 0.012586593627929688, -0.08300649374723434, -0.016404371708631516, 0.027421124279499054, -0.006116805598139763, -0.011490492150187492, 0.08256062120199203, -0.03583695739507675, -0.026938097551465034, 0.05610555410385132, -0.037917692214250565, 0.0113697350025177, -0.016943134367465973, 0.004177727270871401, -0.047559674829244614, 0.033960580825805664, 0.007082861848175526, -0.03202847018837929, 0.01963694393634796, -0.04243214800953865, 0.007036416791379452, 0.00025312521029263735, 0.02058442123234272, -0.005494442768394947, -0.06963033974170685, 0.022943828254938126, -0.014379370026290417, -0.04495875537395477, 0.058446381241083145, 0.05428491160273552, -0.015939923003315926, 0.010134297423064709, -0.08114869147539139, -0.03758329153060913, 0.023965617641806602, 0.004138248972594738, -0.0018322550458833575, 0.01796492375433445, 0.05551105737686157, -0.03485232591629028, -0.031303927302360535, -0.011889918707311153, 0.028703005984425545, 0.03971976041793823, 0.011880629695951939, 0.0594867505133152, -0.022628001868724823, 0.005717379041016102, 0.04243214800953865, 0.008861704729497433, 0.0020749301183968782, 0.023055294528603554, 0.03241860494017601, -0.032195668667554855, -0.05476793646812439, -0.009437622502446175, -0.032604385167360306, -0.024392912164330482, 0.0030885920859873295, 0.03782480210065842, -0.021346120163798332, -0.0018624443328008056, 0.04856288805603981, 0.009163597598671913, -0.016014235094189644, 0.07899364829063416, 0.03100667893886566, -0.03897663950920105, 0.05250142142176628, 0.006372253410518169, 0.007983895018696785, -0.009386533871293068, -0.05179545655846596, -0.04087159410119057, 0.010013541206717491, 0.02370552532374859, -0.025303233414888382, -0.07293722033500671, 0.006088939029723406, 0.07115373015403748, 0.07929089665412903, 0.03018924593925476, 0.011518359184265137, 0.10292211174964905, 0.03812205046415329, 0.014397948049008846, -0.003432285040616989, 0.006237562745809555, 0.021123183891177177, 0.0576661042869091, -0.01589347794651985, 0.08360099047422409, -0.016460105776786804, 0.04369544982910156, 0.011601959355175495, -0.04897160083055496, 0.03689590469002724, -0.006771680433303118, 0.012224322184920311, -0.01618143543601036, -0.008527301251888275, -0.000012237167538842186, 0.027383968234062195, -0.08070282638072968, -0.028238557279109955, -0.03464796766638756, 0.01203854288905859, -0.063945472240448, -0.034387875348329544, 0.03180553391575813, -0.014778797514736652, 0.07316015660762787, -0.030319292098283768, -0.07438630610704422, -0.030096355825662613, -0.009939229115843773, -0.00570344552397728, -0.04146609082818031, -0.04016563296318054, -0.003803845029324293, -0.023501167073845863, 0.04960325360298157, 0.056737206876277924, 0.001611641375347972, -0.012995309196412563, 0.024244287982583046, 0.024764470756053925, 0.04815417155623436, 0.008257919922471046, 0.0317869558930397, -0.03180553391575813, 0.037954848259687424, 0.04655646160244942, 0.06000693514943123, -0.0568486750125885, 0.03024498000741005, 0.03470370173454285, 0.0008168513304553926, 0.0009968257509171963, -0.010245765559375286, 0.05476793646812439, 0.02106744982302189, -0.03749040141701698, -0.03059796243906021, -0.002253743354231119, -0.0032604385633021593, -0.013868475332856178, 0.0016534418100491166, -0.004135926719754934, -0.01635792665183544, -0.06554317474365234, 0.00962340272963047, -0.06056427210569382, 0.03990554064512253, 0.05034637451171875, -0.05153536796569824, 0.02225644141435623, -0.054507844150066376, -0.024708736687898636, -0.02623213268816471, -0.0008696825243532658, -0.002014551544561982, -0.037954848259687424, 0.05476793646812439, -0.014072833582758904, -0.07446061819791794, 0.026157820597290993, -0.0005390522419475019, -0.003975691739469767, -0.015670541673898697, -0.0002319346967851743, -0.001982040237635374, 0.029093144461512566, -0.014760219492018223, -0.011759872548282146, -0.04436425864696503, 0.04674224182963371, -0.05383903905749321, 0.03618993982672691, -0.006209695711731911, 0.025136031210422516, -0.01052443590015173, 0.01268877275288105, -0.01552191749215126, 0.00732902018353343, -0.07468355447053909, 0.03500094637274742, 0.03416493907570839, -0.004344929475337267, 0.0024058506824076176, 0.036951638758182526, -0.04536747187376022, 0.0755009800195694, 0.0022432932164520025, 0.008870993740856647, 0.01789061166346073, -0.027421124279499054, -0.026938097551465034, 0.012735217809677124, 0.009530512616038322, -0.0324743390083313, 0.07817621529102325, -0.00503463763743639, 0.05001197010278702, 0.03414636105298996, -0.015902766957879066, -0.025284655392169952, -0.040574345737695694, -0.06216198205947876, -0.043844074010849, -0.03633856400847435, -0.006530166137963533, -0.015884188935160637, 0.03676585853099823, 0.17329555749893188, 0.05001197010278702, 0.02062157727777958, -0.04068581387400627, 0.007180396001785994, 0.024764470756053925, -0.04016563296318054, 0.030932366847991943, -0.024262866005301476, 0.013803452253341675, -0.061493173241615295, -0.00624685175716877, 0.011759872548282146, -0.003223282750695944, -0.028201401233673096, -0.04458719491958618, -0.009725581854581833, -0.041763339191675186, 0.015159646049141884, 0.03200989216566086, 0.04737389460206032, -0.04607343673706055, -0.04596196860074997, -0.034369297325611115, -0.03897663950920105, -0.02968764118850231, 0.03819636255502701, -0.006827414035797119, -0.003353328676894307, -0.05432206764817238, 0.007630912587046623, 0.03678443655371666, -0.06673216819763184, 0.04154040291905403, -0.028535805642604828, 0.034387875348329544, -0.016265036538243294, 0.0021562089677900076, 0.036078471690416336, 0.006158606149256229, -0.039162419736385345, -0.022516533732414246, 0.06245923042297363, -0.024337178096175194, 0.017584074288606644, 0.047968391329050064, 0.005266862455755472, -0.019061025232076645, -0.02842433750629425, 0.040574345737695694, -0.020677311345934868, 0.10864413529634476, 0.008773459121584892, -0.013914920389652252, -0.018048524856567383, 0.002373339142650366, 0.0372488871216774, 0.008387966081500053, 0.018940268084406853, -0.004660755395889282, -0.016748065128922462, 0.021717678755521774, -0.0050299931317567825, -0.006864570081233978, 0.06636060774326324, 0.022628001868724823, 0.010143586434423923, -0.024374334141612053, -0.014249324798583984, -0.02671516127884388, 0.03327319398522377, -0.055845461785793304, -0.001634863787330687, -0.01534542627632618, -0.0048163458704948425, 0.026083508506417274, -0.01402638852596283, 0.01885666884481907, 0.016116412356495857, -0.04551609605550766, 0.042209211736917496, 0.04087159410119057, -0.05112665146589279, -0.03864223510026932, -0.054916560649871826, -0.03321745991706848, -0.037936270236968994, 0.022126395255327225, -0.030820898711681366, 0.07639272511005402, -0.02714245580136776, -0.02459726855158806, -0.005248284433037043, 0.013905631378293037, -0.047522518783807755, 0.033923424780368805, -0.029594751074910164, -0.00557804387062788, 0.014109989628195763, 0.05859500542283058, 0.02457869052886963, -0.012911709025502205, 0.02979910932481289, -0.007756314240396023, 0.01885666884481907, -0.021569056436419487, -0.010886706411838531, -0.008165029808878899, -0.039645448327064514, 0.02939039282500744, -0.014351502992212772, 0.05982115492224693, -0.005717379041016102, 0.008610902354121208, -0.03193558007478714, -0.04990050196647644, 0.008773459121584892, -0.037880536168813705, -0.025284655392169952, -0.007198974024504423, 0.000666485691908747, -0.05774041637778282, -0.00557804387062788, -0.025693371891975403, 0.007277930621057749, -0.05565968155860901, -0.025544747710227966, 0.0025475078728049994, 0.04655646160244942, -0.03752755746245384, 0.0436582937836647, 0.028145667165517807, 0.05606839805841446, 0.02275804802775383, 0.020472953096032143, -0.03152686357498169, 0.010422256775200367, -0.013691984117031097, -0.04651930555701256, -0.03152686357498169, -0.03942251205444336, -0.026194976642727852, 0.022628001868724823, 0.013171800412237644, 0.033477552235126495, -0.029111722484230995, -0.02320391871035099, -0.04603628069162369, 0.087688148021698, 0.005396908614784479, 0.01687811128795147, -0.015456894412636757, 0.021123183891177177, -0.03104383498430252, 0.016515839844942093, 0.00516468333080411, -0.06795831769704819, 0.022832360118627548, -0.032121360301971436, -0.010635904036462307, 0.0061353836208581924, -0.02896309830248356, -0.040425725281238556, -0.04421563446521759, -0.02931608073413372, 0.005731312558054924, 0.010208609513938427, -0.007997828535735607, -0.054099131375551224, -0.021308964118361473, -0.05688583105802536, -0.0074404883198440075, 0.029891999438405037, 0.023965617641806602, 0.03189842402935028, 0.040537189692258835, -0.051869768649339676, 0.023965617641806602, -0.019785568118095398, -0.020342906937003136, 0.01579129882156849, -0.04689086601138115, 0.04603628069162369, 0.02194061502814293, -0.05265004560351372, -0.024188553914427757, -0.0815945640206337, -0.01853155344724655, -0.02411424182355404, 0.04124315455555916, -0.007997828535735607, 0.0033440396655350924, 0.11109642684459686, -0.03897663950920105, 0.011666982434689999, -0.034387875348329544, 0.01924680545926094, -0.030913788825273514, -0.023296808823943138, -0.011899207718670368, 0.070224829018116, 0.015178224071860313, 0.00232341093942523, 0.006191117689013481, 0.014899554662406445, 0.05428491160273552, 0.009549090638756752, 0.006920304149389267, 0.012595882639288902, 0.009920651093125343, -0.03357044234871864, 0.008569101803004742, -0.047894079238176346, 0.021810568869113922, -0.022405065596103668, -0.017156781628727913, -0.029167456552386284, 0.01924680545926094, -0.04064865782856941, 0.011657693423330784, 0.07780465483665466, 0.06416840851306915, -0.03282732143998146, -0.01730540581047535, -0.003494985867291689, -0.0023779836483299732, 0.030430760234594345, 0.08360099047422409, 0.010895995423197746, -0.008940661326050758, -0.00909857451915741, -0.060712896287441254, -0.033886268734931946, 0.05692298710346222, -0.0657661110162735, 0.00788636039942503, -0.04900875687599182, -0.013208956457674503, -0.013060332275927067, 0.010440834797918797, 0.005531598813831806, 0.0028331447392702103, -0.04722527042031288, -0.04599912464618683, 0.04503306746482849, -0.007259352598339319, 0.020212862640619278, 0.049714721739292145, 0.0578518845140934, -0.023761259391903877, -0.03953398019075394, -0.0651344582438469, 0.02498740702867508, 0.018280750140547752, -0.05283582583069801, 0.03232571482658386, 0.059300970286130905, 0.032102782279253006, -0.053133074194192886, 0.0734945610165596, -0.03815920650959015, 0.016014235094189644, 0.042692240327596664, 0.04934316128492355, 0.021308964118361473, 0.03728604316711426, -0.009107863530516624, -0.02976195327937603, -0.025526169687509537, -0.019191071391105652, -0.03366333246231079, -0.002106280531734228, 0.05224132910370827, 0.007254708092659712, -0.0069621047005057335, -0.005638422444462776, -0.05383903905749321, 0.029557595029473305, 0.04198627546429634, 0.03020782396197319, 0.03028213605284691, 0.04317526891827583, 0.02887020818889141, 0.06617482751607895, -0.0016615696949884295, -0.07639272511005402, 0.007361531723290682, 0.053170230239629745, -0.040500037372112274, -0.0011971197091042995, -0.030542228370904922, -0.012391524389386177, -0.006321163848042488, -0.023482589051127434, 0.02632502280175686, 0.014509416185319424, -0.05922665819525719, 0.03849361091852188, -0.004235783591866493, 0.004124315455555916, 0.019989926367998123, 0.05376472696661949, 0.039162419736385345, -0.07832483947277069, -0.008151096291840076, 0.07215694338083267, 0.0067205908708274364, 0.009790604934096336, 0.019785568118095398, 0.008095362223684788, -0.013887053355574608, -0.03804773837327957, 0.05298445001244545, 0.005944959353655577, -0.037861958146095276, -0.06654638797044754, 0.018810223788022995, 0.026139242574572563, 0.0020424185786396265, -0.025990618392825127, -0.025637637823820114, -0.003100203350186348, 0.035261038690805435, 0.020881669595837593, 0.05372757092118263, -0.044438570737838745, -0.07438630610704422, -0.026492225006222725, 0.029464704915881157, -0.00537833059206605, -0.02584199607372284, 0.020918825641274452, 0.017389006912708282, -0.0008371710428036749, 0.027681216597557068, -0.05257573351264, -0.008466922678053379, 0.011648404411971569, -0.04343535751104355, 0.03685874864459038, -0.030523650348186493, -0.006558033172041178, -0.001386383082717657, -0.04068581387400627, 0.026863785460591316, 0.031341083347797394, 0.010338655672967434, -0.020472953096032143, -0.0076820021495223045, 0.01670162007212639, 0.02327823080122471, -0.025136031210422516, -0.013859186321496964, -0.013561938889324665, 0.00834152102470398, -0.003167548682540655, 0.027253922075033188, 0.038382142782211304, -0.034369297325611115, 0.020751623436808586, 0.05740601196885109, 0.014407237060368061, 0.02359405718743801, -0.09066063165664673, 0.02186630293726921, 0.020305750891566277, -0.03901379555463791, -0.03553970903158188, 0.034387875348329544, 0.013023176230490208, 0.040091320872306824, 0.005085726734250784, -0.060638584196567535, -0.04800554737448692, 0.009460845030844212, -0.041763339191675186, -0.02231217548251152, 0.036951638758182526, -0.04347251355648041, -0.01969267800450325, 0.0023988839238882065, -0.07810190320014954, -0.028219979256391525, 0.016088545322418213, -0.019599787890911102, 0.008922083303332329, 0.05863216146826744, -0.008996395394206047, -0.03711884096264839, -0.005564110353589058, 0.027458280324935913, -0.0010473346337676048, -0.036097049713134766, -0.026417912915349007, 0.02706814371049404, 0.00125401490367949, 0.022572267800569534, -0.033124569803476334, 0.05376472696661949, -0.01932111755013466, 0.05573399364948273, 0.009219331666827202, -0.022628001868724823, -0.013134644366800785, 0.0060610719956457615, 0.007101439870893955, -0.05692298710346222, 0.04637068137526512, 0.01645081676542759, -0.010264343582093716, -0.01844795234501362, 0.025581903755664825, -0.03927388787269592, 0.017398295924067497, 0.023315386846661568, -0.020268594846129417, 0.03102525696158409, 0.016534417867660522, 0.052315641194581985, -0.017240382730960846, -0.0744977742433548, 0.010301499627530575, 0.011601959355175495, -0.012679483741521835, 0.024448644369840622, -0.0031954157166182995, 0.019432585686445236, 0.028535805642604828, -0.011759872548282146, 0.02095598168671131, 0.05513949692249298, 0.011026041582226753, 0.021569056436419487, -0.03028213605284691, 0.06762391328811646, 0.023947039619088173, 0.02498740702867508, 0.000046190998546080664, -0.10240192711353302, 0.037861958146095276, 0.005173972342163324, -0.04956609755754471, -0.015847032889723778, -0.012986020185053349, 0.038382142782211304, -0.03022640198469162, -0.07553813606500626, 0.009084641002118587, 0.02797846496105194, -0.08523585647344589, -0.05209270492196083, -0.04952894151210785, 0.005889225285500288, -0.005220417398959398, 0.029130300506949425, -0.00388976838439703, 0.01465804036706686, -0.028758740052580833, 0.008271853439509869, 0.05610555410385132, -0.02545185759663582, -0.05465646833181381, 0.03249291703104973, 0.05547390133142471, 0.021810568869113922, 0.058074820786714554, 0.006585900206118822, -0.01377558521926403, -0.0289259422570467, -0.04741105064749718, 0.037434667348861694, 0.016961712390184402, -0.013236823491752148, -0.019506897777318954, 0.017351850867271423, 0.0594867505133152, 0.006367608904838562, -0.04503306746482849, -0.04339820146560669, 0.019506897777318954, 0.030356448143720627, 0.0157355647534132, -0.0041196709498763084, 0.0025985974352806807, -0.03776906803250313, -0.04822848364710808, -0.022405065596103668, -0.005192550364881754, -0.01932111755013466, -0.01635792665183544, 0.03635714203119278, -0.036097049713134766, 0.03202847018837929, -0.03381195664405823, 0.055808305740356445, 0.02457869052886963, -0.04154040291905403, -0.027309656143188477 ]
16,316
generator_oj_problem
getWorkingDirectory
null
def getWorkingDirectory() -> pathlib.Path: return pathlib.Path(os.getcwd()).resolve()
() -> pathlib.Path
[ 0.06631224602460861, -0.009884373284876347, 0.003986246883869171, 0.0015098780859261751, 0.018553247675299644, -0.024056758731603622, 0.01011227909475565, 0.024951500818133354, 0.015446971170604229, -0.02452945150434971, 0.013015972450375557, -0.08029048889875412, -0.02338148094713688, 0.010720029473304749, 0.010677823796868324, -0.015666436403989792, 0.006946916691958904, -0.010720029473304749, -0.005284045822918415, 0.0330379493534565, 0.060774967074394226, -0.01636703684926033, 0.0001528606517240405, -0.059897106140851974, -0.06894582509994507, 0.035620883107185364, -0.033426232635974884, -0.0025744952727109194, -0.03700520098209381, -0.028868108987808228, 0.03195750340819359, -0.02317889779806137, 0.0026778969913721085, -0.004296452738344669, 0.003036638256162405, 0.05304304137825966, -0.0026399127673357725, -0.011538802646100521, -0.046053919941186905, -0.09805028140544891, -0.01995444856584072, -0.02971220575273037, 0.02096736431121826, 0.06435393542051315, 0.04872126504778862, -0.026859158650040627, 0.009850609116256237, -0.05381961166858673, 0.041799671947956085, 0.03508066385984421, 0.06786537915468216, -0.01633327268064022, -0.06161906570196152, 0.019549282267689705, 0.021794578060507774, 0.028260359540581703, 0.01905970461666584, -0.06509674340486526, -0.016274185851216316, -0.019329816102981567, -0.007174822501838207, 0.011007022112607956, 0.044804658740758896, -0.0005148990312591195, -0.020663488656282425, 0.009639585390686989, -0.04338657483458519, -0.018384428694844246, -0.005609022919088602, 0.008546479977667332, -0.02750067226588726, -0.010964817367494106, -0.034287210553884506, -0.047066837549209595, 0.012577041983604431, -0.03197438642382622, -0.053448207676410675, 0.03150169178843498, 0.010669383220374584, -0.005549936089664698, -0.06948604434728622, 0.03933490812778473, -0.0336625799536705, -0.013311406597495079, 0.049362778663635254, 0.04048288241028786, 0.021558230742812157, 0.01713516376912594, -0.07036390900611877, -0.04629026725888252, 0.016172893345355988, 0.035620883107185364, 0.009150008670985699, 0.03693767637014389, 0.0671563372015953, -0.009816845878958702, -0.0028783699963241816, 0.001981517067179084, -0.02547484077513218, 0.030235545709729195, -0.04696554318070412, 0.04828233644366264, -0.009504529647529125, 0.010255775414407253, 0.02954338677227497, 0.058647844940423965, 0.019616808742284775, -0.014906749129295349, 0.023026959970593452, -0.04875503107905388, -0.09960342198610306, 0.04450078308582306, -0.018688302487134933, -0.061889175325632095, 0.03717402368783951, 0.03378075361251831, -0.05253658443689346, 0.01619821786880493, 0.04240742325782776, -0.004020011052489281, -0.022402329370379448, 0.058647844940423965, 0.017810441553592682, 0.005870692897588015, 0.04261000454425812, 0.07745432108640671, -0.0009606876410543919, 0.010213570669293404, -0.029121339321136475, -0.021878987550735474, 0.004444169346243143, 0.00557525921612978, 0.011842677369713783, -0.0011131525970995426, 0.04558122530579567, 0.10223700106143951, 0.010871966369450092, 0.04163085296750069, -0.0157002005726099, 0.07610376179218292, 0.057567398995161057, -0.005322030279785395, -0.021676404401659966, -0.00005717436579288915, -0.018249372020363808, 0.09170267730951309, -0.00008691559196449816, 0.01055965106934309, -0.034371621906757355, 0.02841229736804962, 0.0681692585349083, -0.048045989125967026, 0.010365508496761322, 0.00342492270283401, -0.012669892981648445, -0.020275205373764038, 0.031180934980511665, 0.011454393155872822, 0.049295250326395035, -0.06145024672150612, -0.06222681328654289, -0.037646714597940445, 0.02638646587729454, -0.09967094659805298, -0.01698322780430317, 0.050139348953962326, -0.04851868376135826, 0.06036980077624321, 0.02127123810350895, -0.03940243646502495, 0.010762234218418598, 0.02741626277565956, -0.032278262078762054, 0.0018749500159174204, -0.05196259915828705, 0.003781553590670228, -0.01684817112982273, 0.01897529512643814, 0.01691569946706295, 0.01650209166109562, 0.017557213082909584, -0.012965326197445393, 0.023938585072755814, 0.04679672420024872, 0.03177180141210556, 0.033409349620342255, -0.010205130092799664, 0.0013758777640759945, 0.059728287160396576, 0.049092669039964676, -0.02108553797006607, 0.06128142774105072, 0.037680480629205704, 0.02209845371544361, -0.006263197865337133, 0.012357576750218868, 0.06016721948981285, -0.015632672235369682, -0.03886221721768379, -0.013547752983868122, 0.028969401493668556, -0.036431215703487396, -0.009259741753339767, -0.06361113488674164, -0.009133127517998219, -0.0025090777780860662, -0.058850426226854324, -0.024782681837677956, -0.058782897889614105, 0.035553354769945145, 0.01324387826025486, -0.06712257862091064, -0.031164053827524185, -0.03182244673371315, 0.017303984612226486, -0.005891795270144939, 0.008787047117948532, 0.04547993466258049, -0.04247495159506798, 0.02015703171491623, 0.03676885738968849, -0.08819123357534409, 0.06499545276165009, 0.026234528049826622, -0.009740876965224743, 0.004579225089401007, 0.016561178490519524, 0.005148990545421839, 0.017590977251529694, -0.07684656977653503, 0.008770165964961052, -0.06962110102176666, 0.025052791461348534, -0.060943786054849625, 0.02228415571153164, -0.03518195450305939, -0.008065344765782356, -0.02657216601073742, 0.06215928494930267, -0.052469056099653244, -0.018502600491046906, -0.08879897743463516, 0.08623292297124863, 0.06502921879291534, 0.0035219937562942505, -0.0276357289403677, 0.03595852106809616, -0.02760196477174759, 0.05706094205379486, -0.00278762960806489, 0.024596979841589928, 0.021321885287761688, -0.0334937609732151, -0.028918756172060966, 0.022824376821517944, 0.016974786296486855, -0.049227725714445114, 0.03909856453537941, -0.002703219885006547, 0.044905949383974075, 0.04358915612101555, -0.004290122073143721, -0.02645399235188961, -0.04547993466258049, -0.03396645560860634, -0.03143416345119476, -0.060808733105659485, -0.02962779626250267, 0.008352337405085564, -0.0070271058939397335, 0.0756985992193222, 0.04784340411424637, -0.010078515857458115, -0.04257624223828316, -0.031248463317751884, -0.0018601783085614443, -0.05483252555131912, 0.006322284694761038, -0.053380679339170456, 0.020292086526751518, -0.08494990319013596, 0.0050730216316878796, 0.0003402765141800046, -0.04311646148562431, -0.014552228152751923, -0.004005239345133305, 0.010500564239919186, -0.03470925986766815, 0.011876441538333893, 0.019279170781373978, 0.0016291068168357015, -0.0004143987607676536, -0.014982718043029308, -0.03605981543660164, -0.005756739992648363, -0.023719118908047676, -0.045885100960731506, -0.06982368230819702, -0.005963543895632029, -0.02312825247645378, -0.005482408683747053, 0.025829361751675606, -0.08042553812265396, 0.0819786787033081, -0.04753953218460083, 0.06695375591516495, 0.019853156059980392, -0.02235168218612671, 0.020646607503294945, -0.0013558304635807872, -0.012129670940339565, -0.020444024354219437, 0.04139450564980507, 0.0027496451511979103, 0.018418191000819206, 0.0053431326523423195, -0.0009438057313673198, -0.06486039608716965, -0.008744842372834682, 0.04375797510147095, -0.04723565652966499, 0.04244118556380272, 0.05216518044471741, 0.007217027246952057, -0.022014044225215912, 0.015514498576521873, 0.017675386741757393, 0.043791741132736206, 0.02739938162267208, 0.05290798470377922, 0.002954338677227497, 0.013969801366329193, 0.0014360196655616164, 0.0178779698908329, 0.07070154696702957, -0.01064406055957079, -0.011623213067650795, -0.01378410030156374, -0.010264216922223568, -0.036667563021183014, 0.02950962260365486, -0.05574415251612663, -0.0019329816568642855, -0.009453884325921535, 0.027298089116811752, -0.0004676823737099767, 0.028868108987808228, 0.01782732456922531, 0.030843297019600868, -0.05297551304101944, 0.005452865269035101, 0.06810172647237778, -0.07866981625556946, -0.029323922470211983, -0.08515248447656631, -0.012003055773675442, -0.015008040703833103, 0.024799562990665436, 0.005220738705247641, 0.03602604940533638, -0.02525537647306919, 0.021743932738900185, 0.021811461076140404, -0.012821829877793789, -0.04163085296750069, 0.013395816087722778, 0.01678064465522766, -0.006486883852630854, -0.00526294345036149, 0.06968863308429718, 0.02100112847983837, 0.0002647034707479179, 0.03622863441705704, -0.0314004011452198, -0.016257304698228836, 0.00292268511839211, -0.037680480629205704, -0.020275205373764038, -0.03379763662815094, 0.021777696907520294, -0.02753443643450737, 0.0003843278100248426, -0.015978751704096794, -0.0051954155787825584, -0.0425424762070179, 0.01889088563621044, 0.0057694013230502605, -0.044804658740758896, 0.0019456431036815047, -0.011082991026341915, -0.036667563021183014, -0.06455652415752411, -0.002582936082035303, 0.014999600127339363, 0.02626829221844673, -0.027112388983368874, 0.055676624178886414, 0.02116994746029377, 0.03388204425573349, 0.017008550465106964, 0.016637148335576057, 0.02731497213244438, 0.013362051919102669, 0.019380461424589157, 0.009335710667073727, -0.026183882728219032, -0.017118282616138458, 0.017202692106366158, -0.04149579629302025, -0.013978242874145508, -0.04635779559612274, -0.04767458513379097, 0.020950481295585632, 0.05381961166858673, 0.0026061488315463066, -0.004380862228572369, -0.03378075361251831, -0.05172625184059143, 0.08758348226547241, 0.012028379365801811, -0.0057694013230502605, -0.058850426226854324, 0.005271384492516518, -0.012391340918838978, 0.017692267894744873, 0.024596979841589928, -0.020899835973978043, 0.013589957728981972, 0.03491184115409851, -0.00817507691681385, -0.006541749928146601, 0.0026757868472486734, -0.027770783752202988, 0.013530870899558067, 0.014594432897865772, -0.0019403675105422735, 0.03487807884812355, 0.031164053827524185, -0.03923361748456955, 0.032160088419914246, -0.06432017683982849, 0.029813498258590698, 0.02230103686451912, -0.0017683827318251133, 0.006267418619245291, 0.029087575152516365, -0.008006257936358452, -0.0029838820919394493, -0.0199713297188282, 0.04325151816010475, 0.01802990771830082, -0.06921593844890594, 0.06529932469129562, -0.009276623837649822, -0.06060614809393883, -0.024006111547350883, -0.08549012243747711, 0.020427141338586807, -0.012425104156136513, 0.00330885942094028, -0.014121739193797112, 0.017776677384972572, 0.08353181928396225, -0.03778177127242088, 0.015776168555021286, -0.08029048889875412, 0.015826813876628876, -0.02530602179467678, -0.03491184115409851, 0.0012144442880526185, 0.04456831142306328, 0.05922183021903038, -0.048214808106422424, -0.0017525559524074197, 0.045885100960731506, 0.030505657196044922, -0.050173111259937286, 0.005389557685703039, 0.02417493239045143, -0.03508066385984421, -0.07934509962797165, 0.016645587980747223, -0.015708640217781067, 0.041698381304740906, -0.01624886319041252, -0.015615790151059628, -0.0019203202100470662, -0.012298489920794964, 0.0017430598381906748, -0.0037921047769486904, 0.0868406742811203, 0.0976451113820076, -0.05506887286901474, -0.048181045800447464, -0.02446192502975464, -0.018705183640122414, -0.006216772831976414, 0.0674939751625061, 0.019616808742284775, 0.005891795270144939, 0.01794549822807312, -0.018232490867376328, -0.006541749928146601, 0.06307090818881989, -0.0681692585349083, 0.02765261009335518, -0.05273916572332382, -0.015396324917674065, -0.022739967331290245, 0.0011004911502823234, 0.0068329633213579655, -0.0006351828342303634, -0.030455011874437332, -0.06009969115257263, 0.015691759064793587, -0.01524438802152872, 0.02530602179467678, 0.018772711977362633, 0.06462404876947403, -0.0442981980741024, -0.06016721948981285, 0.00557525921612978, 0.020528433844447136, -0.005744078662246466, -0.009774641133844852, 0.014265235513448715, 0.019532399252057076, 0.02540731243789196, -0.01992068439722061, 0.07765690237283707, 0.013395816087722778, -0.04551369696855545, 0.0294758602976799, 0.07954768091440201, 0.07090412825345993, 0.035249482840299606, 0.036532510071992874, -0.08778606355190277, -0.09095986932516098, -0.03595852106809616, -0.03138351812958717, -0.026842277497053146, 0.03838952258229256, 0.011319337412714958, 0.03582346811890602, 0.008744842372834682, -0.03295353800058365, 0.0378492996096611, 0.018536364659667015, 0.027213679626584053, 0.017278660088777542, -0.037511661648750305, -0.017126724123954773, 0.08170856535434723, -0.04851868376135826, -0.05621684715151787, 0.026909805834293365, 0.047100599855184555, -0.05510263890028, 0.015615790151059628, -0.030049845576286316, -0.012104347348213196, 0.007715044543147087, -0.010196689516305923, 0.0076264142990112305, -0.05419101193547249, -0.01902594044804573, 0.03700520098209381, -0.0026905585546046495, -0.02120371162891388, 0.02525537647306919, 0.05604802444577217, 0.06047109141945839, -0.06968863308429718, -0.006533308885991573, 0.04990300163626671, 0.03295353800058365, 0.02869929000735283, 0.015708640217781067, 0.0022832818794995546, -0.008702637627720833, -0.02113618329167366, 0.015193741768598557, 0.011808914132416248, -0.01628262735903263, -0.03165362775325775, -0.037511661648750305, 0.011386865749955177, -0.007288775872439146, -0.041732143610715866, 0.0200557392090559, 0.026926686987280846, 0.05290798470377922, 0.008377660065889359, 0.04146203398704529, -0.0636448934674263, -0.055710386484861374, 0.008605566807091236, 0.05155743286013603, -0.011226487345993519, -0.013125704601407051, -0.01674688048660755, 0.05834396928548813, 0.041765909641981125, -0.0016312170773744583, -0.06374619156122208, -0.006482663098722696, 0.025711188092827797, -0.0633072555065155, 0.031417280435562134, -0.028159068897366524, -0.025187848135828972, 0.009175332263112068, -0.016156012192368507, 0.016164453700184822, 0.03064071387052536, 0.022891905158758163, 0.010821321047842503, -0.01277962513267994, 0.05922183021903038, 0.039638783782720566, -0.012425104156136513, -0.05432606860995293, -0.013066617771983147, 0.010078515857458115, -0.003646498080343008, 0.02976285293698311, -0.0037203566171228886, 0.008964307606220245, 0.005921338684856892, 0.04902514070272446, 0.01540476642549038, 0.023533418774604797, -0.03585723042488098, 0.0027981807943433523, -0.0016417682636529207, -0.014932071790099144, -0.01223096251487732, 0.04878879338502884, 0.032430198043584824, -0.005486628971993923, 0.008542259223759174, 0.0048704384826123714, -0.02945897728204727, -0.013606839813292027, -0.08326170593500137, -0.01223940309137106, 0.020680371671915054, 0.018468838185071945, 0.020612843334674835, -0.015387884341180325, -0.06739268451929092, 0.008436746895313263, -0.016324831172823906, 0.01696634478867054, -0.05159119516611099, 0.015168419107794762, -0.005351573694497347, -0.01320167351514101, -0.02003885805606842, -0.004087538458406925, 0.030319957062602043, -0.06580578535795212, 0.005735637620091438, -0.020849190652370453, -0.023989230394363403, -0.02101800963282585, -0.011927087791264057, 0.0486537367105484, -0.0029986537992954254, 0.0833292305469513, 0.0023782425560057163, -0.054663706570863724, 0.013302965089678764, -0.06286832690238953, 0.0065586320124566555, -0.007828997448086739, 0.07853476703166962, -0.0012777515221387148, -0.02003885805606842, 0.027990249916911125, 0.004237365908920765, -0.022436091676354408, 0.027078624814748764, 0.035620883107185364, 0.01693258062005043, 0.020325850695371628, -0.00009621384378988296, 0.05851278826594353, -0.0019308713963255286, -0.07968273758888245, 0.026876041665673256, 0.04534487798810005, -0.012306931428611279, -0.032328907400369644, -0.040584173053503036, -0.015084009617567062, 0.009158450178802013, 0.0014233582187443972, -0.01799614354968071, 0.019397344440221786, 0.01890776865184307, 0.027804547920823097, -0.06107884272933006, 0.08738090097904205, 0.02540731243789196, 0.03143416345119476, 0.01374189555644989, -0.06222681328654289, 0.03741036728024483, 0.03741036728024483, -0.03616110607981682, -0.03055630251765251, -0.01001942902803421, 0.013353611342608929, 0.015944987535476685, -0.08690820634365082, 0.00002575154576334171, 0.015582026913762093, -0.037680480629205704, -0.038625869899988174, -0.035553354769945145, 0.017607858404517174, 0.0036359468940645456, 0.023938585072755814, 0.012838711962103844, 0.007039767224341631, -0.015421648509800434, 0.05169248580932617, 0.03290289267897606, -0.06047109141945839, -0.0657382532954216, 0.01897529512643814, 0.051253557205200195, 0.008331235498189926, 0.03825446590781212, -0.004159287083894014, -0.03258213400840759, -0.04017900675535202, 0.007086192257702351, 0.01381786447018385, 0.028851227834820747, -0.010238894261419773, 0.00905715860426426, 0.0038385300431400537, 0.020325850695371628, 0.03717402368783951, 0.0017272330587729812, -0.017658503726124763, -0.00449059484526515, 0.008436746895313263, 0.006748553831130266, -0.02208157256245613, -0.023465890437364578, -0.014847662299871445, -0.02333083562552929, -0.013260760344564915, 0.01532879751175642, -0.011640094220638275, 0.006803419906646013, 0.016721557825803757, -0.04217107594013214, -0.00010854557331185788, -0.008061124011874199, 0.0008055848884396255, 0.029256394132971764, -0.03943620249629021, 0.0022706203162670135 ]
16,319
presidio_analyzer.analysis_explanation
AnalysisExplanation
Hold tracing information to explain why PII entities were identified as such. :param recognizer: name of recognizer that made the decision :param original_score: recognizer's confidence in result :param pattern_name: name of pattern (if decision was made by a PatternRecognizer) :param pattern: regex pattern that was applied (if PatternRecognizer) :param validation_result: result of a validation (e.g. checksum) :param textual_explanation: Free text for describing a decision of a logic or model
class AnalysisExplanation: """ Hold tracing information to explain why PII entities were identified as such. :param recognizer: name of recognizer that made the decision :param original_score: recognizer's confidence in result :param pattern_name: name of pattern (if decision was made by a PatternRecognizer) :param pattern: regex pattern that was applied (if PatternRecognizer) :param validation_result: result of a validation (e.g. checksum) :param textual_explanation: Free text for describing a decision of a logic or model """ def __init__( self, recognizer: str, original_score: float, pattern_name: str = None, pattern: str = None, validation_result: float = None, textual_explanation: str = None, regex_flags: int = None, ): self.recognizer = recognizer self.pattern_name = pattern_name self.pattern = pattern self.original_score = original_score self.score = original_score self.textual_explanation = textual_explanation self.score_context_improvement = 0 self.supportive_context_word = "" self.validation_result = validation_result self.regex_flags = regex_flags def __repr__(self): """Create string representation of the object.""" return str(self.__dict__) def set_improved_score(self, score: float) -> None: """Update the score and calculate the difference from the original score.""" self.score = score self.score_context_improvement = self.score - self.original_score def set_supportive_context_word(self, word: str) -> None: """Set the context word which helped increase the score.""" self.supportive_context_word = word def append_textual_explanation_line(self, text: str) -> None: """Append a new line to textual_explanation field.""" if self.textual_explanation is None: self.textual_explanation = text else: self.textual_explanation = "{}\n{}".format(self.textual_explanation, text) def to_dict(self) -> Dict: """ Serialize self to dictionary. :return: a dictionary """ return self.__dict__
(recognizer: str, original_score: float, pattern_name: str = None, pattern: str = None, validation_result: float = None, textual_explanation: str = None, regex_flags: int = None)
[ 0.03874363750219345, -0.04966229572892189, -0.005336055066436529, 0.025676464661955833, 0.03534476086497307, -0.07643062621355057, -0.011103574186563492, -0.032245270907878876, 0.03994116559624672, 0.007207196671515703, -0.02144988626241684, 0.04244189336895943, -0.011165210977196693, 0.003916189074516296, -0.06825923919677734, 0.009606660343706608, 0.013525051064789295, -0.004680055193603039, -0.026645055040717125, -0.019671199843287468, -0.0027538801077753305, 0.016219494864344597, -0.03582025319337845, 0.03877885639667511, -0.002705450402572751, 0.005648646038025618, -0.0087349284440279, -0.0606866218149662, -0.01491629984229803, -0.005776323843747377, -0.04402685910463333, -0.05427630990743637, -0.046915020793676376, 0.009095949120819569, -0.04483695328235626, -0.07248581945896149, -0.036031581461429596, 0.04402685910463333, -0.05476941168308258, 0.020851120352745056, -0.03948328644037247, 0.019829697906970978, -0.002635007491335273, -0.005917209666222334, -0.03515104576945305, 0.0033262292854487896, -0.009104754775762558, 0.03552087023854256, 0.00548134371638298, -0.09058966487646103, 0.01303195022046566, -0.07847347110509872, 0.006190176587551832, 0.05019062012434006, 0.00019633227202575654, 0.008395922370254993, 0.0031391149386763573, 0.058467667549848557, 0.04987362399697304, -0.0721336081624031, -0.004048269707709551, 0.044766511768102646, 0.009043117053806782, 0.03150562196969986, -0.011332513764500618, 0.0009718929068185389, -0.025007255375385284, 0.02525380626320839, 0.024179551750421524, -0.022365644574165344, -0.012406769208610058, -0.07692372798919678, 0.011358929798007011, 0.030466586351394653, 0.037369996309280396, -0.01817428693175316, -0.005868780426681042, -0.031769782304763794, 0.08727884292602539, 0.002436886541545391, 0.004829746205359697, 0.022189537063241005, 0.025359470397233963, -0.05628393590450287, 0.028335686773061752, -0.05050761252641678, 0.03930718079209328, -0.037863098084926605, 0.051740363240242004, -0.011182822287082672, -0.03435856103897095, 0.023545563220977783, -0.004354256205260754, 0.06801269203424454, -0.012591681443154812, 0.019248543307185173, -0.010821801610291004, -0.05822111666202545, -0.002298202132806182, -0.04092736914753914, -0.025676464661955833, 0.09812705963850021, -0.020410852506756783, 0.04469606652855873, -0.01864977739751339, -0.0049662296660244465, -0.025324249640107155, 0.014511252753436565, 0.06688560545444489, 0.02342228963971138, -0.058009788393974304, 0.005670659244060516, -0.04497784003615379, -0.017601938918232918, -0.008805371820926666, -0.02493681199848652, -0.034904494881629944, -0.023334234952926636, -0.017830878496170044, 0.013798017986118793, 0.02703249081969261, -0.017593132331967354, -0.04571748897433281, 0.02719098888337612, -0.05955953523516655, -0.015699977055191994, -0.005036672577261925, 0.025782128795981407, 0.01385085005313158, -0.08516555279493332, -0.04370986670255661, -0.009175197221338749, -0.003095088293775916, 0.05769279599189758, 0.02803630381822586, 0.020710233598947525, 0.04638670012354851, -0.0009999600006267428, -0.042970214039087296, 0.03582025319337845, 0.03927195817232132, -0.0032205646857619286, 0.007643062621355057, -0.024285215884447098, -0.036876898258924484, -0.040821705013513565, -0.008285854943096638, 0.03839142248034477, -0.024514155462384224, -0.022682636976242065, -0.002302604727447033, -0.03698256239295006, 0.0064499350264668465, -0.030131982639431953, 0.05554428696632385, 0.011129990220069885, 0.02410910837352276, -0.041807904839515686, 0.009888432919979095, -0.008501586504280567, 0.019107656553387642, -0.0656176283955574, 0.016219494864344597, 0.012169023975729942, 0.038884520530700684, 0.05438197776675224, 0.04409730061888695, -0.04606970399618149, -0.035890694707632065, 0.019230931997299194, -0.03120623715221882, -0.035045377910137177, -0.0458935983479023, 0.062447696924209595, -0.012309909798204899, 0.1020718663930893, 0.019512703642249107, 0.05695314332842827, 0.037722211331129074, 0.04497784003615379, 0.008290257304906845, 0.01672140136361122, -0.10939794033765793, -0.024514155462384224, 0.006317854393273592, -0.023668838664889336, 0.03715866804122925, 0.01831517368555069, 0.02572929672896862, 0.02326379157602787, 0.0117023391649127, -0.015021963976323605, 0.044801730662584305, 0.0048913839273154736, 0.005692672915756702, -0.013340137898921967, -0.04536527395248413, -0.021361831575632095, 0.03958895057439804, -0.014150232076644897, -0.013234473764896393, 0.02641611546278, 0.006806552410125732, 0.047760337591171265, -0.02969171293079853, 0.0340239554643631, -0.0306779146194458, 0.04497784003615379, -0.11961217224597931, -0.028318075463175774, 0.01114760059863329, -0.03860275074839592, 0.0570940300822258, 0.011579063721001148, 0.05744624510407448, -0.013639520853757858, 0.0667094960808754, 0.04864087328314781, -0.019847307354211807, 0.02539469301700592, 0.011455788277089596, -0.021995818242430687, -0.04015249386429787, 0.021555550396442413, -0.014141427353024483, 0.014678554609417915, 0.041631799191236496, 0.02609912119805813, 0.01401815190911293, -0.0642792135477066, 0.007722311187535524, -0.06382133811712265, -0.036876898258924484, 0.021185724064707756, 0.032738372683525085, 0.01501315925270319, 0.009368915110826492, 0.014713776297867298, -0.01659812591969967, -0.011843224987387657, -0.012283493764698505, 0.023175738751888275, 0.00638829730451107, -0.010231842286884785, -0.04642191901803017, -0.038708414882421494, 0.07227449119091034, -0.03499254584312439, 0.03758132830262184, -0.04008205235004425, 0.02491920255124569, -0.041173920035362244, -0.04275888577103615, -0.0004292618832550943, 0.016923924908041954, -0.03997638821601868, -0.03972983732819557, 0.004035061690956354, 0.048429545015096664, -0.019389428198337555, 0.00853680819272995, 0.028441350907087326, -0.003960215952247381, 0.044766511768102646, 0.004087893757969141, 0.01063688937574625, -0.01732897199690342, -0.006256216671317816, 0.01573519967496395, -0.0662868395447731, 0.032896868884563446, 0.012010526843369007, -0.028828786686062813, 0.005406498443335295, -0.08044587820768356, 0.03381262719631195, -0.024989645928144455, 0.027472760528326035, -0.04666846990585327, 0.03249182179570198, 0.04540049657225609, 0.0033614507410675287, 0.005683867260813713, -0.012345131486654282, 0.08157296478748322, 0.02060456946492195, -0.02225998044013977, 0.02491920255124569, 0.021555550396442413, -0.052902672439813614, -0.0010494902962818742, 0.019248543307185173, 0.0613558292388916, -0.004979437682777643, 0.024954423308372498, 0.06248291954398155, -0.04508350417017937, -0.025694074109196663, -0.036031581461429596, -0.02641611546278, 0.0002614094701129943, 0.017795655876398087, 0.08495422452688217, -0.02011146955192089, -0.0967182070016861, 0.02312290668487549, 0.04191356897354126, -0.009210418909788132, 0.052867453545331955, -0.04223056137561798, 0.0237392820417881, 0.03529192879796028, 0.01815667748451233, 0.03365413099527359, -0.049415744841098785, -0.01739060878753662, 0.029427552595734596, -0.005208377260714769, 0.03645423799753189, 0.06889323145151138, -0.016615737229585648, 0.015453427098691463, 0.03712344914674759, -0.0501553975045681, 0.05952431261539459, -0.07938922941684723, 0.018033402040600777, -0.03245659917593002, 0.04356897994875908, -0.058291561901569366, -0.025623632594943047, -0.051071155816316605, -0.010654499754309654, 0.022207148373126984, -0.027666477486491203, -0.03485166281461716, -0.010496003553271294, -0.03680645301938057, 0.012662124820053577, -0.02657461166381836, 0.039166294038295746, 0.0031259069219231606, -0.04434385150671005, 0.020516516640782356, 0.04617536813020706, -0.02817719057202339, -0.03036092221736908, 0.0006444431492127478, 0.022013429552316666, 0.0048825787380337715, -0.016923924908041954, -0.046738915145397186, 0.010372728109359741, 0.014159037731587887, 0.0039029810577630997, -0.01508360169827938, -0.01776043511927128, -0.059453871101140976, 0.010592862032353878, -0.03673601150512695, -0.00965068768709898, 0.0024346853606402874, -0.017461052164435387, -0.0062782298773527145, -0.050578054040670395, -0.042970214039087296, -0.018526501953601837, -0.008889023214578629, 0.026609834283590317, -0.003357047913596034, -0.021802101284265518, -0.014625722542405128, -0.0027142558246850967, -0.01949509233236313, 0.022330421954393387, -0.0033108198549598455, 0.0037819072604179382, 0.026345672085881233, -0.03567936643958092, 0.020093858242034912, 0.04286454990506172, 0.05593172088265419, -0.043991636484861374, 0.012186634354293346, -0.02162599377334118, -0.04821821674704552, -0.006454337388277054, 0.04223056137561798, 0.01427350752055645, 0.03321386128664017, -0.023140516132116318, -0.03411201015114784, -0.005168753210455179, -0.06769569963216782, -0.02028757706284523, -0.04219534248113632, -0.044449515640735626, 0.05399454012513161, -0.0725562646985054, -0.011200432665646076, 0.001492510549724102, -0.02211909368634224, -0.01294389646500349, -0.036559902131557465, 0.007127948570996523, 0.020851120352745056, 0.038215313106775284, 0.05663615092635155, -0.017778046429157257, 0.03203394263982773, -0.01196650043129921, -0.018033402040600777, 0.05096549168229103, -0.021661214530467987, -0.06170804426074028, -0.03534476086497307, 0.033883072435855865, 0.0072996532544493675, -0.049239639192819595, 0.04106825217604637, 0.03178739175200462, 0.04768989235162735, 0.04564704746007919, 0.05128248408436775, -0.0022805912885814905, 0.022805912420153618, -0.04962707683444023, -0.019424650818109512, 0.02159077115356922, -0.004486336838454008, -0.06297601759433746, -0.002542551141232252, -0.03279120475053787, -0.04980318248271942, -0.0336012989282608, -0.04969751834869385, -0.022982019931077957, 0.0004925504908896983, 0.00013847822265233845, 0.031135793775320053, 0.02423238381743431, 0.003352645318955183, 0.09826795011758804, 0.047408122569322586, 0.02176687866449356, -0.014616916887462139, -0.041807904839515686, -0.001840322744101286, -0.030818801373243332, -0.01849128119647503, 0.0418783463537693, 0.03495732694864273, 0.01278540026396513, 0.020023414865136147, -0.012600487098097801, 0.01122684869915247, 0.026609834283590317, -0.013516245409846306, 0.012089775875210762, 0.02111528068780899, -0.0025337457191199064, 0.025975847616791725, -0.025324249640107155, 0.0022365644108504057, -0.03453466668725014, -0.022700248286128044, 0.0479012206196785, -0.010434365831315517, -0.08227739483118057, 0.01269734650850296, 0.03758132830262184, -0.014828246086835861, 0.04356897994875908, -0.02143227495253086, 0.0005745505332015455, 0.0405399315059185, 0.028617458418011665, -0.03733477741479874, -0.009976486675441265, 0.025447525084018707, 0.07125306874513626, -0.03198111057281494, -0.013014339841902256, -0.0171352531760931, -0.019829697906970978, -0.0024192759301513433, 0.009236834943294525, -0.0340239554643631, -0.03245659917593002, -0.017082421109080315, -0.012723762542009354, 0.02377450466156006, 0.016703790053725243, 0.01560311857610941, 0.008466364815831184, 0.015030769631266594, 0.03180500119924545, 0.023510342463850975, 0.01898438110947609, -0.047443341463804245, -0.0017269535455852747, -0.040328603237867355, -0.03606680408120155, -0.05533295497298241, 0.08079808950424194, 0.016545293852686882, -0.03228049352765083, 0.004233182407915592, -0.008334284648299217, 0.03747566044330597, -0.055755615234375, -0.0369473397731781, 0.09347783029079437, -0.021890154108405113, -0.02294679917395115, -0.008096539415419102, -0.016140246763825417, -0.013269695453345776, -0.0018766449065878987, -0.018068622797727585, -0.012917480431497097, 0.004422497935593128, 0.0017676784191280603, -0.04666846990585327, 0.0376165471971035, 0.00004144716149312444, -0.04437907412648201, -0.0042199743911623955, 0.0303433109074831, -0.006568807177245617, 0.02752559259533882, -0.028018692508339882, 0.045435719192028046, 0.035221487283706665, 0.04004682973027229, 0.060475293546915054, 0.052233465015888214, -0.06547674536705017, 0.012433185242116451, 0.05096549168229103, 0.027983471751213074, 0.005886390805244446, -0.09030789136886597, -0.04828865826129913, 0.07579664140939713, 0.04138524830341339, -0.016624541953206062, 0.004508350510150194, -0.05522729083895683, -0.012935090810060501, 0.005151142366230488, 0.007872002199292183, -0.0313471220433712, 0.030783580616116524, 0.04127958416938782, 0.059489089995622635, 0.036031581461429596, 0.026328060775995255, 0.04635147750377655, 0.02690921537578106, -0.024355657398700714, -0.05413542687892914, 0.017205696552991867, -0.05635438114404678, -0.008180190809071064, 0.020727844908833504, -0.002844135044142604, 0.040821705013513565, -0.0765715092420578, -0.011332513764500618, 0.04902831092476845, -0.009289667010307312, 0.03659512475132942, 0.011975305154919624, -0.09692953526973724, 0.03321386128664017, -0.009853211231529713, 0.01518926676362753, 0.043956417590379715, 0.03361890837550163, 0.004979437682777643, 0.028406130149960518, 0.023158127442002296, -0.06868190318346024, 0.030272867530584335, 0.006863787304610014, 0.02474309504032135, 0.049098752439022064, 0.011350124143064022, -0.00042788602877408266, -0.06533585488796234, -0.02062218077480793, 0.02078067697584629, -0.02571168541908264, 0.03164650499820709, 0.02837090753018856, -0.0014859065413475037, -0.03412961959838867, 0.02837090753018856, -0.004059276543557644, -0.050401948392391205, -0.016774233430624008, -0.03187544643878937, 0.0035441620275378227, 0.03467555344104767, -0.011270876042544842, 0.016844676807522774, -0.01097149308770895, -0.011341318488121033, 0.007370096165686846, -0.012494822964072227, 0.00852800253778696, 0.03099490888416767, -0.02690921537578106, 0.004349853843450546, -0.020217133685946465, -0.016827065497636795, 0.03083641268312931, 0.012556459754705429, 0.02062218077480793, 0.033072974532842636, 0.01701197773218155, -0.027613645419478416, -0.001413262216374278, -0.01977686583995819, 0.011904862709343433, -0.019724031910300255, -0.0788256898522377, -0.03235093504190445, -0.06558240950107574, 0.025817349553108215, 0.03962417319417, -0.005203974898904562, -0.02817719057202339, 0.0031391149386763573, 0.04783077910542488, 0.028335686773061752, 0.021150503307580948, -0.01762835495173931, 0.040856923907995224, -0.04906352981925011, -0.03446422517299652, -0.0333547480404377, -0.0008508190512657166, -0.043780308216810226, 0.045964039862155914, -0.020217133685946465, -0.06928066164255142, 0.06801269203424454, 0.0362781323492527, -0.013886071741580963, 0.07410600781440735, -0.04853520914912224, -0.00853680819272995, -0.0054020956158638, 0.050718940794467926, -0.033108197152614594, 0.024179551750421524, -0.020217133685946465, 0.029128169640898705, -0.06716737896203995, 0.032738372683525085, 0.031223848462104797, -0.05152903497219086, 0.04571748897433281, 0.02985021099448204, 0.04649236425757408, 0.028476571664214134, 0.06420876830816269, 0.037722211331129074, 0.011068352498114109, 0.01581444777548313, 0.021661214530467987, 0.05769279599189758, -0.01046078186482191, 0.026645055040717125, 0.007312861271202564, -0.00581154553219676, 0.009245640598237514, -0.0474785640835762, 0.03726433217525482, 0.03497493639588356, 0.018191898241639137, -0.058009788393974304, 0.014933910220861435, 0.010540029965341091, -0.005824753548949957, -0.009527412243187428, -0.0072776395827531815, -0.0613558292388916, -0.08009365946054459, 0.0201466903090477, 0.03807442635297775, -0.03691211715340614, 0.036031581461429596, -0.007409720215946436, -0.04142046719789505, -0.06709693372249603, 0.026627443730831146, -0.06850579380989075, 0.032597485929727554, 0.014317534863948822, 0.024848759174346924, 0.0034847259521484375, -0.022207148373126984, 0.05388887599110603, -0.06575851887464523, -0.021573161706328392, 0.02870551124215126, -0.03860275074839592, 0.034041568636894226, 0.08291137963533401, 0.03252704441547394, -0.026697887107729912, 0.028282854706048965, 0.01949509233236313, -0.0027913027442991734, 0.04064559563994408, -0.006251813843846321, -0.02060456946492195, 0.03511582314968109, 0.03634857386350632, 0.04272366315126419, 0.009007895365357399, -0.06308168172836304, 0.03534476086497307, -0.00840913038700819, -0.057481467723846436, 0.046738915145397186, -0.06086273118853569, -0.01997058279812336, 0.0023884570691734552, -0.08072765171527863, -0.03648946061730385, -0.039659395813941956, 0.004341048188507557, 0.004886981565505266, -0.07199271768331528, 0.046774134039878845, 0.012503627687692642, 0.016712594777345657, 0.025606021285057068, -0.044308632612228394, 0.03499254584312439, -0.027419928461313248, 0.047795556485652924, 0.008387116715312004, 0.04356897994875908, 0.008726123720407486, -0.052374351769685745, 0.05688270181417465, 0.010540029965341091, -0.0022134503815323114, 0.006309048738330603, 0.02719098888337612, -0.002125396626070142, 0.10629844665527344, 0.0012151412665843964, 0.018913937732577324, -0.020252354443073273, -0.0022134503815323114, -0.05163469910621643, 0.05145859345793724, 0.02592301368713379, -0.005873182788491249, 0.03303775563836098, -0.016210690140724182, 0.038532305508852005 ]
16,320
presidio_analyzer.analysis_explanation
__init__
null
def __init__( self, recognizer: str, original_score: float, pattern_name: str = None, pattern: str = None, validation_result: float = None, textual_explanation: str = None, regex_flags: int = None, ): self.recognizer = recognizer self.pattern_name = pattern_name self.pattern = pattern self.original_score = original_score self.score = original_score self.textual_explanation = textual_explanation self.score_context_improvement = 0 self.supportive_context_word = "" self.validation_result = validation_result self.regex_flags = regex_flags
(self, recognizer: str, original_score: float, pattern_name: Optional[str] = None, pattern: Optional[str] = None, validation_result: Optional[float] = None, textual_explanation: Optional[str] = None, regex_flags: Optional[int] = None)
[ 0.03402364253997803, -0.0340598002076149, 0.01479721162468195, 0.0038326315116137266, 0.0035275574773550034, -0.03382477909326553, 0.003120792331174016, 0.01496895682066679, 0.03236042708158493, 0.029974069446325302, 0.00231178174726665, 0.07061442732810974, -0.02963057905435562, 0.03058873675763607, -0.007683341391384602, 0.02764195017516613, 0.02950403094291687, 0.007407644763588905, -0.03548799827694893, 0.002336639678105712, -0.022109944373369217, 0.04866718873381615, -0.02919669635593891, 0.05832108110189438, 0.02022978477180004, 0.036934275180101395, -0.02079021744430065, -0.05137895420193672, -0.027876969426870346, -0.01044030487537384, -0.021332571282982826, -0.014074073173105717, -0.029974069446325302, 0.04393063485622406, -0.05575393885374069, -0.05936963111162186, -0.046425458043813705, 0.02556292898952961, -0.051668211817741394, 0.000827089068479836, 0.003441684879362583, 0.010042578913271427, -0.03973643481731415, 0.013188228942453861, -0.047980207949876785, 0.035939957946538925, -0.007918361574411392, -0.015158779919147491, 0.02196531742811203, -0.06388924270868301, -0.01876543089747429, -0.04718475416302681, -0.02279692515730858, 0.02556292898952961, -0.026665713638067245, 0.05112585797905922, 0.021603748202323914, 0.10131163150072098, 0.03270391747355461, -0.02963057905435562, -0.029992148280143738, 0.02807583287358284, 0.013965602964162827, 0.023538142442703247, -0.016794880852103233, -0.010729559697210789, -0.026159517467021942, 0.015909036621451378, 0.01889198087155819, 0.019054686650633812, 0.015583624131977558, -0.017481861636042595, -0.012573561631143093, 0.013911367394030094, 0.044870711863040924, 0.0434967502951622, -0.05513927340507507, -0.022019552066922188, 0.06284069269895554, 0.03279430791735649, 0.04219510406255722, 0.058248765766620636, 0.012944170273840427, -0.04501533880829811, 0.021079473197460175, -0.07498940825462341, -0.029974069446325302, -0.0737239196896553, 0.04519612342119217, 0.02968481555581093, -0.05466923117637634, 0.0030733365565538406, -0.028871284797787666, 0.03588572144508362, -0.01936201937496662, 0.0010061787907034159, 0.01941625587642193, -0.05083660036325455, 0.03894098103046417, 0.004474416375160217, -0.030136777088046074, 0.07498940825462341, -0.055175431072711945, 0.013676347211003304, -0.011497894302010536, -0.005586240906268358, 0.002980684395879507, -0.0343128964304924, 0.03179999440908432, 0.01954280398786068, -0.009265205822885036, 0.01876543089747429, -0.005495848599821329, 0.09212777763605118, -0.045738477259874344, -0.012700111605226994, -0.0613582581281662, -0.027660029008984566, -0.00048077377141453326, 0.022290728986263275, 0.026267988607287407, -0.007791812065988779, -0.041182707995176315, 0.05513927340507507, -0.03313779830932617, -0.01806941069662571, -0.0009666320984251797, 0.00003322621341794729, 0.04020647332072258, -0.035939957946538925, 0.01975974626839161, 0.020717903971672058, -0.016885273158550262, -0.006363614462316036, 0.0028224980924278498, 0.008361282758414745, 0.06045433506369591, 0.017301077023148537, -0.03735007718205452, -0.0012869596248492599, 0.03545184060931206, -0.008026831783354282, 0.02711767517030239, -0.035976115614175797, -0.025978732854127884, 0.014291014522314072, 0.006548918318003416, 0.02984752133488655, -0.01230238564312458, -0.0030936747789382935, -0.0009197411709465086, -0.009879873134195805, 0.019597040489315987, -0.006322938017547131, 0.0596950426697731, -0.006101476959884167, 0.03033563867211342, -0.053620681166648865, 0.005387377925217152, 0.02079021744430065, 0.05839339271187782, -0.047727108001708984, -0.021730296313762665, -0.015213015489280224, 0.04045956954360008, 0.02391778863966465, 0.01754513569176197, -0.05900806188583374, -0.028148146346211433, 0.010991697199642658, 0.01267299335449934, -0.03937486559152603, -0.06989128887653351, 0.04588310793042183, -0.011009776033461094, 0.07484478503465652, 0.0025309829507023096, 0.0656970888376236, 0.025725634768605232, 0.037060823291540146, 0.03930255025625229, 0.025852182880043983, -0.07802659273147583, -0.04262898489832878, 0.029793284833431244, -0.01624348759651184, -0.0060743591748178005, 0.07032517343759537, 0.0026959488168358803, 0.024369750171899796, 0.04678702726960182, -0.03283046558499336, 0.001023127231746912, -0.01711125299334526, -0.012266227975487709, -0.0014993814984336495, -0.019488569349050522, -0.02538214437663555, 0.030046384781599045, 0.016370035707950592, -0.02032017707824707, 0.030172932893037796, -0.00933751929551363, 0.025490613654255867, -0.03832631558179855, 0.030805679038167, -0.0038823471404612064, 0.06942124664783478, -0.07448321580886841, -0.047329381108284, -0.009445990435779095, -0.030805679038167, 0.037892431020736694, 0.040748827159404755, 0.03749470412731171, -0.041074238717556, 0.020772138610482216, 0.04020647332072258, 0.015484192408621311, 0.03843478485941887, 0.054307665675878525, -0.0069692423567175865, -0.026195673272013664, -0.018015176057815552, -0.009708127938210964, 0.012645876035094261, 0.036771565675735474, -0.029106304049491882, -0.04364137724041939, -0.015538427978754044, -0.023375436663627625, -0.1016732007265091, 0.020157471299171448, 0.01759937033057213, -0.009233568795025349, -0.01436332892626524, 0.041074238717556, 0.022670377045869827, -0.05354836955666542, -0.04736553877592087, 0.007208781782537699, 0.023104259744286537, -0.009825637564063072, -0.029883677139878273, 0.002098230179399252, 0.005721829365938902, 0.013640190474689007, 0.011009776033461094, 0.02950403094291687, -0.02326696552336216, 0.0125012481585145, -0.015095505863428116, -0.053620681166648865, 0.006702585145831108, -0.03735007718205452, -0.014715858735144138, -0.03763933479785919, -0.00286543439142406, 0.03196270018815994, 0.007371488027274609, -0.0001167331138276495, 0.054090723395347595, -0.0016473988071084023, 0.07195223122835159, -0.030968384817242622, -0.0031456502620130777, -0.007263017352670431, -0.0013321557780727744, 0.0095996567979455, -0.06844501197338104, 0.0656970888376236, -0.007583909668028355, 0.013558837585151196, 0.013622111640870571, -0.07744807749986649, -0.019163157790899277, -0.05503080040216446, 0.008858440443873405, 0.0004485715471673757, 0.013314777985215187, 0.08771663904190063, -0.010105853900313377, 0.010792834684252739, 0.0012101262109354138, 0.0869935005903244, 0.03807321563363075, 0.012682032771408558, 0.04060420021414757, -0.03995337337255478, -0.049932677298784256, -0.041399650275707245, 0.011082089506089687, 0.059550415724515915, 0.05506695806980133, 0.05083660036325455, 0.03179999440908432, -0.02630414441227913, -0.02447822131216526, 0.0025422819890081882, 0.00458062719553709, 0.00014646368799731135, -0.030733365565538406, 0.035506077110767365, -0.0016180212842300534, -0.08178690820932388, -0.009355598129332066, -0.01580960489809513, 0.014679701067507267, 0.02075405977666378, 0.010214324109256268, 0.04848640412092209, 0.028925519436597824, -0.012338542379438877, 0.011787149123847485, -0.024550534784793854, 0.001403339672833681, 0.05871880427002907, -0.023990103974938393, 0.03749470412731171, 0.033119719475507736, 0.0023253406397998333, -0.03205309063196182, -0.013730582781136036, -0.056910961866378784, 0.04067651182413101, -0.027135754004120827, -0.011000736616551876, -0.028347009792923927, 0.009545421227812767, 0.001944563235156238, -0.029992148280143738, -0.029395559802651405, -0.0075296745635569096, -0.039627961814403534, -0.04103808104991913, -0.04845024645328522, -0.010340873152017593, 0.012058326043188572, -0.014480838552117348, -0.02361045591533184, 0.029739050194621086, 0.01017816737294197, -0.05936963111162186, 0.02568947710096836, 0.039411019533872604, -0.027461165562272072, -0.02305002324283123, -0.061936769634485245, 0.061755985021591187, -0.06605865806341171, -0.02829277515411377, -0.09494801610708237, -0.003265419974923134, 0.004804348107427359, 0.04761863872408867, 0.0036315086763352156, -0.052355192601680756, -0.02460477128624916, 0.02686457708477974, -0.07527866959571838, -0.01889198087155819, -0.00333547405898571, -0.016885273158550262, -0.002024786313995719, -0.052680604159832, -0.042520515620708466, -0.014372367411851883, -0.003986298106610775, -0.004112847149372101, 0.005559123586863279, 0.015194937586784363, -0.009025665931403637, -0.05445229262113571, -0.018259234726428986, 0.007091272156685591, -0.03422250598669052, 0.006255143787711859, 0.02006707899272442, -0.014263897202908993, -0.025581005960702896, -0.00693308562040329, 0.08923523128032684, -0.00013255176600068808, 0.0017852468881756067, -0.03496372327208519, -0.029088225215673447, -0.07650800049304962, 0.06558861583471298, 0.0618644542992115, 0.04111039638519287, -0.04176121950149536, -0.010603010654449463, 0.016279643401503563, -0.07206070423126221, -0.004763671662658453, 0.00625062407925725, -0.03521681949496269, 0.029341325163841248, -0.06678179651498795, 0.018440019339323044, 0.028563950210809708, -0.015827683731913567, -0.05839339271187782, -0.019597040489315987, 0.030823757871985435, 0.069638192653656, 0.06649254262447357, 0.07694188505411148, -0.021332571282982826, 0.04714859649538994, 0.013350935652852058, -0.015502271242439747, -0.0050258091650903225, -0.047474008053541183, -0.09126001596450806, -0.0295944232493639, 0.029576344415545464, 0.011859463527798653, -0.014245818369090557, 0.021477198228240013, -0.004994171671569347, 0.04873950034379959, 0.03653654828667641, 0.05221056193113327, 0.03228811174631119, 0.061611358076334, 0.000967762025538832, -0.042918238788843155, 0.05347605422139168, -0.05532005801796913, -0.10781987756490707, 0.03387901559472084, -0.05456076189875603, -0.020175550132989883, -0.00538285868242383, -0.02279692515730858, -0.034077879041433334, 0.004709436092525721, -0.039917219430208206, -0.02422512322664261, 0.02404433861374855, -0.03800090029835701, 0.09849139302968979, 0.07484478503465652, -0.004474416375160217, -0.027226146310567856, -0.02556292898952961, 0.013567877002060413, -0.04635314643383026, -0.03510835021734238, 0.021332571282982826, 0.04935416951775551, -0.013884250074625015, 0.05347605422139168, -0.0010135230841115117, -0.00004237136818119325, -0.008442636579275131, 0.011588286608457565, 0.015872878953814507, -0.031257640570402145, -0.01447179913520813, 0.014896642416715622, -0.005812221672385931, 0.0030258805491030216, -0.058465708047151566, 0.054994646459817886, 0.06566093116998672, 0.00047484179958701134, -0.05224671959877014, -0.027244223281741142, 0.00875448901206255, 0.010431265458464622, 0.021585669368505478, -0.03579533100128174, -0.026846498250961304, 0.03617497906088829, 0.0059794471599161625, -0.03821784257888794, 0.015023192390799522, 0.026448773220181465, 0.042267415672540665, -0.026701871305704117, 0.004616784397512674, 0.004112847149372101, -0.005428054835647345, -0.009215489961206913, -0.04320749640464783, -0.04765479266643524, -0.035596467554569244, 0.016740644350647926, -0.03785627335309982, 0.05311448499560356, -0.006006564944982529, 0.008456194773316383, -0.0023276004940271378, 0.027750421315431595, 0.024532455950975418, 0.0408211387693882, 0.017409548163414, 0.006368134170770645, -0.012889934703707695, -0.0434967502951622, -0.07404933124780655, -0.04233973100781441, 0.06909583508968353, -0.034421369433403015, -0.04631698876619339, -0.01685815490782261, -0.028093911707401276, 0.016623135656118393, -0.03919408097863197, -0.017382429912686348, 0.03774780407547951, -0.009473107755184174, -0.0015163299394771457, 0.007412164472043514, -0.020735982805490494, -0.007326291874051094, -0.03471062332391739, 0.00005476499063661322, -0.0362292155623436, 0.031221482902765274, 0.009870833717286587, -0.06566093116998672, 0.04613620415329933, -0.01423677895218134, -0.01551130972802639, 0.015909036621451378, 0.08952448517084122, -0.00522015243768692, 0.02444206364452839, -0.05741715803742409, 0.015881918370723724, 0.053439896553754807, 0.02664763480424881, 0.058899588882923126, 0.038796354085206985, -0.03037179633975029, -0.01110920775681734, 0.04501533880829811, 0.023411592468619347, 0.02850971557199955, -0.04121886566281319, -0.06486547738313675, 0.022326886653900146, 0.009170293807983398, -0.035903800278902054, 0.023248886689543724, -0.016668330878019333, -0.013495562598109245, -0.0008677656296640635, -0.06486547738313675, -0.09624966979026794, 0.0076471841894090176, 0.01876543089747429, 0.02832893095910549, 0.00933751929551363, 0.01802421547472477, 0.0389048233628273, 0.009545421227812767, -0.022019552066922188, -0.017825352028012276, 0.02646685019135475, -0.004912818782031536, -0.008261851966381073, -0.010955540463328362, -0.017644567415118217, 0.0071861837059259415, -0.0691319927573204, -0.00024038688570726663, 0.04649777337908745, -0.028274696320295334, 0.054741546511650085, 0.04233973100781441, -0.10442112386226654, 0.024677084758877754, 0.00805846881121397, 0.020826375111937523, 0.008279929868876934, 0.032776229083538055, 0.024803632870316505, 0.005559123586863279, -0.017273958772420883, -0.06623943895101547, -0.01523109432309866, -0.03028140403330326, 0.016541780903935432, 0.0042484356090426445, -0.050619661808013916, -0.011497894302010536, -0.005346701480448246, 0.0035320771858096123, 0.028238538652658463, -0.0014700039755553007, -0.02699112519621849, 0.002101619727909565, -0.003572753630578518, -0.04736553877592087, 0.05206593498587608, -0.0014948617899790406, -0.020609432831406593, 0.019000450149178505, -0.05246366187930107, 0.01293513085693121, 0.044689927250146866, 0.022128023207187653, -0.014544112607836723, 0.003152429824694991, -0.023068102076649666, 0.00866861641407013, 0.005604319274425507, 0.003389709396287799, 0.027280380949378014, -0.0030936747789382935, 0.017273958772420883, 0.0025490615516901016, 0.005387377925217152, 0.017572253942489624, 0.006562477443367243, 0.01923547126352787, 0.01755417510867119, 0.009048264473676682, -0.023031944409012794, 0.0053331428207457066, 0.0013118175556883216, -0.016098860651254654, -0.02738885208964348, -0.07285615056753159, -0.05488617345690727, -0.04581079259514809, 0.034457527101039886, -0.01889198087155819, -0.010196246206760406, -0.053403742611408234, -0.010042578913271427, 0.045123811811208725, 0.006458526477217674, 0.02494826167821884, 0.027660029008984566, 0.012573561631143093, -0.04280976951122284, 0.0026552723720669746, 0.012636836618185043, -0.00957253947854042, -0.06284069269895554, -0.018512332811951637, -0.03120340406894684, -0.026701871305704117, 0.05965888500213623, 0.07585717737674713, -0.0074980370700359344, 0.07039748132228851, -0.01479721162468195, 0.026665713638067245, -0.00590261397883296, 0.04902875795960426, -0.009364637546241283, 0.015800565481185913, 0.026973048225045204, 0.008984989486634731, -0.12503056228160858, 0.05947810038924217, 0.09429719299077988, -0.010774755850434303, 0.013631151057779789, 0.02652108669281006, 0.04595541954040527, -0.022290728986263275, -0.007073193788528442, 0.044870711863040924, -0.030172932893037796, 0.02491210401058197, 0.007733056787401438, 0.04704012721776962, 0.0002789448481053114, 0.03425866365432739, -0.00002591715383459814, -0.017129331827163696, 0.06508242338895798, -0.013757700100541115, 0.012582601048052311, 0.034077879041433334, -0.0009491186356171966, -0.08858440816402435, 0.013387092389166355, 0.03588572144508362, -0.04743785411119461, 0.028347009792923927, 0.03487332910299301, -0.03194462135434151, -0.0637807697057724, 0.03973643481731415, 0.014824328944087029, -0.06678179651498795, -0.003321915166452527, 0.014074073173105717, -0.0461723618209362, -0.09198315441608429, 0.04129118099808693, -0.051017384976148605, 0.017228763550519943, 0.04396678879857063, -0.02928708866238594, -0.014914721250534058, -0.037892431020736694, 0.022344963625073433, -0.042701300233602524, -0.0070325168780982494, 0.020989080891013145, -0.06446775048971176, 0.048160992562770844, 0.02183876745402813, 0.0059794471599161625, 0.0017841170774772763, -0.01954280398786068, 0.020392492413520813, 0.04866718873381615, 0.025201359763741493, 0.012148718349635601, -0.022001473233103752, 0.05506695806980133, -0.011877541430294514, 0.04020647332072258, 0.024297436699271202, -0.008627939969301224, -0.018566567450761795, -0.040278784930706024, -0.03651846945285797, 0.08091913908720016, -0.053620681166648865, -0.000013452909115585499, 0.03219772130250931, -0.061032846570014954, -0.04186968877911568, -0.04212278872728348, -0.03353552520275116, 0.044292204082012177, -0.05199362337589264, 0.08026831597089767, 0.07043363898992538, -0.0037286803126335144, 0.02352006360888481, -0.013956563547253609, 0.028780892491340637, 0.001032166532240808, 0.06548014283180237, -0.007086752448230982, 0.019994765520095825, -0.0030100620351731777, -0.007177144754678011, -0.008157900534570217, -0.03339089825749397, 0.00786412600427866, 0.03908560797572136, -0.00992506928741932, -0.01336901355534792, 0.0673603042960167, -0.002316301455721259, 0.012094482779502869, 0.0006050631054677069, -0.0065398793667554855, -0.04389447718858719, 0.05394609645009041, -0.00009293453331338242, -0.01789766550064087, 0.03447560593485832, 0.043171338737010956, 0.026539165526628494 ]
16,321
presidio_analyzer.analysis_explanation
__repr__
Create string representation of the object.
def __repr__(self): """Create string representation of the object.""" return str(self.__dict__)
(self)
[ 0.02027260884642601, -0.04532148689031601, 0.04493230953812599, -0.02089175581932068, 0.023845966905355453, -0.05819972604513168, -0.009366794489324093, 0.0034849075600504875, 0.04903636500239372, -0.038387052714824677, -0.031063439324498177, 0.001941464957781136, -0.013762731105089188, 0.05239744111895561, -0.03700724244117737, 0.03916540741920471, -0.0024832177441567183, -0.0666201114654541, -0.011542650870978832, 0.002452260348945856, 0.01301975641399622, 0.021015584468841553, 0.03771483525633812, -0.009853266179561615, -0.011259612627327442, 0.013055135495960712, -0.015257527120411396, 0.0005821078084409237, -0.01857438124716282, 0.012011433020234108, -0.06683238595724106, -0.07005194574594498, 0.026110270991921425, 0.008044475689530373, -0.011233077384531498, 0.01502755843102932, -0.034796006977558136, 0.03375230357050896, -0.06226839870214462, -0.008920124731957912, 0.024730460718274117, 0.027437012642621994, -0.040615979582071304, -0.033380813896656036, -0.011463046073913574, -0.014258048497140408, 0.04121743515133858, 0.01563785970211029, -0.0102778235450387, -0.07479283958673477, 0.0262164119631052, 0.016991134732961655, -0.00566076347604394, 0.009543693624436855, -0.06400200724601746, 0.013868870213627815, 0.02821536920964718, 0.0238636564463377, -0.013833491131663322, 0.03813939541578293, -0.04896560311317444, 0.0373256579041481, 0.035362083464860916, -0.04401243478059769, -0.020714856684207916, -0.046382881700992584, -0.06226839870214462, 0.02121017314493656, -0.008203684352338314, -0.009605607949197292, 0.019688842818140984, -0.0067973388358950615, -0.011418821290135384, 0.03916540741920471, -0.02561495453119278, -0.04801034927368164, -0.03382306173443794, -0.0046170600689947605, 0.02301454171538353, -0.05374187231063843, -0.010790830478072166, -0.030833471566438675, -0.03606967628002167, -0.010649311356246471, -0.011003108695149422, -0.05873042345046997, -0.02504887804389, -0.021864699199795723, -0.038387052714824677, 0.029665939509868622, -0.01734493300318718, 0.04967319965362549, -0.018645139411091805, 0.04896560311317444, -0.05126528814435005, -0.03502597287297249, 0.006788493599742651, -0.04482617229223251, 0.06463884562253952, -0.009154516272246838, 0.008084277622401714, 0.013125895522534847, -0.06856600195169449, 0.011754929088056087, -0.07121948152780533, -0.0243412833660841, -0.03596353903412819, -0.00036651233676820993, 0.0067929164506495, 0.013293948955833912, -0.013479692861437798, 0.051902126520872116, -0.017504142597317696, -0.007898533716797829, 0.05349421501159668, -0.06534644216299057, -0.02239539660513401, -0.002245509997010231, 0.046948958188295364, -0.027808500453829765, -0.009941715747117996, 0.02508425898849964, -0.038634710013866425, 0.00152685830835253, -0.018309032544493675, 0.04185426980257034, -0.023138370364904404, -0.002073033479973674, 0.0012371863704174757, -0.07129023969173431, 0.031541068106889725, -0.027808500453829765, -0.05126528814435005, 0.048647187650203705, 0.06555871665477753, 0.0059968712739646435, 0.03564511984586716, -0.00301170302554965, 0.03251400962471962, 0.10281361639499664, 0.022660743445158005, -0.02225387655198574, 0.011118093505501747, 0.05165446549654007, -0.002735298592597246, -0.03184179589152336, -0.00020619772840291262, 0.06375434994697571, -0.00871669128537178, -0.048081111162900925, 0.05161908641457558, 0.030090495944023132, 0.047231994569301605, -0.01672578789293766, -0.01979498192667961, 0.016655027866363525, -0.022713813930749893, -0.04673667997121811, 0.016787702217698097, -0.04755041375756264, -0.03902388736605644, -0.02878144383430481, 0.004510920960456133, -0.054838646203279495, 0.007093644235283136, 0.02041412889957428, 0.04627674072980881, -0.05253896117210388, 0.022236187011003494, -0.0020387594122439623, -0.05689067393541336, -0.08668044209480286, -0.07804777473211288, 0.04312794283032417, -0.0006274381303228438, 0.04786883294582367, 0.003723721019923687, 0.10741298645734787, -0.0326201505959034, -0.0027330873999744654, 0.045569147914648056, -0.06983967125415802, -0.08208107203245163, 0.022996852174401283, 0.06463884562253952, -0.06085320934653282, 0.04319870099425316, 0.007235163357108831, 0.04507382959127426, 0.018751278519630432, 0.004643595311790705, 0.004709932021796703, -0.026145651936531067, 0.007628763560205698, 0.0009674156317487359, -0.042597245424985886, -0.011878758668899536, -0.048222631216049194, -0.014965643174946308, 0.04985009878873825, -0.007151136640459299, 0.025685714557766914, -0.016283540055155754, -0.007597805932164192, 0.04220806807279587, -0.014629535377025604, -0.010056700557470322, -0.027065524831414223, 0.03193024545907974, -0.04135895520448685, -0.000357667391654104, 0.010286668315529823, 0.0032018693163990974, 0.004112898372113705, 0.05593542009592056, -0.02211235836148262, -0.02230694703757763, -0.0382809117436409, -0.05112377181649208, 0.025791853666305542, 0.05519244447350502, -0.012745562940835953, -0.015956277027726173, -0.038210153579711914, -0.07627879083156586, -0.027100905776023865, 0.0062445299699902534, -0.004528610967099667, 0.0005483864806592464, -0.048081111162900925, 0.037502557039260864, -0.03898850828409195, -0.021086344495415688, 0.026340240612626076, 0.027490083128213882, 0.05222054198384285, -0.032248660922050476, -0.0003203527885489166, -0.022218497470021248, -0.002088512061163783, -0.005806704983115196, 0.032443251460790634, 0.01053432747721672, -0.021723181009292603, 0.039342306554317474, -0.018167512491345406, 0.01776064559817314, 0.06258681416511536, -0.047090478241443634, -0.045675285160541534, 0.03944844752550125, -0.04804573208093643, -0.03350464254617691, -0.02892296388745308, 0.03152337670326233, -0.07242239266633987, -0.0316472053527832, 0.0033190648537129164, 0.03721952065825462, 0.04563990607857704, -0.019317355006933212, 0.02098020538687706, -0.015177922323346138, 0.05600617825984955, 0.046948958188295364, 0.009888646192848682, -0.05689067393541336, 0.02149321138858795, -0.031965624541044235, 0.02236001566052437, 0.14137756824493408, -0.007465132046490908, -0.05547548085451126, 0.05965029448270798, -0.042844902724027634, -0.050911493599414825, -0.011781464330852032, -0.005196404177695513, -0.05646611750125885, -0.038104016333818436, 0.005329078063368797, -0.014390721917152405, 0.02078561671078205, -0.013382398523390293, 0.006611594930291176, -0.020591028034687042, -0.0009242965606972575, 0.03927154839038849, 0.02892296388745308, 0.021139413118362427, 0.06421428918838501, 0.020484888926148415, -0.0015578155871480703, 0.020661786198616028, 0.04408319666981697, -0.01056086178869009, 0.008898012340068817, 0.023633688688278198, -0.018928177654743195, 0.020591028034687042, 0.025791853666305542, -0.008889167569577694, 0.04655978083610535, 0.05122990906238556, -0.04199578985571861, 0.0005635886918753386, -0.0019525211537256837, 0.03743179887533188, 0.010118614882230759, 0.006470075808465481, 0.011038488708436489, 0.01762797124683857, 0.058235105127096176, 0.13161274790763855, -0.005753635428845882, 0.022271566092967987, -0.016142021864652634, -0.03221328184008598, 0.03194793313741684, 0.08186879009008408, -0.052043646574020386, 0.017742956057190895, 0.0014140852726995945, 0.004165968392044306, 0.036370404064655304, -0.04641826078295708, -0.04263262450695038, 0.06676162779331207, 0.034707557410001755, 0.028604546561837196, -0.01738915778696537, -0.044153954833745956, 0.03941306471824646, 0.05310503765940666, -0.005209671333432198, 0.003162067150697112, 0.007580116391181946, 0.007115756627172232, -0.05590004101395607, -0.05452022701501846, 0.08264714479446411, 0.04896560311317444, -0.02547343634068966, -0.019830362871289253, -0.022130047902464867, 0.026304859668016434, -0.015124852769076824, 0.02768467180430889, 0.03606967628002167, 0.004409204237163067, -0.05321117863059044, 0.000661159516312182, 0.020396439358592033, 0.018627449870109558, -0.04571066424250603, -0.00610743323341012, 0.006890210788697004, 0.027242423966526985, -0.045250728726387024, 0.0020155413076281548, 0.0481872484087944, -0.0031532221473753452, -0.027100905776023865, 0.00039691681740805507, -0.019264286383986473, -0.0021415818482637405, 0.0025893570855259895, 0.0014793167356401682, 0.060640931129455566, -0.01531059667468071, -0.05098225176334381, 0.010569706559181213, -0.041889648884534836, -0.02145783230662346, -0.03895312920212746, 0.02881682477891445, -0.0026402154471725225, 0.039766862988471985, -0.026517139747738838, -0.04107591509819031, 0.04917788505554199, -0.011993742547929287, 0.016973445191979408, 0.0354505330324173, 0.0022554604802280664, -0.011436511762440205, 0.02612796239554882, 0.026853246614336967, 0.01060508657246828, 0.004900098312646151, -0.057916685938835144, -0.016787702217698097, -0.016000501811504364, -0.000937563949264586, -0.01053432747721672, -0.05996871367096901, 0.04620598256587982, -0.0155936349183321, -0.09163361042737961, 0.00916336104273796, 0.03221328184008598, -0.018362101167440414, -0.01733608916401863, -0.021334001794457436, -0.017088430002331734, 0.02021954022347927, 0.041182056069374084, 0.0013831279939040542, 0.016902687028050423, -0.051725227385759354, 0.0023107414599508047, -0.02258998528122902, -0.0817272737622261, -0.08335474133491516, 0.06248067691922188, -0.02711859531700611, 0.0028325929306447506, 0.003564512124285102, 0.021563971415162086, 0.008464610204100609, -0.01970653235912323, 0.04192503169178963, 0.01638967916369438, 0.04786883294582367, -0.03304470703005791, 0.02665865793824196, -0.029736697673797607, 0.048647187650203705, 0.08208107203245163, 0.02711859531700611, -0.038210153579711914, -0.017512986436486244, 0.007951604202389717, -0.015558254905045033, 0.041040536016225815, -0.05816434696316719, 0.029984356835484505, -0.042031168937683105, -0.03318622708320618, 0.10543172061443329, 0.030072806403040886, -0.045392248779535294, 0.00021393706265371293, -0.0015666605904698372, 0.016663873568177223, 0.012966686859726906, -0.04422471672296524, -0.015372510999441147, 0.08045360445976257, 0.004625905305147171, 0.045250728726387024, 0.02168780006468296, 0.03493752330541611, -0.032195594161748886, -0.022802263498306274, -0.045569147914648056, -0.007062687072902918, -0.04121743515133858, -0.017141500487923622, -0.0034362603910267353, -0.04815186932682991, 0.027100905776023865, -0.004931055940687656, 0.021581660956144333, -0.01225909125059843, 0.0003850314242299646, 0.027065524831414223, 0.03010818548500538, -0.07111334055662155, -0.004612637683749199, 0.04769193381071091, 0.03269090875983238, -0.04903636500239372, -0.047231994569301605, -0.019635774195194244, 0.05501554533839226, -0.018397482112050056, -0.00711133424192667, -0.0453568696975708, -0.04380015656352043, -0.06502801924943924, -0.07684486359357834, -0.0018353257328271866, 0.020714856684207916, -0.022501535713672638, 0.03729027882218361, 0.02069716714322567, 0.03898850828409195, 0.014886039309203625, 0.02168780006468296, -0.011922983452677727, 0.061313144862651825, -0.07882612943649292, -0.018273651599884033, 0.010304358787834644, 0.035185184329748154, -0.04238496720790863, -0.003717087209224701, -0.07295309007167816, -0.028958342969417572, 0.003465006360784173, -0.009729437530040741, 0.003387613222002983, 0.002584934700280428, 0.010967729613184929, -0.014912573620676994, 0.05756288766860962, 0.02863992564380169, -0.004132799804210663, -0.023368339985609055, 0.029117552563548088, -0.036264266818761826, 0.03520287200808525, 0.0011940672993659973, -0.0033279098570346832, -0.011418821290135384, -0.007717212662100792, 0.0082700215280056, -0.034619107842445374, -0.013479692861437798, 0.036175817251205444, 0.02711859531700611, -0.029365211725234985, -0.02106865495443344, -0.04199578985571861, 0.03573356941342354, -0.01615971140563488, 0.015761688351631165, -0.014647225849330425, 0.09368563443422318, 0.020166469737887383, 0.0011686381185427308, 0.0005265505169518292, 0.01928197592496872, -0.02655251882970333, 0.08795411139726639, -0.060180991888046265, 0.0023571772035211325, -0.0003994044673163444, 0.030178945511579514, 0.05073459446430206, -0.026994766667485237, 0.01016283966600895, -0.02948904037475586, 0.029789768159389496, -0.037254899740219116, 0.017778335139155388, -0.007036152295768261, 0.005718255881220102, -0.019635774195194244, 0.02886989340186119, -0.04082825779914856, 0.0006136179435998201, -0.02816229872405529, -0.014019235037267208, 0.0614192858338356, 0.024447422474622726, 0.01446148194372654, 0.016955755650997162, 0.03364616259932518, 0.006952125113457441, 0.019299665465950966, 0.05250358209013939, -0.03247863054275513, 0.008477877825498581, 0.05207902565598488, 0.009313724935054779, 0.05381263419985771, 0.0031753345392644405, -0.030267395079135895, 0.00392052112147212, -0.011029643937945366, 0.052291303873062134, 0.028852203860878944, -0.0233860295265913, 0.04627674072980881, 0.007920646108686924, 0.055121686309576035, 0.008026786148548126, -0.023615997284650803, -0.02145783230662346, 0.014868348836898804, -0.032602459192276, -0.039483826607465744, -0.028091538697481155, -0.0029519996605813503, -0.03010818548500538, 0.0061383903957903385, 0.032673221081495285, -0.0538833923637867, -0.05218516290187836, -0.0010359640000388026, -0.02154628187417984, -0.008707846514880657, 0.07684486359357834, -0.05023927614092827, 0.008818408474326134, -0.020431818440556526, -0.005156601779162884, 0.017176879569888115, 0.025314226746559143, 0.020944824442267418, 0.03477831557393074, 0.029842838644981384, 0.02655251882970333, 0.005842084996402264, 0.004444583784788847, 0.028763754293322563, -0.013585832901299, 0.01975960284471512, -0.042455725371837616, 0.012621733359992504, 0.0042124041356146336, -0.06085320934653282, -0.011303837411105633, -0.0524328239262104, -0.020484888926148415, 0.02722473442554474, -0.032673221081495285, 0.045816805213689804, 0.03405303135514259, 0.03127571940422058, -0.043163321912288666, 0.029453659430146217, -0.017221104353666306, 0.0011288358364254236, 0.007624340709298849, -0.040049903094768524, 0.04985009878873825, -0.048788703978061676, 0.02982514724135399, 0.022766882553696632, -0.004062040243297815, -0.057527508586645126, -0.04740889370441437, -0.014275738038122654, 0.027277804911136627, 0.014886039309203625, -0.03341619297862053, 0.06764612346887589, 0.008898012340068817, -0.016407368704676628, -0.0737314447760582, 0.010366273112595081, -0.04249110817909241, 0.011498426087200642, -0.011852223426103592, -0.07762321829795837, 0.045250728726387024, -0.05519244447350502, -0.026764797046780586, 0.01625700481235981, 0.01193182822316885, 0.011233077384531498, -0.009411019273102283, 0.015107162296772003, -0.018344411626458168, 0.02722473442554474, -0.04072211682796478, 0.017804870381951332, -0.036122746765613556, -0.0276492927223444, -0.04079287871718407, -0.06011023372411728, 0.06555871665477753, 0.05073459446430206, -0.06789378076791763, 0.009464088827371597, 0.001358804409392178, -0.03849319368600845, -0.004886831156909466, 0.04815186932682991, -0.016292385756969452, -0.03316853567957878, -0.06545257568359375, 0.019547324627637863, -0.002989590633660555, 0.010640466585755348, 0.0283568874001503, -0.03746717795729637, 0.018132133409380913, 0.003489329945296049, -0.032602459192276, -0.035839710384607315, 0.013868870213627815, 0.03789173439145088, -0.01502755843102932, 0.01112693827599287, -0.009043954312801361, -0.07175017893314362, -0.05002699792385101, -0.04029756039381027, -0.013196654617786407, 0.016619648784399033, 0.047090478241443634, -0.008110812865197659, 0.032054074108600616, -0.05098225176334381, 0.042278826236724854, -0.01857438124716282, 0.029984356835484505, 0.03143492713570595, 0.042880285531282425, 0.005594426300376654, 0.036370404064655304, 0.026340240612626076, 0.021847009658813477, 0.006434696260839701, 0.03548591211438179, -0.025172708556056023, 0.013736196793615818, 0.12227249145507812, 0.01273671817034483, -0.04655978083610535, 0.005218516569584608, -0.012869392521679401, 0.018786659464240074, 0.05501554533839226, -0.035892777144908905, -0.003555667120963335, -0.012161796912550926, 0.0013400089228525758, 0.056819915771484375, -0.01719456911087036, 0.0359104685485363, 0.07790625840425491, -0.05041617527604103, -0.054838646203279495, -0.032248660922050476, -0.00727496575564146, 0.006775226444005966, 0.024040555581450462, -0.05066383257508278, -0.003732566023245454, 0.009304880164563656, -0.012559819035232067, 0.022342326119542122, -0.029842838644981384, 0.029701318591833115, 0.049213264137506485, -0.010950039140880108, 0.03033815510571003, 0.015460960566997528, 0.020060330629348755, 0.01164878997951746, -0.00666466448456049, 0.03665344417095184, 0.0632944107055664, -0.005696143489331007, 0.03005511686205864, 0.06403739005327225, 0.049354780465364456, -0.03231942281126976, 0.024164384230971336, 0.055970799177885056, -0.021581660956144333, 0.0034362603910267353, 0.02703014574944973, 0.0415712334215641, -0.031204959377646446, -0.07684486359357834, -0.05207902565598488, 0.025968752801418304, 0.016663873568177223, -0.01843286119401455, 0.07068878412246704, 0.0063860490918159485, -0.0255265049636364 ]
16,322
presidio_analyzer.analysis_explanation
append_textual_explanation_line
Append a new line to textual_explanation field.
def append_textual_explanation_line(self, text: str) -> None: """Append a new line to textual_explanation field.""" if self.textual_explanation is None: self.textual_explanation = text else: self.textual_explanation = "{}\n{}".format(self.textual_explanation, text)
(self, text: str) -> NoneType
[ -0.04016144946217537, -0.01170348934829235, 0.048785071820020676, 0.06853140890598297, 0.02942591719329357, -0.0532904751598835, 0.013322618789970875, -0.004353610333055258, 0.03364973142743111, 0.029883496463298798, 0.02558928355574608, -0.013120227493345737, -0.01781042292714119, 0.01602410152554512, -0.015276134014129639, 0.0062081292271614075, -0.04537082090973854, -0.10235713422298431, -0.03444169834256172, -0.04554681479930878, 0.014624961651861668, 0.010990720242261887, -0.017502436414361, -0.0059045422822237015, 0.03438889980316162, 0.07870376855134964, 0.011641892604529858, -0.033878523856401443, -0.0011428501456975937, 0.012953034602105618, -0.0011384503450244665, -0.07645106315612793, -0.037943944334983826, 0.006296125240623951, 0.009177999570965767, 0.026715634390711784, -0.03857751563191414, -0.02650444395840168, -0.007827258668839931, -0.0069076986983418465, 0.00039240787737071514, 0.06814422458410263, 0.016710471361875534, 0.008350836113095284, -0.059239014983177185, -0.026011666283011436, 0.013780198991298676, 0.039703868329524994, -0.0078008598648011684, -0.07032652944326401, 0.018848778679966927, 0.011175512336194515, 0.0024858915712684393, 0.028000378981232643, -0.04125260189175606, -0.03533925861120224, 0.008051648736000061, -0.0018545191269367933, 0.010691533796489239, -0.060189373791217804, -0.013692202977836132, 0.012398659251630306, 0.004212816245853901, 0.0060409363359212875, 0.012169869616627693, 0.02354777231812477, -0.02636365033686161, 0.02608206309378147, 0.06610271334648132, -0.01571611501276493, -0.014994545839726925, -0.006432519294321537, -0.0501578114926815, -0.026856428012251854, 0.0015113340923562646, 0.00003172674041707069, -0.0351104699075222, 0.05072098597884178, 0.030693061649799347, -0.00033438540413044393, -0.012847439385950565, 0.017370441928505898, 0.043716493993997574, -0.010682733729481697, 0.013569008558988571, -0.05744389444589615, 0.013384216465055943, -0.02073189616203308, 0.03723997622728348, -0.020168719813227654, -0.002752079861238599, -0.03611362352967262, -0.03136183321475983, 0.045687608420848846, 0.009661978110671043, -0.05297368764877319, 0.028493156656622887, -0.073142409324646, 0.014202580787241459, 0.014836153015494347, -0.035937633365392685, 0.0583590529859066, 0.06145652011036873, -0.033456139266490936, 0.02059110254049301, -0.06216048821806908, 0.010418745689094067, -0.03548005223274231, 0.04470204934477806, 0.051600947976112366, 0.01741444133222103, -0.10749611258506775, -0.04040783643722534, -0.027912382036447525, 0.003638641210272908, 0.05248090997338295, -0.04547641798853874, -0.013234622776508331, 0.046673163771629333, -0.011025918647646904, 0.033262550830841064, -0.06768664717674255, -0.03496967628598213, -0.026187658309936523, -0.04635637626051903, 0.0031722616404294968, -0.013788998126983643, 0.005156575236469507, 0.00269268243573606, -0.11897081136703491, -0.006916498299688101, 0.0076600657775998116, 0.0381903350353241, -0.0036848392337560654, -0.00676690461114049, 0.03285776823759079, 0.001183548360131681, 0.02597646601498127, 0.042519744485616684, 0.036606404930353165, -0.01370980218052864, 0.024533329531550407, 0.013701002113521099, 0.011457100510597229, 0.011773886159062386, -0.006450118497014046, -0.06363882124423981, 0.07191046327352524, -0.030781056731939316, 0.0018864177400246263, -0.008342036046087742, -0.003953227773308754, -0.021048681810498238, -0.0006748205632902682, 0.019904732704162598, 0.024040551856160164, -0.018408797681331635, -0.03417770937085152, 0.04280133172869682, 0.003913629334419966, 0.03699358552694321, -0.052692100405693054, 0.10094919800758362, 0.033737730234861374, -0.03261137753725052, 0.06758105009794235, -0.015557721257209778, -0.035656046122312546, -0.005710951052606106, 0.05638794228434563, 0.012477856129407883, -0.03519846498966217, 0.019253559410572052, 0.02374136447906494, -0.057232704013586044, 0.06863700598478317, 0.01265384815633297, 0.05378325283527374, 0.006445718929171562, -0.02812357246875763, -0.04741233214735985, 0.0054073641076684, -0.05061539262533188, -0.009873169474303722, 0.04047823324799538, -0.029249923303723335, -0.0036364414263516665, -0.01599770225584507, 0.03716957941651344, 0.00806924793869257, -0.014246578328311443, -0.012064273469150066, 0.008786416612565517, -0.0381903350353241, -0.02889793924987316, -0.06673628836870193, 0.05519119277596474, -0.05969659611582756, -0.001172548858448863, 0.005332567263394594, -0.022562215104699135, 0.009978764690458775, -0.01110511552542448, 0.02416374534368515, 0.036606404930353165, 0.027630794793367386, -0.02455092966556549, 0.02143586426973343, -0.05818306282162666, -0.0011329505359753966, 0.02444533444941044, 0.005046579986810684, 0.002061309991404414, 0.009380390867590904, 0.037662357091903687, -0.0055085597559809685, 0.004406407941132784, 0.031485024839639664, -0.049207452684640884, 0.02770119160413742, 0.0015553322155028582, -0.04427966848015785, -0.004364609718322754, -0.002097608521580696, 0.009415589272975922, -0.011201911605894566, 0.020450307056307793, 0.04815150052309036, -0.008201242424547672, -0.002224103081971407, -0.022421421483159065, 0.040900614112615585, -0.07666225731372833, -0.011034718714654446, -0.004654997028410435, 0.0067405058071017265, -0.03769755735993385, -0.008496029302477837, 0.02544848993420601, 0.024269340559840202, -0.030974648892879486, 0.056035954505205154, 0.024586128070950508, 0.023318983614444733, -0.041569385677576065, -0.01764323003590107, 0.0037354370579123497, 0.03291056305170059, 0.0038432322908192873, -0.03298095986247063, 0.015434526838362217, 0.01509134192019701, -0.023794163018465042, -0.014096985571086407, 0.04044303670525551, 0.04456125572323799, 0.028070775792002678, 0.00006286913412623107, 0.009494786150753498, -0.03199540451169014, 0.05677512288093567, 0.010541940107941628, -0.034600090235471725, 0.007730462588369846, -0.013780198991298676, -0.03255857899785042, -0.05237531661987305, 0.022984597831964493, 0.009829171001911163, -0.028440359979867935, 0.08299797773361206, 0.0666658952832222, 0.010401146486401558, -0.045054033398628235, 0.02059110254049301, 0.03467048704624176, 0.0351104699075222, 0.031485024839639664, -0.06511715799570084, 0.013639405369758606, 0.0165872760117054, 0.00611133361235261, 0.051213767379522324, 0.011879481375217438, -0.0012528453953564167, -0.0120554743334651, 0.0009228597627952695, 0.023318983614444733, 0.016798466444015503, -0.02798277884721756, 0.058570243418216705, 0.05867584049701691, 0.03275217115879059, 0.05469841510057449, 0.03618402034044266, 0.0307458583265543, -0.00877761747688055, 0.04716594144701958, -0.045969195663928986, -0.043294113129377365, -0.008298038505017757, 0.01825040392577648, 0.047201141715049744, -0.02617005817592144, -0.05698631331324577, -0.1079888865351677, 0.020080724731087685, -0.0010900524212047458, 0.03868311271071434, -0.05100257694721222, -0.013401815667748451, 0.02664523757994175, -0.026662837713956833, 0.040372639894485474, -0.02469172328710556, 0.0129178361967206, 0.040900614112615585, 0.0018864177400246263, -0.003233858849853277, -0.023512573912739754, 0.004672596231102943, -0.0599781833589077, 0.010101959109306335, -0.04417407140135765, -0.012557052075862885, -0.06948176771402359, 0.03896469995379448, -0.05811266601085663, 0.0052885692566633224, -0.014545765705406666, 0.017898419871926308, -0.03716957941651344, -0.020115923136472702, 0.010392346419394016, -0.03854231908917427, -0.04054863005876541, -0.002144906437024474, -0.06522275507450104, 0.013718601316213608, -0.00033493537921458483, -0.03424810618162155, 0.02611726149916649, -0.03382572531700134, -0.02469172328710556, 0.08292758464813232, 0.011668290942907333, -0.0060409363359212875, 0.02368856593966484, 0.01819760538637638, 0.031168241053819656, -0.0307986568659544, -0.03262897580862045, 0.006023337133228779, -0.03444169834256172, -0.003537445794790983, -0.018496792763471603, -0.037556760013103485, -0.020890288054943085, -0.02870434708893299, -0.018901575356721878, -0.03368493169546127, 0.014008988626301289, -0.017740026116371155, 0.026434047147631645, -0.027349207550287247, 0.026768432930111885, -0.03364973142743111, 0.07050252705812454, 0.051213767379522324, 0.04709554463624954, -0.0033460541162639856, -0.04308291897177696, 0.04283653199672699, 0.07198086380958557, 0.04389248415827751, 0.010524340905249119, -0.0039312285371124744, 0.031256236135959625, -0.04565240815281868, -0.03308655694127083, -0.004619798623025417, -0.01691286265850067, -0.038647912442684174, -0.03945747762918472, -0.06272366642951965, 0.025994066148996353, 0.0258884709328413, -0.0038674313109368086, -0.012785842642188072, 0.001027905149385333, 0.02134786918759346, -0.019587945193052292, 0.010788329876959324, -0.03987986221909523, -0.02611726149916649, -0.03196020424365997, -0.015953704714775085, 0.001162649248726666, -0.024955712258815765, 0.0037420368753373623, 0.02789478376507759, 0.030024290084838867, -0.058570243418216705, -0.018602387979626656, -0.04442046210169792, 0.05114337056875229, -0.038366325199604034, 0.06089334562420845, 0.013023432344198227, -0.007242084015160799, -0.024656524881720543, -0.005974939558655024, 0.014079385437071323, 0.007849257439374924, 0.017300045117735863, 0.04255494475364685, 0.05438162758946419, -0.038612715899944305, -0.046109989285469055, 0.053220078349113464, 0.01741444133222103, 0.0008062648121267557, -0.03709918260574341, 0.10306110233068466, 0.018514392897486687, 0.0057549490593373775, -0.0449836365878582, -0.01170348934829235, 0.05209372937679291, -0.05705671012401581, 0.021611858159303665, -0.011061117984354496, 0.006362122483551502, 0.04160458594560623, -0.04093581438064575, -0.04794031009078026, -0.001361740636639297, -0.021383067592978477, -0.03590243309736252, -0.03291056305170059, 0.05371285602450371, -0.07870376855134964, -0.003823433304205537, 0.039281487464904785, 0.024093348532915115, -0.00009803322609513998, 0.007756861858069897, -0.025853272527456284, -0.00013763149036094546, 0.004936584737151861, 0.035515252500772476, 0.03681759536266327, -0.02759559638798237, 0.06511715799570084, 0.0022923001088202, -0.06061175465583801, 0.030587466433644295, -0.07835178077220917, 0.012847439385950565, 0.03417770937085152, -0.01819760538637638, 0.08827774971723557, 0.011457100510597229, 0.028193971142172813, 0.04748272895812988, -0.04579320177435875, 0.006863700691610575, -0.00555255776271224, -0.029813099652528763, -0.01112271472811699, 0.025659680366516113, 0.02025671675801277, -0.013472212478518486, -0.0005557507392950356, 0.08271639049053192, -0.0017577232792973518, 0.026610039174556732, -0.02368856593966484, -0.026909226551651955, 0.03416011109948158, -0.009961165487766266, -0.006951696705073118, -0.03389612212777138, -0.03308655694127083, -0.0058649443089962006, 0.0016917261527851224, -0.003317455295473337, -0.03243538364768028, 0.029619507491588593, 0.009556382894515991, 0.006186129990965128, 0.03060506470501423, 0.028000378981232643, 0.0018633187282830477, -0.01021635439246893, -0.02059110254049301, 0.019183162599802017, 0.022650212049484253, 0.031203439459204674, -0.003082065610215068, -0.015205737203359604, 0.008773216977715492, -0.04913705587387085, 0.008575226180255413, 0.02597646601498127, 0.06832022219896317, -0.01867278479039669, 0.026469245553016663, -0.01429937593638897, 0.049981821328401566, -0.005957340355962515, -0.010753130540251732, 0.026434047147631645, 0.013076229952275753, 0.002030511386692524, -0.01895437389612198, -0.02541329152882099, 0.00693849753588438, 0.06487076729536057, -0.010418745689094067, -0.04632117971777916, 0.05624714493751526, -0.03218899667263031, -0.08116766065359116, 0.033931318670511246, 0.004690195433795452, -0.059239014983177185, -0.021224673837423325, 0.012979433871805668, 0.04016144946217537, -0.009749975055456161, 0.013665803708136082, 0.031203439459204674, -0.014572164043784142, -0.0008018650114536285, 0.07447995245456696, -0.031784214079380035, 0.01638488471508026, 0.03600803017616272, -0.005059779155999422, -0.012469056062400341, -0.035515252500772476, -0.07391677796840668, -0.055613573640584946, -0.01719444990158081, 0.030165083706378937, 0.03709918260574341, -0.023987753316760063, 0.008821615017950535, 0.025659680366516113, -0.03924628719687462, 0.00032778570312075317, -0.0031590622384101152, 0.04044303670525551, 0.011034718714654446, 0.006388521287590265, 0.018795980140566826, 0.007193686440587044, 0.02990109659731388, 0.0029588709585368633, 0.0030314677860587835, -0.02187584526836872, 0.04047823324799538, -0.038612715899944305, 0.06385001540184021, 0.02946111559867859, -0.009802772663533688, 0.0274548027664423, 0.0034472495317459106, -0.05209372937679291, 0.006225728429853916, -0.005710951052606106, 0.014149783179163933, 0.015364130027592182, -0.10707373172044754, -0.009274795651435852, 0.0044218068942427635, 0.025765275582671165, 0.013199424371123314, 0.04287172853946686, -0.08574345707893372, -0.0036474408116191626, 0.01972873881459236, -0.045687608420848846, -0.0032360588666051626, 0.010489142499864101, 0.035990431904792786, 0.02516690269112587, -0.04192136973142624, 0.003376852720975876, -0.06194929778575897, 0.00408962182700634, 0.0018413197249174118, -0.00832003727555275, 0.06300525367259979, 0.03998545557260513, 0.027824386954307556, -0.03790874779224396, -0.010304350405931473, 0.05205852910876274, -0.028862740844488144, 0.02449813112616539, -0.06497636437416077, 0.03544485569000244, 0.012354660779237747, 0.025466090068221092, 0.0046417973935604095, -0.01325222197920084, -0.08264599740505219, 0.0045846002176404, -0.028088374063372612, 0.05624714493751526, -0.018707983195781708, -0.03653600811958313, -0.03681759536266327, -0.00167742685880512, -0.003607842605561018, 0.00455820094794035, 0.05543758347630501, 0.046391576528549194, 0.01995752938091755, 0.042906928807497025, -0.03671199828386307, 0.027437202632427216, -0.07419836521148682, 0.024603726342320442, -0.013445813208818436, -0.08616583794355392, -0.025061307474970818, -0.056176748126745224, -0.02277340739965439, 0.04769391939043999, -0.007932853884994984, -0.02706761844456196, 0.01537292916327715, -0.011025918647646904, 0.007946053519845009, 0.00020156620303168893, 0.04420927166938782, -0.04413887485861778, -0.07060811668634415, -0.02655724249780178, -0.060717351734638214, -0.02358297072350979, -0.0003489597875159234, 0.10228674113750458, -0.0515657514333725, -0.0786333680152893, -0.04970023036003113, -0.04058383032679558, -0.008579625748097897, -0.011668290942907333, 0.010330749675631523, 0.017484838142991066, 0.09053044766187668, 0.02273820899426937, -0.04734193533658981, 0.027296409010887146, -0.028264367952942848, 0.018215205520391464, 0.02201663888990879, -0.021471062675118446, 0.013859395869076252, -0.03384332358837128, 0.06268846243619919, 0.019517548382282257, 0.03018268384039402, -0.02240382321178913, 0.042484547942876816, -0.017828023061156273, 0.0029588709585368633, 0.002439693547785282, 0.025870870798826218, 0.030974648892879486, 0.05314968153834343, 0.04642677307128906, -0.013674603775143623, -0.0416397824883461, 0.02731400914490223, -0.038507118821144104, -0.020450307056307793, -0.015276134014129639, -0.014096985571086407, -0.08018210530281067, -0.028616352006793022, 0.03963347151875496, 0.009925967082381248, 0.060189373791217804, -0.041815776377916336, -0.08644743263721466, -0.07954853028059006, -0.028387561440467834, -0.03572644293308258, -0.021699853241443634, 0.07391677796840668, -0.037803150713443756, -0.010832327418029308, -0.06832022219896317, 0.009556382894515991, 0.013155425898730755, 0.08095646649599075, 0.08588425070047379, -0.018021613359451294, -0.05128416419029236, -0.03611362352967262, 0.010726732201874256, 0.0016840265598148108, -0.029144328087568283, -0.026997221633791924, -0.01024275366216898, 0.010585938580334187, 0.07898535579442978, 0.03396651893854141, -0.022984597831964493, 0.018355999141931534, 0.004322811495512724, 0.060048580169677734, -0.05033380538225174, -0.02449813112616539, -0.031115442514419556, 0.02942591719329357, 0.05385364964604378, 0.03892950341105461, -0.10622896999120712, -0.031784214079380035, 0.02477971836924553, -0.03702878579497337, -0.038471922278404236, 0.04406847804784775, -0.02087268978357315, -0.019851934164762497, 0.023565372452139854, -0.016376085579395294, 0.013120227493345737, -0.023389380425214767, 0.029285121709108353, -0.015152938663959503, 0.017995215952396393, 0.006956096738576889, -0.033456139266490936, -0.01372740138322115, 0.007277282420545816, 0.04723633825778961, -0.019130365923047066, 0.0307986568659544, 0.0004306312184780836, 0.014193780720233917, 0.02550128847360611, -0.011184312403202057, 0.033737730234861374, 0.026962023228406906, 0.012301863171160221, -0.02645164541900158, 0.08518028259277344, 0.02636365033686161, -0.016877664253115654, 0.05314968153834343, 0.04427966848015785, 0.0432589128613472, 0.04526522383093834, 0.011562695726752281, -0.012803441844880581, 0.09419108927249908, 0.009873169474303722, 0.0004094571340829134, 0.013437014073133469, -0.05311448499560356, 0.030499469488859177 ]
16,323
presidio_analyzer.analysis_explanation
set_improved_score
Update the score and calculate the difference from the original score.
def set_improved_score(self, score: float) -> None: """Update the score and calculate the difference from the original score.""" self.score = score self.score_context_improvement = self.score - self.original_score
(self, score: float) -> NoneType
[ 0.02311934344470501, 0.011314280331134796, 0.0016596761997789145, 0.05994553118944168, -0.0018645338714122772, -0.051882680505514145, -0.012252025306224823, -0.020735545083880424, 0.07389776408672333, 0.0018207139801234007, -0.017519168555736542, -0.04371466487646103, 0.012970670126378536, 0.015783904120326042, -0.043293993920087814, 0.01120034884661436, 0.0484822615981102, -0.00702870124951005, 0.02324203960597515, 0.021296437829732895, 0.058227792382240295, -0.009552723728120327, -0.03307520970702171, 0.005700960289686918, -0.04024413228034973, 0.013794483616948128, 0.02240069769322872, -0.010770915076136589, 0.02070048823952675, -0.025573253631591797, -0.015854015946388245, -0.014109985902905464, -0.020402513444423676, -0.0001651459897402674, -0.041050419211387634, -0.028202444314956665, -0.03624776378273964, 0.02536291815340519, 0.039192456752061844, -0.0022282383870333433, -0.047781143337488174, 0.03691382706165314, -0.02732604742050171, -0.006971735507249832, -0.009929574094712734, 0.0032580045517534018, -0.018316689878702164, 0.04147109016776085, 0.07936648279428482, -0.04564273729920387, 0.036668434739112854, -0.06352122873067856, -0.010963722132146358, 0.024731913581490517, -0.013645496219396591, 0.05482737347483635, 0.05072583630681038, 0.044135335832834244, 0.027536382898688316, -0.059735193848609924, 0.03957807272672653, -0.0359322614967823, -0.042908377945423126, -0.004785125609487295, 0.017703212797641754, -0.05451187118887901, 0.01643243618309498, 0.02750132605433464, 0.009982157498598099, 0.014942563138902187, -0.020998463034629822, 0.0025196403730660677, 0.004530970472842455, -0.045888129621744156, -0.031620390713214874, 0.06190865859389305, -0.0331277921795845, -0.0281148049980402, 0.015310649760067463, -0.01240101270377636, 0.031567808240652084, 0.0073442040011286736, 0.04343421757221222, 0.015740083530545235, -0.024381354451179504, -0.04227737337350845, 0.04129581153392792, -0.06099720671772957, 0.042172208428382874, 0.0470099151134491, 0.007624650839716196, 0.04062974825501442, 0.02653728984296322, -0.0071251047775149345, 0.045537568628787994, 0.03596732020378113, -0.008544866926968098, -0.059349581599235535, -0.011156529188156128, -0.014294029213488102, 0.03321543335914612, 0.12297597527503967, 0.02688784897327423, 0.02615167573094368, 0.044030167162418365, -0.03519608825445175, 0.0334608256816864, -0.03221634030342102, 0.05966508388519287, 0.012839211151003838, -0.03845628350973129, -0.006204888224601746, -0.07347709685564041, 0.04371466487646103, -0.06092709302902222, -0.026852793991565704, -0.017107263207435608, -0.0069542075507342815, 0.047816202044487, 0.0435393862426281, 0.026309426873922348, 0.0002993442176375538, 0.0010292183142155409, -0.01588907092809677, -0.054862428456544876, -0.024819552898406982, 0.04034930095076561, 0.0771930143237114, 0.00045216589933261275, -0.04438072443008423, -0.0010538669303059578, -0.034267108887434006, -0.023206982761621475, -0.0003122163179796189, 0.027536382898688316, -0.02474944107234478, 0.03568687289953232, 0.004662430379539728, 0.04911326989531517, -0.010832262225449085, 0.008330150507390499, 0.02492471970617771, 0.02653728984296322, -0.024784497916698456, 0.03624776378273964, -0.0034135649912059307, 0.013207297772169113, 0.06513379514217377, -0.026747625321149826, 0.021349022164940834, 0.01683557964861393, 0.0316554456949234, 0.018562080338597298, -0.04224231839179993, 0.040103912353515625, -0.006651850417256355, 0.013023254461586475, -0.07978715002536774, 0.0394027940928936, -0.018229050561785698, 0.01903533563017845, -0.0408751405775547, 0.03747472167015076, -0.03013051673769951, 0.04760586470365524, -0.026397066190838814, -0.04396005719900131, 0.01383830327540636, -0.07193464040756226, 0.006204888224601746, -0.03528372943401337, -0.06849916279315948, -0.033706214278936386, 0.042908377945423126, 0.06934050470590591, 0.033863965421915054, 0.0015358851524069905, 0.0015402671415358782, 0.0037794604431837797, -0.008926100097596645, 0.07007667422294617, -0.010674511082470417, -0.023995740339159966, 0.002515258267521858, -0.01540705282241106, -0.006853421684354544, -0.016204573214054108, 0.0639769583940506, -0.041225697845220566, 0.009710474871098995, 0.01637985371053219, -0.04865754023194313, -0.054862428456544876, -0.03260195627808571, -0.010306424461305141, 0.0281849168241024, 0.013163477182388306, -0.03517856076359749, 0.05759678781032562, 0.03996368870139122, -0.027694134041666985, -0.012067981995642185, 0.02210272289812565, -0.02806222066283226, 0.0020661051385104656, 0.03316285088658333, -0.03635293245315552, -0.00009037840209202841, -0.015503456816077232, -0.05184762552380562, -0.04034930095076561, 0.009535195305943489, 0.03736955299973488, -0.016651535406708717, 0.04662430286407471, -0.023154400289058685, 0.010061033070087433, 0.010963722132146358, 0.004785125609487295, 0.0316554456949234, -0.011428211815655231, -0.058788686990737915, -0.052338406443595886, -0.007813076488673687, 0.05573882535099983, 0.02727346308529377, 0.03302262723445892, -0.02077060006558895, -0.01310213003307581, 0.001872202381491661, -0.04041941463947296, -0.02653728984296322, -0.03030579537153244, -0.0746689960360527, -0.0019390275701880455, 0.02941187098622322, 0.007405551616102457, 0.03772011026740074, -0.09675419330596924, 0.005972642917186022, -0.00032974424539133906, 0.0006562019698321819, 0.021243855357170105, 0.0499546080827713, -0.09899776428937912, -0.023978212848305702, 0.012506180442869663, -0.010683274827897549, 0.01284797489643097, 0.05577388405799866, 0.027746718376874924, -0.06842905282974243, -0.04129581153392792, 0.03540642559528351, -0.004270242527127266, -0.010569343343377113, -0.017606807872653008, 0.016598952934145927, -0.03491564095020294, 0.029937708750367165, -0.04946382716298103, 0.0034069919493049383, -0.05005977675318718, 0.00736611383035779, -0.013286173343658447, 0.03158533573150635, 0.01779961585998535, 0.012672695331275463, 0.04231242835521698, 0.0001792505063349381, 0.10607904940843582, -0.027238408103585243, 0.004110300447791815, 0.013084601610898972, -0.02205014042556286, 0.019350837916135788, -0.03779022395610809, 0.03999874368309975, 0.007212744560092688, 0.019385892897844315, 0.06162821128964424, -0.029429398477077484, -0.009868226014077663, -0.011130237020552158, 0.005889385472983122, -0.0005871857283636928, -0.003293060464784503, 0.04613351821899414, -0.018947696313261986, -0.0005707532982341945, -0.04269804432988167, 0.05265390872955322, 0.07530000060796738, 0.040664803236722946, 0.08357318490743637, 0.023487430065870285, -0.04003379866480827, 0.008019029162824154, 0.05005977675318718, 0.07249552756547928, 0.046834636479616165, 0.01383830327540636, -0.017265014350414276, 0.01924567110836506, 0.036563269793987274, 0.027185823768377304, 0.0271157119423151, -0.008991830050945282, 0.019824091345071793, 0.017194902524352074, 0.0086149787530303, 0.04164636880159378, -0.05640488862991333, 0.00749319139868021, 0.03691382706165314, -0.006844657938927412, 0.05377569794654846, -0.07565055787563324, -0.006445897277444601, 0.0034310929477214813, -0.04722025245428085, -0.054862428456544876, 0.0005085839075036347, -0.022803841158747673, 0.0013080219505354762, -0.06737737357616425, -0.006967353168874979, 0.023978212848305702, 0.020612848922610283, -0.037685055285692215, -0.02553819864988327, -0.05612444132566452, 0.012786626815795898, -0.054687149822711945, -0.002789132297039032, 0.0040708621963858604, 0.008093522861599922, -0.024223603308200836, -0.003983222879469395, 0.01705467887222767, -0.0003034523397218436, -0.008501047268509865, -0.021629469469189644, -0.010385300032794476, 0.024118436500430107, -0.0053460197523236275, -0.024276187643408775, -0.02525775134563446, 0.020455097779631615, -0.06769287586212158, -0.06141787767410278, -0.08273184299468994, 0.010534287430346012, 0.029306704178452492, -0.00620050635188818, 0.007843749597668648, 0.012024162337183952, -0.05675544589757919, 0.043293993920087814, -0.09689441323280334, -0.036563269793987274, -0.06155810132622719, 0.008325767703354359, 0.04252276569604874, -0.04259287565946579, 0.01875488832592964, -0.07361731678247452, -0.08799022436141968, -0.009982157498598099, 0.0006375785451382399, -0.022418227046728134, -0.059910476207733154, -0.007506337482482195, 0.0024802025873214006, 0.041225697845220566, -0.036738548427820206, -0.08497542142868042, 0.03835111856460571, 0.01772950403392315, -0.013338756747543812, 0.06884972006082535, 0.007182070519775152, -0.010288896970450878, 0.02210272289812565, 0.0029644116293638945, -0.003838617354631424, 0.01840432919561863, -0.036387987434864044, 0.04417039081454277, 0.0058587114326655865, 0.02273372933268547, 0.01667782850563526, 0.026975488290190697, -0.052233241498470306, -0.04679958149790764, 0.026502234861254692, -0.0034026100765913725, -0.020682960748672485, -0.01896522380411625, 0.009614070877432823, -0.008549249731004238, 0.034039244055747986, -0.008877897635102272, -0.02322451025247574, 0.00931609608232975, 0.04760586470365524, -0.01835174486041069, 0.09247737377882004, -0.05370558798313141, 0.0577019564807415, -0.1111270934343338, -0.02317192777991295, 0.027974581345915794, -0.005074336659163237, -0.00870261900126934, -0.046273741871118546, 0.047816202044487, 0.023785404860973358, 0.019228141754865646, 0.045327235013246536, 0.03384643793106079, -0.024065852165222168, 0.008991830050945282, 0.027413686737418175, -0.03326801583170891, -0.04942877218127251, -0.012418540194630623, -0.041506145149469376, 0.022313058376312256, -0.017159845679998398, -0.05353030562400818, -0.03535383939743042, 0.00982440635561943, -0.018088826909661293, -0.010648218914866447, -0.04876270890235901, -0.01419762521982193, 0.024223603308200836, -0.00293154688552022, 0.007799929939210415, 0.09591285139322281, -0.005845565814524889, 0.04774608835577965, -0.00010516760085010901, 0.03183072432875633, -0.019017808139324188, -0.0025481232441961765, 0.007103194948285818, -0.02941187098622322, 0.001977369887754321, -0.003582271281629801, 0.03978840634226799, 0.03856145218014717, 0.0857466459274292, -0.0408751405775547, 0.0015961374156177044, -0.08132960647344589, -0.05002472177147865, 0.01335628516972065, 0.0065642111003398895, -0.023978212848305702, 0.032409146428108215, -0.039928629994392395, 0.023382263258099556, -0.006783309858292341, 0.024714386090636253, 0.04248771071434021, -0.025345390662550926, -0.0540912002325058, -0.03228645399212837, 0.04974427446722984, -0.09521172940731049, 0.05391592159867287, -0.04662430286407471, -0.023610126227140427, 0.011708659119904041, -0.03130488842725754, -0.00723903626203537, 0.003930639009922743, 0.05791229009628296, 0.021173743531107903, -0.029499510303139687, 0.005933205131441355, -0.016520077362656593, 0.04304860159754753, -0.03070893883705139, -0.05826284736394882, 0.003069579368457198, -0.005880621261894703, 0.021699581295251846, -0.041996926069259644, -0.01924567110836506, -0.0046799578703939915, 0.006765781901776791, -0.06485335528850555, -0.01260258350521326, 0.05759678781032562, 0.004272433463484049, 0.000026942350814351812, -0.00830385833978653, -0.036177653819322586, -0.05219818279147148, -0.03968324139714241, -0.01164731103926897, 0.06429246068000793, 0.037264384329319, -0.03587967902421951, 0.03137499839067459, -0.0026883466634899378, 0.00804970320314169, -0.040769971907138824, -0.03761494532227516, 0.06303044408559799, 0.004156311042606831, 0.027483798563480377, -0.054862428456544876, -0.038912009447813034, 0.05044539272785187, 0.06702681630849838, -0.06355628371238708, -0.02569594979286194, -0.04939371347427368, 0.015477164648473263, -0.007580831181257963, 0.07803435623645782, -0.028588058426976204, -0.02345237508416176, -0.011778770945966244, 0.07263575494289398, -0.013408868573606014, 0.03396913409233093, -0.012488652020692825, 0.0329875685274601, 0.07712290436029434, -0.0007635605870746076, 0.07263575494289398, 0.010586871765553951, -0.09198658913373947, -0.05658016726374626, 0.00422423193231225, 0.024889664724469185, 0.02296159230172634, 0.022768784314393997, -0.009517667815089226, 0.005560736637562513, 0.0542314238846302, -0.08301229029893875, 0.004697485826909542, -0.029622206464409828, -0.043083660304546356, -0.019999371841549873, 0.03396913409233093, -0.007528247311711311, 0.0011908039450645447, 0.042908377945423126, 0.06492346525192261, -0.0068665677681565285, 0.03183072432875633, 0.06145293265581131, 0.008536103181540966, 0.023312151432037354, -0.04753575474023819, 0.07396787405014038, -0.05510782077908516, 0.021138686686754227, 0.015529748983681202, -0.02823749929666519, 0.046378910541534424, -0.007120722904801369, -0.03922751545906067, 0.03687877207994461, -0.001602710341103375, 0.0380706712603569, 0.03733449801802635, -0.043469272553920746, 0.04602835327386856, 0.00931609608232975, -0.024223603308200836, -0.016905691474676132, 0.051216620951890945, -0.008211836218833923, -0.024100907146930695, 0.031953420490026474, -0.013251117430627346, -0.005012989044189453, -0.01256752759218216, -0.004441140219569206, 0.04844720661640167, 0.023259567096829414, -0.0017221193993464112, -0.06359133869409561, 0.002245766343548894, -0.023925628513097763, -0.04669441282749176, -0.00959654338657856, -0.004991078749299049, -0.04476634040474892, -0.0075151012279093266, 0.05787723511457443, 0.02576606161892414, 0.0011853264877572656, -0.02872828207910061, -0.006669378373771906, 0.011550907976925373, 0.003615136258304119, -0.00477197952568531, -0.0028110421262681484, -0.007230272516608238, -0.010692039504647255, 0.04799148067831993, 0.012216969393193722, 0.016178281977772713, 0.025608310475945473, -0.027588967233896255, 0.012059218250215054, -0.00021115681738592684, 0.027255935594439507, -0.008273184299468994, -0.014039874076843262, -0.011209113523364067, -0.02212025225162506, 0.018930166959762573, -0.004780743736773729, -0.01355785597115755, -0.024328770115971565, -0.011428211815655231, 0.0385965071618557, -0.07074273377656937, -0.07740335166454315, -0.024381354451179504, 0.015442108735442162, -0.02923659235239029, 0.019824091345071793, -0.07004161924123764, -0.013294937089085579, -0.006437133532017469, 0.015056494623422623, 0.01649378426373005, -0.00770352641120553, 0.004349118564277887, 0.009640363045036793, 0.013917178846895695, 0.007554539013653994, -0.0018020905554294586, -0.05899902060627937, -0.017212430015206337, -0.0563698336482048, 0.007041846867650747, -0.0034814856480807066, 0.04304860159754753, -0.010578107088804245, 0.00934238824993372, -0.030235683545470238, 0.008102286607027054, -0.01517918985337019, 0.01857960969209671, 0.03978840634226799, -0.003393846098333597, 0.04911326989531517, 0.006827129982411861, -0.07621145248413086, -0.002725593512877822, 0.013014489784836769, -0.003998559899628162, 0.043083660304546356, 0.028588058426976204, 0.02655481919646263, -0.015582332387566566, 0.022488337010145187, -0.014837395399808884, -0.01498638279736042, 0.04466117173433304, -0.08182039111852646, 0.028938617557287216, -0.002762840362265706, -0.042733099311590195, -0.03573945537209511, 0.018614664673805237, -0.045257121324539185, -0.014749755151569843, 0.016239630058407784, 0.10558826476335526, -0.0298500694334507, -0.02525775134563446, 0.018562080338597298, 0.011323045007884502, -0.01091113779693842, 0.06923533231019974, 0.019333310425281525, -0.02031487412750721, -0.059069134294986725, -0.033425766974687576, -0.03587967902421951, -0.033706214278936386, -0.013794483616948128, -0.024486523121595383, -0.05293435603380203, -0.026134148240089417, 0.011585963889956474, -0.002344361040741205, 0.015582332387566566, 0.05118156597018242, 0.02199755609035492, 0.032970041036605835, -0.008799022063612938, 0.020016899332404137, -0.04574790596961975, -0.05829790607094765, 0.008514193817973137, -0.08630754053592682, 0.01896522380411625, -0.01091113779693842, -0.033793855458498, -0.00609095674008131, -0.010586871765553951, 0.03444238752126694, 0.0024933484382927418, -0.04704497009515762, 0.014513128437101841, 0.029201535508036613, 0.007979591377079487, 0.0026007071137428284, 0.0379304476082325, -0.02653728984296322, -0.03621270880103111, -0.01515289768576622, 0.026502234861254692, -0.031620390713214874, 0.04448589310050011, -0.011989106424152851, -0.03877178579568863, -0.030165571719408035, 0.020858239382505417, -0.06842905282974243, -0.008054085075855255, -0.004868383519351482, 0.012173149734735489, -0.03186578303575516, 0.1137913390994072, 0.03316285088658333, 0.018193993717432022, 0.02238317020237446, -0.011883938685059547, -0.02502988837659359, -0.03423205390572548, 0.04252276569604874, -0.03933268040418625, 0.02049015276134014, 0.013768191449344158, -0.002220570109784603, 0.04185670241713524, 0.010069797746837139, 0.06071675941348076, 0.010394063778221607, 0.054126255214214325, 0.0359322614967823, 0.014600767754018307, 0.006853421684354544, 0.03765000030398369, -0.008606215007603168, 0.03311026468873024, 0.006511627230793238, -0.012646403163671494, 0.03507339209318161, 0.022593505680561066, 0.0326545387506485, -0.026782682165503502, 0.037404607981443405 ]
16,324
presidio_analyzer.analysis_explanation
set_supportive_context_word
Set the context word which helped increase the score.
def set_supportive_context_word(self, word: str) -> None: """Set the context word which helped increase the score.""" self.supportive_context_word = word
(self, word: str) -> NoneType
[ 0.01881685107946396, 0.0002344891254324466, 0.022428497672080994, 0.049969375133514404, 0.02706262096762657, -0.033560290932655334, -0.0006751225446350873, 0.03535786643624306, 0.0624699629843235, -0.02445695735514164, 0.0005349444109015167, -0.03568769991397858, -0.008451915346086025, 0.009358950890600681, -0.048188287764787674, -0.03075672686100006, -0.00006371146446326748, 0.012451115064322948, -0.004477453883737326, -0.018800359219312668, 0.04442821815609932, 0.0017264584312215447, 0.02109268307685852, -0.03753475099802017, -0.02432502619922161, 0.04485699534416199, 0.011296707205474377, -0.016747161746025085, -0.0032405881211161613, -0.0508929006755352, -0.022313056513667107, -0.028876692056655884, -0.012780945748090744, 0.0011049333261325955, 0.01998775079846382, -0.05712670460343361, -0.017514018341898918, 0.0260896198451519, -0.01560924481600523, -0.06369034200906754, -0.06276681274175644, 0.030163031071424484, -0.04396645352244377, 0.02653489261865616, -0.0321585088968277, -0.0034797154366970062, 0.01358903106302023, 0.07948923856019974, 0.03055882826447487, -0.016466805711388588, 0.027887199074029922, -0.08674551546573639, -0.0051824674010276794, -0.010595816187560558, -0.016639966517686844, 0.017283136025071144, -0.033395372331142426, -0.004926848225295544, 0.02206568419933319, -0.009853696450591087, 0.03941478580236435, 0.010628798976540565, 0.005701950751245022, -0.001085349707864225, 0.00019454867288004607, 0.024044670164585114, 0.02561136521399021, 0.05356452986598015, 0.0424492321908474, 0.04139377176761627, -0.025050653144717216, -0.05969938635826111, -0.012995335273444653, -0.009284738451242447, -0.025957688689231873, 0.021620413288474083, -0.09202280640602112, 0.01110705453902483, 0.0066213542595505714, 0.008575602434575558, 0.004766055848449469, 0.02368185482919216, 0.03367573022842407, -0.0049186027608811855, -0.017645951360464096, -0.014529049396514893, 0.021933751180768013, -0.014660981483757496, 0.028266504406929016, -0.02107619121670723, -0.020696885883808136, 0.023401498794555664, 0.0026056638453155756, 0.0334448479115963, 0.04264713078737259, 0.002956109121441841, 0.028200538828969002, -0.006415210198611021, -0.0254464503377676, 0.021818311884999275, -0.02336851693689823, 0.042416248470544815, 0.031944118440151215, 0.01029896829277277, 0.018404562026262283, -0.061876267194747925, -0.004390873480588198, -0.03862319141626358, 0.046572115272283554, -0.0028282995335757732, -0.0676153227686882, -0.06741742789745331, 0.000011225200069020502, 0.015823636204004288, -0.03997550159692764, 0.00973001029342413, -0.02961881086230278, -0.025050653144717216, 0.02061442844569683, 0.031482353806495667, 0.02298920974135399, -0.03786458075046539, -0.007445931434631348, -0.05409226194024086, -0.011041088029742241, 0.035819631069898605, -0.025561891496181488, 0.05442209169268608, 0.030773218721151352, -0.028068605810403824, -0.01756349392235279, -0.004955708514899015, 0.013828158378601074, -0.021356547251343727, 0.04785845801234245, -0.03072374500334263, -0.001807885360904038, 0.029338454827666283, 0.02734297886490822, 0.05257503688335419, 0.015980305150151253, 0.01192338578402996, 0.0104721300303936, -0.034863121807575226, -0.0053432597778737545, 0.009243509732186794, -0.04719879478216171, 0.010035104118287563, -0.006860481575131416, 0.024836262688040733, -0.001330661354586482, 0.04551665857434273, -0.012220233678817749, -0.03671017289161682, -0.02928897924721241, 0.05541158467531204, -0.002288201590999961, -0.05442209169268608, 0.06342647224664688, -0.01690383069217205, 0.06253592669963837, -0.07315648347139359, -0.06181030347943306, 0.044032420963048935, 0.034533292055130005, 0.031779203563928604, -0.030839184299111366, -0.01521344855427742, 0.013943599537014961, -0.008274631574749947, 0.0007962323143146932, -0.018618952482938766, 0.00008722479833522812, 0.059468504041433334, 0.04429628327488899, 0.08258964866399765, -0.02765631675720215, 0.014190972782671452, 0.04380153864622116, 0.01817367970943451, 0.005100009497255087, 0.026369977742433548, -0.08437073230743408, 0.011865665204823017, 0.02864580973982811, -0.02157093770802021, 0.03898600861430168, 0.06781322509050369, -0.027277011424303055, 0.031944118440151215, 0.0020665964111685753, -0.05356452986598015, -0.0025561891961842775, -0.022412005811929703, -0.01932808756828308, 0.06299769133329391, 0.01335814967751503, -0.08410686999559402, 0.021983226761221886, 0.019542478024959564, -0.020977241918444633, -0.015361872501671314, 0.01439711730927229, 0.03450030833482742, 0.05036517232656479, 0.054784905165433884, 0.014801159501075745, 0.040668144822120667, -0.1010601744055748, -0.06603213399648666, 0.007025397382676601, -0.03220798447728157, 0.048221271485090256, 0.048023372888565063, 0.06754936277866364, -0.03365923836827278, 0.005116501357406378, 0.012055317871272564, -0.05580738186836243, 0.0556754469871521, 0.025842247530817986, -0.004675352480262518, 0.00542984064668417, -0.0453847274184227, 0.03525891900062561, -0.026271028444170952, 0.06214013323187828, -0.022461481392383575, -0.04396645352244377, 0.026930689811706543, -0.018454035744071007, -0.01739857718348503, -0.03535786643624306, 0.004382627550512552, 0.023599397391080856, -0.03634735941886902, 0.023731330409646034, 0.013663243502378464, -0.0077757625840604305, -0.0354568175971508, 0.02351693995296955, 0.04897988215088844, 0.0380294993519783, 0.020845310762524605, -0.041756585240364075, -0.00002871525430236943, 0.028035622090101242, 0.024704331532120705, 0.027903690934181213, -0.002848914125934243, 0.025050653144717216, -0.06553739309310913, -0.056895822286605835, -0.007652075961232185, -0.018223155289888382, -0.011577063240110874, -0.0016141097294166684, 0.0483202189207077, -0.04865005239844322, -0.01866842620074749, -0.0626678615808487, 0.06385525315999985, -0.03786458075046539, 0.0643170177936554, 0.009622815065085888, 0.039546720683574677, 0.021653395146131516, 0.016161711886525154, -0.028217028826475143, -0.03283466026186943, -0.01544432993978262, -0.002387150889262557, 0.02867879346013069, 0.02849738672375679, -0.04663808271288872, -0.010645290836691856, 0.005017552059143782, 0.08094049245119095, -0.07506950199604034, 0.0315977968275547, 0.05409226194024086, -0.017596475780010223, -0.01817367970943451, 0.0595344677567482, -0.024654855951666832, -0.004761932883411646, 0.02143900655210018, 0.06557037681341171, 0.024539414793252945, -0.02783772349357605, -0.04155868664383888, 0.06586722284555435, 0.057225652039051056, 0.0657682716846466, 0.01297059841454029, 0.029833201318979263, -0.03845827654004097, 0.042746078222990036, 0.021191632375121117, 0.02044951356947422, 0.054026294499635696, 0.03327993303537369, -0.07144135981798172, 0.022247090935707092, -0.008559110574424267, -0.016194695606827736, 0.060919757932424545, -0.007305753417313099, 0.021471988409757614, -0.010175282135605812, 0.01358903106302023, 0.0002114267263095826, -0.046605098992586136, -0.011601800099015236, -0.014636244624853134, 0.03351081535220146, 0.059633418917655945, -0.010645290836691856, 0.005021674558520317, 0.07849974185228348, -0.016714178025722504, -0.08173208683729172, 0.035522785037755966, -0.03826037794351578, 0.008291123434901237, -0.03347783163189888, 0.04940866306424141, -0.05277293547987938, 0.04235028102993965, -0.02927248924970627, -0.03832634538412094, -0.029173539951443672, 0.004213589243590832, -0.06665881723165512, -0.07869764417409897, -0.024209585040807724, -0.013745700940489769, 0.018305612727999687, 0.0006849144119769335, -0.013490081764757633, -0.012756207957863808, 0.029404420405626297, -0.05201432481408119, 0.004345521330833435, 0.08034679293632507, -0.009202281013131142, -0.03948075324296951, -0.002881897147744894, 0.06530650705099106, 0.003640508046373725, -0.007911818102002144, -0.07869764417409897, 0.06609810143709183, -0.004638246260583401, 0.025001179426908493, -0.007804622408002615, -0.012451115064322948, 0.015188710764050484, -0.017959289252758026, -0.05165151134133339, -0.030938133597373962, -0.037435803562402725, 0.02448994107544422, 0.0553126335144043, -0.031169015914201736, 0.025495925918221474, -0.02816755510866642, 0.004584649112075567, 0.0021645149681717157, -0.015279414132237434, 0.026040146127343178, -0.03964566811919212, -0.014611506834626198, 0.03039391338825226, 0.01946002058684826, -0.0004810892278328538, -0.05735758692026138, 0.030047591775655746, -0.0010436053853482008, 0.005780285689979792, 0.06741742789745331, 0.030822694301605225, 0.017481034621596336, 0.01417448092252016, -0.020713377743959427, -0.02107619121670723, -0.016672950237989426, -0.019888801500201225, 0.05184940993785858, 0.027887199074029922, 0.011700749397277832, 0.0007153206970542669, -0.021026717498898506, -0.008872450329363346, -0.040305331349372864, -0.018800359219312668, -0.043405741453170776, -0.05557649955153465, -0.009837205521762371, 0.004419733304530382, 0.03496206924319267, 0.02445695735514164, -0.0556754469871521, -0.009894926100969315, -0.013613768853247166, 0.07836781442165375, -0.01881685107946396, 0.0865476131439209, -0.04109692573547363, 0.06718654185533524, -0.10237950086593628, 0.017794374376535416, 0.006328629329800606, -0.014627998694777489, -0.036644209176301956, -0.04921076446771622, 0.0508929006755352, -0.011148283258080482, -0.0048443907871842384, 0.053993310779333115, 0.026848232373595238, -0.03136691451072693, 0.04492296278476715, 0.05999623239040375, -0.02138953097164631, -0.01993827521800995, 0.01263252180069685, -0.06085379421710968, 0.07104557007551193, -0.04878198355436325, -0.10864628106355667, -0.021669887006282806, -0.0046671065501868725, -0.02915704809129238, -0.008649813942611217, -0.06893464922904968, -0.00958983227610588, -0.0037848090287297964, -0.030624795705080032, -0.02058144472539425, 0.051783446222543716, -0.03367573022842407, 0.05956745147705078, 0.048880934715270996, 0.053366631269454956, -0.00680276146158576, -0.06847288459539413, 0.03786458075046539, -0.04716581106185913, -0.01560924481600523, 0.002185129327699542, 0.05646704137325287, -0.0063987188041210175, 0.03440135717391968, 0.04393346980214119, 0.00470421276986599, -0.03542383387684822, -0.04056919366121292, 0.035094004124403, 0.014388871379196644, -0.03746878355741501, 0.030707253143191338, -0.05297083407640457, 0.025627857074141502, 0.0012863402953371406, 0.04185553640127182, -0.00331686157733202, -0.009556849487125874, -0.0029416789766401052, -0.026765773072838783, 0.011148283258080482, -0.0063987188041210175, 0.03367573022842407, -0.0332634411752224, -0.005627738777548075, 0.011511096730828285, -0.07896150648593903, 0.007454177364706993, 0.05623616278171539, 0.012805682606995106, 0.013325166888535023, -0.036941055208444595, 0.04231729730963707, -0.028052113950252533, -0.004448593594133854, -0.03591857850551605, -0.019262121990323067, -0.026947181671857834, -0.015337134711444378, 0.008493144996464252, -0.01585661806166172, 0.043735571205616, 0.026996655389666557, -0.034533292055130005, -0.0492437481880188, 0.013572540134191513, -0.004881496541202068, 0.023698346689343452, -0.015526787377893925, 0.045450691133737564, -0.05620317906141281, 0.00017432075401302427, -0.06599915772676468, -0.01659049279987812, 0.06741742789745331, -0.0003156584280077368, -0.04165763780474663, 0.009812467731535435, 0.004238326568156481, 0.000366421474609524, -0.017975781112909317, -0.06781322509050369, 0.09083541482686996, -0.05630212649703026, 0.0556754469871521, -0.015477312728762627, -0.010818451642990112, 0.055444568395614624, 0.05458700656890869, -0.03430240973830223, -0.04746266081929207, -0.01222847867757082, 0.03783160075545311, -0.01038967166095972, 0.06296470761299133, -0.07473967224359512, -0.029223013669252396, -0.03060830384492874, 0.027590351179242134, 0.049309711903333664, 0.030954625457525253, -0.012937615625560284, 0.03568769991397858, 0.0260896198451519, 0.03143288195133209, 0.070188008248806, -0.006406964268535376, -0.06712058186531067, 0.02767280861735344, 0.030624795705080032, -0.0004774816916324198, -0.07078170031309128, 0.026106111705303192, -0.03105357475578785, -0.008963153697550297, 0.0212246160954237, -0.06533949077129364, -0.0058586206287145615, -0.011774961836636066, 0.00007588686275994405, -0.042581163346767426, -0.026831740513443947, -0.07592706382274628, 0.02834896184504032, 0.03204306587576866, -0.061876267194747925, 0.014256938360631466, 0.04132780805230141, 0.030047591775655746, 0.028546860441565514, -0.03796353191137314, -0.031927626579999924, 0.06781322509050369, -0.03189464285969734, 0.0457475408911705, -0.012616029940545559, -0.07968713343143463, -0.013226217590272427, -0.011131791397929192, -0.02110917493700981, 0.05775338411331177, -0.029404420405626297, 0.04218536615371704, 0.04977147653698921, -0.07190312445163727, 0.07414597272872925, 0.014479574747383595, 0.006753286812454462, 0.005537035409361124, 0.04099797457456589, -0.04439523443579674, 0.04799038916826248, 0.002366536296904087, 0.016433821991086006, 0.014017811045050621, -0.02671629935503006, 0.04634123668074608, 0.03680912405252457, 0.021175140514969826, -0.00663372315466404, -0.029503369703888893, -0.026666825637221336, 0.041756585240364075, -0.03060830384492874, -0.00555764976888895, 0.005838006269186735, -0.05201432481408119, -0.05241012200713158, 0.0637563019990921, 0.01287989504635334, -0.006468807812780142, 0.004848513752222061, -0.006415210198611021, 0.04185553640127182, 0.016986289992928505, 0.04459313303232193, -0.028118081390857697, 0.03456627205014229, -0.028728267177939415, 0.024094143882393837, -0.03182867914438248, -0.028282996267080307, 0.008245771750807762, 0.009433162398636341, -0.039348822087049484, 0.002758210524916649, 0.026815248653292656, 0.01255831029266119, 0.016639966517686844, -0.03687509149312973, -0.04106394201517105, 0.01835508644580841, -0.06454789638519287, -0.013547802343964577, 0.004790793173015118, -0.021950243040919304, 0.02011968195438385, -0.015139236114919186, -0.07737831771373749, -0.03220798447728157, -0.031152524054050446, 0.0024263181257992983, -0.00519483583047986, -0.051090799272060394, -0.0027025516610592604, 0.03720492124557495, 0.003312738612294197, 0.0017161511350423098, -0.001985169481486082, 0.026336994022130966, 0.00008799783972790465, 0.060128163546323776, 0.04251519590616226, -0.004168237559497356, -0.07480563968420029, 0.08991189301013947, -0.05956745147705078, -0.010274231433868408, -0.018948782235383987, 0.021026717498898506, -0.03171323612332344, -0.04202045127749443, 0.014949583448469639, -0.009771239012479782, 0.03143288195133209, 0.007953046821057796, -0.027260519564151764, 0.01408377755433321, 0.02267587184906006, -0.022725345566868782, -0.06085379421710968, 0.020498987287282944, 0.006790392566472292, -0.0161699578166008, 0.01644206792116165, 0.025842247530817986, 0.03763370215892792, -0.05808321386575699, -0.0028282995335757732, 0.026287518441677094, 0.00051974126836285, 0.0055205440148711205, -0.028843708336353302, -0.01569170318543911, 0.010175282135605812, -0.014166234992444515, 0.014891862869262695, -0.012393394485116005, 0.036644209176301956, -0.019756868481636047, 0.01530415192246437, 0.0080849789083004, 0.0127232251688838, -0.022247090935707092, -0.0006947062211111188, 0.08410686999559402, -0.060293082147836685, 0.03892004117369652, -0.005866866558790207, -0.07137539982795715, -0.08786693960428238, -0.0180087648332119, -0.053993310779333115, -0.007252155803143978, -0.034665223211050034, -0.047264762222766876, -0.07117749750614166, -0.061579421162605286, 0.05211327597498894, -0.010513358749449253, 0.026122603565454483, 0.06009518355131149, 0.010274231433868408, -0.026848232373595238, 0.015906093642115593, -0.02460538223385811, -0.0338076613843441, -0.03997550159692764, 0.006460561882704496, -0.024671347811818123, 0.0521792396903038, -0.016054516658186913, -0.024572398513555527, 0.017645951360464096, -0.0003017436829395592, -0.0020975181832909584, -0.019723884761333466, -0.012187249958515167, 0.03123498149216175, 0.027277011424303055, 0.0556754469871521, 0.004926848225295544, -0.006295646540820599, -0.02511662058532238, -0.01360552292317152, -0.0005854497430846095, 0.006691443268209696, 0.012162513099610806, 0.02831597812473774, -0.045615606009960175, -0.03845827654004097, -0.044494181871414185, -0.03245535492897034, 0.04647316783666611, -0.009268246591091156, -0.012104792520403862, 0.002622155239805579, -0.025067145004868507, 0.04874899983406067, 0.004902110900729895, -0.0037064743228256702, 0.018091222271323204, -0.014627998694777489, -0.012945861555635929, -0.0008338536135852337, 0.02256043069064617, -0.011708995327353477, 0.0023005702532827854, 0.015353626571595669, 0.04294397681951523, 0.02673279121518135, 0.03512698784470558, 0.022115159779787064, 0.01649978943169117, 0.04874899983406067, 0.01688734069466591, 0.010942138731479645, 0.006328629329800606, 0.010876172222197056, 0.01297059841454029, -0.023599397391080856, -0.032735712826251984, 0.002582988003268838, 0.03201008588075638, 0.002669568406417966, 0.01006808690726757, 0.052739955484867096, 0.06131555512547493 ]
16,325
presidio_analyzer.analysis_explanation
to_dict
Serialize self to dictionary. :return: a dictionary
def to_dict(self) -> Dict: """ Serialize self to dictionary. :return: a dictionary """ return self.__dict__
(self) -> Dict
[ -0.014681925065815449, -0.015614110976457596, 0.003826622385531664, -0.03245870769023895, -0.02639950066804886, -0.026828305795788765, -0.03307395055890083, 0.049890581518411636, 0.0019505986711010337, -0.02541138418018818, 0.004852026700973511, -0.02915876917541027, 0.01556750200688839, 0.034229859709739685, 0.0004792017280124128, 0.010915894992649555, -0.008604074828326702, -0.025094440206885338, -0.031079072505235672, 0.010132859461009502, 0.02030300535261631, -0.06353778392076492, 0.016956457868218422, 0.04150091111660004, -0.04150091111660004, -0.002705669030547142, -0.02168264053761959, -0.011232838034629822, 0.019631830975413322, 0.02908419445157051, -0.06364963948726654, -0.02893504500389099, 0.05816838890314102, 0.053843047469854355, -0.001384295872412622, 0.007168508600443602, -0.042470384389162064, 0.034453585743904114, -0.09597784280776978, 0.010887929238379002, -0.022708045318722725, 0.02336057461798191, -0.06197170913219452, -0.011391310021281242, 0.06532757729291916, 0.009158724918961525, 0.022633470594882965, 0.016070881858468056, 0.03956196457147598, -0.029289275407791138, 0.03956196457147598, -0.015735294669866562, 0.010198111645877361, 0.04150091111660004, -0.023994460701942444, -0.014159901067614555, 0.024292759597301483, 0.017292045056819916, -0.02281990647315979, 0.036914557218551636, -0.0450432151556015, 0.014094648882746696, 0.03257057070732117, -0.026958812028169632, -0.01312517561018467, -0.01831744983792305, -0.0687207356095314, -0.006077851168811321, 0.006972749251872301, 0.002719651907682419, 0.027219824492931366, -0.04172463342547417, 0.028599457815289497, 0.07614093273878098, 0.005611758213490248, 0.005560487974435091, -0.011158263310790062, -0.02824522741138935, -0.01190401241183281, -0.023602943867444992, -0.0003020864387508482, -0.024180898442864418, -0.06316490471363068, -0.004381272941827774, -0.016117490828037262, -0.012090449221432209, 0.0054159993305802345, -0.010468445718288422, -0.05257527530193329, 0.005001176614314318, -0.03409935534000397, 0.07334437221288681, -0.03227227181196213, 0.07427655905485153, 0.009475667960941792, -0.0671919509768486, -0.025075796991586685, 0.0026427465490996838, 0.0005494069773703814, -0.0019913818687200546, -0.0450432151556015, 0.06588688492774963, -0.047280460596084595, 0.007219778373837471, -0.022633470594882965, -0.08784918487071991, -0.010477767325937748, -0.05816838890314102, 0.010654883459210396, -0.015772582963109016, -0.01861574873328209, 0.059958186000585556, -0.03516204655170441, 0.04291783273220062, 0.0488465316593647, -0.030258748680353165, -0.004637624137103558, 0.007233761250972748, 0.014523454010486603, -0.016527652740478516, -0.024553772062063217, 0.0610768087208271, -0.0032183711882680655, 0.04191106930375099, -0.01305060088634491, 0.01442091353237629, -0.000651364796794951, 0.006478691007941961, 0.04791434854269028, 0.020974179729819298, 0.008091372437775135, -0.02800286002457142, -0.027835065498948097, 0.014588707126677036, 0.08426959067583084, -0.006758346688002348, 0.0717037245631218, 0.018969979137182236, -0.003947806544601917, 0.07036138325929642, 0.04992786794900894, 0.01369380857795477, 0.024218184873461723, 0.007536721881479025, 0.01461667288094759, -0.05022616684436798, -0.020358936861157417, 0.03061297908425331, -0.04280596971511841, -0.07334437221288681, 0.03333496302366257, 0.015157340094447136, 0.04802620783448219, -0.0006041728775016963, -0.03120957873761654, -0.017133573070168495, -0.027890997007489204, -0.03930095210671425, 0.006324880290776491, -0.059883613139390945, -0.04907025769352913, -0.0074761295691132545, 0.032085832208395004, -0.06995122134685516, 0.0044465260580182076, 0.03769759088754654, 0.0519041009247303, -0.024255473166704178, 0.005108377896249294, -0.03937552496790886, -0.07438842207193375, -0.030780773609876633, -0.05462608486413956, 0.023304643109440804, -0.05138207972049713, 0.028972333297133446, 0.048734672367572784, 0.06268016993999481, -0.013320934027433395, 0.037734877318143845, 0.08382213860750198, -0.05432778596878052, -0.05160580202937126, 0.02886047028005123, 0.06685636192560196, -0.056900616735219955, 0.022428389638662338, 0.05302272364497185, 0.035684071481227875, 0.03726878762245178, 0.051792241632938385, -0.0028990977443754673, -0.024702921509742737, -0.03482646122574806, -0.01625731959939003, -0.026194419711828232, -0.008911695331335068, -0.03769759088754654, -0.045155078172683716, 0.03915180265903473, 0.008813816122710705, -0.026511361822485924, 0.00043463159818202257, -0.003714760299772024, -0.02069452404975891, -0.01586580090224743, -0.0018294145120307803, -0.03266378864645958, 0.048510946333408356, -0.01580986939370632, -0.008715936914086342, -0.0327942930161953, 0.0020566347520798445, -0.01677934266626835, 0.06987664103507996, -0.08479161560535431, 0.015092086978256702, -0.019650476053357124, 0.0009013070957735181, 0.0012549550738185644, 0.06070393696427345, 0.02968079410493374, -0.035460345447063446, -0.045602526515722275, -0.04161277040839195, -0.03421121835708618, -0.03327903151512146, -0.04642285034060478, -0.026119844987988472, -0.05883956328034401, 0.020358936861157417, -0.0457889623939991, -0.024908002465963364, -0.008054085075855255, 0.05928701162338257, 0.03907722607254982, -0.04951770603656769, -0.02121654711663723, 0.004281063098460436, -0.021030111238360405, 0.09881168603897095, 0.015744617208838463, 0.017189504578709602, 0.03603830188512802, -0.016294606029987335, 0.0015812200726941228, 0.05663960427045822, 0.059436164796352386, 0.01701238937675953, -0.018336093053221703, 0.04616183787584305, -0.055670130997896194, -0.03505018353462219, 0.024609703570604324, 0.014542097225785255, -0.03650439530611038, -0.024143610149621964, 0.037977248430252075, 0.010869286023080349, 0.02000470645725727, 0.03335360437631607, 0.007247744128108025, -0.02099282294511795, 0.026045270264148712, 0.027294399216771126, 0.009815915487706661, -0.006637162528932095, 0.017077643424272537, -0.0327942930161953, 0.027424905449151993, 0.17450517416000366, -0.03710099309682846, 0.009219316765666008, -0.009177369065582752, -0.02488935925066471, -0.042694106698036194, -0.003183414228260517, -0.0511583536863327, -0.043850015848875046, 0.03230955824255943, 0.0007224439759738743, -0.056975193321704865, 0.019967418164014816, -0.03646710515022278, 0.014570062980055809, 0.006753685884177685, -0.017907287925481796, 0.056751467287540436, 0.027592698112130165, -0.004772791173309088, 0.039189089089632034, -0.028524883091449738, -0.03216040879487991, 0.001238641794770956, 0.03723149746656418, -0.03547899052500725, -0.06648349016904831, -0.031172290444374084, 0.062158145010471344, 0.041948359459638596, 0.04664657637476921, 0.032011259347200394, 0.024982577189803123, 0.07230032980442047, -0.02846895344555378, 0.025318164378404617, 0.02175721526145935, 0.054998960345983505, -0.029904518276453018, 0.0033232420682907104, -0.03600101172924042, 0.024926647543907166, 0.06469368934631348, 0.09336772561073303, -0.042694106698036194, -0.04030771180987358, -0.009741340763866901, -0.009517616592347622, 0.013442118652164936, 0.09209994971752167, -0.06133782118558884, 0.04261953383684158, 0.033018019050359726, -0.03600101172924042, 0.06652077287435532, -0.05917515233159065, 0.012081127613782883, 0.026660513132810593, 0.08755088597536087, 0.021496202796697617, -0.012043840251863003, -0.02626899443566799, 0.045677103102207184, 0.02968079410493374, -0.028040146455168724, 0.02770456112921238, 0.03654168173670769, 0.012789588421583176, -0.03490103408694267, -0.0270893182605505, 0.020265718922019005, -0.013488727621734142, 0.021925007924437523, -0.023714805021882057, -0.05846669152379036, 0.009946421720087528, -0.023379217833280563, 0.001575393951497972, 0.01327432505786419, -0.036746762692928314, -0.020936891436576843, 0.023602943867444992, 0.035833220928907394, 0.08076456934213638, -0.06241915747523308, -0.06752753257751465, 0.031340084969997406, -0.023714805021882057, -0.024311404675245285, -0.030967211350798607, 0.03236548975110054, 0.031470589339733124, -0.018196266144514084, -0.029214700683951378, 0.01608952507376671, 0.024460554122924805, -0.018811509013175964, -0.03236548975110054, 0.042843256145715714, -0.03268243372440338, -0.011298091150820255, 0.017208149656653404, -0.0427313931286335, 0.006730380933731794, 0.0008051754557527602, 0.008990931324660778, -0.026213062927126884, 0.0786019042134285, -0.051866814494132996, 0.006101155653595924, 0.023602943867444992, -0.008813816122710705, -0.007462146691977978, 0.031638383865356445, 0.05052446573972702, -0.03253328427672386, 0.09478464722633362, -0.04004669934511185, -0.004523431416600943, 0.004742494784295559, -0.06316490471363068, -0.021925007924437523, -0.06268016993999481, 0.04467033967375755, -0.016145456582307816, -0.03076213039457798, -0.009405754506587982, 0.012127736583352089, -0.018876761198043823, 0.02144027128815651, 0.020638592541217804, -0.062008995562791824, 0.0457889623939991, -0.02817065268754959, -0.004225132055580616, -0.0008389671565964818, 0.017767461016774178, -0.022428389638662338, 0.04892110824584961, -0.0412398986518383, -0.017646275460720062, -0.009377788752317429, -0.04302969574928284, -0.028897758573293686, 0.05086005479097366, 0.003626202465966344, 0.01232349593192339, 0.003598236944526434, 0.0041062780655920506, 0.03723149746656418, 0.007802394684404135, 0.04358900710940361, 0.01239807065576315, 0.01991148665547371, 0.004570040386170149, -0.000017114347429014742, -0.0293824952095747, 0.041799210011959076, 0.014141257852315903, 0.010356583632528782, 0.02487071603536606, -0.015893766656517982, 0.019986063241958618, -0.06898174434900284, 0.04097888618707657, 0.024311404675245285, 0.04053143784403801, -0.04612455144524574, 0.0064647081308066845, 0.0984388142824173, -0.005509217735379934, -0.0009677253547124565, -0.004842705093324184, -0.03152652084827423, 0.061412397772073746, -0.03885350003838539, -0.05671418085694313, 0.0412398986518383, 0.07688668370246887, -0.027611341327428818, 0.06133782118558884, 0.022484319284558296, 0.07382911443710327, -0.0648801252245903, -0.033465467393398285, -0.01993013173341751, 0.014775143936276436, -0.059958186000585556, 0.015008190646767616, 0.0021638362668454647, 0.012631116434931755, -0.007569348439574242, -0.014737856574356556, -0.002292011631652713, -0.02647407539188862, 0.010962503962218761, -0.006963427644222975, 0.002955028787255287, -0.06040563806891441, 0.011997230350971222, 0.07614093273878098, 0.02815200947225094, -0.043477144092321396, -0.07972052693367004, -0.05358203500509262, 0.04724317416548729, 0.021235192194581032, -0.013013312593102455, -0.037138279527425766, -0.03180617839097977, -0.02007928118109703, -0.03158245235681534, -0.0048240614123642445, 0.031340084969997406, -0.011093010194599628, -0.008464246988296509, -0.0010114215547218919, 0.003565610386431217, -0.014924293383955956, 0.0293824952095747, -0.04168734699487686, 0.016518332064151764, -0.02343514934182167, 0.02259618230164051, 0.05708705633878708, 0.02625035122036934, -0.008701954036951065, 0.038443341851234436, -0.03624338284134865, -0.032402776181697845, 0.011652321554720402, -0.022036870941519737, -0.01570732891559601, 0.052239689975976944, -0.06122595816850662, -0.017040355131030083, -0.029568931087851524, 0.0270893182605505, -0.010720135644078255, 0.0005226066568866372, -0.03066891059279442, 0.002326968591660261, 0.02375209331512451, -0.008398993872106075, -0.011857402510941029, 0.01232349593192339, -0.061263248324394226, 0.006725720129907131, -0.04571438953280449, -0.03695184364914894, 0.008939661085605621, 0.06633433699607849, 0.052015963941812515, 0.010058283805847168, -0.05589385703206062, 0.03176889196038246, -0.002896767109632492, -0.009447702206671238, 0.032626502215862274, 0.03298073261976242, 0.023491080850362778, -0.038965363055467606, -0.0012584507931023836, 0.006898174528032541, -0.015986984595656395, 0.028431665152311325, 0.003742725821211934, 0.02457241714000702, -0.07084611803293228, -0.0014262441545724869, 0.045304227620363235, 0.0033931562211364508, 0.024087680503726006, -0.024292759597301483, 0.036597613245248795, 0.022092802450060844, -0.012444679625332355, 0.021328410133719444, -0.05145665258169174, 0.008305775001645088, -0.020899605005979538, -0.024777496233582497, 0.01603359542787075, -0.04161277040839195, -0.015325133688747883, -0.013143818825483322, 0.03687726706266403, -0.04157548397779465, 0.04094159975647926, 0.008865086361765862, -0.006301575805991888, 0.010459124110639095, -0.033018019050359726, -0.009722697548568249, -0.043327994644641876, 0.04183649644255638, 0.03344682604074478, 0.06734109669923782, -0.0801679715514183, -0.009359144605696201, -0.00011404709948692471, 0.018867438659071922, 0.04019584879279137, 0.021235192194581032, 0.020321648567914963, 0.05030074343085289, -0.007247744128108025, 0.030706198886036873, -0.007867647334933281, -0.051866814494132996, 0.011549781076610088, 0.033614616841077805, -0.00024353351909667253, -0.001343512674793601, -0.036821335554122925, -0.009517616592347622, -0.04828722029924393, 0.023640230298042297, 0.02190636470913887, -0.026735087856650352, -0.02839437685906887, -0.0077045150101184845, -0.006930801086127758, -0.007317658048123121, 0.060331061482429504, -0.04526694118976593, -0.010058283805847168, -0.03495696559548378, -0.019221670925617218, -0.02762998454272747, 0.016462400555610657, 0.0007632270571775734, 0.004954567179083824, 0.02481478452682495, 0.03848062828183174, 0.00033908255863934755, -0.025224946439266205, 0.03249599412083626, -0.0050943950191140175, -0.01319975033402443, -0.06838514655828476, -0.03199261426925659, 0.010682848282158375, -0.0663716271519661, 0.009046862833201885, -0.05663960427045822, -0.021197903901338577, -0.011689608916640282, -0.03475188463926315, 0.0050151594914495945, 0.057907380163669586, -0.017907287925481796, -0.0019890512339770794, 0.04258224368095398, -0.03221634030342102, -0.03555356338620186, 0.01687256246805191, -0.012463323771953583, -0.005276171490550041, -0.03374512493610382, 0.005173631012439728, -0.01588444598019123, 0.0412398986518383, -0.04802620783448219, -0.013992108404636383, 0.01403871737420559, 0.01708696410059929, -0.005164308939129114, 0.011037079617381096, 0.029885875061154366, 0.03624338284134865, 0.0001714347890811041, -0.052015963941812515, 0.0037567084655165672, -0.06130053475499153, -0.022689400240778923, 0.010645560920238495, -0.03253328427672386, 0.03577728942036629, -0.058951426297426224, -0.024852072820067406, 0.009368467144668102, -0.023323288187384605, -0.034379009157419205, -0.04795163497328758, -0.012258242815732956, -0.011708253063261509, 0.039487387984991074, -0.03862977772951126, 0.03596372529864311, -0.05220240354537964, 0.03549763187766075, -0.08359842002391815, -0.055371832102537155, 0.05992089956998825, 0.03577728942036629, -0.08523906767368317, 0.01570732891559601, 0.0072663878090679646, -0.02755540981888771, 0.02136569656431675, 0.061785269528627396, 0.01809372566640377, 0.010785388760268688, -0.08158489316701889, 0.022484319284558296, -0.011726896278560162, -0.016844596713781357, 0.0301468875259161, -0.022689400240778923, -0.042395807802677155, 0.07494773715734482, -0.04448390379548073, 0.07077154517173767, -0.020414868369698524, 0.02649271860718727, -0.007578670047223568, -0.017497126013040543, 0.010701492428779602, -0.04955499246716499, 0.006665128283202648, -0.03038925491273403, -0.056900616735219955, 0.01877422071993351, 0.03244006261229515, -0.016984423622488976, 0.002673042705282569, -0.03801453486084938, 0.03199261426925659, 0.005788873415440321, 0.009694731794297695, -0.02792828530073166, 0.05220240354537964, 0.004166870377957821, 0.05578199401497841, -0.012910772114992142, -0.028655389323830605, 0.005173631012439728, 0.0587649904191494, -0.011885368265211582, -0.010403192602097988, 0.06812413781881332, 0.016453078016638756, -0.03639253228902817, -0.022465676069259644, 0.0312841534614563, 0.04664657637476921, 0.017664920538663864, -0.010048962198197842, 0.0070566460490226746, -0.034770529717206955, 0.016136135905981064, 0.020489443093538284, -0.002381734549999237, 0.010748101398348808, 0.021869078278541565, 0.007737141568213701, -0.038443341851234436, -0.04769062250852585, -0.005173631012439728, -0.016005629673600197, -0.033148523420095444, -0.07427655905485153, -0.018336093053221703, -0.01771152950823307, -0.03978568688035011, 0.03044518642127514, -0.005420660134404898, 0.018075082451105118, 0.051717665046453476, 0.01624799706041813, 0.05335831269621849, 0.0011087184539064765, 0.059734463691711426, 0.018354738131165504, -0.033390894532203674, 0.052239689975976944, 0.018037794157862663, 0.015203949064016342, -0.035609494894742966, 0.03439765423536301, 0.06391065567731857, -0.018336093053221703, 0.01507344376295805, 0.02099282294511795, 0.009713375009596348, 0.006185052450746298, 0.02365887351334095, 0.03523661941289902, -0.0019249635515734553, -0.061859846115112305, -0.021626709029078484, -0.008757884614169598, -0.02153349108994007, -0.014337017200887203, 0.03810775279998779, 0.06208357214927673, -0.017515769228339195 ]
16,326
presidio_analyzer.analyzer_engine
AnalyzerEngine
Entry point for Presidio Analyzer. Orchestrating the detection of PII entities and all related logic. :param registry: instance of type RecognizerRegistry :param nlp_engine: instance of type NlpEngine (for example SpacyNlpEngine) :param app_tracer: instance of type AppTracer, used to trace the logic used during each request for interpretability reasons. :param log_decision_process: bool, defines whether the decision process within the analyzer should be logged or not. :param default_score_threshold: Minimum confidence value for detected entities to be returned :param supported_languages: List of possible languages this engine could be run on. Used for loading the right NLP models and recognizers for these languages. :param context_aware_enhancer: instance of type ContextAwareEnhancer for enhancing confidence score based on context words, (LemmaContextAwareEnhancer will be created by default if None passed)
class AnalyzerEngine: """ Entry point for Presidio Analyzer. Orchestrating the detection of PII entities and all related logic. :param registry: instance of type RecognizerRegistry :param nlp_engine: instance of type NlpEngine (for example SpacyNlpEngine) :param app_tracer: instance of type AppTracer, used to trace the logic used during each request for interpretability reasons. :param log_decision_process: bool, defines whether the decision process within the analyzer should be logged or not. :param default_score_threshold: Minimum confidence value for detected entities to be returned :param supported_languages: List of possible languages this engine could be run on. Used for loading the right NLP models and recognizers for these languages. :param context_aware_enhancer: instance of type ContextAwareEnhancer for enhancing confidence score based on context words, (LemmaContextAwareEnhancer will be created by default if None passed) """ def __init__( self, registry: RecognizerRegistry = None, nlp_engine: NlpEngine = None, app_tracer: AppTracer = None, log_decision_process: bool = False, default_score_threshold: float = 0, supported_languages: List[str] = None, context_aware_enhancer: Optional[ContextAwareEnhancer] = None, ): if not supported_languages: supported_languages = ["en"] if not nlp_engine: logger.info("nlp_engine not provided, creating default.") provider = NlpEngineProvider() nlp_engine = provider.create_engine() if not registry: logger.info("registry not provided, creating default.") registry = RecognizerRegistry() if not app_tracer: app_tracer = AppTracer() self.app_tracer = app_tracer self.supported_languages = supported_languages self.nlp_engine = nlp_engine if not self.nlp_engine.is_loaded(): self.nlp_engine.load() self.registry = registry # load all recognizers if not registry.recognizers: registry.load_predefined_recognizers( nlp_engine=self.nlp_engine, languages=self.supported_languages ) self.log_decision_process = log_decision_process self.default_score_threshold = default_score_threshold if not context_aware_enhancer: logger.debug( "context aware enhancer not provided, creating default" + " lemma based enhancer." ) context_aware_enhancer = LemmaContextAwareEnhancer() self.context_aware_enhancer = context_aware_enhancer def get_recognizers(self, language: Optional[str] = None) -> List[EntityRecognizer]: """ Return a list of PII recognizers currently loaded. :param language: Return the recognizers supporting a given language. :return: List of [Recognizer] as a RecognizersAllResponse """ if not language: languages = self.supported_languages else: languages = [language] recognizers = [] for language in languages: logger.info(f"Fetching all recognizers for language {language}") recognizers.extend( self.registry.get_recognizers(language=language, all_fields=True) ) return list(set(recognizers)) def get_supported_entities(self, language: Optional[str] = None) -> List[str]: """ Return a list of the entities that can be detected. :param language: Return only entities supported in a specific language. :return: List of entity names """ recognizers = self.get_recognizers(language=language) supported_entities = [] for recognizer in recognizers: supported_entities.extend(recognizer.get_supported_entities()) return list(set(supported_entities)) def analyze( self, text: str, language: str, entities: Optional[List[str]] = None, correlation_id: Optional[str] = None, score_threshold: Optional[float] = None, return_decision_process: Optional[bool] = False, ad_hoc_recognizers: Optional[List[EntityRecognizer]] = None, context: Optional[List[str]] = None, allow_list: Optional[List[str]] = None, nlp_artifacts: Optional[NlpArtifacts] = None, ) -> List[RecognizerResult]: """ Find PII entities in text using different PII recognizers for a given language. :param text: the text to analyze :param language: the language of the text :param entities: List of PII entities that should be looked for in the text. If entities=None then all entities are looked for. :param correlation_id: cross call ID for this request :param score_threshold: A minimum value for which to return an identified entity :param return_decision_process: Whether the analysis decision process steps returned in the response. :param ad_hoc_recognizers: List of recognizers which will be used only for this specific request. :param context: List of context words to enhance confidence score if matched with the recognized entity's recognizer context :param allow_list: List of words that the user defines as being allowed to keep in the text :param nlp_artifacts: precomputed NlpArtifacts :return: an array of the found entities in the text :example: >>> from presidio_analyzer import AnalyzerEngine >>> # Set up the engine, loads the NLP module (spaCy model by default) >>> # and other PII recognizers >>> analyzer = AnalyzerEngine() >>> # Call analyzer to get results >>> results = analyzer.analyze(text='My phone number is 212-555-5555', entities=['PHONE_NUMBER'], language='en') # noqa D501 >>> print(results) [type: PHONE_NUMBER, start: 19, end: 31, score: 0.85] """ all_fields = not entities recognizers = self.registry.get_recognizers( language=language, entities=entities, all_fields=all_fields, ad_hoc_recognizers=ad_hoc_recognizers, ) if all_fields: # Since all_fields=True, list all entities by iterating # over all recognizers entities = self.get_supported_entities(language=language) # run the nlp pipeline over the given text, store the results in # a NlpArtifacts instance if not nlp_artifacts: nlp_artifacts = self.nlp_engine.process_text(text, language) if self.log_decision_process: self.app_tracer.trace( correlation_id, "nlp artifacts:" + nlp_artifacts.to_json() ) results = [] for recognizer in recognizers: # Lazy loading of the relevant recognizers if not recognizer.is_loaded: recognizer.load() recognizer.is_loaded = True # analyze using the current recognizer and append the results current_results = recognizer.analyze( text=text, entities=entities, nlp_artifacts=nlp_artifacts ) if current_results: # add recognizer name to recognition metadata inside results # if not exists self.__add_recognizer_id_if_not_exists(current_results, recognizer) results.extend(current_results) results = self._enhance_using_context( text, results, nlp_artifacts, recognizers, context ) if self.log_decision_process: self.app_tracer.trace( correlation_id, json.dumps([str(result.to_dict()) for result in results]), ) # Remove duplicates or low score results results = EntityRecognizer.remove_duplicates(results) results = self.__remove_low_scores(results, s
(registry: presidio_analyzer.recognizer_registry.RecognizerRegistry = None, nlp_engine: presidio_analyzer.nlp_engine.nlp_engine.NlpEngine = None, app_tracer: presidio_analyzer.app_tracer.AppTracer = None, log_decision_process: bool = False, default_score_threshold: float = 0, supported_languages: List[str] = None, context_aware_enhancer: Optional[presidio_analyzer.context_aware_enhancers.context_aware_enhancer.ContextAwareEnhancer] = None)
[ 0.029331142082810402, -0.08009053021669388, -0.07435011863708496, 0.03859050199389458, 0.04698486998677254, -0.0030962834134697914, 0.007126366253942251, -0.08980204910039902, 0.02211630903184414, -0.007991359569132328, 0.01102866604924202, -0.02205733209848404, -0.013230468146502972, 0.010001487098634243, -0.03939652070403099, -0.007406506221741438, -0.03100215084850788, 0.030825220048427582, 0.012906095013022423, -0.040733326226472855, -0.03471769019961357, 0.01439034566283226, -0.023394141346216202, -0.02032734639942646, 0.0038384085055440664, -0.03365610912442207, 0.040733326226472855, -0.04004526510834694, -0.03866913914680481, 0.01148082222789526, -0.002604809822514653, -0.021329952403903008, 0.01809605583548546, -0.020759843289852142, -0.03890504688024521, -0.038452889770269394, 0.003047135891392827, 0.043564215302467346, -0.03627074882388115, 0.01870548352599144, -0.09027386456727982, -0.01444932259619236, 0.038767434656620026, -0.012100079096853733, -0.07804600149393082, 0.0026785307563841343, 0.009052942506968975, 0.029173869639635086, 0.03849220648407936, -0.024121521040797234, -0.02722763456404209, -0.05712888389825821, 0.016395557671785355, 0.037391308695077896, -0.0037057106383144855, 0.0362117700278759, -0.03554336726665497, 0.02392493188381195, 0.007681731600314379, -0.04501897841691971, 0.05563480406999588, -0.010340603068470955, 0.016926348209381104, 0.026244686916470528, 0.02685411460697651, 0.033243272453546524, 0.01439034566283226, 0.04572669789195061, -0.007263978943228722, -0.003963734023272991, -0.012188543565571308, -0.07725964486598969, 0.027483200654387474, 0.020052120089530945, 0.06345906108617783, 0.007288552820682526, 0.000756869267206639, 0.02199835516512394, 0.08303937315940857, 0.03369542583823204, 0.007249234709888697, 0.031041469424962997, 0.02606775611639023, -0.059920456260442734, 0.04663101211190224, -0.04203081876039505, 0.018007591366767883, -0.022706078365445137, 0.019393546506762505, -0.05264664813876152, -0.02866273745894432, 0.041755594313144684, 0.03229964151978493, 0.056145939975976944, -0.007406506221741438, 0.040379468351602554, -0.010301285423338413, -0.03172953054308891, -0.011864171363413334, -0.026893433183431625, -0.03367576748132706, 0.11071915924549103, -0.012129567563533783, 0.03039272502064705, 0.02410186268389225, -0.019747406244277954, -0.048832811415195465, 0.021919719874858856, 0.06731221824884415, 0.04297444596886635, -0.08940886706113815, -0.005406208802014589, 0.002811228623613715, -0.0022239177487790585, -0.01643487624824047, -0.016572488471865654, -0.03831527754664421, -0.013112514279782772, -0.008217438124120235, 0.04647373780608177, -0.03430485352873802, -0.0013454088475555182, -0.05646048113703728, -0.01660197600722313, -0.02074018307030201, -0.026637867093086243, 0.007765281945466995, 0.01618913933634758, -0.0003566255036275834, -0.07855713367462158, -0.025399353355169296, 0.017840489745140076, -0.010468386113643646, 0.009077516384422779, 0.03170987218618393, -0.0012329842429608107, 0.011490651406347752, 0.010674805380403996, -0.03184748440980911, 0.011913319118320942, -0.0062564583495259285, -0.014685229398310184, 0.018076397478580475, -0.02225392311811447, -0.03196543827652931, -0.014468980953097343, -0.011795365251600742, -0.021329952403903008, -0.040497422218322754, -0.018548211082816124, 0.019865360110998154, -0.055359579622745514, 0.006782334763556719, -0.04513693228363991, 0.02176244929432869, -0.00815354660153389, 0.014577105641365051, -0.04470443353056908, -0.013368080370128155, 0.00979998242110014, -0.022706078365445137, -0.061493169516325, 0.024632655084133148, 0.025379693135619164, -0.004339711274951696, 0.01612033322453499, 0.004968797788023949, -0.03676222264766693, -0.020484616979956627, 0.04352489858865738, -0.015137385576963425, -0.013348422013223171, -0.05229278653860092, -0.020995749160647392, -0.033793721348047256, 0.10655146837234497, 0.03919992968440056, 0.024593336507678032, -0.001257557887583971, 0.06857039034366608, -0.002344328910112381, -0.017545605078339577, -0.09011659026145935, -0.04513693228363991, 0.018538381904363632, 0.04132309556007385, 0.0023050110321491957, 0.022686418145895004, -0.010664976201951504, 0.03658528998494148, -0.027070362120866776, -0.030137157067656517, 0.043564215302467346, -0.008605701848864555, -0.005150642711669207, 0.011716729030013084, -0.02997988648712635, -0.0036344469990581274, -0.026519913226366043, -0.007313126232475042, -0.00495896814391017, 0.02591048553586006, 0.013515522703528404, 0.037312671542167664, -0.07820326834917068, 0.03874777629971504, -0.048046454787254333, 0.06632927060127258, -0.050523482263088226, -0.05245005711913109, -0.023787319660186768, -0.0351501889526844, 0.003413283731788397, 0.018538381904363632, 0.05929137021303177, -0.018331963568925858, 0.031513284891843796, 0.03406894579529762, 0.008586042560636997, 0.011874000541865826, 0.0034206558484584093, -0.022627443075180054, -0.01738833449780941, -0.043367624282836914, 0.0032732137478888035, 0.0035484391264617443, 0.003440314903855324, 0.03375440463423729, 0.05095597729086876, -0.041401732712984085, 0.004000594839453697, -0.014852331019937992, -0.024789925664663315, 0.02553696557879448, 0.0605495423078537, -0.0060500395484268665, 0.044822387397289276, 0.05799387767910957, -0.04549079015851021, 0.010379921644926071, -0.004248789045959711, 0.006507109850645065, -0.030019205063581467, -0.028937961906194687, -0.07269876450300217, 0.025163445621728897, 0.07541169971227646, -0.028820008039474487, 0.060706812888383865, -0.028092628344893456, 0.007131281308829784, -0.06974992901086807, -0.031218400225043297, -0.02225392311811447, -0.0010062920628115535, -0.045412156730890274, -0.016995156183838844, 0.013525351881980896, 0.05885887145996094, -0.02349243499338627, -0.006281031761318445, 0.0482037253677845, -0.033911675214767456, 0.07427148520946503, -0.02494719810783863, 0.026421617716550827, 0.0077554527670145035, -0.008369794115424156, 0.016867371276021004, -0.04136241227388382, 0.01889224350452423, 0.04171627387404442, -0.03224066644906998, -0.015098067000508308, -0.00898905098438263, 0.04159832000732422, -0.05909477919340134, 0.043564215302467346, -0.06463859975337982, 0.0833539143204689, 0.045412156730890274, 0.012463768944144249, -0.0030127328354865313, -0.032221004366874695, 0.05197824165225029, -0.013889042660593987, -0.036604948341846466, -0.0007752995006740093, -0.019157638773322105, -0.04360353201627731, -0.022509489208459854, 0.03237827867269516, 0.030078181996941566, -0.0020150416530668736, 0.02219494618475437, 0.03843323141336441, -0.002752251923084259, -0.030058521777391434, -0.026519913226366043, -0.07859645038843155, 0.004020253662019968, 0.037489600479602814, 0.07655192166566849, -0.042541950941085815, -0.05079870671033859, -0.010448727756738663, 0.05138847604393959, -0.01731952838599682, 0.02565491944551468, -0.05724683776497841, -0.018381111323833466, -0.0013429514365270734, 0.036251090466976166, 0.018734971061348915, -0.036231428384780884, -0.0305696539580822, 0.027109680697321892, 0.01667078211903572, 0.04226672649383545, 0.023885615170001984, -0.029055915772914886, 0.0717158168554306, 0.02386595495045185, 0.0007814429700374603, 0.060392268002033234, -0.06479587405920029, 0.06625063717365265, 0.027483200654387474, 0.024848902598023415, -0.06849175691604614, -0.008738399483263493, -0.04226672649383545, -0.013240297324955463, 0.008782632648944855, -0.028092628344893456, -0.05532026290893555, 0.007966786623001099, -0.018607188016176224, 0.03249623253941536, -0.024082204326987267, 0.02471129037439823, -0.017309699207544327, -0.04466511681675911, 0.058072514832019806, 0.041047871112823486, -0.022135969251394272, 0.014459151774644852, -0.038452889770269394, 0.02769945003092289, -0.0248095840215683, -0.014685229398310184, -0.03229964151978493, 0.013083025813102722, 0.007445824332535267, 0.012316327542066574, -0.04659169167280197, -0.02907557599246502, -0.01727038063108921, -0.019757237285375595, -0.03332190588116646, -0.031159423291683197, -0.010979519225656986, -0.030667949467897415, 0.0470241904258728, -0.03430485352873802, -0.03459973633289337, 0.018725141882896423, -0.0156386885792017, 0.04016321897506714, -0.013554840348660946, -0.018204180523753166, -0.040143560618162155, -0.026048097759485245, 0.01439034566283226, 0.02823024056851864, 0.009337997063994408, 0.026362640783190727, 0.026008781045675278, -0.034874964505434036, 0.06660449504852295, -0.009573904797434807, 0.06302656978368759, -0.018744800239801407, -0.0011033581104129553, -0.0023160690907388926, -0.04466511681675911, 0.023059938102960587, 0.023118915036320686, 0.02020939253270626, -0.0024549104273319244, -0.001377354608848691, -0.01618913933634758, -0.025163445621728897, -0.02937045879662037, -0.0117560476064682, -0.007426165509968996, -0.07883235812187195, 0.016513511538505554, -0.037509262561798096, -0.04387876018881798, 0.010566681623458862, -0.010969690047204494, 0.06573950499296188, 0.013486034236848354, -0.02685411460697651, 0.025379693135619164, 0.07549034059047699, 0.019580306485295296, -0.0013441802002489567, 0.08012984693050385, 0.002175999106839299, 0.0076719019562006, 0.002325898502022028, -0.034324511885643005, -0.07930417358875275, -0.0235710721462965, 0.036231428384780884, 0.023944592103362083, 0.003179833758622408, 0.045058295130729675, 0.013928360305726528, 0.037863120436668396, 0.061650440096855164, 0.04513693228363991, 0.008183034136891365, 0.03377406299114227, -0.036604948341846466, 0.007431080099195242, -0.04112650826573372, -0.05988113582134247, 0.002533546183258295, 0.009952339343726635, -0.034442465752363205, -0.049737121909856796, -0.015687836334109306, -0.014292051084339619, -0.02758149616420269, 0.015540394000709057, -0.006035295315086842, -0.002651499817147851, 0.007268893998116255, 0.0032388106919825077, 0.06896356493234634, 0.041991498321294785, 0.07733827829360962, -0.027011387050151825, -0.05300050601363182, -0.008807205595076084, -0.042109452188014984, -0.03182782605290413, 0.027424223721027374, 0.013800577260553837, 0.051113247871398926, 0.033911675214767456, 0.00952967256307602, 0.01162826456129551, 0.0489114485681057, 0.025674577802419662, 0.00854181032627821, 0.028092628344893456, -0.002870205556973815, 0.04214877262711525, 0.01882343739271164, 0.002029785653576255, 0.016405386850237846, 0.019649112597107887, -0.01589425466954708, -0.007460568565875292, -0.06381292641162872, 0.006276117172092199, 0.034147582948207855, 0.017840489745140076, 0.058426376432180405, -0.03770584985613823, -0.03788278251886368, 0.01696566678583622, 0.04269922152161598, -0.022588124498724937, 0.01028162706643343, 0.01870548352599144, 0.07954008132219315, -0.016474192962050438, 0.008703996427357197, 0.010419239290058613, -0.03424587845802307, -0.02974397875368595, 0.031080788001418114, -0.03965208679437637, -0.0370374470949173, -0.01099917758256197, -0.025320718064904213, 0.007494971621781588, 0.05425867810845375, 0.006074612960219383, -0.012876606546342373, -0.014095460996031761, 0.041283778846263885, -0.0043372539803385735, 0.03477666899561882, -0.04828236252069473, 0.009431377053260803, -0.022745395079255104, 0.014970283955335617, -0.02942943572998047, 0.0868925228714943, -0.008772802539169788, -0.016228456050157547, 0.02608741633594036, -0.043918076902627945, 0.04360353201627731, -0.06715494394302368, -0.06216157600283623, 0.07505784183740616, -0.08712843060493469, -0.018204180523753166, 0.01469505950808525, 0.004524013958871365, -0.0027178486343473196, -0.05264664813876152, 0.006344923283904791, -0.001150048105046153, -0.0009331853943876922, 0.021978696808218956, -0.03859050199389458, 0.043485578149557114, 0.02091711387038231, -0.0487934947013855, -0.006905203219503164, 0.028466148301959038, 0.0060500395484268665, 0.015550223179161549, -0.047220777720212936, 0.018656335771083832, 0.00002223149931523949, 0.03027477115392685, 0.03619211167097092, -0.007082134019583464, -0.04777123034000397, 0.08319664001464844, 0.043918076902627945, -0.01105815451592207, 0.02427879348397255, -0.07898962497711182, -0.024927537888288498, 0.06373429298400879, -0.043918076902627945, 0.004150494001805782, 0.01142184529453516, -0.027188315987586975, 0.022332558408379555, 0.02337448112666607, -0.01900036819279194, -0.00026954253553412855, 0.027129339054226875, 0.049186673015356064, 0.02577287331223488, 0.05571344122290611, -0.010792759247124195, 0.015432269312441349, 0.03886572644114494, 0.009229873307049274, -0.043249670416116714, -0.022627443075180054, -0.04694555327296257, 0.013525351881980896, 0.03212271258234978, -0.02565491944551468, 0.056932296603918076, -0.06389155983924866, -0.04179491102695465, 0.07379966974258423, -0.03627074882388115, -0.020956432446837425, 0.0019585220143198967, -0.06691903620958328, 0.027148999273777008, -0.014410004019737244, 0.00327567127533257, 0.020347004756331444, 0.0009909335058182478, 0.012689846567809582, 0.027955016121268272, -0.008374709635972977, -0.05756138265132904, 0.03847254812717438, 0.019590135663747787, 0.0485575869679451, 0.04816440865397453, 0.020995749160647392, 0.0014265020145103335, -0.0740748941898346, 0.021388929337263107, 0.04604124277830124, 0.0039145867340266705, 0.013151831924915314, 0.04332830756902695, -0.02758149616420269, -0.016887031495571136, 0.019708089530467987, -0.06687971949577332, -0.03772550821304321, -0.017968272790312767, -0.02620537020266056, -0.020405981689691544, 0.06212225556373596, -0.03009784035384655, -0.03568097949028015, 0.002769453451037407, 0.02787637896835804, 0.017712706699967384, -0.03009784035384655, -0.0306876078248024, 0.023099256679415703, -0.020582912489771843, 0.010419239290058613, -0.021742789074778557, -0.006546427495777607, 0.0609034039080143, 0.09349792450666428, 0.014685229398310184, 0.0350322350859642, 0.006806908641010523, -0.0014535330701619387, -0.015048920176923275, -0.022647101432085037, -0.004469952080398798, -0.029331142082810402, -0.11292096227407455, -0.00881703570485115, -0.028387513011693954, 0.010920542292296886, 0.01531431544572115, -0.017545605078339577, 0.0004441692144609988, 0.030353406444191933, 0.041047871112823486, 0.04246331378817558, -0.006340008694678545, -0.005042518489062786, -0.0006935920682735741, -0.05402277410030365, -0.0033297333866357803, -0.025753213092684746, -0.016277603805065155, -0.005435697268694639, 0.020484616979956627, -0.06318383663892746, -0.0010750984074547887, 0.09365519881248474, 0.0600777268409729, 0.018204180523753166, 0.03615279495716095, -0.02992090955376625, -0.027955016121268272, -0.04364285245537758, 0.05528094619512558, -0.004683742765337229, 0.010694464668631554, -0.004877875093370676, 0.0248095840215683, -0.01285694818943739, 0.055438216775655746, 0.04053673893213272, -0.020995749160647392, 0.024062544107437134, -0.0058190468698740005, 0.028761032968759537, -0.011382527649402618, 0.05909477919340134, 0.058426376432180405, 0.003700795816257596, -0.010517533868551254, 0.05103461444377899, 0.046670328825712204, 0.0365656316280365, 0.03579893335700035, 0.029213188216090202, -0.013613817282021046, 0.019472181797027588, -0.0178699791431427, -0.0030962834134697914, 0.01720157451927662, -0.010704293847084045, -0.01817469112575054, -0.03172953054308891, 0.006816738285124302, 0.0021096502896398306, -0.01797810196876526, 0.025045491755008698, -0.054887764155864716, -0.05539890006184578, 0.04045810177922249, 0.03982901573181152, -0.025694238021969795, 0.05311845988035202, -0.014370686374604702, -0.06628995388746262, -0.08846523612737656, -0.028269559144973755, -0.0066643813624978065, 0.014036484993994236, -0.027974674478173256, -0.03385269641876221, -0.03927856683731079, -0.025517307221889496, 0.06455996632575989, -0.04281717538833618, -0.003747485810890794, 0.002237433334812522, -0.045294202864170074, 0.025045491755008698, 0.035051893442869186, 0.06695835292339325, -0.02243085205554962, 0.058898188173770905, 0.028682395815849304, 0.009495268575847149, 0.054297998547554016, -0.015147214755415916, -0.03772550821304321, 0.039416179060935974, 0.02638230100274086, 0.04969780519604683, -0.005030231550335884, -0.03137567266821861, 0.00023206767218653113, 0.01917729713022709, -0.04258126765489578, 0.0857129842042923, -0.002237433334812522, -0.02758149616420269, -0.0077161346562206745, -0.07733827829360962, -0.08280346542596817, -0.06758744269609451, -0.0605495423078537, 0.046552374958992004, -0.053275734186172485, -0.04069400951266289, -0.031867146492004395, 0.020897455513477325, -0.01803707890212536, -0.07352444529533386, 0.00013899485929869115, 0.04092991724610329, 0.034619398415088654, 0.05276460200548172, -0.021959038451313972, -0.0017361303325742483, -0.004177525173872709, 0.05209619551897049, 0.02559594251215458, 0.012444110587239265, 0.021133363246917725, -0.02008160948753357, 0.0030348491854965687, 0.09247566014528275, 0.025812190026044846, -0.02038632333278656, -0.016385728493332863, -0.02374800108373165, -0.047338731586933136, 0.0008570069912821054, -0.01737850531935692, 0.01273899432271719, -0.005116239655762911, 0.027050703763961792, 0.01619896851480007 ]
16,327
presidio_analyzer.analyzer_engine
__add_recognizer_id_if_not_exists
Ensure recognition metadata with recognizer id existence. Ensure recognizer result list contains recognizer id inside recognition metadata dictionary, and if not create it. recognizer_id is needed for context aware enhancement. :param results: List of RecognizerResult :param recognizer: Entity recognizer
@staticmethod def __add_recognizer_id_if_not_exists( results: List[RecognizerResult], recognizer: EntityRecognizer ) -> None: """Ensure recognition metadata with recognizer id existence. Ensure recognizer result list contains recognizer id inside recognition metadata dictionary, and if not create it. recognizer_id is needed for context aware enhancement. :param results: List of RecognizerResult :param recognizer: Entity recognizer """ for result in results: if not result.recognition_metadata: result.recognition_metadata = dict() if ( RecognizerResult.RECOGNIZER_IDENTIFIER_KEY not in result.recognition_metadata ): result.recognition_metadata[ RecognizerResult.RECOGNIZER_IDENTIFIER_KEY ] = recognizer.id if RecognizerResult.RECOGNIZER_NAME_KEY not in result.recognition_metadata: result.recognition_metadata[ RecognizerResult.RECOGNIZER_NAME_KEY ] = recognizer.name
(results: List[presidio_analyzer.recognizer_result.RecognizerResult], recognizer: presidio_analyzer.entity_recognizer.EntityRecognizer) -> NoneType
[ 0.008427617140114307, -0.07198271155357361, -0.058189619332551956, 0.042277272790670395, 0.026526562869548798, 0.007493709214031696, 0.02641880512237549, 0.0032933708280324936, 0.04626433923840523, 0.03033403307199478, 0.011934259906411171, 0.014628223143517971, 0.009877867065370083, -0.04051721468567848, 0.011898339726030827, -0.014556384645402431, -0.022216221317648888, 0.06885771453380585, 0.018642229959368706, -0.07147984206676483, 0.0015714789042249322, 0.014727002009749413, -0.008032501675188541, -0.0006987468805164099, 0.028753573074936867, 0.03839796409010887, 0.03854164108633995, -0.04389365017414093, -0.0017521990230306983, 0.04256462678313255, -0.03207612782716751, -0.06443961709737778, 0.05240657553076744, 0.040229860693216324, -0.013020825572311878, -0.02230602130293846, -0.03922411426901817, 0.09015798568725586, -0.09102005511522293, -0.011341587640345097, -0.018893666565418243, 0.0010455946903675795, 0.018238134682178497, -0.00953663233667612, -0.06860627979040146, 0.012248555198311806, -0.02880745381116867, -0.024820387363433838, 0.01769036240875721, -0.04486347734928131, 0.024694668129086494, -0.030423831194639206, -0.015822546556591988, 0.04461204260587692, -0.02367096208035946, -0.009146006777882576, -0.0071973735466599464, 0.06390082091093063, -0.02241377905011177, 0.021048836410045624, 0.03926003351807594, -0.011988138779997826, -0.031016502529382706, 0.011278728954494, 0.04252870753407478, -0.000057457196817267686, -0.004148704465478659, 0.0331537164747715, -0.007668816950172186, 0.000035463508538668975, -0.017088711261749268, -0.036745667457580566, 0.03613503649830818, 0.01643317937850952, 0.06792380660772324, 0.006371224299073219, -0.04295974224805832, 0.017672402784228325, 0.16724127531051636, 0.0299568772315979, 0.015607030130922794, 0.0180585365742445, 0.03178877383470535, -0.03638647124171257, 0.023814640939235687, 0.0104795191437006, -0.007224312983453274, -0.028160901740193367, -0.011036272160708904, -0.08678155392408371, -0.03669178858399391, 0.005311598535627127, 0.00764636741951108, 0.027334753423929214, -0.037068940699100494, 0.045581866055727005, 0.0016522977966815233, -0.040265779942274094, -0.011467305943369865, -0.01991737261414528, -0.025844093412160873, 0.025466937571763992, -0.018408752977848053, -0.035668082535266876, 0.027927424758672714, -0.04529451206326485, -0.008930490352213383, -0.017896899953484535, 0.02839437872171402, 0.03162713348865509, -0.016927072778344154, -0.05786634236574173, -0.008876610547304153, 0.00672592967748642, 0.02877153269946575, -0.09806028008460999, 0.014727002009749413, -0.046623535454273224, -0.008140260353684425, 0.029418084770441055, 0.023994237184524536, -0.05919536575675011, -0.07499995082616806, -0.0037917541339993477, -0.00973418913781643, -0.059267204254865646, 0.01943245902657509, 0.04626433923840523, 0.0622844435274601, -0.050897955894470215, 0.0073141115717589855, -0.0020698620937764645, -0.05028732493519783, -0.010156244039535522, 0.011655883863568306, 0.01813935674726963, 0.02411995641887188, 0.022790933027863503, -0.013703295961022377, 0.00046779558761045337, -0.03304595500230789, -0.028160901740193367, 0.01720544882118702, 0.02880745381116867, -0.014619243331253529, 0.0008317613392136991, -0.049676693975925446, 0.0319683700799942, -0.004117274656891823, -0.05226289853453636, 0.013918813318014145, -0.0037446096539497375, 0.030244233086705208, -0.01205997820943594, -0.0329202376306057, 0.013020825572311878, -0.021749267354607582, -0.03482397273182869, -0.003374189604073763, -0.026562483981251717, 0.05247841402888298, -0.050826117396354675, 0.04141520336270332, -0.0009007941698655486, 0.028645815327763557, -0.011602004058659077, -0.013541658408939838, 0.016361340880393982, -0.0074577899649739265, 0.05380743741989136, 0.022288059815764427, 0.004795255605131388, -0.022431738674640656, -0.01858835108578205, -0.03608115389943123, 0.07464075833559036, -0.010084404610097408, -0.007704736664891243, -0.012482032179832458, 0.06892955303192139, 0.04084049165248871, -0.004440550226718187, -0.014529445208609104, -0.043390776962041855, 0.020348407328128815, 0.035255007445812225, 0.010991372168064117, 0.02798130363225937, 0.049999967217445374, 0.03353086858987808, 0.08038788288831711, -0.006227546371519566, 0.04188215732574463, -0.0050287325866520405, -0.002934175543487072, -0.003933187108486891, -0.02474854700267315, 0.006088358350098133, -0.043606292456388474, -0.039152275770902634, -0.008270468562841415, -0.0008312001009471714, 0.0021619058679789305, 0.06997121870517731, -0.035290926694869995, 0.018714068457484245, 0.001884652185253799, 0.04382181167602539, -0.04784479737281799, -0.016567876562476158, 0.0027343733236193657, -0.005455276928842068, -0.004162174183875322, 0.05768674612045288, 0.029669521376490593, -0.02634696662425995, 0.02880745381116867, 0.04173848032951355, 0.02839437872171402, 0.007561058271676302, 0.03600931540131569, -0.028232740238308907, 0.023365646600723267, -0.02464078925549984, 0.015741728246212006, -0.0056752837263047695, -0.014852720312774181, -0.03151937574148178, 0.007754125632345676, -0.006600211374461651, 0.01174568198621273, -0.00789780355989933, -0.021731307730078697, 0.0027209033723920584, -0.02015084959566593, -0.02772986702620983, 0.04924565926194191, 0.0012403458822518587, 0.03961922600865364, 0.005931210238486528, -0.004732396453619003, 0.06763645261526108, -0.021497830748558044, 0.0019508787663653493, -0.012338354252278805, -0.00995868630707264, 0.006820218171924353, -0.011386486701667309, -0.017106670886278152, -0.02672412060201168, 0.0053969076834619045, -0.0038523683324456215, -0.011206889525055885, 0.010955452919006348, 0.019899412989616394, -0.03976290673017502, -0.07169535756111145, -0.03006463684141636, 0.06124277785420418, -0.03987066447734833, -0.03667382895946503, 0.069863460958004, -0.0028533567674458027, 0.011655883863568306, -0.1154453307390213, -0.03742813691496849, -0.0026692692190408707, 0.06885771453380585, -0.056321803480386734, -0.02126435376703739, 0.07101288437843323, 0.005329558625817299, -0.010542378760874271, -0.05563933402299881, 0.04058905318379402, 0.03714078292250633, -0.0021136391442269087, 0.04066089540719986, -0.06185340881347656, 0.0658404752612114, 0.05136490985751152, 0.0046066781505942345, -0.00292744068428874, 0.014996398240327835, 0.022844813764095306, 0.029382165521383286, -0.02200070396065712, 0.045438189059495926, -0.07108472287654877, -0.034877851605415344, -0.0043036071583628654, 0.021713348105549812, 0.004269932862371206, 0.023617083206772804, -0.05499278008937836, -0.0005626455531455576, -0.04285198450088501, -0.01587642729282379, 0.002716413466259837, -0.04471980035305023, -0.03958330675959587, 0.08045972138643265, 0.027065357193350792, -0.032722681760787964, -0.056106287986040115, -0.02151579037308693, 0.0180585365742445, -0.0403735376894474, -0.021210474893450737, -0.03557828068733215, -0.05326864495873451, 0.036961182951927185, 0.005347518250346184, -0.007026755716651678, 0.04910198226571083, -0.004018496256321669, -0.01157506462186575, 0.04561778903007507, 0.015966225415468216, 0.042169515043497086, -0.009294175542891026, 0.0395473875105381, -0.0187679473310709, 0.012446112930774689, 0.07349133491516113, -0.08577580749988556, 0.03159121423959732, 0.010380740277469158, -0.043534453958272934, 0.04935341700911522, -0.08570396900177002, -0.057435307651758194, -0.017349127680063248, 0.007668816950172186, -0.0006297140498645604, -0.03322555497288704, 0.0038321635220199823, -0.006555311847478151, 0.04910198226571083, 0.05793818086385727, -0.007852904498577118, -0.07658041268587112, -0.03349494934082031, 0.05585484951734543, 0.013891872949898243, 0.011135050095617771, 0.02710127644240856, -0.02085128054022789, 0.0483117513358593, -0.03130386024713516, -0.043426696211099625, -0.07288070023059845, 0.009374993853271008, 0.009913787245750427, 0.08362063765525818, -0.014619243331253529, -0.04806031286716461, 0.00964439008384943, 0.014915579929947853, -0.00493444362655282, -0.03832612559199333, -0.007112064398825169, 0.01727728731930256, 0.02367096208035946, -0.04066089540719986, -0.013820034451782703, -0.02832254022359848, 0.005221799947321415, -0.027478430420160294, -0.07241374999284744, -0.04856318607926369, 0.004573003388941288, -0.01584050804376602, -0.017573624849319458, 0.09870683401823044, -0.030280154198408127, 0.024694668129086494, 0.03193245083093643, -0.04637209698557854, 0.03248920291662216, -0.059374962002038956, 0.09511487931013107, -0.0357578806579113, 0.006577761843800545, 0.017142590135335922, -0.003746854607015848, -0.04389365017414093, 0.03089078515768051, -0.01754668354988098, -0.012104877270758152, -0.015229875221848488, -0.008019031956791878, -0.03864940255880356, -0.022790933027863503, -0.007044715341180563, -0.023024410009384155, -0.05704019218683243, -0.001659032772295177, -0.01946837827563286, -0.015966225415468216, 0.03489581122994423, -0.012338354252278805, 0.018390793353319168, 0.04102008789777756, -0.01880386658012867, 0.02821478061378002, 0.034141503274440765, 0.0146821029484272, -0.01918102242052555, -0.07230599224567413, 0.0020519024692475796, -0.059446800500154495, 0.02571837417781353, -0.051795944571495056, -0.04730600491166115, 0.05775858461856842, 0.010003585368394852, 0.05761490762233734, -0.04802439361810684, 0.05581893026828766, 0.006582251749932766, 0.03936779126524925, -0.0103897200897336, 0.10783039033412933, -0.03162713348865509, 0.05808186158537865, 0.01668461598455906, 0.010246042162179947, -0.016406239941716194, -0.05240657553076744, -0.009491732344031334, -0.04102008789777756, 0.052909448742866516, -0.04730600491166115, -0.004772806074470282, -0.01739402674138546, 0.004317076876759529, -0.00493444362655282, -0.036961182951927185, 0.04727008566260338, 0.0017948533641174436, -0.001975573366507888, -0.019683895632624626, 0.023724840953946114, -0.000603335618507117, -0.036099113523960114, -0.04486347734928131, 0.02787354588508606, 0.000021660451238858514, -0.03360270708799362, 0.05642956122756004, 0.01873202808201313, 0.03983474522829056, 0.030495669692754745, 0.05441806837916374, -0.003814203664660454, -0.022467657923698425, 0.05452582612633705, -0.0029207058250904083, -0.003129487857222557, -0.04604882001876831, 0.021695388481020927, -0.005419357214123011, 0.023275846615433693, 0.029867079108953476, 0.03936779126524925, -0.017860980704426765, 0.004070130176842213, -0.08189649879932404, -0.0013133073225617409, 0.029005009680986404, -0.024371393024921417, 0.06426001340150833, 0.0037019553128629923, -0.022880733013153076, -0.0009726331918500364, 0.05998559296131134, 0.008301898837089539, 0.0017185243777930737, 0.012993885204195976, 0.08189649879932404, 0.020492084324359894, -0.039152275770902634, -0.03739221766591072, 0.01205997820943594, 0.012742448598146439, -0.02571837417781353, -0.03864940255880356, -0.021641509607434273, 0.03879307955503464, -0.00964439008384943, 0.0028713163919746876, -0.017286267131567, -0.008764361962676048, 0.04568962752819061, -0.01664869673550129, 0.04561778903007507, -0.002824172144755721, 0.048706866800785065, -0.037104859948158264, 0.023168088868260384, -0.10143671929836273, 0.007224312983453274, -0.036117073148489, 0.04892238229513168, -0.035362765192985535, -0.04798847436904907, 0.02137211337685585, -0.05247841402888298, 0.020617803558707237, -0.058548811823129654, -0.00036172076943330467, 0.04062497615814209, -0.016900133341550827, 0.00593570014461875, 0.012517951428890228, -0.01315552368760109, -0.03124997951090336, -0.03850572183728218, 0.03306391462683678, -0.018534470349550247, 0.00022716289095114917, 0.009011308662593365, -0.03117814101278782, 0.036997102200984955, 0.03299207612872124, -0.024658748880028725, -0.008845181204378605, 0.04177439957857132, -0.021785186603665352, -0.06910914927721024, -0.029974836856126785, -0.013820034451782703, 0.021641509607434273, 0.011350567452609539, 0.03653014823794365, 0.03430313989520073, -0.0531608872115612, -0.0034078641328960657, -0.013999631628394127, 0.036889344453811646, 0.016370320692658424, -0.055100541561841965, -0.028448257595300674, 0.02828662097454071, 0.0058593712747097015, -0.05775858461856842, 0.011081171222031116, 0.01907326467335224, -0.01332614105194807, -0.03782325237989426, 0.019019383937120438, -0.008930490352213383, -0.027262913063168526, -0.0008547722827643156, 0.010264001786708832, 0.041307445615530014, -0.05463358759880066, 0.015337633900344372, 0.03814652934670448, 0.013945752754807472, -0.015014358796179295, 0.0391881950199604, -0.012904087081551552, -0.0012223860248923302, 0.015445392578840256, -0.016082964837551117, -0.016819313168525696, -0.0351652093231678, -0.03983474522829056, 0.021533749997615814, -0.04504307359457016, -0.045474108308553696, -0.024335473775863647, -0.10912349075078964, 0.014933539554476738, 0.014260048046708107, 0.007417380344122648, 0.06390082091093063, -0.05140082910656929, -0.012015078216791153, 0.01490660011768341, 0.03825428709387779, -0.06803156435489655, 0.024066077545285225, -0.04644393548369408, -0.005809981841593981, 0.028412338346242905, 0.01869610883295536, 0.02196478471159935, -0.08045972138643265, 0.03572196140885353, 0.03195041045546532, 0.01623562164604664, 0.05247841402888298, 0.03155529499053955, 0.015175996348261833, -0.034931730479002, -0.03972698748111725, -0.05894392728805542, 0.025466937571763992, -0.009330094791948795, -0.02081536129117012, -0.010811774991452694, 0.022234180942177773, -0.04809623584151268, -0.08721258491277695, 0.0014053510967642069, -0.022952571511268616, -0.05280169099569321, -0.026113489642739296, 0.015337633900344372, 0.04285198450088501, 0.0277657862752676, 0.022018663585186005, -0.03771549463272095, -0.009788068942725658, 0.046300258487463, 0.03281247988343239, 0.03868532180786133, 0.005001792684197426, -0.009617450647056103, -0.01970185525715351, -0.01991737261414528, -0.021946825087070465, -0.024892225861549377, 0.006842668168246746, -0.05021548643708229, -0.015696829184889793, -0.04841950908303261, 0.020599843934178352, -0.029454004019498825, 0.050933875143527985, -0.039080433547496796, 0.022844813764095306, 0.022162342444062233, 0.02422771416604519, 0.028573976829648018, 0.011090151034295559, 0.006672050338238478, 0.004763825796544552, -0.015445392578840256, -0.03782325237989426, 0.02557469718158245, 0.010299921967089176, 0.023868519812822342, -0.04252870753407478, -0.041127849370241165, 0.07029449939727783, 0.08038788288831711, -0.03114222176373005, 0.05761490762233734, -0.014143310487270355, -0.005522625986486673, 0.03464437648653984, 0.014394747093319893, -0.0341055803000927, -0.020384326577186584, -0.05219106003642082, 0.012419173493981361, 0.004177888855338097, 0.05463358759880066, 0.006582251749932766, -0.030729146674275398, -0.0022887466475367546, 0.004442795179784298, 0.003955636639147997, -0.04306749999523163, 0.015274775214493275, 0.009823988191783428, -0.008526395075023174, -0.02230602130293846, 0.007525139022618532, 0.013442879542708397, 0.011296688579022884, -0.007767595816403627, 0.003993801306933165, 0.0011101375566795468, 0.061566054821014404, -0.0014031061436980963, -0.01044359989464283, -0.06188932806253433, 0.038038767874240875, 0.010820754803717136, -0.051795944571495056, -0.017627503722906113, 0.03746405616402626, -0.04084049165248871, 0.04066089540719986, -0.012625710107386112, -0.004759335890412331, 0.002294359263032675, 0.03353086858987808, 0.02932828664779663, -0.025808174163103104, -0.020671682432293892, -0.049820370972156525, -0.028142942115664482, -0.03500356897711754, -0.008463536389172077, 0.04252870753407478, -0.014134329743683338, -0.05265801399946213, -0.06487064808607101, -0.05808186158537865, 0.04533043131232262, -0.013110623694956303, -0.01018318347632885, -0.00777657562866807, -0.032722681760787964, 0.008849671110510826, 0.057435307651758194, 0.03135773912072182, -0.011494245380163193, 0.013460839167237282, 0.014673123136162758, 0.022755013778805733, 0.05876433104276657, 0.026885759085416794, -0.031160181388258934, 0.057399388402700424, 0.029669521376490593, 0.02126435376703739, 0.029310327023267746, -0.02623920701444149, -0.028789494186639786, 0.09037350863218307, -0.05122123286128044, 0.05219106003642082, 0.017178509384393692, 0.03843388333916664, -0.0032731660176068544, -0.05499278008937836, -0.026023689657449722, -0.0022393574472516775, -0.01571478880941868, 0.04734192416071892, -0.015472332015633583, -0.03814652934670448, -0.013595537282526493, 0.01319144293665886, 0.0035919516813009977, -0.0019340415019541979, 0.05585484951734543, 0.006434083450585604, 0.00550017599016428, 0.10725568234920502, -0.022252140566706657, -0.02713719569146633, 0.01939653977751732, 0.07859190553426743, 0.05660916119813919, -0.021982744336128235, 0.03590155765414238, 0.02241377905011177, -0.02397627755999565, 0.05693243443965912, 0.0642959401011467, 0.050933875143527985, 0.018570391461253166, 0.000973194430116564, -0.0523347370326519, 0.0187679473310709, -0.03775141388177872, -0.03126794099807739, 0.02182110771536827, 0.05168818682432175, 0.017070751637220383 ]
16,328
presidio_analyzer.analyzer_engine
__remove_decision_process
Remove decision process / analysis explanation from response.
@staticmethod def __remove_decision_process( results: List[RecognizerResult], ) -> List[RecognizerResult]: """Remove decision process / analysis explanation from response.""" for result in results: result.analysis_explanation = None return results
(results: List[presidio_analyzer.recognizer_result.RecognizerResult]) -> List[presidio_analyzer.recognizer_result.RecognizerResult]
[ 0.008574431762099266, 0.02466592937707901, -0.021822594106197357, -0.02002773992717266, -0.02898424305021763, -0.013799059204757214, -0.007539279758930206, -0.007206076290458441, 0.07108336687088013, 0.06234011426568031, 0.022249095141887665, 0.03571939468383789, 0.009454088285565376, -0.018410593271255493, -0.029037555679678917, 0.0017559813568368554, 0.03012157790362835, 0.03603926673531532, 0.015833821147680283, -0.04328977316617966, -0.01114231813699007, 0.024061720818281174, -0.04222352057695389, 0.06049194559454918, -0.022746678441762924, -0.02598097175359726, 0.004398283548653126, -0.043645188212394714, -0.030779099091887474, 0.017033351585268974, -0.003511962713673711, 0.0013539160136133432, -0.016651278361678123, 0.02509242855012417, -0.029446285218000412, 0.02509242855012417, -0.006246450822800398, 0.10136488080024719, -0.08075070381164551, 0.03086795285344124, -0.0373898521065712, -0.013648007065057755, -0.018117373809218407, -0.022746678441762924, -0.03301822394132614, -0.015673883259296417, 0.00831675436347723, 0.05384565144777298, 0.02447045035660267, -0.05128664895892143, -0.0012672832235693932, 0.004431603942066431, 0.00423834566026926, 0.08629520982503891, -0.0019781168084591627, 0.016802331432700157, 0.0010762466117739677, 0.05565827712416649, 0.047910191118717194, -0.04261447861790657, -0.005397893488407135, 0.02553670108318329, -0.04275664687156677, -0.015425090678036213, 0.07613028585910797, 0.02391955442726612, 0.001534956507384777, 0.05185531824827194, -0.012217453680932522, -0.031294453889131546, -0.047910191118717194, -0.024328282102942467, 0.01220856886357069, 0.059283528476953506, 0.0400199368596077, -0.02654963918030262, 0.025252366438508034, 0.021307239308953285, 0.06497020274400711, -0.035115182399749756, -0.000024573742848588154, 0.08579762279987335, -0.010564765892922878, -0.016793446615338326, -0.005366794299334288, -0.05050473287701607, 0.07154540717601776, -0.030832411721348763, 0.0032698349095880985, -0.008232343010604382, -0.028042389079928398, -0.014891965314745903, -0.02585657499730587, 0.012075287289917469, 0.003940684255212545, 0.11487072706222534, -0.022693365812301636, -0.06081182137131691, -0.061984699219465256, -0.08920963108539581, -0.004162819590419531, 0.0990191325545311, -0.006588539574295282, 0.017744185402989388, 0.020098822191357613, -0.012492901645600796, -0.01022711955010891, -0.04712827503681183, 0.04581323266029358, 0.038811519742012024, -0.05548056960105896, 0.03817176818847656, -0.050113774836063385, -0.02850443124771118, 0.029090868309140205, -0.008010206744074821, -0.09994321316480637, -0.08160370588302612, -0.03678564354777336, 0.04325423017144203, 0.01933467574417591, -0.03577270358800888, -0.052210733294487, -0.016651278361678123, -0.02045423910021782, -0.003187644761055708, 0.018286196514964104, 0.035541683435440063, 0.011435536667704582, -0.022426802664995193, -0.0523529015481472, -0.014732028357684612, -0.02335088700056076, 0.001210638671182096, -0.002841113368049264, 0.02974838949739933, 0.021609343588352203, -0.038882602006196976, 0.023190949112176895, -0.014918621629476547, -0.017770841717720032, 0.0032498426735401154, 0.04392952099442482, 0.026371929794549942, 0.02235572040081024, -0.028468890115618706, 0.012786121107637882, 0.009667337872087955, -0.06063411384820938, -0.004287215881049633, -0.03834947571158409, -0.014865309931337833, 0.027136076241731644, -0.08089287579059601, 0.001121229026466608, 0.08992046117782593, 0.007197191007435322, -0.012946058996021748, -0.05533840134739876, -0.04783910885453224, 0.040517520159482956, -0.03438657894730568, 0.014678715728223324, 0.0003365353331901133, 0.027224930003285408, -0.04193918779492378, 0.040375351905822754, -0.04026872664690018, -0.013976767659187317, 0.02905532717704773, 0.012484016828238964, 0.013674663379788399, -0.012057516723871231, -0.0017781949136406183, -0.06294432282447815, 0.09795287996530533, 0.036430224776268005, 0.01788635179400444, 0.024825867265462875, 0.004620418883860111, -0.020169906318187714, 0.01051145326346159, -0.09802396595478058, -0.03396007791161537, 0.013781287707388401, 0.004802570212632418, -0.01896148920059204, 0.009285264648497105, -0.003898478578776121, 0.031294453889131546, 0.02027653157711029, -0.014065621420741081, 0.05555165186524391, -0.037994060665369034, 0.01528292428702116, -0.031027890741825104, -0.03870489448308945, 0.008774353191256523, 0.013701319694519043, -0.09674446284770966, -0.03746093437075615, -0.01323927752673626, -0.011604360304772854, 0.05686669424176216, -0.036821186542510986, 0.07236286997795105, -0.03845610097050667, 0.04524456337094307, -0.05032702535390854, -0.005842164158821106, 0.021413864567875862, 0.02905532717704773, 0.0681334063410759, 0.007303816266357899, 0.05352577567100525, -0.0016815658891573548, 0.01415447611361742, 0.047234900295734406, 0.003094347892329097, -0.011311140842735767, -0.06848882883787155, -0.035612769424915314, 0.0023812928702682257, -0.003338696900755167, -0.011968662030994892, 0.05473419278860092, -0.025376763194799423, -0.015265153720974922, 0.017273258417844772, -0.05025594308972359, 0.017362112179398537, -0.03188088908791542, -0.01041371375322342, -0.06443707644939423, 0.06152265518903732, 0.0031098974868655205, -0.0024634830188006163, -0.01637583039700985, -0.0333736427128315, 0.0072771599516272545, -0.00552228931337595, 0.0010606971336528659, 0.003352025058120489, 0.023457512259483337, -0.019121427088975906, 0.016651278361678123, 0.021325010806322098, 0.0005228514783084393, 0.020365385338664055, -0.003696335246786475, 0.04808789864182472, -0.06358407437801361, -0.0019192509353160858, -0.03955789655447006, 0.07449536770582199, -0.04623972997069359, -0.04343193769454956, -0.005668898578733206, 0.04673731327056885, -0.005926575977355242, 0.044533729553222656, 0.01782415434718132, -0.020258760079741478, -0.003034371417015791, -0.0039628976956009865, 0.020098822191357613, -0.0021869242191314697, 0.023066552355885506, -0.012324078939855099, 0.0034120017662644386, 0.05796848610043526, -0.0673159509897232, 0.0026767330709844828, -0.04009101912379265, -0.014625403098762035, 0.096673384308815, -0.011977547779679298, 0.004384955391287804, -0.04982944205403328, 0.0806085392832756, 0.09354571253061295, -0.013425871729850769, 0.020045509561896324, 0.03842056170105934, 0.022924385964870453, 0.029464056715369225, -0.009436316788196564, 0.014243329875171185, 0.0023257590364664793, 0.0036385799758136272, 0.027633659541606903, 0.038065142929553986, 0.05661790445446968, -0.007792514283210039, 0.0014294420834630728, 0.016651278361678123, -0.04286327213048935, -0.03381791338324547, -0.030103806406259537, -0.011613245122134686, -0.0028144570533186197, 0.018659384921193123, 0.059852197766304016, -0.0022624502889811993, -0.027722513303160667, -0.02013436332345009, 0.04648852348327637, -0.006521899253129959, 0.04247231408953667, -0.0021724854595959187, -0.014776455238461494, 0.006690721958875656, -0.006495242938399315, 0.02303101122379303, -0.016153695061802864, -0.041192810982465744, 0.06568103283643723, 0.049047525972127914, 0.007530394475907087, 0.021733740344643593, -0.019192509353160858, -0.016455799341201782, -0.002385735511779785, 0.011995318345725536, 0.04606202244758606, -0.05718657001852989, -0.01694449782371521, -0.016660165041685104, 0.02191144786775112, 0.015362893231213093, -0.04908306524157524, -0.04336085543036461, -0.044213853776454926, 0.0010601418325677514, -0.038882602006196976, -0.02447045035660267, 0.017681987956166267, -0.021076219156384468, 0.04783910885453224, -0.022568969056010246, -0.04058860242366791, -0.017984092235565186, -0.02409726195037365, 0.04058860242366791, 0.003696335246786475, 0.03627029061317444, -0.0071172225289046764, 0.012848318554461002, 0.05167761072516441, -0.033284787088632584, 0.023937324061989784, 0.008716598153114319, 0.04268556460738182, 0.0752062052488327, 0.0645437017083168, -0.022000303491950035, -0.03319593146443367, 0.043645188212394714, 0.016411373391747475, -0.040944021195173264, 0.004722601268440485, 0.02779359742999077, -0.027260471135377884, 0.02416834607720375, 0.029037555679678917, -0.04908306524157524, -0.02917972207069397, -0.016278091818094254, -0.0019070334965363145, -0.06642740964889526, -0.045351188629865646, -0.05064690113067627, -0.047910191118717194, -0.02843334712088108, 0.05285048484802246, 0.020507551729679108, 0.01770864427089691, 0.03426218405365944, -0.02322649024426937, 0.0681334063410759, -0.029410744085907936, 0.02955291047692299, -0.06752920150756836, -0.003374238731339574, -0.04211689531803131, 0.015673883259296417, -0.06642740964889526, 0.031543243676424026, 0.005784409120678902, 0.00784582644701004, 0.029606223106384277, -0.056582361459732056, -0.047483690083026886, -0.004744814708828926, -0.00640194583684206, 0.013950111344456673, -0.055125150829553604, 0.008258999325335026, -0.055125150829553604, -0.01801074855029583, 0.026371929794549942, 0.03182758018374443, -0.05615586042404175, -0.025838805362582207, -0.035861559212207794, 0.032911598682403564, -0.02121838554739952, 0.07456645369529724, -0.016455799341201782, -0.04673731327056885, 0.059034738689661026, -0.050113774836063385, 0.025483388453722, -0.03721214458346367, -0.03472422435879707, 0.05718657001852989, 0.01182649563997984, 0.04325423017144203, 0.028095701709389687, 0.011542161926627159, 0.08011095970869064, 0.026531867682933807, 0.02258674055337906, 0.03202305734157562, 0.0187660101801157, 0.04492468759417534, 0.024115033447742462, 0.0027589232195168734, 0.0008174587273970246, -0.018250655382871628, -0.008019092492759228, -0.019725635647773743, -0.025714408606290817, -0.07662787288427353, -0.0037807465996593237, -0.008605530485510826, -0.03364020586013794, -0.015602799132466316, -0.04382289573550224, 0.04225906357169151, -0.026638492941856384, 0.05139327421784401, 0.02365299127995968, 0.0030899052508175373, 0.05924798920750618, 0.027011679485440254, -0.03802960366010666, -0.005171315278857946, -0.028646597638726234, -0.04474698007106781, 0.009187525138258934, 0.042152438312768936, 0.03653685003519058, -0.009853932075202465, 0.02246234379708767, 0.013354787603020668, -0.011444422416388988, -0.023741845041513443, -0.03269834816455841, 0.023421969264745712, 0.01110677607357502, -0.003438658080995083, -0.04751923307776451, 0.0020591963548213243, 0.030548077076673508, 0.04837223142385483, 0.006499685347080231, -0.00318542355671525, -0.07158095389604568, 0.008436707779765129, -0.004322757478803396, -0.06735149025917053, 0.05981665477156639, -0.026194222271442413, -0.03031705692410469, 0.014758684672415257, 0.008405608125030994, -0.04456927254796028, 0.04197473078966141, 0.03966451808810234, 0.009023144841194153, -0.013648007065057755, -0.033995620906353, -0.017770841717720032, -0.0313655361533165, -0.03189866244792938, -0.014536549337208271, -0.05686669424176216, 0.017664216458797455, -0.02836226485669613, -0.021076219156384468, -0.049793899059295654, 0.0025256809312850237, -0.04336085543036461, 0.029783930629491806, -0.024648157879710197, 0.021946990862488747, 0.016864528879523277, 0.0711899921298027, -0.06784907728433609, -0.01889040507376194, -0.039380185306072235, -0.039451271295547485, -0.07868929207324982, 0.06013653054833412, 0.004691502545028925, -0.001737099839374423, 0.008139045909047127, -0.08714821189641953, 0.013745746575295925, -0.066747285425663, 0.0056200288236141205, 0.02779359742999077, -0.00037068864912725985, -0.0227111354470253, 0.0005359019851312041, -0.038633812218904495, -0.03966451808810234, 0.034795310348272324, 0.013648007065057755, -0.017122207209467888, -0.017228830605745316, -0.015211841091513634, 0.009907244704663754, 0.011844266206026077, -0.014323298819363117, -0.05302819237112999, -0.00816125888377428, 0.023493053391575813, -0.0362880602478981, -0.004860325250774622, -0.05164206773042679, -0.013452527113258839, 0.03706997632980347, 0.011284484528005123, 0.022071385756134987, -0.004162819590419531, -0.051926400512456894, 0.017299914732575417, 0.051108941435813904, 0.025696637108922005, -0.008547775447368622, -0.035310663282871246, 0.016242550686001778, 0.01832173764705658, 0.04883427545428276, -0.02974838949739933, 0.03220076486468315, 0.006659623235464096, 0.04901198297739029, -0.1020757183432579, -0.006837331689894199, -0.005593372508883476, -0.025003574788570404, 0.06777799129486084, -0.014429924078285694, 0.05700886249542236, 0.009525171481072903, 0.05164206773042679, -0.003925134893506765, -0.021573802456259727, -0.07435320317745209, 0.03842056170105934, -0.06909303367137909, 0.04058860242366791, 0.06180698797106743, 0.0028566629625856876, 0.0429343543946743, -0.010342630557715893, -0.04058860242366791, 0.0673159509897232, -0.028788764029741287, 0.01474979892373085, 0.006975055672228336, -0.07620137184858322, 0.0057399822399020195, 0.07055024057626724, 0.0008563324809074402, 0.002356857992708683, 0.020756343379616737, -0.021289469674229622, -0.03678564354777336, 0.005571159068495035, -0.09176862984895706, -0.021431636065244675, -0.024363825097680092, 0.03356911987066269, -0.033800143748521805, 0.050611358135938644, 0.0227822195738554, -0.023830698803067207, 0.03477753698825836, 0.06187807396054268, 0.01757536269724369, -0.004016210325062275, 0.02955291047692299, 0.011702099815011024, -0.01864161342382431, -0.06138049066066742, 0.04204581305384636, 0.03714105859398842, -0.031543243676424026, 0.05064690113067627, -0.00640194583684206, 0.035737164318561554, 0.00665073748677969, -0.07275383174419403, -0.010946839116513729, -0.03234293311834335, 0.0005614475230686367, -0.024434907361865044, 0.01182649563997984, 0.0591413639485836, 0.0021724854595959187, 0.061096154153347015, -0.03088572435081005, 0.014634288847446442, -0.0002092239010380581, -0.025874346494674683, 0.020294301211833954, -0.005468976683914661, -0.012181912548840046, -0.02987278625369072, -0.007397112902253866, -0.04908306524157524, -0.02095182240009308, -0.010742474347352982, -0.050362568348646164, -0.043325312435626984, 0.02164488658308983, 0.011408880352973938, -0.028770994395017624, -0.003174316603690386, 0.013257048092782497, -0.029926098883152008, 0.0376741848886013, 0.00828565564006567, -0.009720650501549244, 0.050291482359170914, -0.028699910268187523, 0.038065142929553986, -0.03795851767063141, 0.003487527836114168, -0.03332033008337021, -0.07598812133073807, -0.013043798506259918, -0.03239624574780464, 0.009773963131010532, 0.03657239302992821, 0.05686669424176216, -0.056333571672439575, 0.04940294101834297, -0.0429343543946743, -0.012075287289917469, 0.006428602151572704, 0.015922674909234047, -0.03710551932454109, 0.035559456795454025, -0.02567886747419834, 0.0016860086470842361, -0.050362568348646164, 0.01593155972659588, -0.0018215113086625934, 0.017717529088258743, 0.048549942672252655, 0.009676223620772362, 0.004409390036016703, 0.018552759662270546, -0.008418936282396317, 0.015274038538336754, 0.03031705692410469, -0.006557440850883722, 0.017157748341560364, 0.030903493985533714, -0.009365233592689037, 0.03746093437075615, -0.012928287498652935, 0.021076219156384468, 0.035683851689100266, 0.00006341275002341717, 0.010591422207653522, 0.026318617165088654, -0.001312820939347148, -0.06539669632911682, 0.028077930212020874, -0.004533786326646805, -0.01493639312684536, 0.014678715728223324, -0.014856424182653427, -0.019032571464776993, -0.07641462236642838, 0.006077628117054701, 0.02697613835334778, -0.013070454820990562, 0.01976117677986622, 0.015122986398637295, -0.010307088494300842, -0.07918687164783478, 0.054129984229803085, 0.022444574162364006, 0.06525453180074692, -0.006819560658186674, -0.05299265310168266, -0.032289620488882065, -0.04449819028377533, 0.052886027842760086, -0.013861256651580334, -0.023688532412052155, -0.00020214333198964596, -0.04563552141189575, 0.03221853822469711, 0.07083457708358765, 0.00569555489346385, 0.02040092647075653, 0.013265933841466904, 0.043965063989162445, -0.018481675535440445, -0.008801009505987167, 0.03602149710059166, -0.006557440850883722, 0.008005764335393906, 0.04876318946480751, 0.053703486919403076, 0.060527488589286804, -0.04627527296543121, 0.002763365861028433, -0.01676679030060768, -0.056831154972314835, 0.06681836396455765, -0.0021058449055999517, -0.01569165289402008, -0.02365299127995968, -0.06852436810731888, -0.0429343543946743, -0.04638189822435379, -0.007068352308124304, 0.03186311945319176, 0.011933120898902416, 0.023333115503191948, -0.0030254859011620283, -0.039131395518779755, -0.01016492210328579, 0.031027890741825104, 0.025145741179585457, -0.008756582625210285, -0.022071385756134987, 0.023759616538882256, 0.03619920462369919, 0.015842705965042114, -0.03465314209461212, 0.05523177608847618, -0.015842705965042114, 0.005784409120678902, 0.05384565144777298, 0.032787203788757324, 0.014554319903254509, 0.05516069382429123, 0.018410593271255493, 0.0026367485988885164, -0.00050813501002267, 0.00011092892964370549, 0.036821186542510986, -0.0053623514249920845, 0.02114730142056942, -0.0016471348935738206, -0.01674901880323887, 0.031294453889131546, -0.0006319755921140313 ]
16,329
presidio_analyzer.analyzer_engine
__remove_low_scores
Remove results for which the confidence is lower than the threshold. :param results: List of RecognizerResult :param score_threshold: float value for minimum possible confidence :return: List[RecognizerResult]
def __remove_low_scores( self, results: List[RecognizerResult], score_threshold: float = None ) -> List[RecognizerResult]: """ Remove results for which the confidence is lower than the threshold. :param results: List of RecognizerResult :param score_threshold: float value for minimum possible confidence :return: List[RecognizerResult] """ if score_threshold is None: score_threshold = self.default_score_threshold new_results = [result for result in results if result.score >= score_threshold] return new_results
(self, results: List[presidio_analyzer.recognizer_result.RecognizerResult], score_threshold: Optional[float] = None) -> List[presidio_analyzer.recognizer_result.RecognizerResult]
[ 0.00011923453712370247, 0.019588472321629524, -0.016288336366415024, -0.0005142637528479099, -0.0072195990942418575, 0.0024397114757448435, -0.005980942398309708, 0.003988032229244709, 0.056093454360961914, 0.009599589742720127, -0.02710888721048832, -0.014297638088464737, 0.0129085723310709, -0.09406713396310806, -0.015598227269947529, 0.04370688647031784, -0.0258171446621418, -0.0056358883157372475, 0.044768594205379486, -0.0019929101690649986, 0.012536975555121899, 0.030541736632585526, -0.026277218014001846, 0.04660888388752937, -0.020101629197597504, -0.017818961292505264, -0.007480601780116558, -0.025569414719939232, -0.04544100537896156, 0.013421730138361454, -0.05658891797065735, 0.03892921283841133, 0.024755438789725304, -0.022649724036455154, -0.07219599187374115, 0.012404262088239193, 0.013085523620247841, 0.05166967958211899, 0.0025945433881133795, 0.00692763039842248, -0.02323366142809391, 0.011457574553787708, -0.03305444121360779, -0.020207799971103668, 0.0034461200702935457, 0.018686020746827126, 0.027144277468323708, 0.013280170038342476, 0.09888019412755966, -0.01704922504723072, 0.03850452974438667, 0.02986932173371315, -0.004972321912646294, 0.06579037010669708, -0.03921233490109444, 0.02188883349299431, -0.0048749991692602634, -0.004729014355689287, -0.021499542519450188, -0.04115879535675049, 0.02831215411424637, -0.004200373310595751, 0.013262474909424782, -0.0013193906052038074, 0.06685207039117813, -0.007631010375916958, -0.019836202263832092, 0.03740743175148964, -0.057261332869529724, -0.01773933321237564, -0.04289291426539421, -0.012333482503890991, 0.04586568847298622, 0.012722774408757687, 0.021127944812178612, 0.04338837414979935, 0.006219826173037291, -0.010139290243387222, 0.006732983980327845, -0.007949521765112877, 0.05694282054901123, 0.029073042795062065, 0.03772594407200813, 0.023569868877530098, -0.021623408421874046, -0.07063882052898407, -0.007299227174371481, -0.03850452974438667, 0.06030488759279251, 0.02241968736052513, -0.03406305983662605, 0.06547185778617859, 0.012660841457545757, -0.009466876275837421, 0.04604263976216316, 0.0933593288064003, -0.008272457867860794, 0.0019265535520389676, -0.0034306368324905634, -0.039884746074676514, 0.05701360106468201, 0.05662430822849274, -0.0006801552372053266, 0.024808524176478386, 0.051138829439878464, -0.00022865382197778672, -0.012085750699043274, -0.03149726986885071, 0.06055261939764023, 0.11126676201820374, -0.04469781368970871, -0.03353220596909523, -0.05333302170038223, 0.008785615675151348, -0.030842551961541176, -0.047564417123794556, -0.015359343960881233, -0.02473774366080761, 0.022490467876195908, 0.008365356363356113, 0.018544461578130722, -0.04643193259835243, -0.000218976812902838, -0.016527220606803894, -0.008480374701321125, -0.027002716436982155, 0.024171501398086548, 0.010369325987994671, 0.01122753880918026, -0.0477413684129715, 0.04020325839519501, -0.01780126616358757, -0.03383302316069603, -0.055491819977760315, 0.002273819874972105, -0.07049726694822311, 0.023180576041340828, 0.027268143370747566, 0.09017421305179596, -0.09972956031560898, 0.00628175912424922, 0.02155262790620327, 0.01166106853634119, 0.031479574739933014, 0.006586999632418156, -0.06791377812623978, 0.008055692538619041, 0.03581487387418747, -0.009643827565014362, 0.016465287655591965, -0.0336206816136837, -0.0016290547791868448, -0.006980715319514275, -0.07311613857746124, 0.013289017602801323, 0.0070647671818733215, 0.03641650825738907, -0.09024499356746674, -0.026100266724824905, -0.05159889906644821, 0.045617956668138504, 0.006883392576128244, 0.057686012238264084, -0.08698908984661102, 0.009343010373413563, -0.04830761253833771, -0.0540408231317997, 0.017580078914761543, -0.08217602968215942, 0.04190198704600334, 0.0016688688192516565, -0.004861727822571993, 0.03158574551343918, 0.01840290054678917, -0.05828764662146568, -0.005520869977772236, 0.007206327747553587, 0.006825883407145739, -0.031090283766388893, 0.020915603265166283, 0.029710067436099052, -0.012439652346074581, -0.0155362943187356, -0.039247725158929825, 0.03374454751610756, 0.008135320618748665, -0.006104808300733566, 0.041618864983320236, -0.06511795520782471, 0.012554670684039593, -0.00571109214797616, -0.07870778441429138, 0.013191694393754005, -0.021163335070014, 0.018349815160036087, 0.012094598263502121, -0.04710434749722481, 0.0183144249022007, 0.003045768477022648, -0.03917694464325905, -0.04059255123138428, -0.013457120396196842, 0.023817598819732666, -0.05177585035562515, 0.0061401985585689545, 0.01957077719271183, -0.04331759735941887, -0.003472662530839443, 0.0022605485282838345, -0.040026307106018066, -0.0137313948944211, 0.004220280330628157, -0.0011922070989385247, 0.0032138717360794544, 0.01960616745054722, -0.009068736806511879, 0.009024498984217644, -0.018526766449213028, -0.02749818004667759, -0.029019957408308983, -0.0441315695643425, -0.051528118550777435, -0.05641196668148041, -0.003722605761140585, 0.007856622338294983, 0.10949725657701492, 0.00685242610052228, -0.04448547214269638, 0.07573501020669937, -0.005308528896421194, 0.05719055235385895, -0.06975407153367996, 0.012952810153365135, -0.12287475168704987, -0.03861070051789284, 0.03616877645254135, 0.022702807560563087, 0.036487288773059845, -0.02693193592131138, -0.013811022974550724, 0.010917874053120613, 0.03436387702822685, 0.024631574749946594, 0.06225134804844856, 0.0060472991317510605, -0.00792740285396576, -0.06317149102687836, -0.04020325839519501, 0.024277672171592712, 0.05138656124472618, 0.025923315435647964, -0.06929399818181992, 0.024578489363193512, -0.004406079184263945, 0.062215957790613174, -0.03889382258057594, -0.05007712170481682, -0.061401985585689545, -0.01857985183596611, 0.004702471662312746, 0.003990244120359421, 0.054677847772836685, 0.0017872047610580921, -0.007418669294565916, -0.007507144473493099, 0.011997275054454803, -0.0315149649977684, 0.01930535025894642, 0.023569868877530098, 0.06402085721492767, 0.04370688647031784, -0.04944009706377983, 0.023693732917308807, -0.030718687921762466, -0.020013153553009033, 0.06511795520782471, -0.05336841195821762, -0.0012508220970630646, 0.022738197818398476, 0.05460706725716591, 0.024118416011333466, 0.011024044826626778, 0.0038951330352574587, -0.005507598631083965, 0.07304535806179047, 0.015960976481437683, -0.01678379811346531, -0.05018329247832298, -0.021924223750829697, -0.009378400631248951, 0.0006320467218756676, 0.005516446195542812, 0.04427313059568405, -0.07608891278505325, 0.0018015819368883967, -0.01765085756778717, 0.009634980000555515, -0.05078492686152458, 0.022437382489442825, 0.020119324326515198, 0.033001355826854706, -0.03719509392976761, 0.02164110355079174, 0.00853788387030363, 0.017765875905752182, 0.020632483065128326, -0.02038475126028061, -0.047599807381629944, -0.05425316467881203, 0.012961657717823982, -0.015828263014554977, 0.012200769037008286, 0.019588472321629524, -0.08543192595243454, 0.012014970183372498, 0.006622389890253544, 0.11055896431207657, -0.005905738566070795, -0.011369098909199238, -0.018756801262497902, -0.02332213707268238, -0.03712431341409683, -0.006520642898976803, 0.01648298278450966, 0.0019730031490325928, -0.05184663087129593, -0.021711882203817368, -0.00710015743970871, -0.009891558438539505, -0.03776133432984352, -0.014563064090907574, -0.026701901108026505, 0.023127490654587746, -0.060977302491664886, 0.003972548991441727, 0.028382934629917145, 0.06476405262947083, 0.03473547473549843, -0.0246138796210289, -0.016500677913427353, -0.03712431341409683, -0.05630579590797424, 0.02425997704267502, 0.07010797411203384, -0.004414926283061504, 0.018332120031118393, 0.003160786582157016, -0.009953491389751434, 0.011050587520003319, -0.050537195056676865, 0.05142194777727127, -0.041831206530332565, 0.020844822749495506, 0.07481486350297928, 0.0843702182173729, -0.006241945084184408, 0.013651766814291477, 0.029462335631251335, 0.045405615121126175, -0.0405217707157135, -0.020119324326515198, -0.04784753918647766, -0.014102991670370102, 0.025852534919977188, -0.014536521397531033, 0.023729123175144196, 0.009387248195707798, -0.06373773515224457, -0.05775679275393486, -0.004255670588463545, -0.05694282054901123, -0.04091106355190277, -0.05740289390087128, -0.015226630493998528, 0.03229355067014694, -0.06699363142251968, -0.0180136077105999, 0.02986932173371315, -0.027940556406974792, 0.08536114543676376, -0.003337737638503313, 0.01413838192820549, -0.05949091166257858, -0.021446457132697105, -0.005910162348300219, 0.012209616601467133, -0.04749363660812378, -0.03257667273283005, 0.0393185019493103, -0.0037734792567789555, 0.04423774033784866, -0.026754984632134438, -0.016863426193594933, 0.00703822448849678, -0.026560340076684952, 0.05934935435652733, -0.04229127988219261, 0.0025856958236545324, -0.007763723377138376, -0.04268057271838188, -0.012749317102134228, -0.019517691805958748, -0.008573274128139019, -0.02473774366080761, -0.019499996677041054, 0.01750045083463192, -0.03149726986885071, 0.04197276756167412, -0.013315560296177864, 0.02728583849966526, -0.008989108726382256, -0.003881861688569188, 0.011094825342297554, -0.015518599189817905, -0.021588018164038658, 0.02539246343076229, -0.0016301607247442007, 0.0654364675283432, -0.00876349676400423, -0.038256797939538956, 0.04632576182484627, -0.0543239451944828, 0.00044458929914981127, -0.01163452584296465, -0.024720048531889915, 0.022685112431645393, -0.0040853554382920265, -0.022702807560563087, -0.03185117244720459, -0.018438290804624557, -0.00819282978773117, -0.04710434749722481, -0.024029940366744995, -0.04030942916870117, -0.012377719394862652, 0.047564417123794556, -0.0510326586663723, 0.05878311023116112, -0.04841378331184387, -0.001779463142156601, 0.02026088535785675, 0.025710973888635635, 0.051705069839954376, -0.002122305566444993, 0.055244091898202896, -0.010873636230826378, -0.05680125951766968, 0.003985820338129997, -0.030240919440984726, 0.008679444901645184, -0.023817598819732666, -0.0369119718670845, 0.03155035525560379, 0.06462249159812927, 0.014616149477660656, 0.014970051124691963, -0.05938474461436272, -0.014430350624024868, -0.005321800243109465, 0.008595393039286137, 0.049156978726387024, 0.020827127620577812, -0.013802175410091877, 0.008024726063013077, -0.0003599846095312387, 0.05789835378527641, 0.005321800243109465, -0.027250448241829872, -0.04848456382751465, -0.01978311687707901, 0.07262067496776581, -0.04207893833518028, 0.037301260977983475, -0.01707576774060726, 0.0046449629589915276, 0.05899545177817345, -0.016704170033335686, -0.015960976481437683, 0.05520870164036751, 0.06759526580572128, 0.02266741916537285, -0.03169191628694534, -0.013589833863079548, -0.00479537108913064, 0.013129761442542076, -0.03326677903532982, -0.060234107077121735, -0.06508256494998932, 0.004087567329406738, -0.007892012596130371, -0.018739106133580208, -0.03439926728606224, 0.024366147816181183, 0.014156077057123184, 0.007387702818959951, -0.013757937587797642, 0.059243183583021164, 0.027427399531006813, 0.05067875608801842, 0.015341648831963539, -0.006228673737496138, -0.015005441382527351, -0.0798402726650238, -0.007515992037951946, 0.07651359587907791, 0.03209890425205231, 0.04367149621248245, 0.04901541769504547, -0.03882304206490517, 0.010917874053120613, -0.04929853975772858, 0.010794009082019329, 0.006197707261890173, 0.015049679204821587, -0.02026088535785675, -0.02017240971326828, -0.02266741916537285, 0.032134294509887695, 0.010776313953101635, -0.003441696288064122, -0.023251356557011604, 0.009634980000555515, -0.03712431341409683, -0.02599409595131874, 0.04887385666370392, -0.02866605669260025, -0.017403127625584602, -0.013262474909424782, 0.06172049418091774, 0.00967921782284975, 0.008122049272060394, -0.009626132436096668, -0.012572365812957287, -0.04890924692153931, 0.023516783490777016, 0.05510253086686134, -0.039247725158929825, -0.010652448050677776, 0.0005999743589200079, -0.00941379088908434, 0.004209220875054598, 0.03535480052232742, 0.06929399818181992, 0.04038020968437195, 0.026524949818849564, 0.050926487892866135, -0.09647366404533386, 0.06501178443431854, -0.07785842567682266, 0.014023363590240479, 0.03149726986885071, 0.005596074275672436, 0.011554897762835026, -0.06770143657922745, 0.0615435428917408, 0.04462703317403793, 0.04604263976216316, -0.00454763974994421, 0.04434391111135483, 0.012457347474992275, 0.045971859246492386, -0.02434845268726349, 0.04568873718380928, -0.04253901168704033, -0.07081577181816101, -0.008329966105520725, -0.034204620867967606, 0.04568873718380928, -0.05241287499666214, -0.014412655495107174, 0.04905080795288086, 0.01049319189041853, -0.015306258574128151, 0.013598681427538395, -0.051952801644802094, 0.024932390078902245, 0.06536568701267242, -0.02164110355079174, -0.04211432859301567, 0.006219826173037291, 0.012935115024447441, -0.025020865723490715, -0.007728333119302988, -0.07693827897310257, -0.006233097519725561, -0.03861070051789284, 0.013917192816734314, -0.014111839234828949, -0.005153696984052658, 0.04328220710158348, 0.06012793630361557, 0.03514246270060539, 0.0010008788667619228, 0.01265199389308691, -0.0081795584410429, -0.016111385077238083, 0.0016412201803177595, -0.00008149421046255156, -0.025073951110243797, 0.06518873572349548, 0.01008620485663414, -0.03694736212491989, 0.008365356363356113, -0.025657890364527702, 0.03367376700043678, -0.0058836196549236774, -0.04568873718380928, -0.04699817672371864, -0.010502039454877377, 0.011705306358635426, -0.001971897203475237, 0.05736750364303589, 0.045193277299404144, -0.005060797557234764, 0.05471323803067207, 0.016863426193594933, 0.008232643827795982, -0.004569758661091328, 0.03128492832183838, 0.023817598819732666, 0.03761977329850197, -0.008555578999221325, 0.03590334951877594, 0.011891104280948639, 0.005175815429538488, -0.03535480052232742, 0.010634752921760082, -0.009112974628806114, -0.021234115585684776, 0.028117507696151733, -0.0010617057560011744, -0.06387929618358612, 0.03928311541676521, -0.007493873126804829, -0.09781849384307861, 0.016553763300180435, 0.04660888388752937, -0.02530398778617382, 0.03546097129583359, -0.07771686464548111, -0.001609147759154439, -0.02017240971326828, -0.010351630859076977, -0.01944691129028797, -0.006091536954045296, -0.09045733511447906, -0.07332848012447357, 0.0645517110824585, 0.026401083916425705, 0.026878850534558296, -0.020030848681926727, 0.003207236295565963, -0.043600715696811676, 0.017933979630470276, -0.04020325839519501, 0.06168510392308235, 0.0029727760702371597, 0.01627064123749733, 0.011121368035674095, -0.013864107429981232, -0.04526405781507492, 0.008882937952876091, 0.017916284501552582, 0.032700538635253906, 0.041229575872421265, 0.020278580486774445, 0.02698502130806446, 0.013076676055788994, -0.01944691129028797, -0.005237748380750418, 0.0025945433881133795, 0.005941128358244896, -0.008471527136862278, 0.012439652346074581, 0.003587680868804455, 0.030223224312067032, -0.05874771997332573, 0.03169191628694534, -0.042043548077344894, -0.03606260567903519, 0.013926040381193161, 0.0453348383307457, -0.01840290054678917, -0.0063967774622142315, 0.027055801823735237, 0.02732122875750065, -0.051563508808612823, 0.04851995408535004, -0.033426035195589066, 0.03400997444987297, -0.01547436136752367, -0.00037657376378774643, -0.007967216894030571, -0.015598227269947529, -0.025162426754832268, 0.034416962414979935, -0.03533710539340973, 0.001721954089589417, 0.06801994889974594, 0.0027714944444596767, 0.03956623375415802, 0.04646732285618782, -0.07757530361413956, 0.0013359797885641456, -0.016819188371300697, 0.003985820338129997, -0.007051495835185051, -0.017385432496666908, 0.001066129538230598, -0.04126496613025665, 0.017155395820736885, -0.013227084651589394, 0.0005463361158035696, 0.016261793673038483, -0.02503856085240841, 0.005158120766282082, -0.0013459332985803485, -0.0214641522616148, 0.051705069839954376, -0.007577924989163876, 0.02740970440208912, 0.04130035638809204, 0.027144277468323708, 0.03977857530117035, -0.04214971885085106, 0.032222770154476166, 0.06324227154254913, -0.07311613857746124, 0.00371154653839767, -0.008776768110692501, -0.003930523060262203, -0.0064498623833060265, -0.025887925177812576, -0.024896999821066856, 0.013280170038342476, 0.01888066716492176, 0.02560480497777462, -0.042326670140028, 0.058429207652807236, 0.025144731625914574, -0.009873863309621811, -0.016491830348968506, -0.013819870539009571, 0.0050298310816287994, -0.015899043530225754, -0.054111603647470474, 0.05471323803067207, 0.025640195235610008, -0.00239768554456532, 0.007179785519838333, 0.01659800112247467, 0.01569554954767227, 0.037478212267160416, 0.008462679572403431, 0.008679444901645184, 0.0732576996088028, -0.00768409576267004, -0.014032211154699326, 0.031267233192920685, -0.015686701983213425, 0.045936468988657, 0.045936468988657, -0.06798455864191055, 0.04328220710158348, 0.008082235231995583, 0.016429897397756577, -0.008936023339629173, 0.029161518439650536 ]
16,330
presidio_analyzer.analyzer_engine
__init__
null
def __init__( self, registry: RecognizerRegistry = None, nlp_engine: NlpEngine = None, app_tracer: AppTracer = None, log_decision_process: bool = False, default_score_threshold: float = 0, supported_languages: List[str] = None, context_aware_enhancer: Optional[ContextAwareEnhancer] = None, ): if not supported_languages: supported_languages = ["en"] if not nlp_engine: logger.info("nlp_engine not provided, creating default.") provider = NlpEngineProvider() nlp_engine = provider.create_engine() if not registry: logger.info("registry not provided, creating default.") registry = RecognizerRegistry() if not app_tracer: app_tracer = AppTracer() self.app_tracer = app_tracer self.supported_languages = supported_languages self.nlp_engine = nlp_engine if not self.nlp_engine.is_loaded(): self.nlp_engine.load() self.registry = registry # load all recognizers if not registry.recognizers: registry.load_predefined_recognizers( nlp_engine=self.nlp_engine, languages=self.supported_languages ) self.log_decision_process = log_decision_process self.default_score_threshold = default_score_threshold if not context_aware_enhancer: logger.debug( "context aware enhancer not provided, creating default" + " lemma based enhancer." ) context_aware_enhancer = LemmaContextAwareEnhancer() self.context_aware_enhancer = context_aware_enhancer
(self, registry: Optional[presidio_analyzer.recognizer_registry.RecognizerRegistry] = None, nlp_engine: Optional[presidio_analyzer.nlp_engine.nlp_engine.NlpEngine] = None, app_tracer: Optional[presidio_analyzer.app_tracer.AppTracer] = None, log_decision_process: bool = False, default_score_threshold: float = 0, supported_languages: Optional[List[str]] = None, context_aware_enhancer: Optional[presidio_analyzer.context_aware_enhancers.context_aware_enhancer.ContextAwareEnhancer] = None)
[ 0.010811561718583107, -0.028695564717054367, -0.03545882925391197, 0.038840461522340775, 0.010927502997219563, 0.022743891924619675, -0.002106273779645562, -0.02527528628706932, 0.008082101121544838, 0.034840475767850876, 0.015333287417888641, 0.04216412454843521, -0.0003023843455594033, 0.03256028890609741, -0.003190811723470688, 0.004780178889632225, -0.02894677221775055, 0.024057898670434952, 0.038183458149433136, -0.04699502885341644, -0.02425113506615162, 0.021043414250016212, 0.0006612298893742263, 0.022666597738862038, -0.013178704306483269, 0.004210132174193859, 0.0030265608802437782, -0.02079220861196518, -0.03630907088518143, 0.01537193451076746, -0.030898457393050194, -0.019082067534327507, 0.011719771660864353, 0.035729359835386276, -0.006782588083297014, -0.045565079897642136, -0.0382414311170578, 0.017584487795829773, -0.10790305584669113, 0.003946848213672638, -0.04212547838687897, -0.0156521275639534, 0.032946761697530746, -0.018386417999863625, -0.05155539885163307, 0.03899504989385605, 0.052482932806015015, 0.03194193169474602, 0.014772902242839336, -0.016512027010321617, -0.04146847501397133, -0.04336218908429146, 0.007681136019527912, 0.01385503076016903, -0.05298534780740738, 0.05824137106537819, 0.028753535822033882, 0.027072381228208542, -0.027149677276611328, -0.004915444180369377, 0.014850196428596973, -0.014801887795329094, 0.025565139949321747, 0.01843472756445408, 0.018859846517443657, 0.021178679540753365, -0.02695644088089466, 0.023961279541254044, 0.028019238263368607, 0.022531332448124886, 0.02088882587850094, -0.04714961722493172, 0.00024773477343842387, 0.011082092300057411, 0.08084999769926071, 0.03145884349942207, -0.0605602040886879, 0.023864662274718285, 0.06117855757474899, 0.04494672268629074, 0.006995148025453091, 0.022086890414357185, 0.0031666571740061045, -0.029255950823426247, 0.035400860011577606, -0.04560372605919838, -0.012483053840696812, -0.043671365827322006, 0.05043463036417961, -0.02995160035789013, -0.06805776804685593, 0.030666574835777283, 0.0257004052400589, 0.019594144076108932, -0.01677289605140686, 0.007565194740891457, 0.01200962532311678, 0.012386435642838478, -0.0029661746229976416, -0.008449249900877476, -0.02583567053079605, 0.06790317595005035, -0.021719740703701973, 0.015816377475857735, -0.0033864632714539766, -0.015159374102950096, -0.03702404350042343, 0.0043550594709813595, 0.018367094919085503, 0.026338085532188416, -0.04467619210481644, -0.009487894363701344, -0.005521722603589296, 0.06948771327733994, -0.06454087048768997, 0.01877289079129696, -0.04081147164106369, -0.027246294543147087, 0.00699031725525856, 0.04583561047911644, -0.029874306172132492, -0.010647310875356197, -0.044212426990270615, 0.029004743322730064, -0.03590327501296997, -0.037951577454805374, 0.028540976345539093, 0.0025627941358834505, 0.03499506413936615, -0.07501426339149475, 0.05410611629486084, 0.02191297709941864, -0.04672449827194214, 0.010309147648513317, 0.041429825127124786, 0.0043816291727125645, -0.0017632796661928296, 0.030009571462869644, -0.039072345942258835, 0.01212556753307581, -0.024231810122728348, -0.04189359396696091, 0.050473276525735855, -0.004473416600376368, -0.019188348203897476, -0.0016062753275036812, -0.05936213955283165, 0.006700462661683559, -0.033275261521339417, -0.018608639016747475, 0.022608626633882523, -0.006685970351099968, 0.03592259809374809, -0.030338073149323463, 0.00922219455242157, -0.003789843525737524, 0.030434690415859222, -0.033603765070438385, 0.026743881404399872, 0.01491782907396555, 0.015835700556635857, -0.022106213495135307, 0.01519802212715149, 0.003103855298832059, 0.002777769463136792, -0.009154561907052994, 0.009859873913228512, -0.06674376130104065, -0.013681118376553059, 0.07242490351200104, -0.026647262275218964, -0.0386858731508255, -0.043980542570352554, -0.007608672603964806, -0.008082101121544838, 0.08046352863311768, 0.02506272681057453, 0.060869380831718445, -0.01574874483048916, 0.06535246223211288, 0.03692742437124252, 0.012251170352101326, -0.09947796165943146, -0.06724617630243301, -0.004797087050974369, 0.05557471141219139, -0.033932264894247055, 0.05116892606019974, -0.03153613582253456, 0.03408685326576233, 0.03261825814843178, -0.021603800356388092, 0.04247330129146576, -0.0177873857319355, 0.0009323643171228468, 0.022531332448124886, -0.019922645762562752, -0.006048290990293026, -0.028115857392549515, 0.02324630692601204, 0.016734249889850616, 0.042550597339868546, 0.014589328318834305, 0.013236675411462784, -0.059748612344264984, 0.026357408612966537, -0.020985443145036697, 0.10720740258693695, -0.07018336653709412, -0.05843460559844971, 0.026743881404399872, -0.0675939992070198, -0.0004761459131259471, 0.06473410129547119, 0.02349751442670822, -0.04699502885341644, 0.019188348203897476, 0.023284953087568283, 0.017951637506484985, 0.007342972792685032, 0.059748612344264984, 0.017835695296525955, -0.006338145118206739, -0.009666637517511845, 0.00648307241499424, 0.00019112261361442506, 0.01470526959747076, -0.03758442774415016, -0.0008719780598767102, -0.007787416223436594, -0.011304313316941261, -0.03333323448896408, 0.015623141080141068, 0.03153613582253456, 0.04649261385202408, -0.04347813129425049, 0.029584452509880066, 0.041082002222537994, -0.03976799547672272, 0.009135237894952297, 0.05055057257413864, 0.015362272039055824, -0.015700435265898705, -0.0173429436981678, 0.005565200466662645, 0.061333149671554565, 0.01246373075991869, -0.0257004052400589, 0.07768092304468155, 0.0034130332060158253, -0.015941981226205826, -0.027323588728904724, -0.062453918159008026, -0.010656972415745258, -0.04057958722114563, 0.0014142469735816121, -0.021951625123620033, -0.022183507680892944, 0.03628974407911301, -0.036618247628211975, 0.011729433201253414, 0.07288867235183716, -0.0040289731696248055, 0.11261801421642303, -0.036386363208293915, 0.007217369507998228, 0.039845291525125504, -0.029043391346931458, 0.03882113844156265, -0.03578733280301094, 0.07748769223690033, 0.032946761697530746, -0.0038864617235958576, 0.01799994520843029, -0.029333245009183884, -0.022106213495135307, -0.04966168478131294, 0.0004800710012204945, -0.05186457931995392, 0.0776422768831253, 0.08285965025424957, 0.013613485731184483, 0.014183532446622849, 0.014396091923117638, 0.03406753018498421, 0.015468552708625793, -0.021990271285176277, -0.027304265648126602, -0.02401925064623356, -0.0578935444355011, -0.005502399057149887, 0.03279217332601547, 0.07304325699806213, 0.021951625123620033, 0.04483078420162201, -0.04050229489803314, -0.019941968843340874, 0.00799514539539814, 0.004055543337017298, -0.04405783861875534, 0.0035144821740686893, -0.012396098114550114, 0.05016409978270531, -0.008565191179513931, -0.045101314783096313, -0.025777699425816536, 0.017507193610072136, 0.021545829251408577, 0.0221448615193367, -0.0005748774856328964, 0.007420267444103956, 0.027652090415358543, 0.03076319210231304, 0.015826039016246796, -0.02401925064623356, 0.0019927476532757282, 0.03342984989285469, -0.02181635983288288, 0.03273420035839081, 0.012985467910766602, -0.012608657591044903, 0.06415439397096634, 0.0005350225255824625, -0.020830854773521423, 0.008734272792935371, -0.06508193165063858, 0.03742983937263489, -0.014135222882032394, 0.011371945962309837, -0.03632839396595955, -0.04738149791955948, -0.038164135068655014, -0.0014227010542526841, -0.012019287794828415, -0.033584438264369965, -0.05677277594804764, 0.002606272231787443, 0.013941986486315727, 0.00006536816363222897, -0.013845369219779968, 0.014685945585370064, -0.013400925323367119, -0.0762123316526413, 0.05851190164685249, 0.022666597738862038, -0.007400943897664547, -0.012502377852797508, -0.06716887652873993, 0.03926558047533035, -0.05882107838988304, -0.034492649137973785, -0.04069552943110466, -0.012038610875606537, -0.010318809188902378, 0.004937183111906052, -0.029024066403508186, -0.03909166902303696, -0.012057934887707233, -0.0025990260764956474, -0.062106091529130936, -0.062453918159008026, 0.014937153086066246, -0.05143945664167404, 0.04815444350242615, -0.03744916245341301, -0.044444311410188675, 0.03787428140640259, -0.015304301865398884, 0.016057923436164856, -0.025082049891352654, 0.005913025699555874, -0.060212377458810806, -0.042318712919950485, 0.0667051151394844, 0.01700478047132492, -0.011903345584869385, 0.027304265648126602, 0.013584500178694725, -0.029120685532689095, 0.026357408612966537, -0.037062689661979675, 0.0874200239777565, 0.012821217067539692, 0.0074975620955228806, -0.037062689661979675, -0.04479213431477547, -0.018724581226706505, 0.0608307346701622, 0.029816335067152977, 0.010763252153992653, 0.0208115316927433, -0.016850190237164497, -0.01597096584737301, -0.031574785709381104, -0.02571972832083702, 0.011149724945425987, -0.07018336653709412, 0.01586468704044819, -0.031710051000118256, -0.02135259285569191, 0.031130339950323105, 0.014801887795329094, 0.008463742211461067, -0.01887916959822178, 0.003272936912253499, 0.09406735002994537, 0.05456988513469696, 0.021932300180196762, 0.0035482984967529774, 0.042550597339868546, 0.03621245175600052, -0.021970948204398155, -0.019922645762562752, -0.042550597339868546, -0.07729445397853851, -0.045912906527519226, 0.06604810804128647, 0.010975812561810017, 0.023787368088960648, 0.0024154516868293285, 0.0008719780598767102, 0.05020274594426155, 0.04100470617413521, 0.04057958722114563, 0.056850068271160126, 0.038048192858695984, -0.040772825479507446, -0.01744922250509262, 0.0021859838161617517, -0.07984516769647598, -0.045101314783096313, 0.02651199698448181, -0.012541024945676327, -0.009159392677247524, 0.021777711808681488, -0.01296614482998848, -0.03400956094264984, 0.025120697915554047, -0.038415342569351196, -0.016164202243089676, -0.0197873804718256, -0.06388386338949203, 0.05982590466737747, 0.05329452455043793, 0.02614484913647175, -0.033024054020643234, -0.005603848025202751, -0.007768092676997185, -0.03312067314982414, -0.015912994742393494, 0.032598935067653656, 0.0057004657573997974, 0.011555520817637444, 0.04139117896556854, 0.01733328029513359, -0.022763216868042946, -0.006975824479013681, 0.0298356581479311, 0.03431873768568039, 0.023903310298919678, 0.008917847648262978, -0.00014938059030100703, 0.01246373075991869, -0.01687917672097683, -0.053487762808799744, 0.08340071141719818, 0.0119613166898489, -0.0032125506550073624, -0.05352640897035599, -0.038743846118450165, 0.04405783861875534, 0.049159273505210876, 0.06612540781497955, -0.04753609001636505, -0.08177752792835236, 0.025642434135079384, 0.033275261521339417, -0.04707232117652893, -0.0026642431039363146, 0.0023115873336791992, 0.035594094544649124, 0.03596124425530434, 0.03845398873090744, 0.03621245175600052, -0.053951527923345566, -0.015739083290100098, -0.032598935067653656, -0.048463620245456696, 0.007927512750029564, 0.041313886642456055, -0.030995074659585953, 0.04127523675560951, 0.03140087053179741, -0.014627975411713123, 0.02616417221724987, -0.0007554325275123119, 0.04560372605919838, -0.004495155531913042, 0.0290820375084877, 0.005763267632573843, 0.0007705290918238461, -0.010724605061113834, -0.003925108816474676, -0.03802886977791786, 0.07068577408790588, -0.04235735908150673, -0.07145871967077255, 0.016280144453048706, -0.03656027466058731, 0.035516802221536636, -0.026743881404399872, -0.03914964199066162, 0.020830854773521423, -0.045681022107601166, -0.00617389427497983, 0.0037850127555429935, -0.04966168478131294, 0.0028140011709183455, -0.04475348815321922, 0.020309116691350937, 0.013014453463256359, 0.055072296410799026, 0.06774859130382538, -0.06512057781219482, 0.036386363208293915, -0.01656033657491207, -0.0032125506550073624, 0.036154478788375854, 0.05588388815522194, 0.032811496406793594, -0.008149733766913414, -0.04977762699127197, -0.04560372605919838, 0.035632744431495667, -0.008135241456329823, 0.059980496764183044, -0.020753560587763786, -0.001846612780354917, 0.06137179583311081, 0.016569998115301132, 0.003640085691586137, -0.005400950089097023, -0.025912964716553688, -0.03621245175600052, -0.0034202795941382647, -0.04100470617413521, -0.027420207858085632, 0.02614484913647175, -0.01913037709891796, 0.00872461125254631, -0.005183559376746416, -0.057391129434108734, -0.043207600712776184, 0.04742014780640602, 0.04270518571138382, 0.0252559632062912, 0.04931386187672615, 0.021855005994439125, 0.035632744431495667, 0.03228975832462311, -0.004874381236732006, -0.006584521383047104, -0.0053816260769963264, -0.0011038613738492131, 0.016685940325260162, -0.0009323643171228468, -0.022106213495135307, -0.0030797007493674755, -0.07172925025224686, -0.017613474279642105, 0.02235742099583149, -0.06241527199745178, -0.01454101875424385, 0.0395747609436512, -0.09739100933074951, 0.05592253804206848, -0.011420255526900291, 0.019623128697276115, 0.0014142469735816121, -0.006623168475925922, 0.004642498213797808, 0.02985498309135437, -0.025797024369239807, -0.07930410653352737, 0.01610623113811016, 0.0022753553930670023, 0.016734249889850616, 0.006806742865592241, -0.034260764718055725, -0.024309106171131134, -0.026666585355997086, 0.018038593232631683, 0.04189359396696091, -0.009797072038054466, -0.013207689858973026, -0.003205304266884923, -0.02606755495071411, -0.03598056733608246, 0.07304325699806213, -0.030879134312272072, -0.037854958325624466, 0.01124634314328432, -0.021951625123620033, -0.037178631871938705, 0.04664720222353935, -0.02349751442670822, -0.04637667164206505, 0.010125573724508286, 0.00008506918675266206, -0.012792231515049934, -0.051130279898643494, -0.023169012740254402, 0.008304323069751263, -0.012753584422171116, 0.03943949565291405, -0.013342955149710178, -0.0382414311170578, 0.047342851758003235, 0.0608307346701622, 0.013748751021921635, 0.03961340710520744, -0.027787355706095695, -0.0003044978657271713, 0.0026135186199098825, -0.01824149116873741, -0.030009571462869644, -0.0178743414580822, -0.12158417701721191, -0.01954583451151848, -0.019188348203897476, 0.035594094544649124, -0.010492721572518349, -0.0038816307205706835, -0.05062786489725113, 0.03400956094264984, 0.031478166580200195, 0.029487833380699158, 0.01677289605140686, 0.056618187576532364, -0.012173876166343689, -0.07346837967634201, -0.006014474667608738, 0.026338085532188416, -0.03252164274454117, -0.014811549335718155, -0.010724605061113834, -0.032270435243844986, 0.034840475767850876, 0.08633790165185928, 0.04761338233947754, 0.021893654018640518, 0.0440191924571991, -0.015275316312909126, -0.021739065647125244, -0.035497479140758514, 0.031710051000118256, 0.006241526920348406, 0.03696607053279877, 0.025449197739362717, 0.007338142022490501, -0.04467619210481644, 0.05557471141219139, 0.05990320071578026, 0.0029130347538739443, 0.03507235646247864, 0.005202882923185825, -0.007289832923561335, -0.02915933169424534, 0.030569955706596375, 0.04475348815321922, -0.02705305814743042, -0.005362302530556917, 0.03387429565191269, 0.0543380007147789, 0.009685961529612541, 0.029545804485678673, 0.016115892678499222, -0.017507193610072136, 0.048811446875333786, -0.019961291924118996, -0.0404636450111866, 0.046222083270549774, -0.039961233735084534, -0.027574796229600906, -0.04483078420162201, 0.012531363405287266, -0.03084048628807068, 0.03603854030370712, 0.03882113844156265, -0.05526553466916084, -0.014144884422421455, 0.04069552943110466, 0.03333323448896408, -0.02483084239065647, 0.015729421749711037, 0.004550710786134005, -0.08100458979606628, -0.12011557817459106, -0.0058019147254526615, -0.023188335821032524, 0.02237674407660961, 0.00033393618650734425, -0.0706084817647934, -0.04351677745580673, -0.026183495298027992, 0.027478177100419998, -0.04123659059405327, 0.03254096582531929, 0.008898523636162281, -0.0688307136297226, 0.03770036995410919, 0.03704336658120155, 0.0714973658323288, -0.03882113844156265, 0.010859870351850986, -0.008734272792935371, 0.027478177100419998, 0.040850117802619934, -0.026241466403007507, -0.0605602040886879, 0.012570010498166084, -0.0074975620955228806, 0.030357396230101585, -0.0215651523321867, 0.03679215908050537, -0.028367064893245697, -0.0003505424247123301, -0.035168975591659546, 0.07818333804607391, -0.040540941059589386, -0.0019867089577019215, -0.016917822882533073, -0.054956354200839996, -0.06013508513569832, -0.05352640897035599, -0.07439590990543365, 0.043091658502817154, -0.04127523675560951, 0.01644439436495304, 0.00923185609281063, 0.022956453263759613, 0.00769079802557826, -0.016270482912659645, 0.02100476808845997, 0.03999987989664078, 0.031149664893746376, -0.003304337849840522, -0.034917768090963364, 0.0160965695977211, -0.004159407690167427, 0.01701444201171398, 0.0008894900674931705, 0.017458884045481682, 0.028560299426317215, -0.010724605061113834, -0.028560299426317215, 0.07099495828151703, -0.025623111054301262, -0.021043414250016212, -0.028309093788266182, -0.04189359396696091, -0.07358431816101074, 0.012666628696024418, -0.04448295757174492, -0.008256013505160809, 0.01765212044119835, 0.06716887652873993, -0.0040700361132621765 ]
16,331
presidio_analyzer.analyzer_engine
_enhance_using_context
Enhance confidence score using context words. :param text: The actual text that was analyzed :param raw_results: Recognizer results which didn't take context into consideration :param nlp_artifacts: The nlp artifacts contains elements such as lemmatized tokens for better accuracy of the context enhancement process :param recognizers: the list of recognizers :param context: list of context words
def _enhance_using_context( self, text: str, raw_results: List[RecognizerResult], nlp_artifacts: NlpArtifacts, recognizers: List[EntityRecognizer], context: Optional[List[str]] = None, ) -> List[RecognizerResult]: """ Enhance confidence score using context words. :param text: The actual text that was analyzed :param raw_results: Recognizer results which didn't take context into consideration :param nlp_artifacts: The nlp artifacts contains elements such as lemmatized tokens for better accuracy of the context enhancement process :param recognizers: the list of recognizers :param context: list of context words """ results = [] for recognizer in recognizers: recognizer_results = [ r for r in raw_results if r.recognition_metadata[RecognizerResult.RECOGNIZER_IDENTIFIER_KEY] == recognizer.id ] other_recognizer_results = [ r for r in raw_results if r.recognition_metadata[RecognizerResult.RECOGNIZER_IDENTIFIER_KEY] != recognizer.id ] # enhance score using context in recognizer level if implemented recognizer_results = recognizer.enhance_using_context( text=text, # each recognizer will get access to all recognizer results # to allow related entities contex enhancement raw_recognizer_results=recognizer_results, other_raw_recognizer_results=other_recognizer_results, nlp_artifacts=nlp_artifacts, context=context, ) results.extend(recognizer_results) # Update results in case surrounding words or external context are relevant to # the context words. results = self.context_aware_enhancer.enhance_using_context( text=text, raw_results=results, nlp_artifacts=nlp_artifacts, recognizers=recognizers, context=context, ) return results
(self, text: str, raw_results: List[presidio_analyzer.recognizer_result.RecognizerResult], nlp_artifacts: presidio_analyzer.nlp_engine.nlp_artifacts.NlpArtifacts, recognizers: List[presidio_analyzer.entity_recognizer.EntityRecognizer], context: Optional[List[str]] = None) -> List[presidio_analyzer.recognizer_result.RecognizerResult]
[ 0.011025059036910534, -0.10129605233669281, -0.030579939484596252, 0.020492807030677795, 0.03964066132903099, -0.047604188323020935, 0.012847822159528732, -0.06179695948958397, 0.10037582367658615, 0.010812698863446712, -0.003220803802832961, -0.05478905886411667, -0.018227625638246536, 0.007189294323325157, -0.019254036247730255, 0.008520972914993763, -0.023518946021795273, 0.010768456384539604, 0.017962174490094185, -0.05510760098695755, -0.004368878901004791, -0.02118297852575779, -0.036384467035532, -0.02215629816055298, -0.0018913374515250325, 0.0027518407441675663, 0.048524416983127594, -0.04020695760846138, -0.02159000374376774, -0.02325349487364292, -0.0073087471537292, -0.02015656977891922, 0.008804120123386383, -0.004587875679135323, -0.04572833701968193, -0.053373321890830994, -0.059142451733350754, 0.043923269957304, 0.06922958791255951, -0.035800471901893616, -0.07184869796037674, -0.005844342987984419, -0.011724079959094524, -0.015210334211587906, -0.0334114171564579, 0.009343869984149933, -0.02603188157081604, 0.03588895872235298, 0.049621615558862686, -0.03758784383535385, -0.008136069402098656, -0.09400499612092972, 0.005118777509778738, 0.03850807249546051, 0.02907571755349636, 0.042295172810554504, -0.05163904279470444, 0.03645525127649307, 0.04165808856487274, -0.05680648609995842, 0.06303573399782181, -0.010750760324299335, 0.00814049318432808, 0.057443566620349884, -0.02716447226703167, -0.0056054373271763325, 0.0019588060677051544, 0.05691266432404518, 0.001186786568723619, -0.0076184398494660854, -0.018776224926114082, -0.036986153572797775, -0.03910975903272629, -0.026969807222485542, -0.0084236403927207, 0.04247213900089264, -0.035074908286333084, 0.022757986560463905, 0.08416561782360077, 0.017962174490094185, 0.00770692341029644, 0.03850807249546051, 0.027235258370637894, -0.028420940041542053, 0.03705694153904915, -0.04969240352511406, -0.06530091166496277, -0.03726930171251297, 0.03139398992061615, -0.026739750057458878, 0.0017221125308424234, 0.03479176014661789, 0.01290976069867611, 0.026633569970726967, -0.021837757900357246, 0.04130415618419647, -0.006490273866802454, -0.06420371681451797, -0.0017851570155471563, 0.005963796284049749, 0.006295609753578901, 0.07460939139127731, -0.021200675517320633, 0.0005436212522909045, 0.060133468359708786, -0.011352448724210262, -0.03645525127649307, -0.0018581560580059886, 0.060947518795728683, 0.026775144040584564, -0.026668963953852654, -0.08579371869564056, 0.010635731741786003, -0.043321579694747925, -0.022970348596572876, -0.025235528126358986, -0.02705829218029976, -0.020793650299310684, -0.001479888567700982, 0.03985302150249481, 0.003941945265978575, -0.07567119598388672, 0.00788389053195715, -0.03318135812878609, -0.02056359313428402, 0.001823868602514267, -0.03135859593749046, 0.015918202698230743, 0.02562485635280609, -0.05885930359363556, 0.006755724549293518, 0.007052144501358271, -0.020191961899399757, -0.011140087619423866, 0.08473191410303116, 0.008401519618928432, -0.025784127414226532, 0.05493063107132912, 0.019059371203184128, -0.005366531666368246, 0.017280850559473038, -0.015192638151347637, 0.021926240995526314, 0.015528875403106213, -0.0544351227581501, -0.013343330472707748, 0.0006674983305856586, -0.007777710445225239, -0.05199297517538071, 0.00632657902315259, 0.029500439763069153, 0.005742587149143219, 0.02392597123980522, -0.024616142734885216, -0.004835629835724831, -0.0056496793404221535, 0.011573657393455505, -0.04735643416643143, 0.026792841032147408, -0.0015075396513566375, 0.04675474390387535, -0.07036217302083969, 0.005282472353428602, 0.045905303210020065, 0.028226274996995926, 0.014732522889971733, -0.036384467035532, -0.033535294234752655, -0.04303843528032303, -0.006592029705643654, 0.05705424025654793, 0.004809084814041853, 0.0479581244289875, 0.005645255092531443, -0.010051739402115345, 0.09251847118139267, -0.0460822694003582, -0.020121175795793533, -0.00323407631367445, 0.05061263218522072, -0.019236339256167412, -0.002712022978812456, -0.05861154943704605, -0.04813509061932564, 0.010157919488847256, 0.02169618383049965, 0.001116552739404142, 0.03525187447667122, 0.015015671029686928, 0.01622789539396763, 0.0038424013182520866, -0.04325079545378685, 0.028739480301737785, -0.020652078092098236, -0.019360216334462166, 0.023271191865205765, -0.04402945190668106, -0.016617223620414734, -0.0039264606311917305, -0.0030283520463854074, -0.054151974618434906, 0.003373438026756048, 0.028420940041542053, 0.041516516357660294, 0.00887933187186718, 0.05871773138642311, -0.01762593723833561, 0.01134360022842884, -0.08586450666189194, -0.061619993299245834, 0.012493886984884739, 0.009759743697941303, 0.006233671214431524, 0.040029991418123245, 0.030031342059373856, 0.06151381507515907, 0.05195758119225502, 0.03406619280576706, -0.028827963396906853, -0.011467477306723595, -0.03245579078793526, -0.05464748293161392, -0.0017685664352029562, 0.0010595914209261537, 0.02417372539639473, -0.004539209883660078, 0.03893279284238815, -0.002484177704900503, 0.02751840651035309, -0.024828504770994186, -0.00013196503277868032, -0.011016210541129112, -0.004977203905582428, 0.006233671214431524, 0.011246268637478352, -0.017395880073308945, 0.04045471176505089, 0.026332726702094078, -0.024262208491563797, -0.011901047080755234, 0.004295879974961281, 0.03408389165997505, -0.011529415845870972, -0.02077595517039299, -0.03734008967876434, -0.04236595705151558, 0.026049578562378883, -0.007768861949443817, 0.07418467104434967, 0.004707328509539366, 0.005985917057842016, 0.005870888475328684, -0.04919689521193504, -0.004523725248873234, -0.04321540147066116, -0.022492537274956703, -0.019413307309150696, 0.0016380531014874578, -0.004048125818371773, -0.037906382232904434, -0.003937521018087864, 0.05542613938450813, -0.07871502637863159, 0.08749260753393173, -0.038472678512334824, -0.007494562771171331, 0.027642283588647842, -0.0032163795549422503, -0.035181086510419846, -0.014750219881534576, -0.004134397022426128, 0.033747654408216476, 0.030137522146105766, -0.02638581581413746, 0.0027053868398070335, 0.08685552328824997, -0.031199324876070023, 0.048630598932504654, -0.018068356439471245, 0.024032151326537132, 0.04664856567978859, 0.017634786665439606, -0.06540708988904953, -0.0072423843666911125, 0.06618575006723404, -0.016077473759651184, -0.012361162342131138, 0.031146233901381493, 0.0007189293974079192, -0.04371090978384018, -0.010768456384539604, 0.0455513671040535, 0.09938480705022812, 0.01840459369122982, 0.009538534097373486, 0.030385276302695274, -0.038578860461711884, -0.006631847470998764, 0.012520432472229004, -0.014360891655087471, -0.03509260341525078, 0.04395866394042969, 0.006428335327655077, -0.018316110596060753, 0.01907706819474697, -0.0385434664785862, 0.061832353472709656, -0.08098021149635315, -0.007264505140483379, -0.016015535220503807, -0.012016075663268566, -0.03072151355445385, -0.022722594439983368, -0.03509260341525078, -0.00886605866253376, -0.09004093706607819, 0.03659682720899582, 0.011246268637478352, 0.021112192422151566, 0.012051469646394253, -0.006879601627588272, -0.0005356024485081434, 0.033535294234752655, -0.015015671029686928, 0.055178385227918625, -0.0049816276878118515, 0.04686092585325241, 0.012529280968010426, 0.03118162788450718, -0.05638176202774048, -0.04654238373041153, -0.04887835308909416, -0.007596319075673819, -0.0377294160425663, -0.05531996116042137, -0.04887835308909416, 0.020740561187267303, -0.009175751358270645, 0.02449226565659046, -0.030243702232837677, -0.025324013084173203, -0.01948409341275692, -0.052346911281347275, 0.05829301103949547, 0.02180236391723156, 0.002749628620222211, 0.042967647314071655, 0.004627693444490433, 0.04813509061932564, -0.02454535663127899, -0.035641204565763474, -0.1102152019739151, 0.03309287503361702, 0.008450185880064964, -0.02215629816055298, 0.006123066414147615, -0.027801554650068283, -0.022085512056946754, 0.027624586597085, -0.04601148143410683, -0.0468963198363781, 0.008751030080020428, 0.02866869419813156, 0.054151974618434906, -0.04314461350440979, 0.03176562115550041, -0.01767902821302414, -0.00806970614939928, -0.020634381100535393, -0.020404323935508728, 0.005618710070848465, -0.0026146909222006798, 0.010326039046049118, 0.03780020400881767, 0.04696710780262947, -0.045586761087179184, -0.04268449917435646, -0.004280395340174437, 0.00610979413613677, 0.04948003962635994, -0.008105100132524967, 0.04700249806046486, -0.001624780474230647, -0.030332185328006744, 0.018024113029241562, -0.011945288628339767, -0.012856670655310154, -0.03334062919020653, -0.023518946021795273, -0.022457143291831017, -0.05815143510699272, -0.031163930892944336, -0.026668963953852654, 0.013874231837689877, -0.06954813003540039, 0.0011602414306253195, -0.02417372539639473, -0.026332726702094078, -0.03231421858072281, -0.01840459369122982, 0.0063663967885077, 0.027872340753674507, 0.031163930892944336, -0.03344680741429329, -0.009883620776236057, 0.04052549973130226, 0.011210874654352665, 0.08643080294132233, -0.022191692143678665, 0.050435665994882584, -0.06296494603157043, 0.04654238373041153, -0.012900912202894688, 0.01283897366374731, -0.0784318819642067, -0.01681188866496086, -0.033747654408216476, 0.03751705586910248, 0.008304188027977943, 0.06841553747653961, 0.031517866998910904, -0.029217291623353958, 0.04955082759261131, 0.0230411347001791, -0.03840189054608345, -0.011148936115205288, -0.0030792299658060074, -0.04802890866994858, -0.014228166081011295, -0.0794936865568161, -0.03603053092956543, -0.010042890906333923, -0.022244783118367195, -0.026509692892432213, -0.006914995145052671, -0.03187179937958717, -0.010095980949699879, 0.030190611258149147, -0.014272408559918404, -0.010980817489326, 0.011166633106768131, 0.02773076668381691, 0.05135589465498924, 0.050648026168346405, 0.0347563661634922, -0.05815143510699272, -0.05181600898504257, -0.006490273866802454, -0.09004093706607819, -0.01786484383046627, 0.011148936115205288, 0.04424181208014488, 0.023589733988046646, 0.07241499423980713, -0.03748166188597679, 0.02624424174427986, 0.029465045779943466, 0.012777035124599934, -0.000306098023429513, 0.05737277865409851, -0.024651536718010902, -0.01999729871749878, 0.0026279636658728123, 0.00010293133527738973, 0.03726930171251297, 0.007981223054230213, -0.028934143483638763, -0.04261371120810509, -0.040950220078229904, -0.011334751732647419, 0.06108909100294113, -0.0037450692616403103, 0.0619739294052124, 0.0013714961241930723, 0.023182708770036697, 0.024297602474689484, -0.01675879769027233, -0.0038512495812028646, 0.08204201608896255, 0.03429625183343887, 0.06724755465984344, -0.019041676074266434, 0.02252792939543724, -0.049409255385398865, 0.006375244818627834, -0.04640081152319908, 0.020191961899399757, -0.04179966449737549, 0.004875447601079941, 0.05507220700383186, -0.01813914254307747, 0.021713880822062492, 0.054612092673778534, -0.013316784985363483, -0.03479176014661789, -0.013591084629297256, 0.023855185136198997, -0.016856130212545395, 0.019678756594657898, -0.00991901382803917, 0.018439987674355507, -0.033836137503385544, -0.025164742022752762, -0.05263005942106247, 0.06731834262609482, 0.0014909490710124373, -0.03183640539646149, 0.015555420890450478, -0.03318135812878609, 0.029571225866675377, -0.0981106385588646, -0.027394529432058334, 0.11269274353981018, -0.07560040801763535, 0.01729854755103588, -0.011069301515817642, -0.011759473010897636, 0.05344410613179207, 0.026173455640673637, -0.03995920345187187, -0.02866869419813156, 0.028226274996995926, 0.024775413796305656, -0.013263694941997528, 0.06317730247974396, -0.019661061465740204, 0.006720331031829119, 0.018422290682792664, 0.034101586788892746, 0.02093522436916828, -0.021306855604052544, -0.0008123902371153235, 0.030756907537579536, 0.015360756777226925, 0.0185992568731308, 0.024049848318099976, 0.006215974222868681, -0.043640121817588806, 0.008144916966557503, 0.04484349861741066, 0.010635731741786003, -0.020121175795793533, -0.014104289002716541, 0.004742722027003765, 0.005446166731417179, -0.013829990290105343, 0.0016104019014164805, -0.006684937514364719, -0.006277912762016058, -0.024456873536109924, -0.028739480301737785, 0.0034420129377394915, -0.03289820998907089, 0.09520837664604187, 0.03526957333087921, -0.0377294160425663, 0.044347990304231644, 0.00483120558783412, -0.022457143291831017, 0.03702154755592346, 0.01791793294250965, 0.015174941159784794, 0.035641204565763474, -0.04307382553815842, 0.05411658436059952, 0.03995920345187187, -0.03277433291077614, 0.06922958791255951, -0.03840189054608345, -0.04834745079278946, 0.05068342015147209, -0.03371226042509079, 0.003791523166000843, -0.008498852141201496, -0.0854397863149643, 0.054045796394348145, -0.010352583602070808, -0.029553528875112534, 0.04679013788700104, -0.006755724549293518, -0.04572833701968193, -0.0047781155444681644, 0.010246403515338898, -0.057443566620349884, 0.055603109300136566, -0.040808647871017456, 0.024456873536109924, 0.027129078283905983, 0.055744681507349014, 0.04470192641019821, -0.05779750272631645, 0.004906416870653629, 0.03107544779777527, -0.0001941109512699768, 0.07892739027738571, 0.000868245551828295, -0.09060722589492798, 0.0014854187611490488, 0.003557041520252824, -0.03999459743499756, -0.019183248281478882, -0.03135859593749046, -0.010662276297807693, 0.012918609194457531, -0.0014566616155207157, -0.0007344140321947634, -0.05489523708820343, -0.015829719603061676, -0.021006012335419655, 0.02422681637108326, -0.01703309640288353, -0.019094765186309814, 0.04785194247961044, 0.004782539792358875, 0.032190341502428055, 0.0015849628252908587, -0.021926240995526314, 0.05896548554301262, 0.05248848348855972, 0.004300304222851992, 0.028226274996995926, 0.014918338507413864, -0.03442012891173363, -0.006848632358014584, -0.02314731478691101, -0.0011065982980653644, -0.005247078835964203, -0.09315555542707443, -0.06512394547462463, -0.004262698348611593, 0.001124295056797564, 0.007330867927521467, 0.0630711242556572, -0.019873421639204025, 0.017484363168478012, 0.04990476369857788, 0.04328618943691254, -0.0027186593506485224, 0.012865518219769001, -0.018847011029720306, -0.02530631609261036, 0.025854913517832756, -0.009706653654575348, -0.005804525688290596, -0.03882661461830139, 0.017563998699188232, -0.04484349861741066, -0.020280446857213974, 0.051214318722486496, 0.072238028049469, -0.0008405944099649787, -0.0023049984592944384, -0.02180236391723156, 0.030686119571328163, 0.012529280968010426, 0.09046565741300583, -0.006392941810190678, 0.0017508696764707565, -0.0035592536441981792, 0.02201472595334053, -0.021766971796751022, 0.052453089505434036, 0.0627879798412323, 0.018882405012845993, -0.021837757900357246, 0.003950793761759996, 0.014865248464047909, -0.019820330664515495, 0.10108368843793869, -0.0015407210448756814, 0.050860386341810226, -0.02974819391965866, 0.009795136749744415, 0.050223302096128464, -0.00956507958471775, 0.014520162716507912, -0.01435204315930605, 0.012493886984884739, 0.01681188866496086, -0.032650455832481384, 0.01265315804630518, -0.017227761447429657, 0.01476791687309742, -0.0009683426469564438, 0.015546572394669056, -0.01373265776783228, -0.01789138838648796, 0.015555420890450478, 0.0008958966936916113, -0.0474272221326828, -0.05967335402965546, 0.012131104245781898, -0.010379129089415073, -0.042082808911800385, 0.0041366093792021275, -0.04133954644203186, -0.028686389327049255, -0.09004093706607819, 0.04325079545378685, -0.02603188157081604, 0.023855185136198997, 0.024350693449378014, 0.009370415471494198, -0.061266060918569565, -0.01113124005496502, 0.013679567724466324, -0.01670570857822895, -0.041516516357660294, -0.016298683360219002, -0.039463695138692856, 0.023890577256679535, 0.005362107418477535, 0.03684458136558533, 0.021873151883482933, 0.031517866998910904, 0.03192489221692085, 0.019926510751247406, -0.02159000374376774, 0.036313679069280624, -0.01692691631615162, 0.05967335402965546, 0.06477001309394836, 0.005862039979547262, -0.0030084431637078524, -0.033269841223955154, -0.023005740717053413, 0.0579390749335289, -0.008888179436326027, 0.09039486944675446, -0.02881026640534401, -0.0002795529435388744, -0.0536210760474205, -0.021466126665472984, -0.04622384533286095, -0.05369186028838158, 0.01007828488945961, 0.01713927835226059, -0.00982168223708868, -0.029978251084685326, 0.002393482020124793, -0.008507700636982918, 0.03794177621603012, -0.060487404465675354, 0.02891644835472107, -0.01487409695982933, -0.00840594433248043, 0.05213455110788345, -0.0011049392633140087, 0.017387032508850098, 0.013361026532948017, 0.06349584460258484, 0.047391828149557114, 0.02185545489192009, -0.0037317967507988214, 0.06891104578971863, 0.028420940041542053, 0.032650455832481384, -0.022386357188224792, -0.005570043809711933, 0.005547923035919666, 0.022722594439983368, -0.017502060160040855, 0.032597366720438004, 0.009326173923909664, -0.01719236746430397, 0.0034796183463186026, 0.03705694153904915, 0.08005998283624649 ]
16,332
presidio_analyzer.analyzer_engine
_remove_allow_list
Remove results which are part of the allow list. :param results: List of RecognizerResult :param allow_list: list of allowed terms :param text: the text to analyze :return: List[RecognizerResult]
@staticmethod def _remove_allow_list( results: List[RecognizerResult], allow_list: List[str], text: str ) -> List[RecognizerResult]: """ Remove results which are part of the allow list. :param results: List of RecognizerResult :param allow_list: list of allowed terms :param text: the text to analyze :return: List[RecognizerResult] """ new_results = [] for result in results: word = text[result.start : result.end] # if the word is not specified to be allowed, keep in the PII entities if word not in allow_list: new_results.append(result) return new_results
(results: List[presidio_analyzer.recognizer_result.RecognizerResult], allow_list: List[str], text: str) -> List[presidio_analyzer.recognizer_result.RecognizerResult]
[ 0.03623278811573982, -0.02101862244307995, -0.03219490498304367, -0.01646699197590351, -0.054403264075517654, 0.0018781113903969526, 0.029130442067980766, -0.08039713650941849, 0.08537238091230392, 0.014475089497864246, 0.007534977979958057, 0.018008237704634666, -0.06424560397863388, -0.060640349984169006, -0.050221171230077744, -0.036539237946271896, 0.02094651758670807, 0.05155511200428009, -0.0035579337272793055, -0.05894588306546211, -0.028373338282108307, 0.0033618982415646315, -0.030031755566596985, 0.05905403941869736, -0.00011252331751165912, -0.020549939945340157, 0.016701333224773407, -0.05876561999320984, -0.057972464710474014, 0.02512861229479313, 0.04146040603518486, -0.00021152693079784513, 0.034700557589530945, 0.01554765272885561, -0.014799562282860279, -0.03307819366455078, -0.0014927999582141638, 0.08306502550840378, -0.04243382439017296, 0.02747202478349209, -0.047913808375597, -0.010004576295614243, 0.04838249087333679, -0.007079815026372671, -0.00638129748404026, -0.019738757982850075, -0.006741822697222233, 0.04686828702688217, 0.019991125911474228, -0.022334540262818336, -0.013357461430132389, 0.02696729078888893, -0.02869781106710434, 0.01328535657376051, -0.01212266180664301, 0.018819419667124748, -0.01379910483956337, 0.0679590106010437, 0.06482244282960892, -0.03533147647976875, 0.02725571021437645, -0.011410624720156193, -0.012501213699579239, -0.02141520194709301, 0.05040143430233002, 0.03178030252456665, 0.0021935708355158567, -0.002069640439003706, -0.004993274807929993, 0.020009152591228485, -0.047805652022361755, -0.0501130111515522, 0.03356490284204483, 0.044236451387405396, 0.06612033396959305, -0.009878392331302166, 0.03313227370381355, 0.031960565596818924, 0.06020772084593773, -0.02437150850892067, 0.019450338557362556, 0.07217715680599213, 0.052672743797302246, -0.001624617027118802, -0.002415519207715988, -0.028445443138480186, 0.014439037069678307, -0.040667250752449036, 0.02361440472304821, -0.05090617015957832, -0.02840939164161682, -0.03197859227657318, -0.023974930867552757, 0.015673836693167686, -0.026210187003016472, 0.09395288676023483, -0.017179029062390327, -0.07426820695400238, -0.10541758686304092, -0.022893354296684265, 0.012654436752200127, 0.12358806282281876, -0.01811639405786991, -0.020081257447600365, 0.060099564492702484, -0.006421856582164764, -0.03417779505252838, -0.05382642149925232, 0.05436721071600914, 0.09863971173763275, -0.08277659863233566, -0.018296657130122185, 0.04463302716612816, -0.023235853761434555, 0.019234023988246918, -0.015809033066034317, -0.0750613585114479, -0.06594007462263107, 0.0001274513197131455, 0.01626870222389698, 0.0422896146774292, -0.03320437669754028, -0.03695384040474892, -0.013591802679002285, 0.011662992648780346, 0.02101862244307995, 0.00010780550655908883, -0.015024891123175621, 0.038612257689237595, -0.029959650710225105, -0.026877159252762794, 0.003019399242475629, -0.05195169150829315, -0.02725571021437645, 0.04178487882018089, 0.0031050238758325577, 0.019468365237116814, -0.013979366980493069, 0.0378912054002285, -0.038540150970220566, 0.02593979239463806, 0.031059252098202705, 0.0694371685385704, 0.026823081076145172, -0.04128014296293259, -0.003868886735290289, -0.004091961774975061, 0.01139259897172451, 0.0025507162790745497, -0.022604934871196747, -0.023722562938928604, -0.010256944224238396, -0.01716100238263607, -0.05177142843604088, 0.0030419318936765194, 0.08840079605579376, -0.013826143927872181, -0.053033266216516495, -0.016151532530784607, -0.022478749975562096, 0.030428333207964897, -0.033799245953559875, -0.05368221178650856, 0.057828254997730255, 0.011176283471286297, -0.012744568288326263, 0.033258456736803055, -0.00957194622606039, -0.023037564009428024, -0.0035331477411091328, 0.013672920875251293, 0.0006275392952375114, -0.013195225037634373, 0.033312536776065826, -0.02292940765619278, 0.08551659435033798, -0.028571628034114838, 0.03125753998756409, -0.005534063093364239, 0.03461042419075966, -0.0017812201986089349, 0.001671935897320509, -0.03673752397298813, -0.06392113119363785, 0.04845459759235382, 0.016494031995534897, -0.024209272116422653, 0.04207329824566841, -0.016034360975027084, 0.032158855348825455, -0.01970270648598671, -0.06027982383966446, 0.047120653092861176, -0.032501354813575745, -0.02051388844847679, -0.015385416336357594, -0.037927258759737015, 0.04146040603518486, -0.07289820909500122, -0.07643135637044907, -0.06114508584141731, -0.0034317499957978725, -0.01389824878424406, 0.019738757982850075, 0.011374572291970253, 0.050689853727817535, -0.026065977290272713, 0.022677039727568626, -0.04337118938565254, -0.008774283342063427, 0.019234023988246918, 0.017755869776010513, 0.041568562388420105, 0.02175769954919815, 0.04481329023838043, -0.02148730680346489, 0.00647142855450511, 0.047949861735105515, -0.003127556759864092, -0.01627771556377411, -0.009968523867428303, -0.03947751596570015, 0.004423194564878941, -0.02732781507074833, 0.021469280123710632, 0.052131954580545425, -0.0007047142134979367, 0.0006731682806275785, 0.013681934215128422, -0.018512973561882973, 0.027850577607750893, -0.05195169150829315, 0.0017564340960234404, -0.02464190311729908, 0.012077596969902515, 0.017350278794765472, 0.013519697822630405, -0.00957194622606039, 0.000985248014330864, -0.0022713092621415854, -0.01867520995438099, 0.035998448729515076, -0.027580182999372482, 0.016989752650260925, -0.017665738239884377, 0.05162721872329712, -0.004146040417253971, -0.008639086969196796, 0.0369177870452404, -0.0025484629441052675, 0.006516494322568178, 0.009941484779119492, -0.013654894195497036, -0.014547194354236126, 0.02107270248234272, -0.01743139699101448, -0.04845459759235382, -0.01957652159035206, 0.03890067711472511, 0.019882969558238983, 0.005326760932803154, 0.018080342561006546, 0.0024831178598105907, 0.00031038973247632384, 0.0013328169006854296, 0.023596379905939102, -0.022496776655316353, 0.0513387992978096, -0.04867091029882431, 0.027417946606874466, 0.04189303517341614, -0.039765939116477966, 0.0535380020737648, -0.0532856360077858, 0.00008562474977225065, 0.09986550360918045, -0.008197443559765816, 0.04420039802789688, -0.04549828916788101, 0.04477723687887192, 0.011311480775475502, 0.041965141892433167, 0.012131675146520138, 0.0027084460016340017, 0.04174882546067238, -0.0027174593415111303, 0.044921450316905975, 0.015403442084789276, -0.038071468472480774, -0.01908981241285801, -0.009454775601625443, 0.00830109417438507, 0.07181663066148758, -0.031185435131192207, 0.0014421010855585337, 0.07134795188903809, 0.026138082146644592, -0.04585881531238556, -0.02808491885662079, -0.02278519794344902, 0.00036390518653206527, 0.04261408746242523, 0.034412138164043427, -0.017323238775134087, -0.008841882459819317, -0.026732949540019035, 0.02759820967912674, -0.013105093501508236, 0.03316832333803177, -0.03756673261523247, -0.03235714137554169, -0.005705312360078096, -0.03987409546971321, -0.014330879785120487, -0.01646699197590351, -0.004182093311101198, 0.05314142629504204, 0.03547568619251251, -0.001674189232289791, -0.019468365237116814, 0.024479666724801064, -0.01119430921971798, 0.03498897701501846, 0.002039221115410328, 0.039080940186977386, -0.09135710448026657, -0.011807202361524105, 0.02339809015393257, 0.002523676957935095, 0.02512861229479313, -0.037783049046993256, -0.005425905343145132, -0.043767768889665604, -0.03828778490424156, -0.008517409674823284, -0.02190191112458706, 0.03509713336825371, 0.0014128084294497967, 0.029418861493468285, -0.018927576020359993, -0.04333513602614403, -0.024407560005784035, -0.001078195869922638, 0.053862474858760834, -0.010004576295614243, 0.015574691817164421, -0.04099172353744507, 0.029815439134836197, 0.057287465780973434, 0.00534028047695756, 0.05094221979379654, -0.020712176337838173, 0.05292510986328125, 0.014024432748556137, 0.06817533075809479, 0.0029427874833345413, -0.03224898502230644, 0.037927258759737015, -0.030193991959095, -0.06067640334367752, 0.034502267837524414, -0.03259148448705673, -0.0014116817619651556, 0.01060845609754324, -0.012888778001070023, -0.00619652820751071, 0.013654894195497036, -0.04117198660969734, 0.003979297820478678, -0.008147871121764183, -0.03835988789796829, -0.02498440071940422, -0.04016251489520073, -0.0420372448861599, 0.0951065644621849, -0.0002470161416567862, 0.011482729576528072, 0.008724711835384369, -0.051987744867801666, 0.08955447375774384, -0.05314142629504204, 0.041352249681949615, -0.0069130719639360905, -0.010401153936982155, -0.00871569849550724, 0.02698531746864319, -0.05285300314426422, 0.06500270962715149, 0.009391683153808117, 0.018927576020359993, 0.010527337901294231, -0.058188777416944504, -0.014132590964436531, -0.0018443120643496513, -0.007057282142341137, -0.00346554908901453, -0.09683708846569061, 0.0037562227807939053, -0.04683223366737366, 0.010806744918227196, -0.008652606047689915, 0.04160461574792862, -0.03383529558777809, 0.03163609281182289, -0.0273818951100111, 0.05260063707828522, -0.009337604977190495, 0.009635037742555141, -0.02794070914387703, 0.001931063481606543, 0.018008237704634666, -0.03096912056207657, 0.06684138625860214, -0.025344926863908768, -0.057756148278713226, 0.026660844683647156, -0.03302411362528801, 0.033258456736803055, -0.03828778490424156, 0.018657183274626732, 0.04708459973335266, -0.041640669107437134, 0.04564249888062477, 0.03713410347700119, 0.00693109817802906, 0.03513318672776222, 0.0381435751914978, -0.03313227370381355, -0.009626024402678013, -0.04441671445965767, -0.026462554931640625, -0.010437206365168095, -0.04344329610466957, -0.09698129445314407, -0.00366383814252913, -0.02018941566348076, -0.018693234771490097, -0.006354257930070162, -0.029707282781600952, 0.0273818951100111, -0.01805330254137516, 0.04463302716612816, 0.02559729479253292, 0.07001400738954544, 0.06853585690259933, 0.006570572964847088, -0.08436291664838791, 0.044236451387405396, -0.028661759570240974, -0.023578353226184845, 0.012816673144698143, 0.03269964084029198, 0.043479349464178085, -0.017593633383512497, 0.03183438256382942, 0.06096482276916504, 0.018224552273750305, 0.010554376989603043, -0.007525965105742216, 0.05620589107275009, 0.07527767866849899, 0.03680963069200516, -0.015457521192729473, 0.014970812015235424, 0.020225467160344124, 0.05260063707828522, -0.03753067925572395, -0.004529098514467478, -0.017188042402267456, 0.0388646237552166, 0.0008168150670826435, -0.062082450836896896, 0.046435654163360596, -0.05761193856596947, 0.01894560270011425, 0.021739674732089043, 0.00899059884250164, 0.0009091996471397579, 0.07412399351596832, 0.00216089840978384, 0.0031433296389877796, -0.04124408960342407, -0.03533147647976875, 0.007296130061149597, -0.055773258209228516, -0.025110585615038872, 0.0014533675275743008, -0.07217715680599213, 0.0014083018759265542, -0.00953589379787445, -0.01928810216486454, -0.05321352928876877, 0.03048241138458252, -0.051374852657318115, 0.008228989318013191, -0.03493489697575569, -0.02635439671576023, 0.005078899674117565, 0.05382642149925232, 0.007534977979958057, 0.0026295811403542757, -0.029256625100970268, -0.06334429234266281, -0.05829693749547005, 0.07902713865041733, 0.005236629396677017, -0.011185296811163425, 0.019864942878484726, -0.04968038201332092, -0.009143821895122528, -0.0796760842204094, -0.015430481173098087, 0.054114844650030136, -0.0037066503427922726, -0.001614477252587676, -0.014402984641492367, -0.022226382046937943, 0.007751293480396271, 0.013672920875251293, -0.0021338588558137417, -0.06467823684215546, -0.0005948666948825121, -0.06940111517906189, -0.04996880143880844, 0.05224011093378067, -0.035800158977508545, -0.044308554381132126, -0.024407560005784035, 0.0167463980615139, -0.04859880730509758, -0.005254655610769987, -0.011626940220594406, -0.0022803223691880703, -0.00040587258990854025, 0.02608400397002697, 0.056602466851472855, 0.005736858583986759, -0.054871946573257446, 0.07217715680599213, 0.06402929127216339, 0.004781466443091631, 0.0035196279641240835, 0.009134809486567974, 0.00028053371352143586, 0.03095109388232231, 0.0721050575375557, -0.07563820481300354, 0.011626940220594406, -0.027291763573884964, 0.055160365998744965, -0.027922682464122772, -0.027778472751379013, -0.007498925551772118, -0.051735375076532364, 0.07365531474351883, -0.023776641115546227, 0.05663852021098137, 0.007318662945181131, -0.004767946898937225, 0.021307043731212616, -0.01860310323536396, -0.07221321016550064, 0.021793752908706665, -0.011302467435598373, -0.005984719377011061, 0.020279547199606895, -0.05526852235198021, 0.0347185842692852, -0.0532856360077858, -0.03486279398202896, 0.05270879343152046, -0.06038798391819, 0.022226382046937943, -0.00018997992447111756, -0.07614293694496155, 0.04405618831515312, 0.07055479288101196, -0.031185435131192207, 0.033943455666303635, -0.003753969445824623, -0.003862126963213086, -0.0024335456546396017, -0.0038170611951500177, -0.07448451966047287, 0.02696729078888893, 0.005921627394855022, 0.06460613012313843, -0.02273111790418625, 0.010932928882539272, 0.025110585615038872, 0.024209272116422653, 0.0750613585114479, 0.07318662852048874, 0.04459697753190994, -0.0011807202827185392, 0.0001031581123243086, -0.0016156039200723171, 0.0034407631028443575, -0.040342777967453, -0.004427700769156218, 0.02581360936164856, -0.0422896146774292, 0.05058169737458229, 0.010112733580172062, 0.05627799406647682, 0.014673378318548203, -0.0777292475104332, -0.04600302502512932, -0.018855471163988113, -0.016782451421022415, -0.031473856419324875, 0.020081257447600365, 0.018215538933873177, -0.011915360577404499, 0.027580182999372482, -0.0054709711112082005, 0.004988768603652716, 0.03680963069200516, 0.031149383634328842, 0.022136252373456955, -0.00902665127068758, -0.01661120168864727, -0.012059570290148258, -0.014060485176742077, -0.024605849757790565, -0.03172622248530388, -0.040739357471466064, 0.007278103847056627, -0.018639156594872475, 0.025561241433024406, -0.006575079634785652, -0.04365960881114006, -0.005890081636607647, 0.04319092631340027, -0.06179403141140938, 0.07250162959098816, -0.0016786957858130336, -0.056746676564216614, -0.008283068425953388, 0.006439882796257734, 0.011590887792408466, -0.007994648069143295, -0.03255543112754822, 0.033943455666303635, -0.06384902447462082, 0.012600358575582504, -0.06986979395151138, -0.01139259897172451, 0.0179090928286314, 0.040198568254709244, -0.006493961438536644, 0.05299721658229828, -0.004889624193310738, 0.0161965973675251, -0.021090729162096977, 0.05339379236102104, -0.03706199675798416, -0.007557510863989592, -0.005056366790086031, -0.014898707158863544, 0.013483645394444466, 0.044380661100149155, -0.0012325458228588104, 0.007692708168178797, -0.04055909439921379, -0.030662674456834793, 0.01914389245212078, -0.006849979981780052, -0.005975706502795219, 0.04394803196191788, 0.04484934359788895, -0.02684110589325428, 0.00909425038844347, 0.03048241138458252, -0.004984261933714151, 0.06813927739858627, -0.025092558935284615, -0.012807659804821014, 0.003695384133607149, -0.008472343906760216, -0.0006207794649526477, -0.06125324219465256, 0.027129527181386948, -0.024407560005784035, -0.01689060963690281, 0.0413161963224411, -0.020838361233472824, 0.019937047734856606, 0.005227616522461176, -0.017927119508385658, -0.09416919946670532, -0.024804139509797096, -0.0012990175746381283, -0.0008821602677926421, 0.05043748393654823, 0.04185698553919792, -0.0034835755359381437, -0.058873776346445084, 0.02938280999660492, 0.05862141028046608, 0.009833326563239098, 0.0010213004425168037, -0.028102945536375046, -0.03313227370381355, -0.052420374006032944, 0.008675139397382736, -0.026949264109134674, -0.01606140099465847, -0.02630031853914261, -0.01389824878424406, 0.030662674456834793, 0.004067175555974245, 0.013916275463998318, 0.011338519863784313, 0.04402013495564461, 0.008341653272509575, 0.01743139699101448, -0.01847692020237446, 0.05209590122103691, -0.03601647540926933, 0.0501130111515522, 0.025849662721157074, 0.01272654253989458, 0.03048241138458252, -0.0510864295065403, 0.011662992648780346, -0.04784170165657997, -0.03803541511297226, 0.02552518993616104, -0.0054709711112082005, -0.018567051738500595, 0.02931070514023304, -0.04304671660065651, -0.036286868155002594, -0.026336371898651123, -0.0007537231431342661, 0.021451253443956375, -0.02217230387032032, -0.009617011994123459, -0.013970354571938515, -0.015196139924228191, 0.01936020702123642, -0.025489136576652527, 0.005114952102303505, -0.0413161963224411, -0.01469140499830246, 0.03796331211924553, -0.0022228637244552374, 0.01963060162961483, -0.009346617385745049, 0.049932751804590225, 0.013970354571938515, 0.012519240379333496, 0.0347185842692852, 0.059198249131441116, 0.038468047976493835, 0.04402013495564461, -0.0033416186925023794, -0.0567106269299984, 0.00042530716746114194, 0.002121465979143977, 0.024425586685538292, -0.014835614711046219, 0.007940568961203098, -0.03954962268471718, -0.03637700155377388, 0.024768086150288582, 0.028950178995728493 ]
16,333
presidio_analyzer.analyzer_engine
analyze
Find PII entities in text using different PII recognizers for a given language. :param text: the text to analyze :param language: the language of the text :param entities: List of PII entities that should be looked for in the text. If entities=None then all entities are looked for. :param correlation_id: cross call ID for this request :param score_threshold: A minimum value for which to return an identified entity :param return_decision_process: Whether the analysis decision process steps returned in the response. :param ad_hoc_recognizers: List of recognizers which will be used only for this specific request. :param context: List of context words to enhance confidence score if matched with the recognized entity's recognizer context :param allow_list: List of words that the user defines as being allowed to keep in the text :param nlp_artifacts: precomputed NlpArtifacts :return: an array of the found entities in the text :example: >>> from presidio_analyzer import AnalyzerEngine >>> # Set up the engine, loads the NLP module (spaCy model by default) >>> # and other PII recognizers >>> analyzer = AnalyzerEngine() >>> # Call analyzer to get results >>> results = analyzer.analyze(text='My phone number is 212-555-5555', entities=['PHONE_NUMBER'], language='en') # noqa D501 >>> print(results) [type: PHONE_NUMBER, start: 19, end: 31, score: 0.85]
def analyze( self, text: str, language: str, entities: Optional[List[str]] = None, correlation_id: Optional[str] = None, score_threshold: Optional[float] = None, return_decision_process: Optional[bool] = False, ad_hoc_recognizers: Optional[List[EntityRecognizer]] = None, context: Optional[List[str]] = None, allow_list: Optional[List[str]] = None, nlp_artifacts: Optional[NlpArtifacts] = None, ) -> List[RecognizerResult]: """ Find PII entities in text using different PII recognizers for a given language. :param text: the text to analyze :param language: the language of the text :param entities: List of PII entities that should be looked for in the text. If entities=None then all entities are looked for. :param correlation_id: cross call ID for this request :param score_threshold: A minimum value for which to return an identified entity :param return_decision_process: Whether the analysis decision process steps returned in the response. :param ad_hoc_recognizers: List of recognizers which will be used only for this specific request. :param context: List of context words to enhance confidence score if matched with the recognized entity's recognizer context :param allow_list: List of words that the user defines as being allowed to keep in the text :param nlp_artifacts: precomputed NlpArtifacts :return: an array of the found entities in the text :example: >>> from presidio_analyzer import AnalyzerEngine >>> # Set up the engine, loads the NLP module (spaCy model by default) >>> # and other PII recognizers >>> analyzer = AnalyzerEngine() >>> # Call analyzer to get results >>> results = analyzer.analyze(text='My phone number is 212-555-5555', entities=['PHONE_NUMBER'], language='en') # noqa D501 >>> print(results) [type: PHONE_NUMBER, start: 19, end: 31, score: 0.85] """ all_fields = not entities recognizers = self.registry.get_recognizers( language=language, entities=entities, all_fields=all_fields, ad_hoc_recognizers=ad_hoc_recognizers, ) if all_fields: # Since all_fields=True, list all entities by iterating # over all recognizers entities = self.get_supported_entities(language=language) # run the nlp pipeline over the given text, store the results in # a NlpArtifacts instance if not nlp_artifacts: nlp_artifacts = self.nlp_engine.process_text(text, language) if self.log_decision_process: self.app_tracer.trace( correlation_id, "nlp artifacts:" + nlp_artifacts.to_json() ) results = [] for recognizer in recognizers: # Lazy loading of the relevant recognizers if not recognizer.is_loaded: recognizer.load() recognizer.is_loaded = True # analyze using the current recognizer and append the results current_results = recognizer.analyze( text=text, entities=entities, nlp_artifacts=nlp_artifacts ) if current_results: # add recognizer name to recognition metadata inside results # if not exists self.__add_recognizer_id_if_not_exists(current_results, recognizer) results.extend(current_results) results = self._enhance_using_context( text, results, nlp_artifacts, recognizers, context ) if self.log_decision_process: self.app_tracer.trace( correlation_id, json.dumps([str(result.to_dict()) for result in results]), ) # Remove duplicates or low score results results = EntityRecognizer.remove_duplicates(results) results = self.__remove_low_scores(results, score_threshold) if allow_list: results = self._remove_allow_list(results, allow_list, text) if not return_decision_process: results = self.__remove_decision_process(results) return results
(self, text: str, language: str, entities: Optional[List[str]] = None, correlation_id: Optional[str] = None, score_threshold: Optional[float] = None, return_decision_process: Optional[bool] = False, ad_hoc_recognizers: Optional[List[presidio_analyzer.entity_recognizer.EntityRecognizer]] = None, context: Optional[List[str]] = None, allow_list: Optional[List[str]] = None, nlp_artifacts: Optional[presidio_analyzer.nlp_engine.nlp_artifacts.NlpArtifacts] = None) -> List[presidio_analyzer.recognizer_result.RecognizerResult]
[ 0.01883174665272236, -0.09403233975172043, -0.04791060462594032, 0.0015859208069741726, 0.02716360241174698, 0.00017499816021881998, 0.016799822449684143, -0.09029904752969742, 0.035621847957372665, -0.00878879614174366, 0.025238623842597008, -0.01389290951192379, -0.0404440201818943, -0.0146998455747962, -0.03818848729133606, -0.005060363560914993, -0.04133845493197441, 0.026191391050815582, -0.011404046788811684, -0.04962170124053955, -0.01979423500597477, -0.0034732273779809475, -0.04102734476327896, -0.012055428698658943, 0.02556917443871498, -0.05242167040705681, 0.04351620748639107, -0.04721061512827873, -0.04938836768269539, 0.03443574905395508, 0.01156932208687067, -0.015088729560375214, 0.006834650412201881, -0.0190456323325634, -0.08275468647480011, -0.015497058629989624, -0.01632343977689743, 0.023488640785217285, 0.0011545016895979643, 0.013795687817037106, -0.10787664353847504, -0.014204016886651516, 0.03447463735938072, 0.004190233536064625, -0.09994339197874069, -0.005269389133900404, -0.005799244623631239, 0.0050360579043626785, 0.03890792280435562, -0.04892170801758766, -0.03515518456697464, -0.05354943498969078, -0.01131654717028141, 0.0028753168880939484, -0.0003581993514671922, 0.019609516486525536, -0.05786605551838875, 0.004501341376453638, -0.005006891675293446, -0.04888281971216202, 0.059343818575143814, -0.01880257949233055, 0.011131826788187027, 0.04281621426343918, 0.00618812907487154, 0.0452273003757, 0.03482463210821152, 0.04110512137413025, -0.022244209423661232, -0.02152477391064167, -0.02938024513423443, -0.03989958018064499, 0.03546629473567009, 0.012804031372070312, 0.03311353921890259, -0.005522164050489664, 0.04421620070934296, 0.03818848729133606, 0.07377144694328308, 0.04211622476577759, 0.006100630387663841, 0.05008836090564728, 0.027746930718421936, -0.06735484302043915, 0.032394103705883026, -0.03958847001194954, -0.012249871157109737, -0.030877452343702316, 0.006873538717627525, -0.04674395173788071, 0.007019370328634977, 0.0014984217705205083, 0.016887322068214417, 0.043088436126708984, -0.0027197629678994417, 0.055416081100702286, 0.009026988409459591, -0.020669227465987206, 0.00999433919787407, -0.02850525453686714, -0.042893990874290466, 0.11938763409852982, -0.006790900602936745, 0.006839511450380087, 0.0290885828435421, -0.040755126625299454, -0.04526618868112564, 0.018258141353726387, 0.06782151013612747, 0.05032169073820114, -0.060860469937324524, 0.012240149080753326, 0.005687440279871225, -0.015273449942469597, 0.007330478169023991, -0.021019222214818, -0.048532821238040924, -0.01736370660364628, -0.035524625331163406, 0.043477319180965424, -0.03962736204266548, -0.005872160196304321, -0.028835806995630264, -0.036632947623729706, -0.024208078160881996, -0.01945396140217781, -0.010733219794929028, -0.0015980734024196863, 0.009085320867598057, -0.06552708894014359, -0.028369145467877388, -0.01187070831656456, 0.016702601686120033, 0.010130449198186398, 0.017353983595967293, 0.007262423634529114, 0.03735238313674927, 0.024810850620269775, 0.0005423119873739779, -0.008497132919728756, 0.014942898415029049, -0.016556769609451294, 0.01267764437943697, 0.0008555465610697865, -0.03330798074603081, -0.015516502782702446, 0.021991435438394547, -0.040677350014448166, -0.037235718220472336, -0.003738155122846365, 0.0014048463199287653, -0.04343843087553978, 0.019901178777217865, -0.03645794838666916, -0.0017050167080014944, -0.017810923978686333, 0.028971916064620018, -0.04721061512827873, -0.02261365018785, 0.022166432812809944, 0.0008804594981484115, -0.06723818182945251, 0.04028846323490143, 0.0635048896074295, 0.011044328100979328, 0.01576927863061428, -0.00012091886310372502, -0.010519333183765411, -0.01581788808107376, 0.0015725528355687857, -0.010830441489815712, -0.010859607718884945, -0.02759137563407421, -0.02446085400879383, -0.05417165160179138, 0.06879372149705887, 0.017684536054730415, 0.018967855721712112, -0.002187476959079504, 0.067043736577034, -0.020163675770163536, -0.0055561913177371025, -0.07801029086112976, -0.040560685098171234, 0.010645721107721329, 0.022574761882424355, 0.010733219794929028, 0.039160698652267456, -0.018841467797756195, 0.02607472613453865, -0.023313643410801888, -0.0385773703455925, 0.030527455732226372, 0.016245661303400993, -0.008229774422943592, -0.005828410852700472, -0.03163577616214752, 0.0028655948117375374, -0.04810504987835884, -0.018024809658527374, 0.01081099733710289, 0.0016527603147551417, 0.01829702965915203, 0.05456053465604782, -0.07136035710573196, 0.024188634008169174, -0.06175490468740463, 0.06486598402261734, -0.04557729884982109, -0.05798272415995598, -0.01885119080543518, -0.024577518925070763, -0.00935267936438322, 0.026210835203528404, 0.03324965015053749, 0.05141057074069977, 0.02858303301036358, 0.01712065376341343, -0.0007060689385980368, 0.011685987934470177, -0.01480678841471672, -0.03564129024744034, -0.013134583830833435, -0.04826060310006142, 0.00828324630856514, 0.0022251501213759184, -0.013601245358586311, 0.026191391050815582, 0.0616382397711277, -0.03997735679149628, 0.00719436863437295, -0.011452657170593739, -0.02304142341017723, -0.0009035494877025485, 0.07353811711072922, 0.015088729560375214, 0.03799404576420784, 0.053004998713731766, -0.02325531095266342, 0.02615250274538994, 0.003516976721584797, 0.0055756354704499245, -0.03608850762248039, -0.011783209629356861, -0.05771050229668617, -0.00944990012794733, 0.044488418847322464, -0.03276354447007179, 0.07268256694078445, -0.05502719804644585, -0.005969381425529718, -0.051255013793706894, -0.024480298161506653, -0.04394398257136345, -0.0008792441803961992, -0.013688744977116585, -0.014077629894018173, -0.012473479844629765, 0.06863816827535629, -0.0025228899903595448, 0.02311920002102852, 0.031557999551296234, -0.01156932208687067, 0.05039946734905243, -0.04273843765258789, 0.00960545428097248, -0.015331783331930637, 0.010577666573226452, 0.02072755992412567, -0.03750793635845184, -0.01601233147084713, 0.031869109719991684, 0.002724624006077647, -0.03321076184511185, 0.005512441974133253, 0.06264933943748474, -0.044293977320194244, 0.04818282648921013, -0.054404981434345245, 0.08524354547262192, 0.031869109719991684, 0.030780231580138206, -0.019152576103806496, -0.07470476627349854, 0.0664215236902237, 0.011588767170906067, -0.04378842934966087, 0.013698467053472996, -0.025238623842597008, -0.055610526353120804, 0.0008701297338120639, 0.032082993537187576, -0.0027027493342757225, -0.0005654020351357758, 0.011656821705400944, 0.05631051957607269, 0.008263802155852318, -0.05603829771280289, -0.0076075587421655655, -0.06023825332522392, -0.00686867767944932, 0.037644047290086746, 0.07330477982759476, -0.04958280920982361, -0.042077332735061646, -0.01858869381248951, 0.06140490993857384, -0.013970686122775078, 0.03418297320604324, -0.06404932588338852, -0.018335917964577675, -0.011102660559117794, 0.04697728157043457, -0.006761734373867512, -0.03262743353843689, -0.0486883744597435, 0.050243914127349854, 0.02677471749484539, 0.0274941548705101, -0.0033954503014683723, 0.01096655149012804, 0.04989391937851906, 0.018870634958148003, 0.0026784439105540514, 0.049543920904397964, -0.04876615107059479, 0.047327280044555664, 0.03190799802541733, 0.011335991322994232, -0.06416598707437515, 0.028913583606481552, -0.026794161647558212, 0.00013466655218508095, -0.013504024595022202, -0.009600593708455563, -0.060666028410196304, 0.0005690478137694299, -0.0064214603044092655, 0.02605528011918068, -0.007661030162125826, 0.007301311939954758, -0.025238623842597008, -0.009070738218724728, 0.05728273093700409, 0.05463831499218941, 0.014923454262316227, 0.026930272579193115, -0.0340079739689827, 0.02658027596771717, -0.018987299874424934, -0.020630337297916412, -0.037138499319553375, 0.010801275260746479, -0.02941913530230522, 0.00038858098560012877, -0.019628960639238358, -0.01673176884651184, -0.014417903497815132, -0.012872086837887764, -0.03931625187397003, -0.02304142341017723, -0.01955118216574192, -0.013017917983233929, 0.04736616834998131, -0.04588840529322624, -0.020883113145828247, -0.0059013268910348415, 0.02486918307840824, 0.03344409167766571, 0.0016248092288151383, -0.008866573683917522, -0.010538778267800808, -0.04199955612421036, 0.02273031696677208, 0.050866130739450455, 0.010879051871597767, 0.02364419586956501, 0.013776243664324284, -0.016624825075268745, 0.06852149963378906, -0.031460780650377274, 0.050982795655727386, -0.030352458357810974, -0.041066233068704605, 0.01384429819881916, -0.01622621715068817, 0.028563588857650757, 0.016527604311704636, -0.002940941136330366, 0.009216569364070892, -0.0039641945622861385, -0.028408033773303032, -0.03041079081594944, -0.04211622476577759, -0.010188781656324863, -0.003745446680113673, -0.06082158163189888, 0.016702601686120033, -0.07104925066232681, -0.04149400815367699, -0.009984617121517658, -0.008540881797671318, 0.03879125788807869, 0.004542660433799028, -0.04456619545817375, 0.047016169875860214, 0.05526052787899971, 0.0019298407714813948, -0.010091559961438179, 0.03223855048418045, 0.017042875289916992, 0.020163675770163536, 0.006494375877082348, -0.02434418722987175, -0.07727140933275223, 0.012745698913931847, 0.013854020275175571, 0.05001058429479599, -0.007865195162594318, 0.04946614429354668, 0.015516502782702446, 0.004856199026107788, 0.047443944960832596, 0.040677350014448166, 0.0009351464104838669, 0.056543849408626556, -0.024694183841347694, -0.014923454262316227, -0.035194072872400284, -0.08656575530767441, -0.005366609897464514, 0.00699506513774395, -0.02648305520415306, -0.02716360241174698, -0.002683304948732257, -0.026813605800271034, -0.03422186151146889, -0.005877021234482527, -0.0019359170692041516, -0.023391420021653175, 0.01798592135310173, -0.002403794089332223, 0.07178813219070435, 0.03305520862340927, 0.06214379146695137, -0.03375519812107086, -0.049971695989370346, -0.021796992048621178, -0.06245489791035652, -0.034610748291015625, 0.058060500770807266, 0.02516084536910057, 0.08166580647230148, 0.05008836090564728, 0.020980333909392357, 0.01294014137238264, 0.034319084137678146, 0.04542174190282822, 0.006304794456809759, 0.056543849408626556, -0.026930272579193115, 0.02385808154940605, 0.010927662253379822, -0.010723497718572617, 0.027610819786787033, 0.007962415926158428, -0.03270521014928818, -0.026521943509578705, -0.04623840004205704, -0.006829789374023676, 0.027046937495470047, -0.004037110134959221, 0.04164956137537956, -0.00306732882745564, -0.024110857397317886, 0.020572004839777946, 0.06019936501979828, -0.01024711411446333, 0.011773486621677876, 0.041688449680805206, 0.07855472713708878, -0.04091067984700203, -0.03284132108092308, -0.001235316856764257, -0.02261365018785, -0.03496074303984642, 0.027435822412371635, -0.026619164273142815, -0.02556917443871498, -0.017665091902017593, -0.006897843908518553, -0.013863743282854557, 0.04989391937851906, -0.0009564135107211769, 0.00021251945872791111, -0.02920524775981903, 0.02698860503733158, 0.004486758261919022, 0.005716606508940458, -0.049349479377269745, 0.008866573683917522, -0.02516084536910057, 0.027358045801520348, -0.020980333909392357, 0.06299933791160583, -0.008920044638216496, 0.050243914127349854, 0.02607472613453865, -0.03828570619225502, 0.029146915301680565, -0.09309902042150497, -0.043905094265937805, 0.07073814421892166, -0.07517143338918686, -0.03122744895517826, 0.008263802155852318, 0.008803379721939564, -0.012580422684550285, -0.07003814727067947, 0.006105491425842047, 0.0026225417386740446, -0.013260971754789352, 0.0038839869666844606, -0.008584631606936455, 0.04705505818128586, 0.00638743257150054, -0.03501907363533974, -0.008992960676550865, 0.016576213762164116, -0.0159637201577425, 0.0017985921585932374, -0.04293287917971611, 0.014437347650527954, -0.0039058616384863853, 0.014417903497815132, 0.0346301905810833, -0.013115139678120613, -0.03848015144467354, 0.040366239845752716, 0.061871569603681564, -0.015885943546891212, 0.024013636633753777, -0.0853213220834732, -0.015001230873167515, 0.08586575835943222, -0.03737182915210724, 0.0012529381783679128, 0.0042655798606574535, -0.010451278649270535, 0.0448773056268692, 0.027105269953608513, -0.03688572347164154, -0.022808093577623367, 0.03849959373474121, 0.06836594641208649, 0.03270521014928818, 0.062377121299505234, -0.006003409158438444, -0.010295724496245384, 0.0282913688570261, 0.006902704946696758, -0.04635506868362427, -0.03375519812107086, -0.04021068662405014, 0.02990524098277092, 0.03931625187397003, -0.02586083859205246, 0.0486883744597435, -0.05211056023836136, -0.05576607957482338, 0.05860493704676628, -0.012298481538891792, -0.00942559540271759, -0.008672131225466728, -0.03628295287489891, 0.027863595634698868, -0.0011921749683097005, -0.00951309408992529, 0.014835954643785954, 0.033677421510219574, -0.006688818335533142, 0.011695710010826588, 0.003227743785828352, -0.021660882979631424, 0.038344040513038635, 0.01815119758248329, 0.043632872402668, 0.028408033773303032, 0.01120960433036089, 0.02273031696677208, -0.052499447017908096, 0.019230352714657784, 0.06972704082727432, 0.04849393293261528, 0.00380134885199368, 0.05078835412859917, -0.030935784801840782, -0.023663640022277832, -0.018112309277057648, -0.07828250527381897, -0.028058037161827087, -0.024227522313594818, -0.025705285370349884, 0.003147536190226674, 0.04911614954471588, -0.010422112420201302, -0.04324398934841156, -0.0001558577350806445, 0.042194001376628876, 0.017441483214497566, -0.012667922303080559, -0.045110635459423065, 0.027630263939499855, -0.0353885143995285, 0.030644120648503304, -0.018666470423340797, 0.04312732443213463, 0.06214379146695137, 0.07727140933275223, 0.01839425042271614, 0.03849959373474121, 0.017499815672636032, -0.020124787464737892, -0.004275302402675152, -0.008711019530892372, 0.015399837866425514, -0.0648270919919014, -0.11339880526065826, -0.0024548352230340242, -0.015594280324876308, -0.012512368150055408, 0.016945654526352882, -0.01646927185356617, 0.029963573440909386, 0.002566639566794038, 0.04798838496208191, 0.04689950495958328, 0.006455487571656704, -0.011948484927415848, -0.0187345240265131, -0.0396856926381588, 0.030858008190989494, -0.032277438789606094, -0.0187345240265131, 0.02475251629948616, 0.026288611814379692, -0.08524354547262192, 0.0027197629678994417, 0.08967683464288712, 0.06210489943623543, 0.00936726201325655, 0.025919171050190926, -0.034707967191934586, -0.01858869381248951, -0.03972458094358444, 0.068560391664505, 0.010859607718884945, 0.007865195162594318, -0.022146988660097122, 0.046005070209503174, -0.02949691191315651, 0.06552708894014359, 0.03768293559551239, -0.009673508815467358, 0.010431834496557713, 0.006844372488558292, 0.031927440315485, -0.026833049952983856, 0.047016169875860214, 0.0448773056268692, -0.008229774422943592, 0.005070085637271404, 0.0616382397711277, 0.06684929877519608, 0.04332176595926285, 0.06840483844280243, 0.00496071157976985, -0.017451204359531403, 0.011851264163851738, -0.012259593233466148, 0.005055502522736788, -0.009867951273918152, -0.0077339462004601955, -0.03286076337099075, -0.03811071068048477, -0.004331204574555159, 0.015117896720767021, -0.028135813772678375, 0.020688671618700027, -0.043205101042985916, -0.04822171479463577, 0.06264933943748474, 0.025238623842597008, -0.027124714106321335, 0.09465456008911133, 0.03354131430387497, -0.04950503259897232, -0.08306579291820526, -0.00613465765491128, 0.03997735679149628, 0.009313791058957577, -0.0016880030743777752, -0.039257921278476715, -0.034591302275657654, -0.03840237483382225, 0.049155037850141525, -0.0391995869576931, 0.015477614477276802, -0.008837406523525715, -0.042582884430885315, 0.008176302537322044, 0.02234143204987049, 0.04332176595926285, 0.0038596815429627895, 0.04989391937851906, 0.029652465134859085, 0.019755346700549126, 0.0622604563832283, -0.008920044638216496, -0.05677717924118042, 0.04654951021075249, 0.026424720883369446, 0.04958280920982361, 0.000845216796733439, -0.047949496656656265, 0.003745446680113673, 0.026405276730656624, -0.0005657058209180832, 0.10639888048171997, 0.0067034014500677586, -0.020474784076213837, 0.0026249722577631474, -0.051877230405807495, -0.09364345669746399, -0.07979916036128998, -0.05876049026846886, 0.05631051957607269, -0.06062714010477066, -0.01576927863061428, -0.041688449680805206, 0.025919171050190926, -0.003585031721740961, -0.05008836090564728, -0.023780304938554764, 0.02869969792664051, 0.025335844606161118, 0.04538285359740257, -0.023624751716852188, -0.0027319155633449554, 0.015273449942469597, 0.03313298523426056, 0.020358119159936905, 0.04538285359740257, 0.011112382635474205, -0.004270440898835659, 0.03708016499876976, 0.06700485199689865, 0.015137340873479843, -0.02201087959110737, 0.006333961151540279, -0.017178986221551895, -0.02516084536910057, 0.01120960433036089, -0.025102512910962105, -0.024091413244605064, -0.03194688633084297, 0.046005070209503174, 0.02061089314520359 ]
16,334
presidio_analyzer.analyzer_engine
get_recognizers
Return a list of PII recognizers currently loaded. :param language: Return the recognizers supporting a given language. :return: List of [Recognizer] as a RecognizersAllResponse
def get_recognizers(self, language: Optional[str] = None) -> List[EntityRecognizer]: """ Return a list of PII recognizers currently loaded. :param language: Return the recognizers supporting a given language. :return: List of [Recognizer] as a RecognizersAllResponse """ if not language: languages = self.supported_languages else: languages = [language] recognizers = [] for language in languages: logger.info(f"Fetching all recognizers for language {language}") recognizers.extend( self.registry.get_recognizers(language=language, all_fields=True) ) return list(set(recognizers))
(self, language: Optional[str] = None) -> List[presidio_analyzer.entity_recognizer.EntityRecognizer]
[ 0.00974747072905302, -0.07688352465629578, -0.0635458379983902, -0.018106361851096153, 0.008911581709980965, 0.06540945917367935, 0.0041109295561909676, -0.08674975484609604, 0.03226622939109802, 0.04118238016963005, 0.036632951349020004, -0.05024469643831253, -0.06285154819488525, -0.011519738472998142, 0.012067862786352634, -0.029690047726035118, -0.08090309798717499, 0.04885611683130264, 0.004140619654208422, -0.11729852855205536, -0.018005872145295143, 0.0024300161749124527, -0.021650897338986397, -0.015438824892044067, 0.023021206259727478, 0.04907536506652832, 0.04414224997162819, -0.01643458381295204, -0.025122348219156265, 0.011675040237605572, -0.030585316941142082, -0.007929526269435883, -0.012533768080174923, -0.00273605203256011, -0.04622511938214302, 0.030786296352744102, 0.0008781402721069753, 0.04618857800960541, -0.06807699799537659, 0.03807634487748146, -0.05492202192544937, -0.017640456557273865, 0.04249787703156471, -0.04114583879709244, -0.06687112152576447, -0.011209134943783283, 0.0015838498948141932, -0.009692658670246601, 0.053423814475536346, 0.0015244698151946068, 0.010295595042407513, 0.024976182729005814, -0.007705709431320429, 0.009455138817429543, -0.020938334986567497, -0.009500815533101559, -0.03975725919008255, 0.05305840075016022, 0.030475692823529243, 0.04363066703081131, 0.004818923305720091, -0.07593344151973724, -0.018608808517456055, -0.0006486133788712323, 0.03157193958759308, -0.008418270386755466, 0.024190537631511688, -0.006965741980820894, -0.015429689548909664, -0.0003488580696284771, -0.03166329488158226, 0.00821729190647602, 0.031023817136883736, 0.01597781293094158, 0.022820226848125458, 0.004914844874292612, 0.006842413917183876, 0.019056443125009537, 0.04311908408999443, 0.010423490777611732, -0.011839477345347404, 0.045494288206100464, 0.04805219918489456, 0.032613374292850494, 0.061572592705488205, -0.043703749775886536, -0.0016021206974983215, -0.009085155092179775, -0.023039476945996284, -0.061572592705488205, -0.0312065239995718, -0.03803980350494385, 0.0343308299779892, 0.03370962291955948, -0.06175529956817627, 0.002457422437146306, -0.045494288206100464, 0.021705709397792816, -0.02234518714249134, -0.05331419035792351, -0.043557584285736084, 0.02841109223663807, 0.02866688370704651, -0.01889200508594513, 0.061938006430864334, -0.013830994255840778, -0.018362153321504593, -0.00033886622986756265, 0.0041748774237930775, 0.04311908408999443, -0.025177160277962685, -0.027607176452875137, 0.017119739204645157, 0.02590799331665039, 0.03639543056488037, -0.007276345510035753, -0.04067079722881317, 0.02254616655409336, -0.020499836653470993, 0.02026231586933136, -0.07286394387483597, 0.044982705265283585, -0.0006588906981050968, 0.022162478417158127, -0.006632300093770027, -0.002085154876112938, 0.05532397702336311, 0.013328547589480877, -0.025871451944112778, 0.005814681760966778, -0.01872756890952587, 0.04520195722579956, -0.037181075662374496, -0.0381859689950943, 0.023331809788942337, -0.03522609919309616, 0.0013451875420287251, -0.018152039498090744, 0.053021859377622604, 0.01726590469479561, -0.060805220156908035, -0.004058401100337505, 0.03964763507246971, 0.014324306510388851, -0.004321043845266104, -0.0025076670572161674, 0.035353995859622955, 0.03316149860620499, -0.04231517016887665, -0.04300945997238159, 0.005102120339870453, 0.03597520291805267, 0.023094289004802704, -0.04618857800960541, 0.025341598317027092, -0.0010128874564543366, -0.029945839196443558, 0.017192821949720383, -0.05002544820308685, -0.036724306643009186, -0.018353017047047615, 0.04169396311044693, -0.07534877210855484, -0.00824469793587923, 0.028520716354250908, -0.010925937443971634, -0.014863294549286366, -0.00610701460391283, -0.011592822149395943, 0.05254681780934334, -0.038514845073223114, -0.06201109290122986, 0.0017357259057462215, -0.013401631265878677, 0.0026789559051394463, 0.09157324582338333, 0.018453506752848625, 0.028228383511304855, 0.02453768253326416, 0.06190146505832672, 0.020627731457352638, -0.00921761803328991, -0.05934355407953262, -0.03034779615700245, 0.023039476945996284, 0.020043065771460533, 0.022674061357975006, 0.019988253712654114, -0.05119477957487106, 0.012058727443218231, 0.02377030998468399, 0.0643862932920456, 0.03502511978149414, -0.02641957439482212, -0.04406916722655296, 0.001809951034374535, 0.0028982055373489857, 0.024720391258597374, -0.08061076700687408, 0.0028822184540331364, 0.02183360420167446, 0.022674061357975006, 0.007728547789156437, 0.021760521456599236, -0.0592704713344574, 0.017631320282816887, -0.007102773059159517, 0.02229037508368492, -0.004414681810885668, -0.06771157681941986, 0.027205219492316246, 0.022783685475587845, -0.008769983425736427, -0.0023866230621933937, 0.02082871086895466, 0.020189233124256134, -0.023587601259350777, -0.007600652519613504, 0.0035194125957787037, -0.012159216217696667, -0.03345383331179619, -0.011400978080928326, -0.04717520251870155, -0.0481618270277977, 0.006339967250823975, -0.01705579087138176, -0.04414224997162819, -0.02143164724111557, -0.05371614918112755, -0.0498792789876461, 0.02092006430029869, -0.049404241144657135, -0.0003228792629670352, -0.0070890700444579124, 0.04830799251794815, 0.07052528113126755, 0.051085151731967926, 0.043338336050510406, 0.010542251169681549, 0.06537292152643204, 0.03803980350494385, -0.022272104397416115, -0.03979380056262016, -0.014927242882549763, -0.04286329448223114, 0.07622577250003815, 0.03069494105875492, -0.01827079802751541, 0.06529983133077621, -0.03793017938733101, -0.012634257785975933, -0.03328939527273178, 0.0017734094290062785, -0.03427601978182793, -0.01013115793466568, -0.04735790938138962, -0.05218140035867691, -0.01868189126253128, 0.07483719289302826, -0.05422773212194443, -0.014461337588727474, 0.05737030878663063, -0.0112548116594553, 0.09741990268230438, -0.03106035850942135, 0.013401631265878677, 0.06906361877918243, 0.020244045183062553, -0.03414812311530113, -0.01892854832112789, 0.029032299295067787, 0.03528091311454773, -0.05543360486626625, -0.045275039970874786, 0.05203523486852646, 0.025853179395198822, -0.009363784454762936, 0.0672730803489685, -0.09208482503890991, 0.02983621507883072, 0.07673735171556473, 0.060403261333703995, 0.06884437054395676, 0.016763458028435707, -0.00987536646425724, -0.005367047153413296, -0.025177160277962685, 0.01578596979379654, -0.05583555996417999, -0.011994779109954834, 0.06138988211750984, 0.015484501607716084, -0.008875040337443352, -0.02393474616110325, 0.02607242949306965, 0.031334418803453445, -0.010295595042407513, -0.006984012667089701, 0.0370531789958477, -0.024884827435016632, -0.01883719302713871, 0.014223816804587841, 0.11101337522268295, 0.015804240480065346, -0.039538007229566574, -0.025542575865983963, 0.010222512297332287, -0.031115170568227768, -0.0017562805442139506, -0.03034779615700245, -0.03559151664376259, -0.014150734059512615, 0.06372854858636856, -0.04651745408773422, -0.007952365092933178, -0.039830341935157776, -0.007902120240032673, 0.04717520251870155, 0.04030538350343704, 0.00626231636852026, -0.012963132001459599, 0.10757846385240555, 0.03507993370294571, 0.007043392863124609, 0.04063425585627556, -0.008948124013841152, 0.04936769977211952, 0.037601303309202194, -0.006874388083815575, -0.06873474270105362, -0.010798041708767414, -0.07176769524812698, -0.020170962437987328, 0.022162478417158127, 0.022820226848125458, -0.018745839595794678, 0.04428841546177864, 0.02468384988605976, 0.029215008020401, 0.011638498865067959, 0.02413572557270527, -0.016014354303479195, -0.04052463173866272, 0.022418269887566566, -0.010149428620934486, 0.04607895389199257, 0.013675692491233349, 0.002937030978500843, -0.002681239740923047, -0.00664143543690443, -0.0247934740036726, -0.092888742685318, 0.024007828906178474, 0.0225096233189106, 0.01117259357124567, -0.061280257999897, -0.03855138644576073, 0.03884371742606163, 0.015265252441167831, 0.004864600021392107, -0.01807895489037037, -0.00009149673132924363, 0.006741924677044153, 0.03376443684101105, 0.005252854432910681, -0.01425122283399105, 0.038003262132406235, -0.0033709623385220766, 0.00569135369732976, -0.03829559311270714, -0.009583033621311188, 0.02245481126010418, -0.024756932631134987, 0.009181076660752296, 0.01812463253736496, -0.034239478409290314, 0.04483653977513313, 0.02866688370704651, 0.0225096233189106, 0.09084241092205048, -0.003156280377879739, 0.04450766742229462, 0.0036404565908014774, 0.02718694880604744, 0.04078042134642601, -0.04878303408622742, -0.020846981555223465, -0.0033823815174400806, -0.041255462914705276, -0.02148645929992199, -0.02092006430029869, -0.0370531789958477, -0.0658479556441307, 0.001996084814891219, -0.03171810507774353, 0.0000528140262758825, -0.04596932977437973, 0.01557585597038269, 0.0038939639925956726, -0.01557585597038269, 0.006655138451606035, -0.022820226848125458, 0.001495921635068953, 0.017850570380687714, -0.03427601978182793, 0.03396541625261307, 0.04173050448298454, 0.0036176182329654694, -0.029598694294691086, -0.018965089693665504, 0.009039477445185184, -0.027424469590187073, 0.04337487742304802, -0.04903882369399071, -0.03699836879968643, 0.03151712939143181, 0.02570701390504837, 0.03436737135052681, 0.023477977141737938, 0.055872101336717606, 0.004378139972686768, -0.005426427349448204, 0.0070251221768558025, 0.03687047213315964, 0.043046001344919205, 0.03986688330769539, 0.0028159867506474257, -0.004373572301119566, -0.06508058309555054, -0.05254681780934334, 0.029690047726035118, 0.015950407832860947, -0.01372137013822794, -0.08543425798416138, 0.02810048870742321, -0.07564111053943634, -0.02733311429619789, -0.025688743218779564, -0.0317729189991951, -0.00974747072905302, -0.0062029361724853516, -0.007705709431320429, 0.00890701450407505, 0.04465383291244507, 0.0342029370367527, -0.04600587114691734, -0.04114583879709244, 0.03721761703491211, -0.019677650183439255, -0.06836932897567749, -0.03254029154777527, -0.02753409370779991, 0.0960313156247139, 0.0026469819713383913, 0.12380293011665344, 0.04015921428799629, -0.004791516810655594, 0.024172266945242882, -0.0220893956720829, 0.008171615190804005, 0.0681135356426239, 0.039684176445007324, 0.0370531789958477, -0.0006920064915902913, -0.012972267344594002, 0.03442218527197838, -0.03012854792177677, 0.005211745388805866, -0.0183804240077734, 0.023185644298791885, 0.03162675350904465, 0.013684827834367752, 0.014360847882926464, -0.08484958857297897, -0.0663960799574852, 0.02123066782951355, 0.04118238016963005, 0.032357584685087204, -0.01872756890952587, -0.0167451873421669, 0.03480587154626846, -0.04286329448223114, -0.03264991566538811, -0.0022735726088285446, -0.02006133645772934, -0.0363406203687191, -0.03202870860695839, 0.016471125185489655, -0.08134159445762634, -0.015849918127059937, -0.010761500336229801, 0.024263620376586914, -0.019385317340493202, -0.0035650895442813635, 0.03517128899693489, -0.021614354103803635, 0.06153605133295059, 0.0030923327431082726, 0.054191190749406815, 0.023149102926254272, 0.04384991526603699, -0.019001631066203117, 0.0167451873421669, 0.010039803571999073, 0.0498792789876461, -0.06204763427376747, 0.02239999920129776, 0.007861010730266571, -0.019385317340493202, 0.04169396311044693, -0.037601303309202194, -0.021248938515782356, 0.02066427282989025, -0.03264991566538811, -0.025432951748371124, -0.0331980399787426, -0.005266557913273573, 0.029909297823905945, -0.019586296752095222, 0.08843066543340683, 0.03109689988195896, 0.005540619604289532, 0.06519021093845367, 0.006851549725979567, 0.04363066703081131, 0.016461988911032677, -0.07015986740589142, -0.03624926507472992, -0.019732462242245674, -0.011748123914003372, 0.04659053683280945, -0.012186623178422451, -0.03115171194076538, 0.03480587154626846, -0.029361173510551453, -0.01447960827499628, -0.01138270739465952, -0.056127894669771194, 0.025524305179715157, 0.03339901939034462, 0.02484828606247902, 0.024354975670576096, -0.025688743218779564, 0.041218921542167664, 0.004727569408714771, -0.050573572516441345, -0.018353017047047615, -0.03844176232814789, 0.027004240080714226, 0.03661468252539635, 0.011866883374750614, -0.03595693036913872, -0.05061011388897896, -0.0025373571552336216, 0.05835692957043648, -0.0064039151184260845, 0.03396541625261307, 0.017074061557650566, -0.028392821550369263, -0.004316476173698902, 0.025085806846618652, -0.024446329101920128, -0.042680587619543076, -0.01255203876644373, -0.02718694880604744, 0.02393474616110325, 0.00045876833610236645, 0.04896574094891548, -0.05711451545357704, -0.04633474722504616, 0.016818270087242126, -0.036724306643009186, -0.007692006416618824, -0.035043392330408096, -0.01443393062800169, 0.047832950949668884, 0.01700097881257534, -0.006440456490963697, -0.009573898278176785, -0.01776835136115551, -0.029744859784841537, -0.012953996658325195, -0.003994453232735395, -0.05086590349674225, 0.03610309958457947, 0.005225448403507471, 0.04089004918932915, 0.04184012860059738, 0.0074864597991108894, 0.030366066843271255, 0.003782055340707302, 0.06175529956817627, 0.047832950949668884, 0.013757911510765553, -0.03924567624926567, 0.0017094615614041686, -0.0413285456597805, -0.00880652479827404, -0.09106165915727615, -0.003366394666954875, 0.0011978792026638985, 0.0066642737947404385, 0.0263647623360157, -0.008281239308416843, 0.045896247029304504, -0.03807634487748146, -0.03694355487823486, -0.008276672102510929, 0.017119739204645157, 0.019184337928891182, -0.04684632644057274, -0.011885154992341995, 0.03137096017599106, -0.01604176126420498, 0.02610897086560726, 0.013803588226437569, -0.010204240679740906, 0.02967177703976631, 0.0393187589943409, -0.009921044111251831, -0.03237585723400116, 0.005796411074697971, 0.02978140115737915, -0.017229363322257996, 0.009400325827300549, -0.04366720840334892, -0.03913605213165283, -0.0655556246638298, -0.029087111353874207, 0.006623164750635624, 0.03807634487748146, -0.03972071781754494, 0.013456443324685097, -0.015338335186243057, 0.015438824892044067, -0.004860032349824905, -0.0002831973833963275, -0.034842412918806076, -0.04805219918489456, -0.040707338601350784, -0.018142903223633766, 0.020956605672836304, -0.002269004937261343, -0.006467862986028194, 0.021924957633018494, 0.02835628017783165, -0.0407438799738884, 0.02596280537545681, 0.06657879054546356, 0.010989885777235031, 0.014095921069383621, 0.04311908408999443, -0.020097877830266953, -0.004092658869922161, -0.02855725772678852, -0.015365742146968842, 0.03358172997832298, 0.04852724075317383, 0.0065774875693023205, -0.02367895469069481, 0.0007239804253913462, 0.06018400937318802, 0.0036701466888189316, 0.022619249299168587, 0.00890701450407505, 0.024099184200167656, -0.021669168025255203, -0.01730244606733322, 0.027095595374703407, 0.05397193878889084, 0.006623164750635624, 0.006280587054789066, 0.013154975138604641, 0.013237194158136845, -0.006399347446858883, 0.0912078246474266, -0.02632822096347809, -0.061938006430864334, 0.05061011388897896, 0.023350080475211143, -0.09588515013456345, 0.01690962351858616, -0.019220881164073944, 0.03699836879968643, -0.033874060958623886, 0.03012854792177677, 0.0020371940918266773, -0.004814355634152889, 0.05788189172744751, -0.022692332044243813, -0.023916475474834442, 0.04414224997162819, 0.038003262132406235, 0.01479021180421114, 0.054337356239557266, 0.014068515039980412, 0.005504078231751919, -0.0800991803407669, -0.04516541585326195, 0.02112104371190071, 0.05568939447402954, -0.047065578401088715, -0.06204763427376747, -0.018152039498090744, -0.013611745089292526, 0.04933115839958191, 0.004745840094983578, 0.010889396071434021, -0.06153605133295059, 0.02199804224073887, 0.016516802832484245, 0.03727243095636368, 0.02504926547408104, -0.028191842138767242, 0.034239478409290314, -0.008445676416158676, 0.0481618270277977, 0.01949494145810604, 0.008852202445268631, -0.0015952690737321973, -0.001147063565440476, 0.024263620376586914, 0.03553670272231102, -0.009446002542972565, -0.0009438009583391249, 0.04403262585401535, 0.050683196634054184, -0.002175366971641779, -0.032704729586839676, 0.038514845073223114, -0.00862838514149189, -0.01940358802676201, -0.060001302510499954, -0.06939249485731125, -0.03645024448633194, -0.07593344151973724, 0.058064598590135574, 0.001051141880452633, -0.023788580670952797, -0.06296117603778839, 0.01848091371357441, -0.03212006390094757, 0.0165990199893713, 0.0167451873421669, 0.02082871086895466, -0.008199021220207214, 0.04242479428648949, -0.05660293623805046, -0.031115170568227768, 0.0441787913441658, -0.0048463293351233006, 0.009107992984354496, 0.02097487635910511, 0.0013988580321893096, -0.02514061890542507, -0.030018921941518784, 0.04348450154066086, -0.011885154992341995, -0.04670016095042229, 0.006741924677044153, -0.09025774896144867, -0.040451548993587494, -0.004149754997342825, -0.012232299894094467, 0.01618792861700058, -0.038514845073223114, 0.04918498918414116, -0.06877128779888153 ]
16,335
presidio_analyzer.analyzer_engine
get_supported_entities
Return a list of the entities that can be detected. :param language: Return only entities supported in a specific language. :return: List of entity names
def get_supported_entities(self, language: Optional[str] = None) -> List[str]: """ Return a list of the entities that can be detected. :param language: Return only entities supported in a specific language. :return: List of entity names """ recognizers = self.get_recognizers(language=language) supported_entities = [] for recognizer in recognizers: supported_entities.extend(recognizer.get_supported_entities()) return list(set(supported_entities))
(self, language: Optional[str] = None) -> List[str]
[ 0.0263796579092741, -0.08953744173049927, -0.03356762230396271, -0.011566739529371262, 0.01580282300710678, 0.041700903326272964, 0.01589200459420681, -0.08846727758646011, 0.05885927379131317, 0.008886858820915222, 0.04159388691186905, -0.08161819726228714, -0.06456684321165085, -0.05386515334248543, 0.012110741809010506, -0.03731321170926094, -0.06877616792917252, 0.02932262048125267, 0.03874010592699051, -0.07013171911239624, -0.012119660153985023, 0.005168022587895393, -0.031552139669656754, -0.048264604061841965, 0.018085850402712822, 0.0560411661863327, 0.04120149463415146, -0.013930028304457664, -0.027646023780107498, 0.006122256629168987, -0.04516111686825752, -0.011959134601056576, 0.0270752664655447, -0.014170816168189049, -0.04630263149738312, 0.009328302927315235, 0.01310956571251154, 0.07227205485105515, -0.05418620631098747, -0.016462761908769608, -0.11636300384998322, 0.0007179048261605203, 0.038847122341394424, -0.01086221169680357, -0.08604156225919724, -0.03247961774468422, 0.02980419620871544, -0.019673267379403114, 0.02102881297469139, 0.008244757540524006, 0.04145119711756706, 0.017470503225922585, -0.011548902839422226, -0.024043122306466103, -0.046017251908779144, -0.030517643317580223, -0.03328224644064903, 0.033531952649354935, -0.028395140543580055, 0.06174873188138008, 0.038026660680770874, -0.027574678882956505, -0.007143375929445028, -0.0013533174060285091, 0.026236968114972115, 0.027824385091662407, 0.04944179207086563, 0.007294983137398958, 0.008828891441226006, 0.03349627926945686, -0.03214073181152344, -0.019405724480748177, 0.05454292893409729, 0.052188556641340256, 0.01440268661826849, 0.004401068668812513, 0.012592317536473274, 0.05118973180651665, 0.04063073545694351, 0.012868777848780155, -0.023115642368793488, 0.03460212051868439, 0.06670717895030975, 0.03132027015089989, 0.07569659501314163, -0.03265798091888428, -0.030089575797319412, 0.0026063064578920603, -0.02327616885304451, -0.05040494352579117, -0.02950098179280758, 0.002057845238596201, 0.005029792431741953, 0.016864074394106865, -0.03831203654408455, 0.041522543877363205, -0.030428461730480194, 0.026914741843938828, -0.035743631422519684, -0.03856174275279045, -0.014384849928319454, 0.07127323001623154, 0.045838888734579086, 0.018406901508569717, 0.05753939971327782, -0.016391417011618614, -0.03727754205465317, -0.013029303401708603, 0.006407634820789099, 0.05725402384996414, -0.03494100645184517, -0.038205020129680634, 0.06770600378513336, 0.005591631401330233, 0.05354410409927368, -0.06674285233020782, -0.02120717614889145, 0.018041260540485382, -0.03706350922584534, -0.0063675036653876305, -0.023686399683356285, 0.024167975410819054, -0.037669938057661057, -0.022705411538481712, -0.001977582462131977, -0.012556645087897778, 0.06542297452688217, -0.01367140468209982, -0.052794985473155975, -0.01572256162762642, -0.017042435705661774, 0.0445546880364418, -0.011736182495951653, -0.00999715831130743, 0.01023794710636139, -0.05482830852270126, -0.03260447084903717, -0.027949238196015358, 0.061784401535987854, -0.014277833513915539, -0.05964406579732895, -0.01485750824213028, 0.04969149827957153, -0.0015974496491253376, -0.04876401647925377, 0.004302969668060541, 0.006969473324716091, -0.012405037879943848, 0.0012975794961676002, -0.06684986501932144, 0.017158370465040207, 0.013323599472641945, -0.015624462626874447, -0.07569659501314163, -0.03130243346095085, 0.007794395089149475, -0.0006655111210420728, -0.04145119711756706, -0.026611527428030968, 0.015820659697055817, -0.01653410494327545, -0.014411604031920433, -0.07391297817230225, 0.060785580426454544, 0.052366919815540314, -0.021867113187909126, -0.008151117712259293, -0.014108389616012573, -0.0009174466831609607, -0.005377597641199827, -0.02017267979681492, -0.0027668317779898643, 0.035172875970602036, 0.003834770992398262, 0.03920384496450424, 0.07312819361686707, 0.01908467337489128, 0.01805017702281475, 0.028484322130680084, 0.034655626863241196, 0.0033331294544041157, 0.0003224440442863852, -0.010451980866491795, -0.03328224644064903, 0.03981027379631996, -0.017541848123073578, 0.007366327568888664, 0.010906802490353584, -0.05557742342352867, 0.008922531269490719, 0.017479421570897102, 0.0032328011002391577, -0.0026352903805673122, 0.03692081943154335, -0.03305037319660187, 0.015348002314567566, 0.0033041457645595074, 0.011334870010614395, -0.08739710599184036, -0.032586634159088135, -0.0005936091765761375, 0.02172442339360714, 0.021010978147387505, 0.029590163379907608, -0.05222423002123833, 0.031766172498464584, 0.011843199841678143, 0.029857704415917397, -0.034744810312986374, -0.0836871862411499, 0.0028247993905097246, -0.009355057962238789, -0.052616626024246216, 0.028858881443738937, 0.06481654942035675, 0.003946247044950724, -0.013475206680595875, 0.017996668815612793, -0.027610350400209427, 0.0005389860016293824, -0.021991966292262077, -0.03998863324522972, 0.0022306328173726797, -0.03542258217930794, 0.03667111322283745, -0.017952078953385353, -0.016007939353585243, -0.02880537323653698, -0.04287809133529663, -0.04494708403944969, -0.023508038371801376, -0.011040573008358479, -0.010764112696051598, 0.026022933423519135, 0.050975698977708817, 0.07947786152362823, 0.08026264607906342, 0.0007407573866657913, 0.035993337631225586, 0.025987261906266212, 0.007656164932996035, -0.03777695447206497, -0.026272639632225037, -0.009141024202108383, 0.004086706321686506, 0.048121917992830276, 0.03713485226035118, -0.014795081689953804, 0.04412661865353584, -0.0626048669219017, -0.03365680202841759, -0.02652234584093094, 0.01288661453872919, -0.03149862959980965, -0.01384084764868021, -0.0623551607131958, -0.03174833580851555, -0.02621913142502308, 0.06585104763507843, -0.022919444367289543, -0.047230109572410583, 0.03536907210946083, -0.01653410494327545, 0.09624383598566055, -0.0071121626533567905, -0.014331341721117496, 0.008846727199852467, 0.038240693509578705, -0.046017251908779144, -0.004949530120939016, 0.058145828545093536, 0.026789888739585876, -0.048300277441740036, -0.027753040194511414, 0.0708094909787178, 0.013510879129171371, -0.015553117729723454, 0.07173696905374527, -0.09738534688949585, 0.027931401506066322, 0.025148963555693626, 0.025059781968593597, 0.024756567552685738, 0.015642298385500908, -0.020493729040026665, -0.019138183444738388, -0.06128499284386635, -0.019031165167689323, -0.036813803017139435, -0.03640357032418251, 0.0026754215359687805, 0.06328263878822327, 0.011602411977946758, -0.048906706273555756, 0.008623776026070118, 0.007696296088397503, 0.012378283776342869, -0.01531232986599207, 0.07212936878204346, -0.017907489091157913, 0.009149941615760326, 0.0379909873008728, 0.058359865099191666, -0.005168022587895393, -0.05347276106476784, -0.052794985473155975, 0.003337588394060731, -0.040916115045547485, 0.01580282300710678, -0.056897301226854324, -0.03349627926945686, -0.015597707591950893, 0.06528028845787048, -0.039061155170202255, -0.0010935786413028836, 0.0069115059450268745, -0.002356600482016802, 0.029376128688454628, 0.0026085360441356897, 0.01887064054608345, 0.015187476761639118, 0.08390121906995773, 0.02400745078921318, 0.05372246727347374, 0.036385733634233475, -0.05846688151359558, 0.06135633587837219, 0.015214230865240097, 0.013938946649432182, -0.023525873199105263, -0.00402873894199729, -0.0681697428226471, 0.012859859503805637, -0.00874416995793581, -0.009667189791798592, -0.0013600059319287539, 0.017889652401208878, 0.024506861343979836, 0.056504905223846436, 0.008690660819411278, -0.005885927472263575, -0.00788357574492693, -0.024328500032424927, 0.035565271973609924, 0.019673267379403114, 0.04394825920462608, 0.023650726303458214, -0.010059584863483906, 0.011629166081547737, 0.02513112686574459, -0.03756291791796684, -0.03260447084903717, 0.011780773289501667, -0.025273816660046577, 0.012556645087897778, -0.03378165513277054, -0.022830264642834663, 0.042913760989904404, -0.01071060448884964, 0.020137006416916847, 0.0337638221681118, -0.0377412810921669, 0.031980205327272415, 0.03369247540831566, -0.02306213416159153, -0.020404549315571785, 0.06025049462914467, 0.018389064818620682, 0.021314192563295364, 0.0014012521132826805, -0.018255293369293213, 0.02643316611647606, -0.025933753699064255, 0.02971501648426056, 0.04141552746295929, -0.048728346824645996, 0.016917582601308823, 0.010799785144627094, 0.009417484514415264, 0.08304508775472641, -0.028555667027831078, 0.0555417537689209, 0.006559242028743029, 0.028252452611923218, 0.02102881297469139, -0.022009801119565964, -0.0038481480441987514, -0.003286309540271759, -0.03151646628975868, 0.0032929980661720037, -0.0034512938000261784, -0.053615450859069824, -0.07398432493209839, 0.016213055700063705, -0.052794985473155975, -0.0021525996271520853, -0.07441239058971405, -0.00993473269045353, -0.017202960327267647, 0.0015227608382701874, -0.003709917888045311, 0.016141710802912712, -0.0003489195660222322, 0.005471237003803253, -0.05333007127046585, 0.06888318806886673, 0.019138183444738388, -0.032408274710178375, -0.037598591297864914, 0.01144188642501831, -0.03330007940530777, -0.007981674745678902, 0.026058606803417206, -0.018924148753285408, -0.03881144896149635, 0.03135593980550766, 0.004824677016586065, 0.02734280936419964, -0.0016543023521080613, 0.04237867891788483, -0.03856174275279045, -0.040095653384923935, -0.018237456679344177, 0.06378205120563507, 0.019066838547587395, 0.030196592211723328, -0.012012642808258533, -0.04526813328266144, -0.0445546880364418, -0.05286633223295212, 0.002026631962507963, -0.02646883763372898, -0.029001569375395775, -0.07248608767986298, 0.04394825920462608, -0.055292047560214996, -0.032497454434633255, -0.030981382355093956, -0.04512544348835945, -0.01088004745543003, -0.056683264672756195, 0.010023913346230984, 0.02473873272538185, 0.0628545731306076, 0.045624855905771255, -0.06770600378513336, -0.05479263514280319, 0.017738046124577522, 0.010514406487345695, -0.027021758258342743, -0.017550766468048096, 0.001831549103371799, 0.08682634681463242, -0.013287927024066448, 0.1110835075378418, 0.0332644097507, -0.0028158812783658504, 0.02686123363673687, -0.03315739333629608, 0.052366919815540314, 0.032372601330280304, 0.06667150557041168, 0.0007413147250190377, 0.024257155135273933, 0.039382204413414, 0.0028359468560665846, -0.02190278470516205, 0.00020790255803149194, -0.014634556137025356, 0.014474030584096909, 0.07441239058971405, 0.016097120940685272, 0.03606468439102173, -0.044840067625045776, -0.04323481395840645, 0.011825363151729107, 0.01735456846654415, 0.03087436594069004, -0.010050667449831963, -0.02570188418030739, 0.017283223569393158, -0.044411998242139816, -0.021920621395111084, -0.01710486225783825, -0.01081762183457613, -0.013270091265439987, -0.00906967930495739, -0.014037045650184155, -0.04487573727965355, -0.007192424964159727, -0.0022016491275280714, -0.01303822174668312, -0.011486477218568325, -0.04937044531106949, 0.02159957028925419, -0.008374069817364216, 0.03756291791796684, 0.014063799753785133, 0.00027409137692302465, 0.029590163379907608, 0.04134418070316315, -0.027003921568393707, 0.03460212051868439, -0.005671893712133169, 0.062212470918893814, -0.07198667526245117, 0.06189142167568207, 0.002702175872400403, 0.002340993843972683, 0.035993337631225586, -0.012529890984296799, -0.011762936599552631, 0.08275970816612244, -0.04676637053489685, 0.024114467203617096, -0.007241474464535713, -0.00008297987369587645, 0.041736576706171036, 0.023026462644338608, 0.11465073376893997, -0.024060958996415138, -0.009444238618016243, 0.05753939971327782, -0.013573305681347847, 0.04120149463415146, 0.0036853933706879616, -0.062426503747701645, -0.010113094002008438, -0.010362799279391766, 0.001968664349988103, 0.03695648908615112, 0.0021314192563295364, -0.013029303401708603, 0.018620934337377548, -0.022705411538481712, 0.011147590354084969, -0.012752843089401722, -0.03242611140012741, 0.045624855905771255, 0.04740847274661064, 0.00923912227153778, -0.03178400918841362, -0.027449825778603554, 0.04287809133529663, 0.027110939845442772, -0.03920384496450424, -0.03041062504053116, -0.031462959945201874, 0.017238633707165718, 0.07312819361686707, 0.041736576706171036, -0.026789888739585876, -0.045196790248155594, -0.0038414595182985067, 0.06356801837682724, -0.027931401506066322, 0.046231284737586975, 0.012413956224918365, -0.05004822090268135, -0.009809879586100578, 0.0026152245700359344, -0.04797922819852829, -0.05543473735451698, 0.024899257346987724, -0.018799295648932457, -0.009578009136021137, -0.0058903866447508335, 0.01204831525683403, -0.06806272268295288, -0.02491709403693676, 0.008365151472389698, 0.03467346355319023, 0.0002508207689970732, -0.03083869256079197, 0.019584085792303085, 0.04373422637581825, 0.030303608626127243, 0.00999715831130743, -0.0063853394240140915, -0.013171992264688015, -0.04526813328266144, -0.011655920185148716, -0.022865936160087585, -0.0018805984873324633, 0.05803881213068962, 0.014589966274797916, 0.040059980005025864, 0.0021213863510638475, 0.008262593299150467, 0.015062623657286167, 0.008048560470342636, 0.034227561205625534, 0.07266445457935333, 0.02142120897769928, -0.019102510064840317, 0.00999715831130743, -0.016525186598300934, -0.011102999560534954, -0.06360369175672531, -0.02181360498070717, 0.02470305934548378, 0.010425225831568241, 0.015258821658790112, 0.012859859503805637, 0.08061937242746353, -0.041736576706171036, -0.06007213145494461, -0.03130243346095085, -0.009578009136021137, 0.020244022831320763, -0.05864524096250534, -0.0029607999604195356, 0.015018032863736153, -0.03583281487226486, 0.027931401506066322, 0.02962583489716053, 0.03203371539711952, 0.03181968256831169, 0.03239043802022934, 0.02755684219300747, 0.015615544281899929, 0.0019865005742758512, -0.003241719212383032, -0.021367700770497322, 0.045624855905771255, -0.04426930844783783, -0.06656449288129807, -0.030178755521774292, -0.03738455846905708, 0.024239320307970047, 0.014545375481247902, -0.03977460041642189, 0.01172726508229971, -0.002381125232204795, -0.0076829190365970135, 0.004019821062684059, -0.014482948929071426, -0.0689188614487648, -0.035386908799409866, -0.003246178152039647, -0.04801490157842636, 0.07769424468278885, -0.01589200459420681, -0.0011760707711800933, -0.00638088071718812, 0.030553314834833145, -0.05928734317421913, 0.034530773758888245, 0.05211721360683441, 0.027271464467048645, 0.002873848658055067, 0.06759898364543915, 0.0445546880364418, -0.009631517343223095, -0.006701931357383728, 0.004686446860432625, -0.007357409223914146, 0.02923344075679779, 0.03622520714998245, -0.013769503682851791, 0.019280871376395226, 0.06010780483484268, 0.0235437098890543, 0.037634264677762985, -0.027877893298864365, 0.01684623770415783, -0.025202471762895584, -0.043555863201618195, 0.008365151472389698, 0.06157036870718002, -0.025148963555693626, 0.019851628690958023, 0.056469231843948364, -0.016462761908769608, -0.01444727648049593, 0.07294982671737671, 0.005988485179841518, -0.03346060588955879, 0.02482791244983673, 0.006956096272915602, -0.04712309315800667, -0.005190317984670401, -0.03713485226035118, 0.026326147839426994, -0.0522599034011364, 0.031213251873850822, -0.008039642125368118, 0.014268915168941021, 0.05664759501814842, -0.014090553857386112, -0.02832379750907421, 0.011102999560534954, 0.004784545861184597, 0.04105880483984947, 0.04676637053489685, 0.031248925253748894, 0.001131480443291366, -0.05122540518641472, -0.041486870497465134, 0.029126422479748726, 0.02072559855878353, -0.0022729935590177774, -0.07912113517522812, -0.024382008239626884, -0.00742875412106514, 0.016917582601308823, -0.01598118431866169, 0.0263796579092741, -0.06074990704655647, 0.02017267979681492, -0.0005008055013604462, 0.003589523956179619, 0.017720209434628487, -0.020065661519765854, 0.031587809324264526, -0.017042435705661774, 0.06206978112459183, 0.03433457762002945, 0.018834969028830528, -0.003130243392661214, 0.007312818896025419, -0.002026631962507963, 0.04526813328266144, -0.011548902839422226, -0.034441594034433365, 0.049334775656461716, 0.024756567552685738, -0.00029262423049658537, -0.027003921568393707, 0.038419052958488464, -0.0222773440182209, 0.022901609539985657, -0.043377503752708435, -0.018371228128671646, -0.0508686825633049, -0.07166562974452972, 0.042307332158088684, -0.011994807049632072, -0.04423363879323006, -0.04979851469397545, 0.032800670713186264, -0.013974619098007679, -0.006813406944274902, -0.027753040194511414, 0.04002430662512779, -0.02595159038901329, 0.02983986958861351, -0.051938850432634354, -0.04537514969706535, 0.04640964791178703, -0.004276215564459562, -0.001650958089157939, 0.03290768712759018, -0.01641817018389702, 0.026700707152485847, -0.0006309535820037127, 0.036260880529880524, -0.03684947267174721, -0.05682595446705818, -0.002521584974601865, -0.08211760967969894, -0.017550766468048096, -0.022562721744179726, -0.04120149463415146, -0.046873386949300766, -0.03570796176791191, 0.05550608038902283, -0.023204823955893517 ]
16,336
presidio_analyzer.analyzer_request
AnalyzerRequest
Analyzer request data. :param req_data: A request dictionary with the following fields: text: the text to analyze language: the language of the text entities: List of PII entities that should be looked for in the text. If entities=None then all entities are looked for. correlation_id: cross call ID for this request score_threshold: A minimum value for which to return an identified entity log_decision_process: Should the decision points within the analysis be logged return_decision_process: Should the decision points within the analysis returned as part of the response
class AnalyzerRequest: """ Analyzer request data. :param req_data: A request dictionary with the following fields: text: the text to analyze language: the language of the text entities: List of PII entities that should be looked for in the text. If entities=None then all entities are looked for. correlation_id: cross call ID for this request score_threshold: A minimum value for which to return an identified entity log_decision_process: Should the decision points within the analysis be logged return_decision_process: Should the decision points within the analysis returned as part of the response """ def __init__(self, req_data: Dict): self.text = req_data.get("text") self.language = req_data.get("language") self.entities = req_data.get("entities") self.correlation_id = req_data.get("correlation_id") self.score_threshold = req_data.get("score_threshold") self.return_decision_process = req_data.get("return_decision_process") ad_hoc_recognizers = req_data.get("ad_hoc_recognizers") self.ad_hoc_recognizers = [] if ad_hoc_recognizers: self.ad_hoc_recognizers = [ PatternRecognizer.from_dict(rec) for rec in ad_hoc_recognizers ] self.context = req_data.get("context")
(req_data: Dict)
[ 0.007682434748858213, -0.05726661533117294, -0.06701412796974182, 0.011315353214740753, -0.001668633776716888, -0.03533472120761871, -0.018670780584216118, -0.02320408821105957, 0.004011440556496382, -0.01859910786151886, 0.017568809911608696, 0.041391078382730484, -0.015759071335196495, 0.028776654973626137, -0.04508223012089729, -0.013904535211622715, 0.0006192983128130436, 0.012157509103417397, 0.021788550540804863, -0.053145427256822586, -0.010670297779142857, 0.016592267900705338, -0.049060072749853134, 0.07271211594343185, 0.004479554016143084, 0.000813039019703865, 0.0025802231393754482, -0.054471373558044434, 0.004101031459867954, 0.0017996607348322868, 0.01142286229878664, -0.04182111471891403, -0.009160688146948814, 0.012238141149282455, -0.06357382982969284, -0.05848505720496178, -0.01589345745742321, 0.01859910786151886, -0.10858438909053802, -0.007350947707891464, -0.08873100578784943, -0.025479702278971672, -0.018509516492486, -0.004699051845818758, -0.04042349383234978, 0.03171524032950401, -0.05572564899921417, 0.06246289983391762, 0.009008382447063923, -0.06812505424022675, -0.031464386731386185, -0.04017264023423195, -0.000962544116191566, 0.028776654973626137, -0.01581282541155815, 0.021878141909837723, -0.014576468616724014, 0.04640817642211914, 0.00866793654859066, -0.020820965990424156, -0.004869275260716677, 0.0487375445663929, 0.023974573239684105, 0.02284572459757328, -0.0074226208962500095, 0.0047035315074026585, -0.03798661753535271, 0.03311286121606827, -0.010956988669931889, -0.013814943842589855, 0.01732691377401352, -0.060097694396972656, -0.028848327696323395, 0.04189278930425644, 0.05121025815606117, -0.01597408950328827, -0.0008740729535929859, 0.007892973721027374, 0.050887733697891235, 0.0037941820919513702, 0.024225426837801933, -0.0006069795344956219, 0.0015969609376043081, -0.07597323507070541, 0.046623196452856064, -0.04920341819524765, 0.014827323146164417, -0.028937917202711105, 0.0006668936111964285, 0.02375955320894718, -0.043111227452754974, 0.016681859269738197, -0.018509516492486, 0.042681191116571426, -0.005155966617166996, 0.047984980046749115, -0.012184386141598225, -0.04630066826939583, -0.024440446868538857, 0.0019172490574419498, -0.027038587257266045, 0.12571419775485992, -0.04888089373707771, 0.04486721009016037, -0.014979627914726734, -0.030926840379834175, 0.003332788124680519, -0.017380669713020325, 0.074038065969944, 0.046193160116672516, -0.044903047382831573, -0.0261785127222538, -0.022971151396632195, 0.0315718948841095, -0.015284237451851368, -0.012157509103417397, -0.04565561190247536, 0.0026406969409435987, -0.050242677330970764, 0.025605129078030586, 0.0022341774310916662, 0.0053172302432358265, -0.031034348532557487, 0.01136910729110241, -0.02854371815919876, -0.008784404955804348, 0.00808559451252222, -0.026608550921082497, 0.010562787763774395, -0.07278379052877426, -0.04289620742201805, 0.00980126392096281, 0.020337173715233803, 0.03981427475810051, 0.01300862431526184, 0.030496802181005478, 0.017004387453198433, 0.004436998162418604, -0.0388466902077198, 0.024350855499505997, 0.059094276279211044, 0.0013853020500391722, 0.01521256472915411, -0.07174453139305115, -0.04680237919092178, -0.03142854943871498, -0.007884014397859573, -0.03723405301570892, -0.02014007419347763, -0.019279999658465385, -0.014603345654904842, -0.05131777003407478, 0.021251004189252853, -0.003113290062174201, 0.034008774906396866, 0.0008673536358401179, -0.009980445727705956, -0.05389799177646637, -0.006083234213292599, -0.007449497934430838, -0.011395985260605812, -0.05830587446689606, 0.00983710028231144, -0.0194233451038599, 0.013438661582767963, 0.009899813681840897, 0.04225115105509758, -0.04461635649204254, -0.04461635649204254, 0.0024995910935103893, -0.023024907335639, -0.012193345464766026, -0.06196118891239166, 0.006876115221530199, -0.03461799398064613, 0.06608238071203232, 0.022774051874876022, 0.04587063193321228, 0.006463996134698391, 0.0051738847978413105, -0.003471654374152422, 0.026698140427470207, -0.08765590935945511, -0.02229025959968567, 0.030299702659249306, -0.00742710055783391, 0.007489813957363367, 0.03279033303260803, -0.007364386692643166, 0.042752861976623535, -0.030819330364465714, -0.05389799177646637, 0.03305910900235176, -0.004237657878547907, -0.020426765084266663, 0.00683579919859767, -0.019172491505742073, 0.007077695336192846, -0.012677137739956379, 0.003704590955749154, -0.010777806863188744, 0.01300862431526184, 0.009595204144716263, 0.03741323575377464, -0.0667991042137146, 0.044293828308582306, -0.0011792425066232681, 0.059380967170000076, -0.09812014549970627, -0.04805665463209152, -0.026250185444951057, -0.0019194888882339, 0.04006512835621834, -0.0013785826740786433, 0.03314869850873947, -0.003424618858844042, 0.05063687637448311, 0.0514969527721405, -0.0075525278225541115, -0.02979799173772335, 0.0487375445663929, -0.009953568689525127, 0.001566723920404911, -0.02986966446042061, 0.023275762796401978, 0.0009978206362575293, 0.04397130012512207, 0.037341561168432236, -0.03547806665301323, -0.07425308227539062, 0.009057657793164253, -0.051138587296009064, 0.013169888406991959, 0.018670780584216118, 0.005939888302236795, -0.0043160500936210155, 0.06977353245019913, 0.009872936643660069, -0.04124773293733597, -0.000794560881331563, 0.035083867609500885, 0.007664516568183899, -0.020086320117115974, -0.017353791743516922, -0.060993604362010956, -0.01359096635133028, 0.07074111700057983, -0.0064460779540240765, 0.04458051919937134, -0.024870483204722404, 0.01578594744205475, -0.050780221819877625, -0.04461635649204254, -0.005850297398865223, 0.017479218542575836, -0.020355092361569405, -0.009828140959143639, 0.009559367783367634, 0.06515063345432281, -0.02610683999955654, -0.00030041008722037077, 0.06791003793478012, -0.016681859269738197, 0.08228044211864471, -0.021627286449074745, 0.02436877228319645, 0.008045278489589691, -0.014621264301240444, 0.011521412990987301, -0.04902423918247223, 0.032091524451971054, 0.04888089373707771, 0.03365040943026543, -0.007807862479239702, -0.01733587309718132, 0.015732193365693092, -0.03329204395413399, 0.047984980046749115, -0.043469589203596115, 0.051425278186798096, 0.050421860069036484, -0.047805797308683395, 0.00808111485093832, -0.008273735642433167, 0.06085025891661644, -0.017443383112549782, -0.018097396939992905, 0.05278706178069115, -0.017909256741404533, -0.06475643068552017, -0.025838065892457962, 0.037162378430366516, 0.05615568906068802, 0.0070239403285086155, 0.008340929634869099, 0.03830914571881294, -0.01258754637092352, -0.011754349805414677, 0.009953568689525127, -0.03531680256128311, 0.02094639465212822, 0.026931077241897583, 0.09912356734275818, -0.043397918343544006, -0.058090854436159134, -0.008188624866306782, 0.05017100274562836, 0.008959108032286167, 0.03142854943871498, -0.04250200837850571, -0.0012251579901203513, 0.051425278186798096, 0.009720631875097752, -0.025927657261490822, -0.06525813788175583, 0.010410482995212078, 0.033363718539476395, 0.01258754637092352, 0.03060431219637394, 0.0667991042137146, -0.000481272058095783, 0.031123939901590347, 0.004049516748636961, -0.017488177865743637, 0.028579553589224815, -0.043111227452754974, 0.0640396997332573, -0.007050817832350731, 0.018025724217295647, -0.05017100274562836, -0.01715669222176075, -0.01967420056462288, -0.028472043573856354, -0.023024907335639, -0.02827494405210018, -0.020193828269839287, -0.02123308554291725, -0.01870661787688732, 0.014522713609039783, -0.02456587366759777, -0.008403643034398556, -0.036606915295124054, -0.022702379152178764, 0.044473011046648026, 0.017819665372371674, -0.044114645570516586, 0.0012677137274295092, -0.0406385138630867, 0.038775019347667694, -0.0016126394039019942, -0.02725360542535782, -0.01958460919559002, 0.06429056078195572, 0.035424310714006424, 0.07719167321920395, -0.0478416346013546, -0.033005353063344955, -0.07711999863386154, -0.0027482062578201294, -0.011727471835911274, 0.033542901277542114, 0.0063878437504172325, -0.02085680328309536, 0.022415688261389732, -0.046372342854738235, -0.03873918205499649, 0.012605465017259121, 0.00037488265661522746, 0.031123939901590347, -0.0013382667675614357, -0.004940947983413935, -0.04318289831280708, -0.051676131784915924, 0.012730891816318035, 0.02203940600156784, 0.03730572387576103, -0.004224219359457493, 0.005653196945786476, -0.05973932892084122, 0.07561486959457397, 0.01750609651207924, 0.04959762096405029, -0.012157509103417397, 0.008461877703666687, -0.00019682040147017688, -0.051783643662929535, -0.017936132848262787, 0.035997696220874786, 0.035979777574539185, 0.06489977985620499, 0.02499591000378132, -0.043111227452754974, -0.030353456735610962, -0.01358200702816248, -0.03476133942604065, -0.03891836479306221, -0.046623196452856064, 0.019727954640984535, -0.06124446168541908, -0.04010096564888954, 0.01525736041367054, -0.01426289975643158, -0.018348252400755882, 0.0012934711994603276, 0.000637216551695019, 0.017461301758885384, 0.06547316163778305, 0.06916431337594986, 0.006947787944227457, 0.0676950216293335, 0.022146914154291153, -0.011575167067348957, 0.051783643662929535, -0.03176899626851082, -0.08901769667863846, -0.032539479434490204, 0.026680223643779755, 0.0478416346013546, -0.0316256508231163, 0.031213531270623207, 0.04160609468817711, 0.04712490737438202, 0.05518810451030731, 0.028579553589224815, 0.025300519540905952, 0.021913977339863777, -0.0146750183776021, -0.03809412568807602, 0.017362751066684723, -0.04296788200736046, -0.03017427586019039, 0.03442089259624481, -0.07027523964643478, -0.06031271442770958, -0.007897453382611275, 0.015588847920298576, -0.04848669096827507, 0.0014076997758820653, 0.01196936797350645, 0.013259479776024818, -0.004246617201715708, -0.003939767833799124, 0.06995271146297455, 0.03812996298074722, 0.018993308767676353, -0.031177695840597153, -0.06722914427518845, -0.014065799303352833, -0.026035167276859283, -0.047626618295907974, 0.06074275076389313, 0.026053085923194885, 0.04493888467550278, 0.03167940676212311, -0.02202148735523224, 0.0035926022101193666, 0.029905501753091812, 0.016144312918186188, -0.012757769785821438, 0.015517174266278744, -0.012739851139485836, -0.011216802522540092, 0.004860315937548876, 0.004109990783035755, -0.026518959552049637, 0.0867241621017456, 0.022774051874876022, 0.04561977833509445, -0.07683330774307251, -0.013805985450744629, 0.015051300637423992, 0.0058458177372813225, 0.008690334856510162, -0.002694451715797186, 0.0007161686662584543, 0.03051472082734108, 0.04017264023423195, -0.040136802941560745, -0.03486884757876396, 0.01715669222176075, 0.07289130240678787, -0.029403790831565857, 0.006871635559946299, 0.014236021786928177, -0.01485420111566782, -0.02899167314171791, 0.021430185064673424, -0.024315018206834793, -0.024422528222203255, -0.018097396939992905, -0.02519301138818264, 0.05067271366715431, 0.03956342115998268, -0.005527769681066275, 0.0011915613431483507, 0.02727152407169342, 0.03483301028609276, 0.038595836609601974, 0.026841487735509872, -0.04504639282822609, -0.010670297779142857, -0.03087308444082737, -0.006513271480798721, -0.07066944241523743, 0.055582303553819656, -0.0014334572479128838, -0.029493382200598717, 0.031733158975839615, -0.03838081657886505, 0.05117442458868027, -0.07568654417991638, -0.017174609005451202, 0.05264371633529663, -0.018491597846150398, -0.02626810409128666, 0.03239613398909569, -0.005895093083381653, -0.001172523247078061, -0.058377545326948166, -0.015481337904930115, 0.023024907335639, 0.04200029745697975, 0.02689524181187153, -0.06489977985620499, 0.028848327696323395, 0.021806469187140465, -0.024082081392407417, -0.01105553936213255, 0.017479218542575836, -0.013805985450744629, 0.01254275068640709, -0.052428700029850006, 0.005966765806078911, 0.03361457213759422, 0.032987434417009354, 0.06690661609172821, 0.017846543341875076, -0.031822752207517624, -0.000378802273189649, 0.044652193784713745, 0.006078754551708698, 0.02148394100368023, -0.09611330926418304, -0.03511970117688179, 0.029815910384058952, -0.02221858687698841, -0.008466356433928013, 0.04443717375397682, -0.019351672381162643, -0.003991282545030117, -0.02762988768517971, -0.01804364286363125, -0.013483457267284393, 0.03080141171813011, -0.0012363569112494588, 0.014038922265172005, 0.03126728534698486, -0.004524349234998226, 0.052428700029850006, 0.03207360580563545, -0.00010218982060905546, -0.046049814671278, -0.02680565044283867, -0.026608550921082497, -0.011852899566292763, 0.03442089259624481, -0.006970185786485672, 0.07321383059024811, -0.06264208257198334, -0.015122974291443825, 0.050063494592905045, -0.011951449327170849, -0.01660122722387314, 0.017085017636418343, -0.036338139325380325, 0.027970334514975548, -0.026966914534568787, 0.02745070680975914, 0.016825204715132713, 0.028059925884008408, 0.04769828915596008, 0.033184535801410675, -0.0063385688699781895, -0.06751583516597748, -0.005603922065347433, -0.00604739785194397, 0.018849963322281837, 0.010777806863188744, -0.006110111717134714, 0.02908126451075077, -0.07647494226694107, -0.004036078229546547, -0.0012318773660808802, 0.05063687637448311, 0.0034402974415570498, 0.058090854436159134, -0.0009015102405101061, -0.020749293267726898, -0.014495836570858955, -0.04440133646130562, -0.07145784050226212, 0.00821102224290371, -0.049060072749853134, 0.0006164985825307667, 0.048522528260946274, -0.01840200647711754, -0.05020684003829956, 0.01769423857331276, -0.020713457837700844, -0.016099516302347183, 0.015337992459535599, -0.018563270568847656, 0.012533791363239288, 0.022057322785258293, 0.012193345464766026, -0.03404460847377777, -0.01797197014093399, 0.06059940531849861, 0.06185368075966835, -0.013841821812093258, 0.04855836555361748, -0.018169069662690163, -0.03899003565311432, 0.02519301138818264, -0.03244988992810249, 0.020157992839813232, 0.0015331272734329104, -0.10629085451364517, -0.04687405005097389, -0.028597472235560417, 0.0397067666053772, 0.00934434961527586, -0.02501382865011692, -0.022720297798514366, 0.02248736098408699, 0.0803452804684639, 0.030353456735610962, 0.0030774534679949284, 0.002804200630635023, 0.014244981110095978, -0.04321873560547829, -0.014021003618836403, -0.026572713628411293, -0.022541115060448647, -0.005474014673382044, 0.04658735916018486, -0.06267791986465454, -0.018527435138821602, 0.072174571454525, 0.05970349535346031, -0.007283754646778107, 0.05913010984659195, -0.02266654185950756, -0.009738550521433353, 0.01213959138840437, 0.05199865996837616, -0.023508699610829353, 0.039061710238456726, 0.02872289903461933, 0.006378884892910719, -0.05156862363219261, 0.043003715574741364, 0.10062869638204575, -0.0731779932975769, 0.005850297398865223, 0.020785130560398102, 0.019727954640984535, -0.03812996298074722, 0.0713861733675003, 0.037771597504615784, 0.004548986908048391, 0.013662639074027538, 0.03350706398487091, 0.050565205514431, 0.028006169945001602, 0.010822602547705173, 0.03737739846110344, -0.05289457365870476, 0.030926840379834175, -0.029135018587112427, 0.013537212274968624, 0.039670929312705994, 0.01707606017589569, -0.020552193745970726, 0.009021821431815624, -0.038237471133470535, 0.02863330766558647, -0.025067582726478577, 0.005536728538572788, -0.03486884757876396, -0.026572713628411293, -0.005272435024380684, 0.027862824499607086, -0.0343133844435215, 0.025300519540905952, -0.01733587309718132, -0.05715910717844963, -0.1074376180768013, -0.0013013103744015098, 0.010724051855504513, 0.037771597504615784, -0.015131932683289051, -0.003917369991540909, -0.02445836365222931, -0.03314869850873947, 0.05758914351463318, -0.03142854943871498, 0.009586245752871037, 0.03361457213759422, -0.052428700029850006, 0.029457546770572662, 0.04289620742201805, 0.04508223012089729, -0.009738550521433353, 0.0514969527721405, 0.07006022334098816, -0.03465382754802704, 0.08177873492240906, -0.006558066699653864, 0.006764126475900412, 0.019566690549254417, 0.029995093122124672, 0.03391918167471886, 0.0388108566403389, -0.03773576021194458, -0.018097396939992905, 0.0075301299802958965, -0.05092356726527214, 0.060527730733156204, -0.04271702468395233, -0.0031289684120565653, 0.016726654022932053, -0.08994944393634796, -0.07124282419681549, -0.03198401629924774, -0.05930929258465767, -0.015615724958479404, -0.072174571454525, 0.049812640994787216, 0.03870334476232529, 0.017488177865743637, -0.012273977510631084, -0.034815091639757156, 0.006925390101969242, -0.007073215674608946, 0.03359665349125862, 0.05074438452720642, -0.014881078153848648, 0.019727954640984535, -0.014047880657017231, 0.039312563836574554, 0.0064460779540240765, -0.002217379165813327, 0.020086320117115974, -0.012426282279193401, 0.010526951402425766, 0.05787583440542221, 0.005075334571301937, -0.0057024722918868065, -0.018097396939992905, -0.007453977596014738, -0.03198401629924774, 0.038416653871536255, -0.0064460779540240765, -0.011404944583773613, 0.022146914154291153, 0.03623063117265701, 0.03992178291082382 ]
16,337
presidio_analyzer.analyzer_request
__init__
null
def __init__(self, req_data: Dict): self.text = req_data.get("text") self.language = req_data.get("language") self.entities = req_data.get("entities") self.correlation_id = req_data.get("correlation_id") self.score_threshold = req_data.get("score_threshold") self.return_decision_process = req_data.get("return_decision_process") ad_hoc_recognizers = req_data.get("ad_hoc_recognizers") self.ad_hoc_recognizers = [] if ad_hoc_recognizers: self.ad_hoc_recognizers = [ PatternRecognizer.from_dict(rec) for rec in ad_hoc_recognizers ] self.context = req_data.get("context")
(self, req_data: Dict)
[ 0.017481349408626556, -0.04140998423099518, -0.0196734257042408, -0.025457561016082764, -0.02273128181695938, -0.012820884585380554, -0.004262115340679884, -0.0006562413764186203, 0.045352037996053696, 0.020889200270175934, 0.021883923560380936, 0.06546756625175476, -0.026949645951390266, 0.02000500075519085, -0.02783384546637535, -0.004639741964638233, -0.0034354813396930695, 0.02774174138903618, 0.0011455442290753126, -0.07379376888275146, -0.024591783061623573, 0.006240049842745066, -0.056257158517837524, 0.09505138546228409, -0.00008562798757338896, 0.012424836866557598, -0.030431179329752922, -0.051062487065792084, 0.017278721556067467, 0.010389337316155434, 0.013576137833297253, -0.02737332507967949, -0.0017718517920002341, 0.002698648953810334, -0.03927316889166832, -0.04741516709327698, -0.008114367723464966, -0.010232760570943356, -0.10396705567836761, 0.014570862054824829, -0.028920672833919525, -0.029344351962208748, -0.03960474580526352, 0.008031473495066166, -0.031352221965789795, 0.03787318617105484, -0.037117935717105865, 0.0396784283220768, 0.02107340842485428, -0.060125526040792465, -0.03791002929210663, -0.028754886239767075, -0.020852359011769295, 0.03663899376988411, -0.036123212426900864, 0.060493942350149155, -0.027410166338086128, 0.09792502969503403, -0.0064058369025588036, -0.008791332133114338, -0.019489217549562454, 0.022620756179094315, 0.0062722861766815186, 0.01286693662405014, 0.021847082301974297, 0.016274787485599518, -0.024794412776827812, 0.004160800948739052, 0.008570282720029354, -0.01959974318742752, 0.0018535940907895565, -0.017711609601974487, -0.03617847338318825, 0.04837305098772049, 0.06495177745819092, -0.0020919134840369225, -0.03894159570336342, 0.0021874713711440563, 0.05585189908742905, 0.03196010738611221, 0.03096538409590721, 0.024057580158114433, -0.02960224449634552, -0.038057394325733185, 0.043252065777778625, -0.05614663287997246, -0.014681386761367321, -0.044320471584796906, 0.00008951363270170987, 0.02379968762397766, -0.0660201907157898, -0.0057518985122442245, -0.03394955396652222, 0.03627057746052742, 0.018227392807602882, 0.033157460391521454, 0.00582558149471879, -0.03691530600190163, 0.0013297522673383355, 0.014147182926535606, -0.01676293835043907, 0.07106748968362808, -0.053051937371492386, 0.02260233461856842, -0.01776687242090702, -0.03853633627295494, 0.001748825772665441, -0.031554847955703735, 0.03173905611038208, 0.03671267628669739, -0.02050236240029335, -0.023081276565790176, 0.016514256596565247, 0.08259891718626022, -0.023560216650366783, -0.03164695203304291, -0.04903620108962059, -0.02116551250219345, -0.005622952710837126, 0.038757387548685074, -0.007764372043311596, -0.010297233238816261, -0.033157460391521454, 0.04490993916988373, 0.005622952710837126, 0.00890185683965683, -0.00047318459837697446, -0.04531519487500191, 0.019341852515935898, -0.07254115492105484, 0.01434981171041727, 0.004927567206323147, 0.0020919134840369225, 0.00048757586046122015, -0.01853133551776409, 0.017647137865424156, 0.04409942030906677, 0.004844673443585634, -0.009426849894225597, 0.003506861859932542, 0.03798371180891991, 0.014865594916045666, 0.009279483929276466, -0.04903620108962059, -0.03702583163976669, -0.008671596646308899, -0.005443349480628967, -0.014073499478399754, -0.022252339869737625, -0.021294457837939262, -0.004699609242379665, -0.030928542837500572, 0.022786542773246765, -0.001683201640844345, 0.025089144706726074, -0.005820976570248604, -0.009744608774781227, -0.0536782443523407, 0.0033548902720212936, 0.015556375496089458, 0.01226826012134552, -0.03477849066257477, -0.007815029472112656, -0.029823293909430504, 0.02470230869948864, 0.011199853383004665, 0.05813607946038246, -0.06749385595321655, -0.0065255723893642426, 0.009417640045285225, -0.006788068916648626, -0.03794687241315842, -0.06911488622426987, 0.008040684275329113, -0.01107090711593628, 0.04159419238567352, 0.0017557336250320077, 0.044983621686697006, 0.003175287274643779, 0.01959974318742752, 0.003935145679861307, 0.04417310655117035, -0.08864094316959381, 0.00431737769395113, 0.036823201924562454, 0.013005092740058899, 0.007193326950073242, 0.04347311332821846, -0.010251181200146675, 0.03931001201272011, 0.016910305246710777, -0.039420537650585175, -0.0016636295476928353, -0.0015243220841512084, -0.011770898476243019, 0.008561071939766407, 0.006654518190771341, -0.012507731094956398, -0.05176248028874397, 0.017619505524635315, -0.012360364198684692, -0.04096788540482521, 0.011991947889328003, 0.02647070586681366, -0.04303101450204849, 0.03886791318655014, -0.004619018640369177, 0.08223050087690353, -0.05747292935848236, -0.07589374482631683, -0.02297075092792511, -0.01338271889835596, 0.04693622514605522, 0.009661715477705002, 0.042957331985235214, -0.01251694094389677, 0.005959132220596075, 0.003449296811595559, -0.020244471728801727, -0.034317970275878906, 0.04929409176111221, 0.025475982576608658, -0.008570282720029354, -0.03721003979444504, 0.004706517327576876, 0.002310660434886813, 0.015169537626206875, 0.010831437073647976, -0.045057304203510284, -0.023947054520249367, -0.006032815668731928, -0.033617980778217316, 0.03610479086637497, 0.013760345987975597, 0.01866949163377285, -0.01633925922214985, 0.06089920178055763, 0.021976027637720108, -0.03177589923143387, -0.010638018138706684, 0.05213089659810066, 0.018918173387646675, -0.045388877391815186, -0.027391746640205383, -0.04063630849123001, 0.034317970275878906, 0.048557259142398834, -0.004895330406725407, 0.027483850717544556, -0.039420537650585175, 0.024849673733115196, -0.02617597207427025, -0.0473414845764637, -0.004229878541082144, -0.025954922661185265, -0.01807081513106823, 0.01870633289217949, -0.003472322830930352, 0.06454652547836304, -0.025549665093421936, 0.00823410227894783, 0.07283588498830795, -0.012470888905227184, 0.11126170307397842, -0.019655006006360054, 0.0002443635603412986, 0.0034815333783626556, -0.0032006159890443087, -0.018374759703874588, -0.04826252534985542, 0.05640452355146408, 0.022878646850585938, 0.05474665015935898, 0.000009120460163103417, -0.014110341668128967, -0.0023060552775859833, -0.027281221002340317, 0.0061387354508042336, -0.023910213261842728, 0.04737832769751549, 0.07117801159620285, -0.04210997372865677, 0.020483942702412605, -0.007930159568786621, 0.06097288429737091, -0.03560742735862732, -0.02639702335000038, 0.04218365624547005, -0.02836804836988449, -0.06896751374006271, -0.02827594429254532, 0.03846265375614166, 0.04697306826710701, 0.05397297814488411, 0.030818017199635506, 0.018420811742544174, -0.018724754452705383, 0.009891975671052933, 0.01817212998867035, -0.012977461330592632, 0.04074683412909508, -0.010490652173757553, 0.08377785235643387, -0.018476074561476707, -0.07228326052427292, -0.021828660741448402, 0.036215316504240036, 0.027281221002340317, 0.010545914061367512, -0.029878554865717888, 0.02823910303413868, 0.0340048186480999, -0.00023544099531136453, 0.017674768343567848, -0.06981487572193146, 0.009744608774781227, 0.040894199162721634, 0.004697307012975216, 0.01879843696951866, 0.04660465195775032, -0.0032075238414108753, -0.015777423977851868, 0.014515599235892296, -0.04170471802353859, 0.0596834272146225, -0.022418126463890076, 0.06554124504327774, -0.034152183681726456, 0.011374850757420063, -0.0053005884401500225, -0.020594466477632523, -0.011291957460343838, -0.013419561088085175, -0.01574058271944523, -0.023523375391960144, -0.016928724944591522, -0.03577321395277977, -0.01817212998867035, -0.02746542915701866, -0.044394154101610184, -0.012166946195065975, -0.033783767372369766, -0.021257616579532623, 0.04417310655117035, 0.02466546557843685, -0.044983621686697006, 0.003548308741301298, -0.07349903881549835, 0.03846265375614166, -0.020483942702412605, -0.035754796117544174, -0.050951965153217316, 0.0723569467663765, 0.0326785184442997, 0.06863594055175781, -0.05493085831403732, -0.02956540137529373, -0.04413626343011856, 0.012562992982566357, -0.03750476986169815, 0.0470099113881588, 0.03564427047967911, -0.04583097994327545, 0.029362773522734642, -0.05161511152982712, -0.018126077950000763, 0.0040203421376645565, 0.033746927976608276, 0.01706688106060028, 0.019083959981799126, 0.030928542837500572, -0.029362773522734642, -0.06893067806959152, 0.031389061361551285, 0.023928632959723473, 0.004013434052467346, -0.0045269145630300045, 0.0010419271420687437, -0.040415260940790176, 0.034760069102048874, -0.027078593149781227, 0.06196760758757591, -0.0025650979951024055, -0.012553783133625984, -0.023228643462061882, -0.05183616280555725, -0.05430455133318901, 0.062188658863306046, 0.053494036197662354, 0.03371008485555649, 0.004572966601699591, -0.04218365624547005, -0.015445849858224392, -0.013373509049415588, -0.012728780508041382, -0.020778674632310867, -0.011172221973538399, 0.030357496812939644, -0.023744424805045128, 0.01535374578088522, 0.02013394609093666, -0.020944463089108467, -0.01140248216688633, 0.013345877639949322, 0.0270049087703228, 0.056625574827194214, 0.08355680108070374, 0.0863567665219307, 0.015528744086623192, 0.03341535106301308, 0.027410166338086128, -0.004142379853874445, 0.029215406626462936, -0.04509414732456207, -0.09379877150058746, -0.02569703198969364, 0.050657231360673904, 0.041557349264621735, -0.04015737026929855, 0.01603531651198864, 0.029675927013158798, 0.04988355562090874, 0.05445191636681557, 0.032715361565351486, 0.04273628070950508, 0.0536782443523407, 0.010407757945358753, -0.0663517639040947, 0.02569703198969364, -0.05249931290745735, -0.07736741006374359, 0.05820976197719574, -0.07405166327953339, -0.05714135617017746, 0.027318062260746956, 0.009615663439035416, -0.04111525043845177, -0.0049690138548612595, -0.024518100544810295, -0.007755161728709936, -0.021276036277413368, -0.03009960614144802, 0.08480941504240036, 0.04177840054035187, 0.000830087810754776, -0.03671267628669739, -0.03649162873625755, -0.017195826396346092, -0.013511665165424347, -0.0523519441485405, 0.02713385410606861, 0.028091738000512123, 0.03407850116491318, 0.038020554929971695, -0.004123959224671125, 0.00035028322599828243, 0.02790752984583378, 0.014423495158553123, -0.0031292352359741926, -0.009845923632383347, -0.046125710010528564, -0.015105064958333969, -0.011116959154605865, -0.00581637118011713, -0.015795845538377762, 0.10396705567836761, 0.015694530680775642, 0.03549690172076225, -0.08230418711900711, -0.026875963434576988, -0.00955119077116251, 0.03606794774532318, 0.03581005707383156, -0.015298483893275261, -0.004798621404916048, 0.020944463089108467, 0.040783677250146866, -0.05176248028874397, -0.027060171589255333, -0.004789411090314388, 0.08060947060585022, -0.013087986037135124, 0.008008447475731373, 0.01910238154232502, -0.04159419238567352, -0.046125710010528564, -0.017987921833992004, -0.0496625080704689, -0.04546256363391876, -0.007874896749854088, -0.02169971540570259, 0.07780950516462326, 0.014193234965205193, 0.0007063229568302631, 0.01830107532441616, 0.055188748985528946, 0.028386469930410385, 0.035883739590644836, 0.030320655554533005, -0.007884107530117035, -0.012203787453472614, -0.014405074529349804, -0.01660636067390442, -0.05294141173362732, 0.023062855005264282, -0.027760162949562073, -0.04461520537734032, 0.01926816813647747, -0.03096538409590721, 0.04675201699137688, -0.05260983854532242, -0.012028790079057217, 0.020023422315716743, -0.02774174138903618, -0.0025697031524032354, 0.01817212998867035, -0.008809752762317657, -0.005627557635307312, -0.0923251062631607, 0.01471822801977396, 0.006843331269919872, 0.05010460689663887, 0.03687846288084984, -0.07213589549064636, 0.03890475258231163, 0.013309036381542683, -0.015694530680775642, -0.010011711157858372, 0.048557259142398834, 0.007442007772624493, 0.016643203794956207, -0.07261484116315842, 0.004496980458498001, 0.06491494178771973, 0.0029979869723320007, 0.048188842833042145, 0.015289273113012314, -0.02903119847178459, 0.01697477698326111, 0.032917991280555725, -0.005093354266136885, 0.0015070525696501136, -0.03890475258231163, -0.021257616579532623, 0.012065631337463856, -0.019544480368494987, -0.026875963434576988, 0.05120985582470894, -0.03531269356608391, 0.0038706730119884014, -0.05076775699853897, -0.060088686645030975, -0.047157276421785355, 0.03490743786096573, -0.03302851319313049, 0.01508664432913065, 0.03240220621228218, -0.01105248648673296, 0.05120985582470894, 0.019728688523173332, -0.0011582084698602557, -0.043252065777778625, -0.039825793355703354, 0.005383482202887535, -0.004186129197478294, 0.0117524778470397, -0.02580755576491356, 0.04796779155731201, -0.07957790791988373, -0.001789121306501329, 0.047488849610090256, -0.02877330780029297, -0.006976882461458445, 0.0406731516122818, -0.03514690697193146, 0.006603860761970282, -0.01626557670533657, 0.028589099645614624, -0.0011190642835572362, -0.023947054520249367, 0.039052121341228485, 0.020594466477632523, -0.016016894951462746, -0.04513098672032356, -0.02396547608077526, -0.05397297814488411, 0.015464271418750286, 0.021957606077194214, -0.011789319105446339, -0.029215406626462936, -0.039052121341228485, 0.02663649246096611, 0.01004855241626501, 0.04262575879693031, -0.0022761214058846235, 0.026028607040643692, 0.0022634572815150023, -0.026249656453728676, -0.01016828790307045, -0.03446533903479576, -0.032181158661842346, 0.024462837725877762, -0.04262575879693031, 0.005669004749506712, 0.04247839003801346, -0.0035644269082695246, -0.06130446121096611, 0.03219957649707794, -0.023210221901535988, -0.01897343620657921, 0.02564176917076111, -0.006042025983333588, 0.018208971247076988, 0.023412851616740227, 0.014285339042544365, -0.03503638133406639, -0.020244471728801727, 0.05338351055979729, 0.040820516645908356, 0.00039259353070519865, 0.03816791996359825, -0.03184958174824715, -0.02473914995789528, 0.057693980634212494, -0.024315470829606056, 0.010103815235197544, -0.008860410191118717, -0.09578821808099747, -0.05139406397938728, -0.020428679883480072, 0.07184116542339325, -0.030210129916667938, -0.014589282684028149, -0.018955014646053314, -0.014607703313231468, 0.09129354357719421, 0.018024763092398643, -0.006465704645961523, 0.050657231360673904, 0.017426086589694023, -0.030025921761989594, -0.004602900240570307, 0.012784043326973915, -0.011494586244225502, -0.008676202036440372, 0.03391271457076073, -0.07545164227485657, -0.023947054520249367, 0.04910988360643387, 0.05006776377558708, -0.0017304049106314778, 0.04074683412909508, -0.02177339792251587, 0.01498532947152853, 0.00006242208473850042, 0.03997316211462021, -0.01115380134433508, 0.0203365758061409, 0.018522124737501144, -0.007377535104751587, -0.104703888297081, 0.05113617330789566, 0.10853541642427444, -0.06207813322544098, 0.022952331230044365, 0.01730635203421116, 0.029528560116887093, -0.05809924006462097, 0.039088960736989975, 0.03960474580526352, -0.007202537264674902, 0.024812832474708557, 0.02494177781045437, 0.05039934068918228, 0.01980237290263176, 0.024389153346419334, 0.014948488213121891, -0.05478349328041077, 0.07390429824590683, -0.006847936660051346, 0.006189392413944006, 0.02580755576491356, 0.005176248028874397, -0.04387837275862694, -0.021091828122735023, -0.01411955151706934, 0.0025904264766722918, 0.004637439269572496, 0.02260233461856842, -0.026710176840424538, -0.03636268153786659, 0.02483125403523445, 0.01076696440577507, -0.045020461082458496, 0.018291866406798363, -0.043620482087135315, -0.06193076819181442, -0.11037749797105789, 0.03126011788845062, 0.009007777087390423, 0.04457836225628853, -0.004593689925968647, -0.03339692950248718, -0.0523519441485405, -0.03173905611038208, 0.015851108357310295, -0.023560216650366783, 0.003267391351982951, -0.002599637024104595, -0.06708859652280807, 0.04310469701886177, 0.06130446121096611, 0.03245747089385986, -0.010978803038597107, 0.01381560880690813, 0.05128353834152222, 0.006203208118677139, 0.07685162127017975, -0.025089144706726074, -0.03949422016739845, 0.04660465195775032, -0.00042828384903259575, 0.02297075092792511, 0.03770739957690239, 0.02763121761381626, -0.02099972404539585, -0.021386561915278435, -0.048557259142398834, 0.07780950516462326, -0.04303101450204849, -0.005272957030683756, -0.011761687695980072, -0.06476756930351257, -0.0629991739988327, -0.06797279417514801, -0.06815700232982635, 0.016818201169371605, -0.05795187130570412, 0.04126261547207832, 0.06572545319795609, -0.0019480007467791438, -0.0036979778669774532, 0.0038499494548887014, 0.03931001201272011, -0.016891883686184883, 0.017278721556067467, 0.0486677847802639, -0.042257342487573624, 0.021626032888889313, 0.013437981717288494, 0.02223391830921173, 0.010306444019079208, 0.0005837094504386187, 0.021791819483041763, -0.024241788312792778, 0.013355088420212269, 0.05124669522047043, 0.006585440132766962, -0.006990697700530291, -0.007695293985307217, -0.020981304347515106, -0.0456836111843586, 0.024518100544810295, -0.011430113576352596, 0.01319851167500019, 0.03124169632792473, 0.07195168733596802, 0.027078593149781227 ]
16,338
presidio_analyzer.batch_analyzer_engine
BatchAnalyzerEngine
Batch analysis of documents (tables, lists, dicts). Wrapper class to run Presidio Analyzer Engine on multiple values, either lists/iterators of strings, or dictionaries. :param: analyzer_engine: AnalyzerEngine instance to use for handling the values in those collections.
class BatchAnalyzerEngine: """ Batch analysis of documents (tables, lists, dicts). Wrapper class to run Presidio Analyzer Engine on multiple values, either lists/iterators of strings, or dictionaries. :param: analyzer_engine: AnalyzerEngine instance to use for handling the values in those collections. """ def __init__(self, analyzer_engine: Optional[AnalyzerEngine] = None): self.analyzer_engine = analyzer_engine if not analyzer_engine: self.analyzer_engine = AnalyzerEngine() def analyze_iterator( self, texts: Iterable[Union[str, bool, float, int]], language: str, **kwargs, ) -> List[List[RecognizerResult]]: """ Analyze an iterable of strings. :param texts: An list containing strings to be analyzed. :param language: Input language :param kwargs: Additional parameters for the `AnalyzerEngine.analyze` method. """ # validate types texts = self._validate_types(texts) # Process the texts as batch for improved performance nlp_artifacts_batch: Iterator[ Tuple[str, NlpArtifacts] ] = self.analyzer_engine.nlp_engine.process_batch( texts=texts, language=language ) list_results = [] for text, nlp_artifacts in nlp_artifacts_batch: results = self.analyzer_engine.analyze( text=str(text), nlp_artifacts=nlp_artifacts, language=language, **kwargs ) list_results.append(results) return list_results def analyze_dict( self, input_dict: Dict[str, Union[Any, Iterable[Any]]], language: str, keys_to_skip: Optional[List[str]] = None, **kwargs, ) -> Iterator[DictAnalyzerResult]: """ Analyze a dictionary of keys (strings) and values/iterable of values. Non-string values are returned as is. :param input_dict: The input dictionary for analysis :param language: Input language :param keys_to_skip: Keys to ignore during analysis :param kwargs: Additional keyword arguments for the `AnalyzerEngine.analyze` method. Use this to pass arguments to the analyze method, such as `ad_hoc_recognizers`, `context`, `return_decision_process`. See `AnalyzerEngine.analyze` for the full list. """ context = [] if "context" in kwargs: context = kwargs["context"] del kwargs["context"] if not keys_to_skip: keys_to_skip = [] for key, value in input_dict.items(): if not value or key in keys_to_skip: yield DictAnalyzerResult(key=key, value=value, recognizer_results=[]) continue # skip this key as requested # Add the key as an additional context specific_context = context[:] specific_context.append(key) if type(value) in (str, int, bool, float): results: List[RecognizerResult] = self.analyzer_engine.analyze( text=str(value), language=language, context=[key], **kwargs ) elif isinstance(value, dict): new_keys_to_skip = self._get_nested_keys_to_skip(key, keys_to_skip) results = self.analyze_dict( input_dict=value, language=language, context=specific_context, keys_to_skip=new_keys_to_skip, **kwargs, ) elif isinstance(value, Iterable): # Recursively iterate nested dicts results: List[List[RecognizerResult]] = self.analyze_iterator( texts=value, language=language, context=specific_context, **kwargs, ) else: raise ValueError(f"type {type(value)} is unsupported.") yield DictAnalyzerResult(key=key, value=value, recognizer_results=results) @staticmethod def _validate_types(value_iterator: Iterable[Any]) -> Iterator[Any]: for val in value_iterator: if val and not type(val) in (int, float, bool, str): err_msg = ( "Analyzer.analyze_iterator only works " "on primitive types (int, float, bool, str). " "Lists of objects are not yet supported." ) logger.error(err_msg) raise ValueError(err_msg) yield val @staticmethod def _get_nested_keys_to_skip(key, keys_to_skip): new_keys_to_skip = [ k.replace(f"{key}.", "") for k in keys_to_skip if k.startswith(key) ] return new_keys_to_skip
(analyzer_engine: Optional[presidio_analyzer.analyzer_engine.AnalyzerEngine] = None)
[ 0.04688875004649162, -0.06000136211514473, -0.10197795927524567, 0.016948964446783066, -0.0028823388274759054, 0.022124994546175003, -0.009798937477171421, -0.035075221210718155, 0.07607750594615936, -0.02606283873319626, 0.0021668286062777042, 0.031563639640808105, -0.012452921830117702, 0.001784969586879015, -0.022632449865341187, 0.00777927041053772, 0.006256908178329468, 0.09158530086278915, 0.015680329874157906, -0.006799884140491486, -0.03044724091887474, -0.0022416780702769756, -0.03893187269568443, 0.058215126395225525, 0.00736823258921504, -0.023545866832137108, 0.03383703529834747, -0.05521099641919136, -0.026834169402718544, 0.009570582769811153, 0.01207740604877472, -0.01808566227555275, 0.002306378446519375, 0.006074224598705769, -0.02344437502324581, -0.07157131284475327, -0.06767407059669495, 0.05614471435546875, -0.06568484753370285, 0.013295295648276806, -0.053424760699272156, -0.01781163550913334, 0.0005832549650222063, -0.007830015383660793, -0.041773613542318344, -0.0013752004597336054, -0.030934397131204605, -0.007124654483050108, 0.014645122922956944, -0.049283936619758606, -0.01844087988138199, -0.03274093195796013, -0.0024053321685642004, 0.05626650154590607, -0.0047624558210372925, 0.02567717432975769, -0.06706512719392776, -0.014888701029121876, -0.005698708817362785, -0.013640363700687885, 0.008712985552847385, 0.004960363265126944, 0.004711710382252932, 0.03872889280319214, 0.00824105367064476, -0.027483709156513214, -0.02669208124279976, 0.025149421766400337, -0.006074224598705769, -0.015751373022794724, -0.03734861686825752, -0.039175450801849365, 0.030873503535985947, 0.029655613005161285, 0.010083111003041267, -0.0013891553971916437, -0.055332787334918976, 0.010042515583336353, 0.07603690773248672, -0.03531879931688309, 0.02383004128932953, 0.027361920103430748, -0.00754584139212966, -0.06276191025972366, 0.04021065682172775, 0.016005100682377815, -0.008682538755238056, 0.008281650021672249, 0.056022923439741135, 0.006145268213003874, -0.02472315914928913, 0.007936581037938595, 0.013853495009243488, 0.03799815848469734, -0.02029816061258316, 0.06816122680902481, -0.01870475523173809, -0.07347933948040009, -0.028133250772953033, -0.016583597287535667, 0.023403778672218323, 0.06738989800214767, 0.07855388522148132, -0.0022987667471170425, 0.025941049680113792, -0.04311329498887062, -0.027077747508883476, -0.02793026901781559, 0.1047385111451149, 0.04672636836767197, -0.10684952139854431, -0.04355985298752785, -0.03243646025657654, -0.022348275408148766, -0.028437724336981773, 0.016969261690974236, -0.04924333840608597, 0.007880761288106441, -0.042666733264923096, 0.028173847123980522, 0.01999368891119957, 0.0317666232585907, -0.0007199504179880023, 0.02535240352153778, -0.009869980625808239, -0.03369494900107384, 0.031583938747644424, 0.010382509790360928, 0.010443403385579586, 0.006053926423192024, -0.014634974300861359, 0.024175109341740608, 0.02255125716328621, 0.008149711415171623, 0.055657558143138885, 0.04278852418065071, 0.014462439343333244, 0.004318433813750744, -0.05212567746639252, -0.02289632521569729, 0.05720021575689316, -0.019861750304698944, 0.04567086324095726, -0.033187493681907654, -0.05082659423351288, -0.040454234927892685, -0.01834953762590885, 0.021049192175269127, 0.003032037755474448, -0.025230614468455315, -0.007794493809342384, -0.036617882549762726, 0.003836352378129959, 0.028173847123980522, 0.009616253897547722, 0.005465279798954725, -0.010209974832832813, -0.007855388335883617, -0.012595009058713913, -0.013396786525845528, -0.002960994141176343, -0.05874287709593773, 0.007728524971753359, 0.027118343859910965, -0.015578838996589184, 0.0180349163711071, -0.034080613404512405, -0.04029184952378273, -0.03182751685380936, -0.007809717208147049, 0.03170572593808174, -0.03432419151067734, -0.008712985552847385, 0.01015922985970974, -0.03527820482850075, 0.09174768626689911, 0.017263585701584816, 0.036800567060709, 0.012442772276699543, 0.010666683316230774, -0.027138641104102135, 0.010494149290025234, -0.1108279600739479, -0.06251833587884903, 0.027686690911650658, 0.011935318820178509, 0.011387268081307411, 0.008149711415171623, 0.02882338874042034, 0.03937843069434166, -0.029939787462353706, -0.048715587705373764, 0.03706444054841995, 0.018633712083101273, -0.008692687377333641, -0.0024586147628724575, -0.0084135876968503, 0.004244852811098099, 0.004551862366497517, 0.035420291125774384, -0.06442636251449585, 0.004267688374966383, 0.026549994945526123, 0.009986694902181625, -0.07530617713928223, 0.014716167002916336, -0.04891856759786606, 0.04469655081629753, -0.07132773846387863, -0.045183707028627396, -0.02661088854074478, -0.05204448476433754, 0.041408248245716095, 0.011813529767096043, 0.03337017819285393, 0.014188414439558983, 0.07295159250497818, 0.020846210420131683, 0.010062813758850098, -0.007753897458314896, 0.04412820190191269, -0.03592774644494057, -0.02634701319038868, -0.07343874871730804, 0.08825640380382538, -0.02823474258184433, 0.02855951339006424, 0.01969936490058899, -0.005211552605032921, -0.018887437880039215, 0.019191911444067955, -0.05269402638077736, -0.012940078042447567, 0.021170981228351593, 0.04534609243273735, -0.029412034898996353, 0.03079231083393097, -0.010275944136083126, -0.014756763353943825, 0.0034151654690504074, 0.00603870302438736, 0.01445229072123766, -0.0029330842662602663, -0.030000681057572365, -0.10514447093009949, 0.003011739579960704, 0.04230136796832085, 0.026529695838689804, 0.04144884645938873, 0.0011233763070777059, 0.04546787962317467, -0.036374304443597794, -0.0014119908446446061, -0.0017380299977958202, 0.03391822800040245, -0.010133856907486916, 0.006206162739545107, -0.02033875696361065, 0.06994746625423431, -0.038059052079916, 0.017253436148166656, 0.026225224137306213, -0.03306570276618004, 0.05581994354724884, -0.012564561329782009, 0.028437724336981773, 0.04323508217930794, 0.00048493576468899846, 0.004455446265637875, 0.0006863315938971937, -0.02409391663968563, 0.041408248245716095, 0.00038059052894823253, -0.008393289521336555, -0.024560775607824326, 0.0896366760134697, -0.027179237455129623, 0.049324531108140945, -0.07425067573785782, 0.04851260408759117, 0.03225377947092056, -0.009093576110899448, -0.0341821014881134, -0.05996076762676239, 0.05971718952059746, -0.0023380944039672613, -0.0386882945895195, 0.02218589000403881, -0.010555043816566467, -0.03781547397375107, 0.035359397530555725, -0.015467198565602303, 0.03077201172709465, -0.03395882248878479, -0.0014716166770085692, 0.03974379971623421, -0.0266311876475811, -0.05736260116100311, -0.020531589165329933, -0.056347694247961044, 0.01330544427037239, 0.02121157757937908, 0.10425135493278503, -0.018207449465990067, -0.04952751100063324, 0.039865586906671524, 0.049689896404743195, -0.013234401121735573, -0.003963215742260218, -0.048350218683481216, -0.027747586369514465, 0.04380343109369278, 0.017020007595419884, -0.026164328679442406, -0.0597577840089798, -0.050907786935567856, 0.033857330679893494, 0.031583938747644424, 0.01299082301557064, 0.04161122813820839, -0.030000681057572365, 0.05265342816710472, 0.014533483423292637, -0.04510251432657242, 0.035420291125774384, -0.023870637640357018, 0.050664208829402924, 0.012442772276699543, 0.03529850021004677, -0.03582625463604927, -0.005876317620277405, -0.05054242163896561, -0.02634701319038868, 0.027727287262678146, 0.005546472501009703, -0.04226076975464821, 0.00281383260153234, -0.000810657802503556, 0.029960084706544876, -0.03708473965525627, 0.020704124122858047, -0.05484563112258911, -0.0003669526777230203, 0.02129277028143406, 0.027483709156513214, -0.042950909584760666, 0.026732677593827248, -0.04761948436498642, 0.07879745960235596, 0.03578565642237663, 0.020379353314638138, -0.0011468461016193032, 0.040149763226509094, 0.020399652421474457, 0.06304609030485153, -0.06365503370761871, -0.04181421175599098, -0.07668644934892654, -0.03233497217297554, -0.03850561007857323, 0.01441169437021017, 0.001238822122104466, 0.0082309041172266, 0.0716119110584259, -0.0026108508463948965, -0.038891278207302094, -0.03454747051000595, -0.04025125503540039, 0.01717224344611168, 0.0073124123737216, -0.0071906233206391335, -0.02758520096540451, 0.006530933082103729, -0.023545866832137108, 0.04412820190191269, -0.012341281399130821, 0.018004469573497772, 0.034466277807950974, -0.04575205594301224, 0.09791833162307739, 0.014675570651888847, 0.0386882945895195, -0.015172875486314297, 0.018298791721463203, 0.023038413375616074, -0.03174632415175438, 0.012960376217961311, -0.010306390933692455, -0.003970827907323837, 0.02415481209754944, 0.0034303891006857157, -0.008317171595990658, -0.013752004131674767, -0.01505108643323183, -0.007901059463620186, -0.02474345825612545, -0.07498140633106232, -0.005759603343904018, -0.05594173073768616, -0.03367464989423752, 0.0050466302782297134, -0.04688875004649162, -0.0052521489560604095, 0.05038003623485565, -0.014604526571929455, -0.04053542762994766, 0.044331181794404984, 0.002525852294638753, -0.02090710587799549, 0.0874444767832756, 0.03391822800040245, -0.037267424166202545, 0.031177975237369537, 0.016725685447454453, -0.06775525957345963, 0.00856074970215559, -0.007880761288106441, 0.029269948601722717, -0.002499211113899946, 0.07729540020227432, 0.08435915410518646, 0.003280690172687173, 0.04717292636632919, 0.034385085105895996, 0.03300480917096138, 0.002102128230035305, -0.021089788526296616, -0.05480503290891647, -0.053181182593107224, -0.051516734063625336, -0.000431970227509737, -0.03811994567513466, -0.040718112140893936, -0.050258245319128036, -0.037632789462804794, 0.029107563197612762, -0.0590270534157753, 0.01589345932006836, 0.03639460355043411, -0.009474166668951511, 0.008159860968589783, 0.02596134878695011, 0.058864668011665344, 0.028376828879117966, 0.0620717778801918, -0.009499539621174335, -0.037592194974422455, 0.042991504073143005, -0.02819414623081684, -0.016989560797810555, 0.01679672859609127, 0.0025575682520866394, 0.042098384350538254, -0.00301681412383914, 0.04148944094777107, 0.011326373554766178, -0.006612125784158707, 0.04092109203338623, 0.020125627517700195, 0.04278852418065071, 0.06065090373158455, 0.0015413915971294045, -0.0035750134848058224, -0.03811994567513466, -0.018603265285491943, 0.04847200959920883, -0.03615102544426918, 0.0399467796087265, -0.03964230790734291, 0.03146214783191681, -0.002603239146992564, -0.010083111003041267, 0.041063178330659866, 0.004123063758015633, -0.0004443394427653402, 0.004907080437988043, 0.035663869231939316, -0.04542728513479233, -0.002161754062399268, 0.015183024108409882, 0.061056867241859436, -0.0067136166617274284, 0.05387131869792938, -0.022043803706765175, -0.016340019181370735, -0.00873328372836113, 0.05484563112258911, -0.039175450801849365, -0.012940078042447567, 0.04126616194844246, -0.03448657691478729, 0.012026660144329071, 0.0653194785118103, 0.017202692106366158, -0.004021573346108198, -0.027382219210267067, 0.04546787962317467, 0.051516734063625336, 0.051191963255405426, -0.012249940074980259, 0.022409169003367424, -0.005191254895180464, 0.01097115594893694, -0.04632040485739708, 0.08107085525989532, 0.0026184627786278725, -0.00891089253127575, 0.002801146125420928, -0.06121925264596939, 0.009357452392578125, -0.07867567241191864, -0.022652747109532356, 0.07144952565431595, -0.042666733264923096, -0.014543632045388222, -0.015386005863547325, 0.003998737782239914, -0.008718060329556465, -0.027422815561294556, -0.01739552430808544, -0.008789103478193283, -0.0039023214485496283, -0.026123732328414917, -0.030223961919546127, 0.01963847130537033, 0.03671937435865402, -0.018907736986875534, -0.03546088561415672, 0.02732132375240326, -0.0335528589785099, -0.01966891810297966, -0.02598164603114128, 0.03203049674630165, -0.006876002065837383, 0.035968340933322906, 0.01508153323084116, 0.059108246117830276, -0.031583938747644424, 0.06194998696446419, 0.07782314717769623, 0.05098897963762283, 0.06284310668706894, -0.036617882549762726, -0.026752976700663567, 0.06966328620910645, 0.013741854578256607, -0.02061278186738491, 0.018867140635848045, -0.038201138377189636, 0.01551794447004795, -0.02283543162047863, -0.033146895468235016, -0.006541082169860601, 0.06475113332271576, -0.006926747504621744, 0.0038566505536437035, 0.044534165412187576, -0.004049483221024275, 0.0449807234108448, 0.031888410449028015, 0.02510882541537285, -0.028742196038365364, -0.071287140250206, -0.05935182422399521, 0.03436478599905968, 0.025514788925647736, -0.017375225201249123, 0.037328317761421204, -0.03956111520528793, -0.0018116108840331435, 0.021049192175269127, -0.04165182635188103, -0.030670521780848503, -0.03499402850866318, -0.037632789462804794, 0.042626138776540756, -0.03814024478197098, -0.011864274740219116, 0.021089788526296616, -0.050867192447185516, -0.0073885307647287846, 0.037287723273038864, 0.06097567453980446, -0.06434517353773117, 0.032192882150411606, -0.016005100682377815, 0.016045697033405304, 0.03296421468257904, 0.022774536162614822, 0.054764438420534134, -0.04595503583550453, -0.0009273722534999251, -0.018816394731402397, -0.00745957437902689, -0.0043615675531327724, 0.03164483234286308, -0.025271210819482803, -0.05387131869792938, -0.024926140904426575, -0.05171971395611763, -0.08793163299560547, 0.0022315289825201035, -0.02376914583146572, 0.02892487868666649, 0.03767338767647743, -0.014401544816792011, -0.01285888534039259, 0.013670811429619789, 0.04315388947725296, 0.007799568120390177, -0.032192882150411606, 0.007317487150430679, 0.016309572383761406, -0.0016048233956098557, 0.024987036362290382, -0.028640704229474068, -0.024256302043795586, 0.03531879931688309, 0.06292429566383362, -0.01930355094373226, -0.013711407780647278, -0.023038413375616074, -0.04303210228681564, 0.001999368891119957, -0.06600961834192276, 0.00902253296226263, 0.008773880079388618, -0.05305939167737961, -0.009540135972201824, -0.036983247846364975, -0.015497646294534206, 0.005404385272413492, 0.051232557743787766, 0.0075356923043727875, -0.020440248772501945, 0.026834169402718544, 0.03371524438261986, -0.007013014517724514, -0.029554123058915138, -0.027706990018486977, -0.031583938747644424, -0.0015832565259188414, -0.013153208419680595, 0.055698152631521225, -0.03546088561415672, 0.0032654665410518646, -0.027483709156513214, 0.004559474531561136, 0.08159860968589783, 0.07368232309818268, 0.012026660144329071, 0.0457114577293396, -0.05541398003697395, -0.006363473366945982, -0.043965816497802734, 0.06913553923368454, -0.008525227196514606, 0.012452921830117702, -0.01523377001285553, 0.0040647066198289394, 0.011630846187472343, 0.01585286296904087, -0.0003184273955412209, -0.04725411906838417, 0.015781819820404053, -0.004711710382252932, 0.00872820895165205, 0.014858254231512547, 0.0793658122420311, 0.02027786336839199, 0.010123707354068756, -0.009849682450294495, 0.022084398195147514, 0.005906764883548021, 0.024682562798261642, 0.04161122813820839, 0.001679672859609127, -0.013528724201023579, -0.004067244008183479, -0.04627980664372444, -0.0667809471487999, 0.01616748608648777, -0.01716209575533867, 0.023992426693439484, -0.07262682169675827, -0.01936444640159607, 0.009428495541214943, -0.030061576515436172, 0.011295926757156849, -0.072342649102211, -0.021719032898545265, 0.004331120289862156, 0.04611742123961449, -0.04563026502728462, -0.03562327101826668, -0.03499402850866318, -0.024621669203042984, -0.06722751259803772, 0.0016251214547082782, 0.005759603343904018, 0.024540476500988007, -0.016745982691645622, 0.024885544553399086, -0.008794178254902363, 0.0016416137805208564, 0.03716593235731125, -0.044331181794404984, 0.009743116796016693, 0.040149763226509094, -0.011488758958876133, 0.047132328152656555, 0.056022923439741135, 0.014807508327066898, -0.03357315808534622, 0.021313069388270378, 0.03489254042506218, 0.021434858441352844, 0.05046122893691063, 0.007373306900262833, -0.02125217393040657, 0.024236004799604416, 0.04705113545060158, 0.001668255077674985, 0.06178760156035423, -0.058824069797992706, -0.0014208712382242084, 0.005450056400150061, -0.02029816061258316, 0.0545208603143692, 0.002482718788087368, -0.0041738091967999935, -0.0076321084052324295, -0.05042063072323799, -0.057890355587005615, -0.03974379971623421, -0.04607682675123215, -0.014634974300861359, -0.04790366068482399, 0.0040418715216219425, 0.0003368226171005517, -0.02029816061258316, 0.015325111337006092, -0.0816797986626625, 0.007591512054204941, -0.0024154812563210726, 0.004402163438498974, 0.07660526037216187, 0.012737096287310123, 0.019750110805034637, -0.020054582506418228, 0.04380343109369278, 0.007860463112592697, -0.011783082038164139, 0.05415549501776695, -0.008352693170309067, 0.03842441737651825, 0.06503530591726303, -0.03777487576007843, -0.032233480364084244, -0.018856991082429886, -0.010768174193799496, -0.039824992418289185, 0.020166222006082535, 0.0014399008359760046, 0.013995582237839699, -0.0170910507440567, 0.03860710188746452, 0.03452717140316963 ]
16,339
presidio_analyzer.batch_analyzer_engine
__init__
null
def __init__(self, analyzer_engine: Optional[AnalyzerEngine] = None): self.analyzer_engine = analyzer_engine if not analyzer_engine: self.analyzer_engine = AnalyzerEngine()
(self, analyzer_engine: Optional[presidio_analyzer.analyzer_engine.AnalyzerEngine] = None)
[ 0.005249610636383295, -0.033261947333812714, 0.00863980408757925, 0.02912798710167408, -0.011217042803764343, 0.005630142521113157, 0.0255129337310791, 0.032898712903261185, -0.006075537763535976, 0.0020215758122503757, 0.012557553127408028, 0.009677617810666561, -0.056214939802885056, -0.006343639921396971, 0.01670016162097454, 0.016086122021079063, -0.025201590731739998, 0.05119883641600609, 0.03087497502565384, -0.04099366441369057, -0.022780023515224457, 0.004019368439912796, -0.026948576793074608, 0.01426994614303112, 0.018023375421762466, 0.06915302574634552, 0.000695659895427525, -0.02146545797586441, 0.005024750716984272, 0.009496000595390797, 0.02739829756319523, -0.032535478472709656, -0.00036647816887125373, 0.05977810174226761, 0.029387440532445908, -0.01579207368195057, -0.010516517795622349, 0.07444588094949722, -0.088214211165905, 0.012540255673229694, 0.008090627379715443, 0.001802121289074421, 0.013033217750489712, 0.009314383380115032, -0.06420610845088959, 0.006901464890688658, 0.003204251639544964, -0.020271971821784973, 0.03353869915008545, -0.019545502960681915, -0.01392400823533535, 0.02075628563761711, 0.023074069991707802, 0.03282952681183815, -0.0204276442527771, 0.04870808497071266, -0.02110222354531288, 0.040924474596977234, -0.02866097167134285, 0.0443146713078022, -0.01707204431295395, 0.0015675319591537118, 0.05939757078886032, -0.006819304544478655, 0.009418164379894733, -0.013405101373791695, -0.0510258674621582, 0.07320050150156021, 0.06839196383953094, 0.038814254105091095, 0.013085108250379562, -0.014365078881382942, -0.016907723620533943, 0.017556358128786087, 0.04002503678202629, -0.018403906375169754, -0.07783607393503189, 0.03832994028925896, 0.02274543046951294, 0.026429669931530952, -0.009054929949343204, 0.008873311802744865, -0.03909100592136383, 0.00479124253615737, 0.04884645715355873, -0.043103884905576706, -0.04562923312187195, -0.021673021838068962, 0.03563162311911583, -0.022572459653019905, -0.024181073531508446, 0.01183108240365982, 0.010386791080236435, 0.021967068314552307, -0.0271388441324234, 0.008168463595211506, 0.00957383681088686, -0.04874267801642418, -0.00933167990297079, 0.015593159943819046, -0.02380054071545601, 0.05279015377163887, 0.019095782190561295, 0.005582576151937246, 0.004588003735989332, 0.002121032914146781, 0.0021534645929932594, -0.07396156340837479, 0.06157698109745979, 0.06541689485311508, -0.02388702519237995, -0.03367707505822182, -0.0006562013295479119, 0.05126802623271942, -0.05825597420334816, -0.012004051357507706, -0.034645698964595795, -0.0009578160825185478, 0.04005962982773781, 0.028851237148046494, -0.020583316683769226, 0.032103054225444794, -0.060158632695674896, 0.023350821807980537, 0.04639029875397682, -0.039263974875211716, 0.009366273880004883, -0.03191278874874115, 0.0007064704550430179, -0.012609443627297878, 0.10917805880308151, 0.027017764747142792, -0.012280802242457867, -0.034386247396469116, 0.004752324428409338, 0.018144452944397926, 0.022451382130384445, 0.03276033699512482, -0.05898244306445122, -0.01625044271349907, -0.024215666577219963, -0.004386927466839552, -0.010897049680352211, -0.05929378792643547, -0.02148275636136532, 0.06814980506896973, -0.11000831425189972, -0.027000468224287033, -0.01055976003408432, -0.0089943902567029, 0.034749481827020645, -0.04746270552277565, 0.0009118712041527033, -0.0015880720457062125, -0.012817006558179855, -0.010291658341884613, 0.002957770600914955, -0.007779282983392477, 0.041823916137218475, 0.004665839951485395, 0.01716717705130577, -0.03525109216570854, 0.018940109759569168, -0.05583440884947777, -0.033590588718652725, -0.004030178766697645, -0.01683853752911091, -0.01752176508307457, -0.0271388441324234, 0.030200395733118057, -0.03397111967206001, -0.03502623364329338, -0.07506856322288513, 0.031497664749622345, -0.0062831006944179535, 0.04642489179968834, 0.004313415382057428, 0.05825597420334816, -0.009686267003417015, 0.039852067828178406, 0.010455979034304619, 0.006983625236898661, -0.06520932912826538, -0.04230822995305061, 0.04908861592411995, -0.007342536002397537, 0.007913334295153618, 0.02342000976204872, 0.01835201494395733, 0.03566621616482735, 0.028505299240350723, -0.017712030559778214, -0.004410710651427507, -0.041823916137218475, 0.02565130963921547, -0.03241439908742905, 0.037188343703746796, -0.0410628505051136, -0.053309060633182526, 0.055765219032764435, -0.011571628972887993, 0.04230822995305061, 0.015169384889304638, 0.011450550518929958, -0.01855957880616188, 0.04441845044493675, 0.01892281323671341, 0.05234043300151825, -0.06500177085399628, -0.007230106275528669, -0.010455979034304619, -0.07036380469799042, -0.004700433928519487, 0.010983534157276154, -0.005331770982593298, -0.013439694419503212, 0.03732671961188316, 0.02101573906838894, 0.024440526962280273, 0.07603719085454941, 0.052617184817790985, 0.004231255501508713, 0.003321005729958415, -0.024302151054143906, 0.006598769221454859, -0.010948940180242062, 0.012004051357507706, -0.042757946997880936, -0.02426755800843239, -0.05348202958703041, -0.029612300917506218, -0.004449628759175539, -0.03481866791844368, 0.0156536977738142, 0.027242625132203102, -0.055765219032764435, 0.03177441284060478, 0.00026661556330509484, -0.11270663142204285, -0.07700581848621368, 0.05479659512639046, 0.015082900412380695, -0.009072226472198963, 0.004756648559123278, -0.0373959094285965, 0.014780204743146896, 0.009885180741548538, 0.002456160495057702, 0.014780204743146896, -0.011450550518929958, 0.02762315608561039, -0.05721816048026085, -0.026827499270439148, 0.007026867475360632, 0.001602125819772482, -0.024163775146007538, -0.007143621798604727, -0.0008837637142278254, 0.028955018147826195, -0.035095419734716415, -0.03352140262722969, 0.03296789899468422, 0.03379815071821213, 0.06756170839071274, -0.024803761392831802, 0.011242987588047981, 0.014607235789299011, -0.051683150231838226, 0.008665748871862888, -0.023489195853471756, 0.0422736331820488, 0.010646244511008263, 0.05531550198793411, 0.030719302594661713, -0.027086952701210976, -0.03826075419783592, -0.038364533334970474, 0.0035718108993023634, -0.04282713681459427, 0.08053439110517502, 0.05199449509382248, -0.019804956391453743, 0.018248233944177628, -0.0027242624200880527, 0.011217042803764343, 0.012799709104001522, -0.010732728987932205, -0.013439694419503212, -0.034645698964595795, -0.04455682635307312, -0.00522366538643837, 0.016086122021079063, 0.006836601532995701, 0.022555163130164146, 0.011346769519150257, -0.014624533243477345, 0.00400207145139575, 0.009236547164618969, 0.016310980543494225, -0.043691981583833694, 0.0008826826815493405, -0.03850290924310684, 0.019303346052765846, 0.04742811247706413, -0.022780023515224457, -0.005206368397921324, -0.011355417780578136, 0.0008583588642068207, 0.052063681185245514, -0.03237980604171753, 0.0203238632529974, 0.06254560500383377, -0.030131207779049873, 0.042169854044914246, 0.0012691604206338525, -0.002449674066156149, 0.008155490271747112, -0.06496717035770416, 0.024630792438983917, 0.04621732980012894, -0.04189310222864151, 0.0071133519522845745, -0.004946914501488209, -0.08447808027267456, -0.018715251237154007, 0.0009091685642488301, 0.025115106254816055, -0.03257007151842117, -0.008674398064613342, -0.007225781679153442, -0.03791481629014015, -0.02632588893175125, 0.01831742189824581, -0.019182266667485237, -0.06918761879205704, -0.08115707337856293, -0.0054831188172101974, -0.013197538442909718, 0.007580368313938379, 0.016509896144270897, 0.03040795773267746, -0.02030656673014164, -0.02807287685573101, 0.022537866607308388, 0.04780864343047142, -0.013223483227193356, 0.004125311970710754, -0.11921026557683945, 0.035095419734716415, -0.041374195367097855, 0.00012337557564023882, -0.014711017720401287, -0.029387440532445908, 0.012272153981029987, 0.06368720531463623, -0.014676423743367195, -0.03805318847298622, 0.03321005776524544, -0.05687222257256508, -0.04258497804403305, -0.028591783717274666, 0.028401518240571022, -0.030131207779049873, 0.021967068314552307, -0.031238209456205368, 0.009383570402860641, 0.034991636872291565, -0.004778269678354263, 0.0054658218286931515, -0.01902659423649311, -0.02655074931681156, -0.06718117743730545, 0.019874142482876778, 0.011744597926735878, 0.03156685084104538, 0.015748832374811172, -0.027986392378807068, 0.007744689006358385, 0.00771874375641346, 0.01904389262199402, -0.0205314252525568, 0.07202430814504623, 0.005630142521113157, -0.005262583028525114, -0.003068038495257497, -0.02772693894803524, -0.05310149863362312, 0.03338302671909332, 0.05012642964720726, 0.06853033602237701, -0.02342000976204872, -0.04652867466211319, -0.03563162311911583, -0.04701298847794533, 0.040198005735874176, 0.06071213632822037, -0.04870808497071266, 0.021880583837628365, -0.04725514352321625, 0.01831742189824581, 0.06659308075904846, -0.06053916737437248, 0.06859952211380005, 0.04116663336753845, -0.037638064473867416, 0.030027426779270172, 0.042515791952610016, 0.008510077372193336, 0.021500052884221077, 0.012687279842793941, 0.0008907906012609601, -0.02388702519237995, -0.020825473591685295, -0.01519533060491085, -0.04293091595172882, -0.009418164379894733, 0.11409038305282593, -0.020496832206845284, 0.0426887609064579, 0.001691853511147201, 0.009400867857038975, 0.020911958068609238, 0.008951148018240929, 0.026619935408234596, 0.06572823971509933, 0.015160736627876759, 0.005158802028745413, -0.017668787389993668, -0.012868897058069706, -0.02577238716185093, -0.032016571611166, 0.026637233793735504, 0.008769530802965164, -0.004133960232138634, 0.0048561058938503265, 0.04210066422820091, -0.011934864334762096, -0.0034096522722393274, -0.00023918376246001571, 0.008315486833453178, 0.01637152023613453, -0.03507812321186066, 0.030909568071365356, 0.04580220207571983, 0.009850586764514446, -0.0032258727587759495, -0.028643673285841942, 0.027363702654838562, 0.009461406618356705, -0.06344504654407501, -0.011234339326620102, 0.0017080693505704403, 0.005171774420887232, 0.017322849482297897, 0.022485975176095963, -0.04313848167657852, -0.04071691259741783, 0.041823916137218475, 0.04133960232138634, 0.026135623455047607, -0.01913037709891796, 0.01177054364234209, -0.011986754834651947, -0.060850512236356735, -0.02494213730096817, 0.1331169754266739, 0.0156536977738142, 0.016042878851294518, -0.008138193748891354, -0.016630973666906357, 0.032535478472709656, 0.007943603210151196, 0.00870466697961092, -0.03391923010349274, -0.01588720642030239, 0.001995630329474807, 0.0036799164954572916, -0.04632110893726349, 0.027432890608906746, 0.015074252150952816, -0.027225328609347343, 0.07555288076400757, 0.018282828852534294, 0.029889050871133804, -0.013941304758191109, -0.003394517581909895, -0.016310980543494225, -0.08766071498394012, 0.031636036932468414, -0.005669060628861189, -0.05057615041732788, 0.06538230180740356, 0.03746509552001953, -0.012332692742347717, 0.011926216073334217, 0.033123571425676346, 0.061334822326898575, 0.03898722305893898, 0.016172606498003006, 0.043588198721408844, 0.03601215407252312, -0.020254675298929214, -0.030667411163449287, -0.06811521202325821, 0.049261584877967834, -0.09589403867721558, -0.06763089448213577, -0.027536671608686447, -0.06410232931375504, 0.050541553646326065, 0.009366273880004883, 0.007472262717783451, -0.007666852790862322, -0.0020258999429643154, 0.040786102414131165, 0.029387440532445908, -0.0660741776227951, -0.03260466456413269, -0.015818018466234207, 0.04151257127523422, -0.03677321970462799, 0.05116424337029457, 0.028972314670681953, -0.07818201184272766, 0.028453407809138298, -0.057148974388837814, 0.004847457632422447, 0.005093938205391169, 0.05849813297390938, -0.02229570969939232, 0.0178849995136261, -0.07832038402557373, -0.07576043903827667, 0.03898722305893898, 0.02935284748673439, 0.05116424337029457, -0.0029361494816839695, 0.0028064227662980556, 0.0441071055829525, -0.006430124398320913, 0.024855652824044228, 0.01591315306723118, 0.013776984065771103, -0.07403074949979782, 0.020393051207065582, -0.06500177085399628, -0.06887627393007278, 0.04445304349064827, -0.004722055047750473, 0.021863287314772606, 0.024302151054143906, -0.011891622096300125, -0.0014702369226142764, 0.0424811989068985, 0.0059760804288089275, 0.01819634437561035, 0.040786102414131165, -0.004661515820771456, 0.07005246728658676, 0.053793374449014664, 0.03379815071821213, 0.003173982026055455, -0.03988666087388992, -0.00022134633036330342, 0.03483596444129944, -0.029750676825642586, 0.026498857885599136, -0.0004710703797172755, -0.031497664749622345, -0.0024604846257716417, -0.02461349591612816, -0.08413214236497879, -0.01904389262199402, 0.030010130256414413, -0.040336381644010544, 0.04978049173951149, -0.020825473591685295, 0.027363702654838562, 0.009790048003196716, -0.051717743277549744, 0.001694015576504171, 0.011908918619155884, -0.0228665079921484, -0.03715375065803528, -0.028851237148046494, -0.04860430210828781, 0.033486805856227875, -0.015601808205246925, -0.02971608191728592, -0.009444110095500946, -0.02945662848651409, -0.02957770600914955, 0.0021004928275942802, -0.00635228818282485, -0.012955381534993649, 0.011908918619155884, -0.022658944129943848, -0.0715399980545044, 0.09672429412603378, -0.006706874817609787, -0.05766788125038147, 0.037084564566612244, -0.04884645715355873, 0.00014202379679773003, 0.04466060921549797, -0.00011141638970002532, -0.03488785773515701, 0.020911958068609238, -0.013093756511807442, -0.0008632236276753247, -0.025478340685367584, 0.018144452944397926, 0.014953173696994781, 0.032085757702589035, -0.0030010128393769264, -0.020358456298708916, 0.010637596249580383, 0.04237741604447365, 0.0203238632529974, 0.04317307472229004, 0.003295060247182846, 0.060573760420084, 0.016968263313174248, 0.009141414426267147, -0.05078371241688728, 0.017348796129226685, 0.024440526962280273, -0.12260045856237411, -0.028055578470230103, -0.03481866791844368, 0.006750117056071758, -0.014970471151173115, -0.015454784035682678, -0.0473589263856411, -0.01085380744189024, -0.013197538442909718, 0.014581291005015373, 0.012202966026961803, 0.06351423263549805, 0.005042047705501318, -0.0357699990272522, 0.012211614288389683, 0.03635809198021889, 0.03372896462678909, -0.014944525435566902, -0.0030874975491315126, -0.05220205709338188, 0.023973509669303894, 0.0011080829426646233, 0.061196450144052505, -0.009547891095280647, -0.01275646686553955, -0.017703382298350334, 0.0029512844048440456, 0.01078462041914463, 0.04026719555258751, -0.017833108082413673, 0.014122922904789448, 0.07389237731695175, -0.03947153687477112, -0.039402347058057785, 0.03525109216570854, 0.02274543046951294, 0.0010913265869021416, 0.02134438045322895, 0.004051799885928631, -0.005439876578748226, -0.036150529980659485, 0.005699330009520054, 0.045560047030448914, -0.03144577145576477, 0.03374626114964485, 0.008968445472419262, -0.0032064137049019337, 0.044971950352191925, 0.00870466697961092, -0.0020788717083632946, -0.0015859099803492427, 0.02111952006816864, -0.04099366441369057, -0.026948576793074608, 0.031860899180173874, 0.001329699531197548, -0.04161635413765907, -0.07223187386989594, 0.0715399980545044, -0.053793374449014664, 0.014823446981608868, 0.08966715633869171, -0.07223187386989594, -0.05891325697302818, -0.01461588405072689, 0.009815993718802929, 0.018490390852093697, 0.028055578470230103, -0.01843849942088127, -0.05455443635582924, -0.10308954864740372, -0.016994208097457886, 0.007727392017841339, 0.053897153586149216, -0.0028626376297324896, -0.058878663927316666, -0.010620299726724625, -0.014252649620175362, 0.018161749467253685, 0.002557779662311077, 0.02528807520866394, 0.028245845809578896, -0.05884407088160515, 0.016501247882843018, 0.01890551671385765, 0.037534281611442566, 0.0001728339120745659, 0.006672280840575695, 0.03250088542699814, -0.007052812725305557, 0.05247880890965462, -0.042515791952610016, -0.04158175736665726, 0.0422736331820488, -0.015359651297330856, -0.016310980543494225, 0.02020278386771679, 0.04500654712319374, -0.039160192012786865, -0.03537217155098915, -0.017331497743725777, 0.045871391892433167, -0.012133779004216194, -0.007848470471799374, -0.021500052884221077, -0.018992001190781593, -0.02193247526884079, -0.044971950352191925, -0.03540676459670067, 0.028868533670902252, -0.02853989228606224, 0.030719302594661713, 0.022780023515224457, 0.021673021838068962, -0.02366216480731964, -0.05573062598705292, 0.03433435410261154, 0.06379098445177078, 0.0019783335737884045, 0.06887627393007278, 0.00021567077783402056, 0.020808177068829536, 0.010689486749470234, -0.028868533670902252, -0.008159814402461052, 0.03296789899468422, 0.11699626594781876, -0.053793374449014664, -0.01484939269721508, 0.03469759225845337, 0.03217224404215813, -0.019459018483757973, -0.04071691259741783, -0.02577238716185093, -0.07008706033229828, 0.038710471242666245, -0.04905402287840843, 0.025582121685147285, 0.01148514449596405, 0.06787305325269699, 0.004306929185986519 ]
16,340
presidio_analyzer.batch_analyzer_engine
_get_nested_keys_to_skip
null
@staticmethod def _get_nested_keys_to_skip(key, keys_to_skip): new_keys_to_skip = [ k.replace(f"{key}.", "") for k in keys_to_skip if k.startswith(key) ] return new_keys_to_skip
(key, keys_to_skip)
[ 0.011604678817093372, 0.009946867823600769, -0.05909710377454758, 0.020649628713726997, -0.032159820199012756, -0.019000407308340073, 0.0430171936750412, -0.02769317850470543, 0.12499725073575974, -0.023621663451194763, 0.011828010901808739, -0.027040360495448112, -0.0014172997325658798, -0.06002479046583176, -0.036557745188474655, -0.04490692913532257, 0.04219258576631546, 0.05088535696268082, 0.031129056587815285, -0.03341391682624817, 0.0012304738629609346, 0.05504276975989342, 0.01924091763794422, 0.04466641694307327, -0.02329525351524353, 0.013159413821995258, -0.012446468695998192, 0.01913784071803093, 0.047724347561597824, -0.0422956608235836, -0.016586702316999435, -0.0027766190469264984, 0.0022397630382329226, 0.03776030242443085, -0.0716037005186081, -0.051709968596696854, 0.0020046201534569263, 0.03148982301354408, -0.04617820307612419, -0.016294652596116066, 0.021989621222019196, 0.03509749472141266, -0.021817825734615326, -0.08685900270938873, 0.04820537194609642, -0.00143770023714751, 0.029376758262515068, 0.04140233248472214, 0.003244757419452071, 0.04982023313641548, 0.04195207357406616, 0.00416170759126544, 0.003669947385787964, -0.00433350121602416, -0.032743919640779495, -0.01618298701941967, -0.025906521826982498, -0.014052742160856724, 0.028139842674136162, 0.011913907714188099, -0.03028726577758789, 0.009483023546636105, -0.02999521605670452, 0.04322334751486778, -0.0038975742645561695, -0.04068079963326454, -0.01340851467102766, -0.018227333202958107, -0.044838208705186844, -0.04428847134113312, -0.05033561587333679, -0.020598089322447777, -0.029668807983398438, 0.0386192724108696, -0.059337615966796875, -0.02018578350543976, -0.04226130247116089, -0.0425361730158329, -0.0008933283388614655, -0.035458263009786606, -0.04363565146923065, -0.021079111844301224, -0.05370277538895607, 0.03051059879362583, 0.06634680926799774, 0.050782278180122375, 0.032280076295137405, -0.013056336902081966, 0.04143669083714485, 0.04810229316353798, -0.0889892429113388, 0.03868798911571503, -0.05920018255710602, 0.03899721801280975, 0.017419902607798576, 0.05514584481716156, 0.006768680177628994, -0.05342790484428406, -0.046968456357717514, 0.0011123655131086707, 0.08356055617332458, -0.02277987264096737, -0.0032920008525252342, 0.006468040868639946, 0.07174113392829895, -0.05981864035129547, -0.06191452592611313, -0.012781467288732529, 0.04394488036632538, 0.010908912867307663, -0.06693090498447418, -0.06675911694765091, -0.0017039808444678783, 0.003571165958419442, 0.0366608202457428, 0.015126453712582588, 0.02051219344139099, 0.012781467288732529, 0.035630058497190475, -0.03145546466112137, 0.06559091806411743, -0.022848589345812798, -0.07084780931472778, 0.0513320192694664, -0.018588101491332054, -0.01462825108319521, 0.021199367940425873, 0.04830844700336456, 0.0361797958612442, -0.0022998908534646034, 0.01745426096022129, 0.022470643743872643, -0.06328887492418289, -0.03427288681268692, 0.007339894771575928, 0.052053555846214294, 0.02554575353860855, 0.05435559153556824, 0.028071124106645584, 0.030888544395565987, 0.04707153141498566, -0.03631723299622536, 0.035063136368989944, 0.029462656006217003, -0.007597585674375296, -0.03334519639611244, 0.0014119312399998307, 0.05923454090952873, 0.02178346738219261, -0.00862834881991148, -0.01349441148340702, 0.03179905191063881, -0.017488619312644005, 0.005720737390220165, 0.009105077013373375, -0.014473636634647846, -0.031025979667901993, -0.030390342697501183, -0.020941678434610367, -0.02226448990404606, 0.04284540191292763, -0.039512600749731064, 0.0052740732207894325, -0.041539765894412994, 0.01889733038842678, -0.02271115407347679, -0.009903918951749802, -0.051538173109292984, -0.001668548327870667, 0.03353417292237282, 0.050541769713163376, 0.032348792999982834, -0.02051219344139099, 0.012644032016396523, -0.01084019523113966, 0.04920177534222603, -0.04470077529549599, 0.008263287134468555, -0.03195366635918617, 0.009560330770909786, 0.0036076721735298634, 0.02515062876045704, 0.0036656525917351246, -0.006171696353703737, 0.054080720990896225, 0.015581707470119, -0.010634043253958225, -0.030252907425165176, -0.032348792999982834, 0.0077307261526584625, -0.005312726832926273, -0.0018253102898597717, 0.03525210916996002, 0.06370118260383606, -0.004724332597106695, 0.002065821783617139, 0.012128650210797787, 0.0061072735115885735, -0.05954376980662346, 0.07005755603313446, -0.07208472490310669, -0.00999840535223484, -0.02052937261760235, 0.01737695373594761, 0.005626250524073839, 0.03432442247867584, -0.02745266631245613, 0.0012358424719423056, -0.002510338556021452, 0.010900323279201984, 0.0034917111042886972, -0.023432688787579536, 0.059852998703718185, -0.02363884262740612, 0.003599082352593541, 0.02028886042535305, -0.011733523570001125, 0.053737133741378784, -0.01040212158113718, 0.0005357822519727051, 0.014061331748962402, 0.02214423567056656, 0.025631651282310486, -0.03305314853787422, 0.06157093867659569, 0.006850282195955515, 0.027847792953252792, -0.026043957099318504, -0.049682799726724625, -0.03710748627781868, 0.044941287487745285, -0.025528574362397194, -0.02485857903957367, -0.027418307960033417, 0.04305155202746391, -0.027950869873166084, -0.012042753398418427, -0.08520977944135666, 0.1256157010793686, -0.039787471294403076, -0.021663211286067963, 0.0072282287292182446, -0.005544648505747318, -0.031129056587815285, 0.013837999664247036, 0.02393089234828949, -0.014009793289005756, 0.008254697546362877, 0.02544267848134041, 0.06284221261739731, 0.034719549119472504, 0.0215085968375206, 0.02769317850470543, 0.0733216404914856, 0.01850220374763012, -0.02698882296681404, -0.009173794649541378, -0.0018306788988411427, 0.010685580782592297, 0.010616864077746868, -0.024927295744419098, -0.039512600749731064, -0.08294209837913513, -0.035063136368989944, 0.02612985298037529, 0.013064926490187645, 0.055351998656988144, 0.016801444813609123, -0.006635539699345827, 0.03264084458351135, 0.05140073597431183, -0.017024775967001915, 0.032743919640779495, 0.001265906379558146, 0.023501407355070114, 0.044941287487745285, -0.016612470149993896, 0.02681702934205532, -0.007142331916838884, 0.013228131458163261, 0.0070349606685340405, -0.0053041367791593075, -0.0410587452352047, 0.03676389530301094, -0.0006834176601842046, -0.004750101827085018, 0.01003276463598013, -0.012412110343575478, -0.005359970033168793, 0.0016674746293574572, 0.012498007155954838, 0.010823016054928303, 0.0652816891670227, -0.0215085968375206, -0.026902927085757256, -0.006691372953355312, 0.019584504887461662, -0.08452260494232178, 0.020821422338485718, 0.02779625542461872, 0.08218620717525482, 0.04428847134113312, 0.003405814291909337, -0.03844747692346573, 0.06315144151449203, 0.021250907331705093, 0.02693728543817997, 0.011785062029957771, -0.030424701049923897, 0.0020572319626808167, -0.10197686403989792, -0.022058337926864624, -0.01473991759121418, -0.020958857610821724, -0.041711561381816864, -0.09537997841835022, 0.01889733038842678, 0.06359810382127762, 0.018948867917060852, 0.05030125752091408, 0.008572516031563282, 0.006820218171924353, -0.06510989367961884, 0.02844907157123089, -0.007365664001554251, -0.006807333789765835, 0.0510915070772171, -0.001867184997536242, -0.006274772342294455, -0.009551741182804108, 0.036970049142837524, -0.038344401866197586, -0.06590014696121216, 0.00008012575563043356, -0.04047464579343796, -0.0055747125297784805, 0.036729536950588226, -0.033259302377700806, 0.02260807901620865, 0.017660414800047874, 0.0010871333070099354, -0.09902200847864151, 0.025940880179405212, -0.01427607424557209, 0.0019026175141334534, -0.0444946214556694, 0.03848183527588844, 0.017986822873353958, 0.03167879581451416, 0.059165824204683304, 0.06315144151449203, -0.0035067431163042784, 0.0630827248096466, 0.046040765941143036, 0.09201281517744064, -0.0020464949775487185, -0.03404955193400383, 0.008499504067003727, -0.011304039508104324, 0.03624851629137993, 0.06775552034378052, -0.0035174803342670202, -0.003835299052298069, -0.004187476355582476, 0.04896126314997673, -0.017222339287400246, -0.013812229968607426, -0.04600640758872032, -0.022058337926864624, -0.006279067602008581, -0.018759895116090775, -0.06005915254354477, 0.03200520575046539, -0.018536562100052834, -0.0017361921491101384, -0.02571754902601242, 0.032520588487386703, 0.003663505194708705, -0.02698882296681404, 0.06675911694765091, -0.05081664025783539, -0.00599560746923089, 0.03161007910966873, 0.07126011699438095, -0.04466641694307327, 0.04744947701692581, 0.04648743197321892, -0.05287816375494003, 0.06610629707574844, -0.004305584821850061, 0.024119865149259567, -0.036042362451553345, 0.025339601561427116, 0.0364203080534935, -0.03389493748545647, -0.06291092932224274, -0.015152222476899624, -0.10238917171955109, 0.025356780737638474, -0.018055539578199387, 0.06346067041158676, -0.04068079963326454, -0.06493809819221497, 0.030716750770807266, 0.07036678493022919, 0.009311229921877384, 0.009525972418487072, -0.012927492149174213, 0.0024051147047430277, 0.030957262963056564, -0.03087136521935463, -0.02791650965809822, -0.0031631554011255503, -0.019343994557857513, 0.04439154639840126, -0.01312505453824997, -0.031421106308698654, 0.03607672080397606, -0.02369038015604019, 0.012128650210797787, 0.01407851092517376, -0.1104978397488594, 0.00553605891764164, -0.021371161565184593, 0.05414944142103195, -0.00008314556907862425, -0.019120661541819572, -0.06627809256315231, 0.038825422525405884, 0.054767899215221405, -0.04212386533617973, -0.030029576271772385, -0.04360129311680794, -0.028912914916872978, 0.00699201226234436, -0.007808033376932144, 0.005866761785000563, 0.0024330313317477703, -0.024824220687150955, 0.03404955193400383, -0.02028886042535305, 0.03236597403883934, 0.022522181272506714, -0.03109469823539257, 0.009173794649541378, 0.025631651282310486, -0.01583939790725708, 0.06548783928155899, 0.05167560651898384, 0.00003452655073488131, -0.00553605891764164, -0.015109274536371231, 0.013228131458163261, -0.05868479982018471, 0.004337796010077, -0.01821015402674675, 0.007013486232608557, 0.04504436254501343, 0.002467389917001128, -0.023089101538062096, 0.05016382038593292, 0.02716061659157276, 0.029239322990179062, 0.01655234396457672, 0.04387616366147995, -0.021955261006951332, -0.024875758215785027, 0.005652019754052162, -0.03322494029998779, 0.007533162832260132, 0.004531064536422491, -0.024480631574988365, 0.014757096767425537, -0.010505197569727898, 0.032623663544654846, 0.020563730970025063, 0.01494607049971819, 0.01862245984375477, 0.026799850165843964, -0.021250907331705093, -0.007322715595364571, -0.10197686403989792, -0.021714750677347183, -0.023037564009428024, -0.02508191019296646, -0.03851619362831116, -0.05902838706970215, -0.0055489432998001575, -0.017900925129652023, -0.011054937727749348, -0.010049943812191486, -0.0022268786560744047, 0.0016481478232890368, 0.020426295697689056, 0.03001239523291588, -0.025408320128917694, -0.009964046999812126, 0.029960857704281807, 0.03755414858460426, 0.021422700956463814, -0.0034831215161830187, 0.0022247310262173414, 0.03779466077685356, 0.008636938408017159, -0.0008616538252681494, -0.0034294358920305967, 0.0073613692075014114, 0.04236437752842903, 0.006528168451040983, -0.07098524272441864, 0.02307192236185074, 0.021646032109856606, 0.012635442428290844, 0.026043957099318504, 0.012377751059830189, -0.01179365161806345, -0.04411667585372925, 0.04902998358011246, 0.0493735708296299, 0.03502877801656723, -0.0015418503899127245, 0.021199367940425873, 0.03282981738448143, 0.024996014311909676, 0.04404795914888382, 0.03751979023218155, -0.02104475349187851, -0.01953296735882759, -0.013348386622965336, 0.030149830505251884, -0.01635478064417839, 0.009697766043245792, 0.06964524835348129, 0.014937479980289936, -0.006669898517429829, -0.0033864874858409166, -0.010608273558318615, -0.010256096720695496, 0.00887315534055233, 0.029514193534851074, 0.08012467622756958, -0.01696464791893959, 0.05579866096377373, -0.0031524181831628084, 0.002162455813959241, 0.08988257497549057, -0.0515725314617157, 0.03872234746813774, -0.06425092369318008, 0.005712147336453199, -0.025872163474559784, -0.005080804694443941, -0.0034186989068984985, -0.021920902654528618, 0.06799603253602982, -0.09139435738325119, -0.040715157985687256, -0.0030386047437787056, -0.03475390747189522, 0.005196765996515751, -0.010659812018275261, -0.03145546466112137, 0.03776030242443085, -0.027675999328494072, -0.029239322990179062, -0.018416307866573334, -0.04377308860421181, 0.030716750770807266, -0.001292749191634357, 0.0471746064722538, -0.002338544698432088, -0.0009802989661693573, 0.031300850212574005, 0.014267483726143837, -0.050610486418008804, 0.015882346779108047, 0.010178789496421814, 0.0180898979306221, -0.012755697593092918, -0.07998724281787872, 0.013812229968607426, -0.01860528066754341, 0.08012467622756958, 0.005226829554885626, -0.036214157938957214, -0.01970476098358631, 0.04202079027891159, -0.018364768475294113, 0.04844588413834572, 0.0000034685929222177947, 0.020271681249141693, -0.018055539578199387, 0.013623257167637348, -0.008293351158499718, 0.027040360495448112, 0.005432982463389635, 0.03191930800676346, 0.029754705727100372, 0.025013193488121033, -0.03444467857480049, -0.026799850165843964, -0.0010935756145045161, 0.08438517153263092, 0.093387171626091, 0.015847988426685333, -0.012824415229260921, 0.03600800409913063, 0.0019090598216280341, 0.009268281050026417, -0.03411826863884926, -0.03937516361474991, 0.02369038015604019, 0.020151425153017044, -0.00907071866095066, -0.011767882853746414, 0.03377468138933182, 0.010247507132589817, -0.05590173974633217, -0.0070607298985123634, -0.0559704564511776, -0.08541592955589294, -0.037141844630241394, -0.042398735880851746, 0.022968845441937447, -0.09132564067840576, -0.026782670989632607, 0.025734728202223778, -0.033259302377700806, -0.009036359377205372, -0.027641640976071358, -0.022419104352593422, -0.02006552927196026, 0.023020382970571518, -0.006888935808092356, -0.04975151643157005, 0.06297964602708817, -0.0030643739737570286, -0.058409929275512695, -0.03992490470409393, -0.0004523011448327452, -0.05057612806558609, -0.025631651282310486, -0.0882333517074585, 0.010256096720695496, -0.07256574928760529, 0.004861767869442701, -0.019498609006404877, -0.0650068148970604, 0.013820820488035679, -0.010110071860253811, -0.028122663497924805, 0.03532082960009575, -0.020787063986063004, 0.006639834493398666, -0.04727768525481224, 0.019979631528258324, -0.005136637948453426, -0.00944866519421339, -0.013545949943363667, -0.032228536903858185, 0.049339212477207184, -0.034942880272865295, -0.005600481294095516, -0.0001217991957673803, 0.017608875408768654, -0.03865363076329231, 0.020821422338485718, -0.058409929275512695, 0.0601278692483902, -0.011965446174144745, 0.049511004239320755, -0.029617270454764366, -0.0019563031382858753, -0.047655630856752396, 0.004483820870518684, 0.028586506843566895, 0.00466849934309721, 0.02808830514550209, 0.01248082797974348, -0.04734640195965767, -0.022848589345812798, 0.009938277304172516, 0.021457059308886528, -0.022281670942902565, -0.0021431290078908205, 0.016457855701446533, 0.008933283388614655, 0.024944474920630455, -0.00811726227402687, -0.015470041893422604, 0.018485024571418762, -0.04659050703048706, 0.006717141717672348, 0.03762286528944969, -0.03703876584768295, -0.029685987159609795, 0.011338397860527039, 0.026507800444960594, 0.011853779666125774, -0.014147228561341763, -0.011716344393789768, 0.03353417292237282, 0.022556539624929428, -0.03423852473497391, -0.036557745188474655, -0.009809432551264763, 0.04830844700336456, -0.022556539624929428, -0.07019498944282532, -0.004857472609728575, -0.02300320379436016, 0.04683101922273636, -0.01791810430586338, -0.06888935714960098, -0.00828476157039404, 0.016629651188850403, -0.0023643136955797672, -0.07311549037694931, 0.01672413758933544, 0.00799271184951067, 0.025167807936668396, 0.011999804526567459, -0.022109875455498695, 0.05174432694911957, -0.040543362498283386, 0.0023943777196109295, -0.028930094093084335, -0.043498218059539795, -0.0845913216471672, 0.011982625350356102, 0.04830844700336456, 0.02295166626572609, -0.00351962773129344, -0.016784265637397766, 0.06322015821933746, -0.02052937261760235, -0.06524732708930969, 0.0038052350282669067, 0.023037564009428024, 0.025219345465302467, -0.06438835710287094, 0.051813043653964996, -0.03549262136220932, 0.029050350189208984, -0.022178594022989273, -0.0300639346241951, 0.048067934811115265, 0.04157412797212601, 0.010247507132589817, -0.034822624176740646, -0.007606175262480974, 0.038344401866197586, -0.00856822170317173, -0.059852998703718185, -0.022762693464756012, 0.017394132912158966, -0.03717620298266411, 0.009792252443730831, -0.038138248026371, -0.01528965774923563, 0.0024051147047430277, -0.03556133806705475, -0.00878725852817297, 0.06610629707574844, 0.0496140792965889, 0.008018480613827705, 0.014396329410374165, -0.013855178840458393 ]
16,341
presidio_analyzer.batch_analyzer_engine
_validate_types
null
@staticmethod def _validate_types(value_iterator: Iterable[Any]) -> Iterator[Any]: for val in value_iterator: if val and not type(val) in (int, float, bool, str): err_msg = ( "Analyzer.analyze_iterator only works " "on primitive types (int, float, bool, str). " "Lists of objects are not yet supported." ) logger.error(err_msg) raise ValueError(err_msg) yield val
(value_iterator: Iterable[Any]) -> Iterator[Any]
[ 0.03573627769947052, -0.031400226056575775, -0.04794948548078537, -0.0117796016857028, -0.02473355084657669, 0.035284604877233505, -0.004424125887453556, -0.004819338675588369, 0.03358631953597069, 0.0018812132766470313, -0.017958473414182663, 0.014697401784360409, 0.007140932139009237, -0.04784108325839043, -0.012818447314202785, 0.01580851525068283, -0.044516779482364655, 0.07913290709257126, 0.050442714244127274, 0.031056957319378853, -0.0680759847164154, 0.027750719338655472, -0.05748879164457321, 0.05033431202173233, 0.018021706491708755, 0.005930451210588217, 0.03159896284341812, -0.021951252594590187, 0.017335165292024612, 0.04339663311839104, -0.036169882863759995, -0.014860004186630249, 0.009196039289236069, -0.004710937384516001, 0.030587218701839447, -0.017452599480748177, -0.0423126183450222, 0.05622411146759987, -0.02883473038673401, 0.043938636779785156, -0.03562787547707558, -0.003157186321914196, -0.02350500412285328, 0.021662181243300438, -0.020469767972826958, -0.03624214977025986, -0.00135953223798424, -0.024643216282129288, -0.0380849689245224, -0.06377606838941574, 0.009421874769032001, -0.010560087859630585, 0.02713644504547119, 0.023902473971247673, -0.005903351120650768, 0.056151844561100006, -0.019439956173300743, -0.019710959866642952, -0.02084917202591896, 0.046323467046022415, -0.004306691233068705, 0.012357741594314575, -0.004439934156835079, -0.06431806832551956, 0.026612505316734314, -0.022113854065537453, -0.03956645354628563, -0.018066873773932457, -0.02619696781039238, 0.020668504759669304, -0.04950323328375816, -0.029268335551023483, 0.01605241745710373, 0.06276432424783707, -0.002696481067687273, -0.003766943234950304, -0.047190673649311066, 0.046865470707416534, 0.04292689263820648, -0.05503169819712639, 0.03687449172139168, 0.044480644166469574, 0.012330641970038414, -0.024047009646892548, -0.018536612391471863, 0.011499565094709396, -0.05716358870267868, 0.02467934973537922, 0.03037041611969471, 0.07775982469320297, -0.02263779379427433, -0.021264711394906044, -0.0024096693377941847, -0.012357741594314575, -0.034363195300102234, 0.09777792543172836, -0.007402901537716389, -0.08816634863615036, -0.014679335057735443, 0.00010360222950112075, 0.06522141396999359, 0.024209611117839813, 0.09243012964725494, 0.0006272592581808567, 0.022764261811971664, -0.035862743854522705, 0.027624251320958138, -0.0817345380783081, 0.0721229612827301, 0.059042543172836304, -0.051671259105205536, -0.06652223318815231, -0.03490519896149635, -0.032574575394392014, -0.033188845962285995, 0.0040266546420753, 0.009620610624551773, -0.0282746572047472, -0.022402923554182053, -0.014968405477702618, 0.017958473414182663, 0.033459849655628204, 0.008509498089551926, 0.05329727753996849, 0.05564597249031067, -0.002175929257646203, 0.03517620265483856, 0.0021228576079010963, -0.014128295704722404, 0.04458904638886452, -0.019530290737748146, -0.0070686643011868, 0.01812107488512993, 0.04758814722299576, 0.0001465110544813797, 0.034092191606760025, -0.020289098843932152, -0.04784108325839043, -0.021300844848155975, -0.06551048904657364, 0.020198766142129898, -0.002335143508389592, 0.03841017559170723, -0.015302642248570919, -0.05239393562078476, -0.006838311906903982, -0.022854596376419067, 0.04531171917915344, 0.009421874769032001, -0.0072628832422196865, -0.03535687178373337, 0.02294493094086647, 0.007253849878907204, 0.03358631953597069, -0.03214097023010254, -0.011671200394630432, 0.03967485576868057, -0.04072273522615433, -0.0006673451862297952, -0.02527555637061596, -0.030767885968089104, 0.0022357755806297064, -0.003518523648381233, 0.029358670115470886, 0.0019139595096930861, 0.047443609684705734, -0.06522141396999359, -0.00967481080442667, -0.010252950713038445, -0.028419192880392075, 0.016910593956708908, -0.057271990925073624, 0.02679317444562912, 0.024047009646892548, 0.006476974580436945, 0.05102085322141647, 0.02081303857266903, 0.048708293586969376, 0.04859989136457443, -0.005257460288703442, -0.03604341298341751, 0.00640019029378891, -0.10037954896688461, -0.03606148064136505, 0.03098468855023384, 0.032610706984996796, -0.01992776244878769, -0.043577298521995544, -0.009295406751334667, -0.01028908509761095, 0.0009247981361113489, -0.022493258118629456, -0.009340574033558369, -0.008089442737400532, -0.01445349957793951, 0.018012672662734985, -0.006124670151621103, 0.01692866161465645, -0.013938593678176403, 0.02704611048102379, -0.04010846093297005, -0.014706435613334179, -0.011860902421176434, -0.002443544799461961, -0.0007571149617433548, 0.009548342786729336, -0.018970217555761337, -0.00699639692902565, -0.011653133668005466, -0.044480644166469574, -0.029394803568720818, -0.02352306991815567, -0.014977438375353813, 0.047479745000600815, 0.03271910920739174, 0.008825668133795261, 0.015862716361880302, -0.06377606838941574, -0.03197836875915527, -0.0018687923438847065, 0.08065052330493927, -0.0062646884471178055, -0.029828408733010292, -0.05503169819712639, 0.11006339639425278, -0.0046431864611804485, 0.0036359583027660847, -0.016775092110037804, -0.044227708131074905, 0.009810312651097775, -0.02290879562497139, 0.004869022406637669, -0.01607951708137989, 0.040072325617074966, 0.0024887118488550186, 0.0062646884471178055, 0.04856375604867935, -0.01788620464503765, -0.04621506482362747, 0.02410121075809002, -0.04813015088438988, -0.02384827472269535, -0.031075023114681244, -0.030876288190484047, -0.07364057749509811, -0.0068202451802790165, -0.01580851525068283, 0.07523046433925629, -0.01609758473932743, 0.008514014072716236, -0.005465229507535696, -0.040397532284259796, 0.02681124210357666, -0.06186097860336304, 0.05026204511523247, -0.01665765792131424, -0.018988285213708878, -0.060234956443309784, 0.07580860704183578, -0.023757940158247948, 0.02323400042951107, 0.039783257991075516, 0.04317982867360115, 0.10131902992725372, -0.024281878024339676, -0.020415566861629486, 0.03544720634818077, 0.04993683844804764, 0.02296299673616886, 0.032899778336286545, 0.06749784201383591, 0.02625116892158985, 0.0035591742489486933, 0.019837427884340286, -0.011165328323841095, 0.047515880316495895, 0.0026016298215836287, 0.023992808535695076, -0.043035294860601425, 0.024516748264431953, 0.025365890935063362, 0.017434533685445786, -0.018012672662734985, -0.018681148067116737, -0.016829293221235275, -0.0231797993183136, 0.006323406007140875, 0.01576334796845913, -0.03956645354628563, -0.03891604766249657, 0.02496841922402382, -0.016178885474801064, 0.04614279791712761, -0.06897932291030884, 0.005112925544381142, 0.050117507576942444, 0.024823885411024094, -0.02771458402276039, 0.010189716704189777, -0.019421890377998352, 0.022728128358721733, -0.01338755339384079, 0.04791335016489029, 0.009046987630426884, 0.01936768926680088, -0.009439941495656967, 0.00521229300647974, 0.0011353901354596019, -0.05933161452412605, 0.017145464196801186, 0.017163529992103577, 0.05246620252728462, -0.0027529399376362562, -0.02561882697045803, 0.05322501063346863, -0.0300994124263525, 0.0009620610508136451, 0.01998196355998516, -0.05806693434715271, 0.059114813804626465, -0.03985552489757538, -0.002490970306098461, 0.06890705972909927, -0.03714549168944359, -0.062330715358257294, 0.005108408629894257, 0.023270133882761, 0.011364064179360867, -0.004674803465604782, -0.0008322054054588079, -0.0020844656974077225, -0.06518527865409851, 0.01414636243134737, 0.03698289021849632, 0.05748879164457321, 0.005329727660864592, 0.012863614596426487, 0.006106603424996138, 0.027606183663010597, -0.018057839944958687, -0.00027100311126559973, 0.0027461647987365723, 0.049864571541547775, 0.03503166884183884, -0.036513153463602066, -0.005605247803032398, -0.010036148130893707, -0.05022590979933739, 0.08101186156272888, 0.07869930565357208, 0.019566424190998077, 0.015528478659689426, 0.012113839387893677, -0.013324319384992123, 0.04321596398949623, 0.0011698300950229168, -0.022420991212129593, -0.0528998076915741, -0.03217710182070732, 0.019801294431090355, 0.07580860704183578, -0.007231266237795353, 0.06561888754367828, 0.026359569281339645, -0.004837405402213335, -0.02267392724752426, -0.002802623901516199, -0.05958455055952072, 0.04682933911681175, 0.034056056290864944, -0.012448076158761978, 0.023884408175945282, -0.02236679010093212, -0.08000011742115021, 0.019548358395695686, -0.015411043539643288, 0.008952136151492596, 0.05214099958539009, -0.062402982264757156, 0.07812116295099258, -0.029900677502155304, -0.0022109337151050568, -0.00802169181406498, -0.006906062830239534, -0.0036065997555851936, -0.06587181985378265, -0.01175250206142664, 0.01414636243134737, -0.08433616906404495, 0.06561888754367828, -0.004869022406637669, -0.04498651623725891, -0.006323406007140875, -0.03902444988489151, -0.002890699775889516, -0.013197851367294788, -0.02532975748181343, 0.007384834811091423, -0.030514949932694435, -0.026901574805378914, -0.015131006948649883, -0.023396601900458336, -0.05510396510362625, 0.060849230736494064, -0.022131919860839844, -0.023595336824655533, -0.0024819369427859783, -0.012204173021018505, -0.006910579279065132, 0.0530804768204689, 0.09763338416814804, -0.04766041412949562, 0.054923295974731445, -0.008839217945933342, -0.010831090621650219, 0.018879882991313934, -0.026359569281339645, 0.0011139357229694724, -0.00522132683545351, 0.013017183169722557, 0.09524855762720108, -0.03485099971294403, 0.0494309663772583, 0.07580860704183578, -0.01967482641339302, -0.03812110424041748, 0.008843734860420227, -0.008631449192762375, -0.02738938108086586, -0.05062337964773178, 0.011915103532373905, -0.03302624449133873, -0.0345257967710495, -0.07761529088020325, -0.022493258118629456, 0.009900647215545177, -0.08570925146341324, -0.018590813502669334, 0.02883473038673401, -0.013514021411538124, 0.00953027606010437, 0.04737134277820587, 0.04914189875125885, -0.009322507306933403, 0.050442714244127274, -0.014110228978097439, -0.0137037243694067, 0.053730882704257965, 0.003265587380155921, 0.003990520723164082, -0.03564594313502312, -0.00640019029378891, 0.03174349665641785, -0.026991909369826317, 0.061463505029678345, 0.04267395660281181, -0.024841951206326485, -0.00455059390515089, 0.025474293157458305, 0.007606153842061758, 0.05626024678349495, -0.0072809504345059395, -0.06583569198846817, -0.09055117517709732, 0.014417365193367004, 0.014426399022340775, -0.02169831655919552, 0.037073224782943726, 0.035537540912628174, 0.04379410296678543, 0.02267392724752426, -0.0363505519926548, 0.06196937710046768, -0.01219514012336731, -0.010975626297295094, 0.035284604877233505, 0.0054336125031113625, 0.017028028145432472, 0.0005411593592725694, 0.021373111754655838, 0.02737131342291832, 0.02348693646490574, 0.032014500349760056, -0.01534780953079462, -0.02352306991815567, -0.010487820021808147, 0.012538410723209381, -0.026034366339445114, -0.040325261652469635, 0.026648638769984245, 0.012628745287656784, -0.015248442068696022, 0.037109360098838806, -0.020036162808537483, 0.036458950489759445, -0.046251196414232254, 0.03282751142978668, 0.027804918587207794, 0.040397532284259796, 0.030587218701839447, 0.0440470390021801, -0.0117344344034791, 0.0058220503851771355, -0.020307166501879692, 0.08101186156272888, 0.009349606931209564, 0.060885366052389145, -0.044480644166469574, -0.05803079903125763, -0.005176159553229809, -0.051309920847415924, 0.01963869296014309, 0.045131050050258636, -0.003453031415119767, -0.004525751806795597, -0.045673057436943054, 0.028979266062378883, -0.03463419899344444, -0.021933184936642647, 0.028708262369036674, -0.03819337114691734, -0.043613433837890625, -0.0446251779794693, -0.0229810643941164, 0.026395702734589577, 0.011644100770354271, -0.040325261652469635, -0.026323435828089714, 0.03895217925310135, -0.042168084532022476, 0.006386640015989542, -0.006034336052834988, 0.020451702177524567, -0.032592639327049255, -0.023161733523011208, -0.025835629552602768, 0.11844642460346222, -0.004683837294578552, 0.054381292313337326, 0.07215909659862518, 0.058211468160152435, 0.062113914638757706, -0.036495085805654526, -0.0011845094850286841, 0.05279140546917915, 0.021192442625761032, -0.03485099971294403, -0.008252045139670372, -0.021933184936642647, -0.006513108033686876, -0.011210495606064796, -0.024607082828879356, -0.02200545184314251, 0.06157190725207329, -0.03580854460597038, 0.0029358670581132174, 0.04672093689441681, 0.019710959866642952, 0.033459849655628204, 0.026142766699194908, 0.011102094314992428, -0.02825659140944481, -0.06153577193617821, -0.026648638769984245, -0.025058753788471222, -0.012357741594314575, 0.002958450699225068, 0.0013640490360558033, -0.0032542957924306393, 0.03600728139281273, 0.031436361372470856, -0.024570949375629425, -0.008419163525104523, -0.05391155183315277, 0.028220457956194878, 0.013134617358446121, -0.037651367485523224, -0.003963420633226633, -0.01670282520353794, -0.07949424535036087, -0.03136409446597099, 0.007926841266453266, 0.03891604766249657, -0.07121961563825607, 0.04552852362394333, -0.033495984971523285, -0.016603456810116768, -0.009927747771143913, -0.018879882991313934, 0.09445361793041229, -0.0048238555900752544, -0.0018349168822169304, -0.04054206609725952, -0.040578197687864304, -0.02377600595355034, -0.01414636243134737, -0.011165328323841095, -0.02796752192080021, -0.07537499815225601, -0.0030578183941543102, -0.05141832306981087, 0.03566401079297066, -0.009593510068953037, 0.01044265367090702, 0.041228607296943665, -0.03869924321770668, 0.005627831444144249, 0.000989725929684937, 0.030298147350549698, -0.009214106015861034, -0.0017039320664480329, 0.055573705583810806, 0.0571274571120739, -0.012682945467531681, 0.022691993042826653, -0.01962062530219555, -0.020433634519577026, 0.026865441352128983, 0.01785910502076149, 0.03152669593691826, -0.0015458469279110432, -0.015121974050998688, -0.0015198758337646723, -0.006815728265792131, -0.026070499792695045, -0.06139123812317848, 0.020650437101721764, -0.040578197687864304, 0.012204173021018505, -0.0767480805516243, 0.0006498428992927074, -0.021626047790050507, 0.019729025661945343, -0.052285533398389816, -0.061138302087783813, 0.00907860416918993, 0.010460720397531986, -0.006928646005690098, -0.03275524452328682, 0.01723579876124859, 0.005275527015328407, 0.013468855060636997, -0.024661283940076828, 0.028383059427142143, 0.022836528718471527, 0.00027566097560338676, -0.03152669593691826, -0.0031187941785901785, 0.08816634863615036, 0.038265638053417206, 0.01237580832093954, 0.10702816396951675, -0.015673013404011726, 0.003166219685226679, -0.036151815205812454, 0.04339663311839104, -0.0072628832422196865, 0.006205971352756023, 0.010912392288446426, 0.008739850483834743, 0.012836514040827751, 0.010758823715150356, 0.025438157841563225, -0.018229475244879723, 0.025365890935063362, 0.01219514012336731, -0.03210483491420746, 0.03192416578531265, 0.05293594300746918, -0.006680226884782314, -0.05271913856267929, 0.025980165228247643, 0.007140932139009237, 0.001618114416487515, -0.02944900467991829, 0.010252950713038445, -0.037362296134233475, 0.0036495085805654526, -0.02677510678768158, -0.023125598207116127, -0.060849230736494064, -0.043035294860601425, -0.05871734023094177, 0.015673013404011726, -0.07682035118341446, -0.07353217899799347, -0.018934084102511406, -0.02088530734181404, 0.022149987518787384, -0.0380849689245224, -0.020162630826234818, -0.031400226056575775, 0.05387542024254799, -0.040036194026470184, -0.038843780755996704, 0.003053301712498069, -0.03729002922773361, 0.038518574088811874, 0.05351408198475838, 0.028780531138181686, 0.012131906114518642, -0.005668481811881065, 0.0005295852315612137, 0.08144547045230865, 0.02856372855603695, -0.017353232949972153, -0.06428194046020508, 0.01604338362812996, 0.05279140546917915, -0.030785953626036644, -0.0008463201229460537, 0.03989165648818016, -0.047190673649311066, -0.05156285688281059, -0.056404780596494675, -0.03297204524278641, 0.033477917313575745, 0.036784157156944275, 0.028075922280550003, -0.021264711394906044, 0.05723585560917854, 0.006368573289364576, -0.022818462923169136, 0.057344257831573486, -0.06710036844015121, 0.042421020567417145, -0.013568222522735596, 0.008992786519229412, 0.032646842300891876, -0.015528478659689426, 0.07978331297636032, -0.028093989938497543, -0.022691993042826653, -0.003611116437241435, -0.03450772911310196, 0.007872640155255795, -0.043577298521995544, 0.01902441866695881, -0.03132795915007591, -0.012872647494077682, 0.02113824337720871, 0.02715451270341873, -0.03420059382915497, -0.017651336267590523, -0.04054206609725952, -0.009214106015861034, 0.05297207459807396, 0.022999130189418793, -0.006377606652677059, -0.00861338246613741, 0.01383922528475523, -0.01810300722718239, -0.012809413485229015, 0.00380081869661808, 0.08505884557962418, 0.003823402337729931, 0.03772363439202309, -0.05925934761762619, -0.040939535945653915, -0.01843724586069584, -0.0029968428425490856, 0.025962097570300102, 0.019729025661945343, -0.00631888909265399, -0.021336978301405907, 0.007018980570137501, -0.011969303712248802, 0.027768785133957863 ]
16,342
presidio_analyzer.batch_analyzer_engine
analyze_dict
Analyze a dictionary of keys (strings) and values/iterable of values. Non-string values are returned as is. :param input_dict: The input dictionary for analysis :param language: Input language :param keys_to_skip: Keys to ignore during analysis :param kwargs: Additional keyword arguments for the `AnalyzerEngine.analyze` method. Use this to pass arguments to the analyze method, such as `ad_hoc_recognizers`, `context`, `return_decision_process`. See `AnalyzerEngine.analyze` for the full list.
def analyze_dict( self, input_dict: Dict[str, Union[Any, Iterable[Any]]], language: str, keys_to_skip: Optional[List[str]] = None, **kwargs, ) -> Iterator[DictAnalyzerResult]: """ Analyze a dictionary of keys (strings) and values/iterable of values. Non-string values are returned as is. :param input_dict: The input dictionary for analysis :param language: Input language :param keys_to_skip: Keys to ignore during analysis :param kwargs: Additional keyword arguments for the `AnalyzerEngine.analyze` method. Use this to pass arguments to the analyze method, such as `ad_hoc_recognizers`, `context`, `return_decision_process`. See `AnalyzerEngine.analyze` for the full list. """ context = [] if "context" in kwargs: context = kwargs["context"] del kwargs["context"] if not keys_to_skip: keys_to_skip = [] for key, value in input_dict.items(): if not value or key in keys_to_skip: yield DictAnalyzerResult(key=key, value=value, recognizer_results=[]) continue # skip this key as requested # Add the key as an additional context specific_context = context[:] specific_context.append(key) if type(value) in (str, int, bool, float): results: List[RecognizerResult] = self.analyzer_engine.analyze( text=str(value), language=language, context=[key], **kwargs ) elif isinstance(value, dict): new_keys_to_skip = self._get_nested_keys_to_skip(key, keys_to_skip) results = self.analyze_dict( input_dict=value, language=language, context=specific_context, keys_to_skip=new_keys_to_skip, **kwargs, ) elif isinstance(value, Iterable): # Recursively iterate nested dicts results: List[List[RecognizerResult]] = self.analyze_iterator( texts=value, language=language, context=specific_context, **kwargs, ) else: raise ValueError(f"type {type(value)} is unsupported.") yield DictAnalyzerResult(key=key, value=value, recognizer_results=results)
(self, input_dict: Dict[str, Union[Any, Iterable[Any]]], language: str, keys_to_skip: Optional[List[str]] = None, **kwargs) -> Iterator[presidio_analyzer.dict_analyzer_result.DictAnalyzerResult]
[ 0.02249186299741268, -0.036439117044210434, -0.0819975882768631, -0.015700239688158035, -0.006293506361544132, 0.036381639540195465, 0.0027923244051635265, -0.0030294086318463087, 0.05498436465859413, -0.03854652866721153, -0.0015530209057033062, 0.059045929461717606, 0.010709498077630997, -0.012290059588849545, -0.004863817244768143, 0.02482917718589306, 0.016830580309033394, 0.08766844868659973, -0.009349257685244083, -0.07617346197366714, -0.0036879756953567266, -0.01206973847001791, -0.010048536583781242, 0.05590396374464035, 0.00047237222315743566, -0.04862380400300026, 0.005963025614619255, -0.04689955711364746, -0.01263490878045559, 0.027089858427643776, -0.02362220361828804, -0.01191647257655859, 0.0017697493312880397, 0.04812568798661232, -0.03216681256890297, -0.06965963542461395, -0.04256977513432503, 0.017252063378691673, -0.061191659420728683, 0.00587202375754714, -0.06954468786716461, 0.0022511021234095097, -0.006360560655593872, 0.03318220376968384, -0.051076069474220276, -0.0055175949819386005, -0.07709305733442307, -0.04007919505238533, 0.01582476869225502, -0.036803122609853745, -0.010537073016166687, -0.01628456823527813, -0.015891822054982185, 0.02446516789495945, 0.019733063876628876, -0.005723546724766493, -0.07375951111316681, -0.027032382786273956, 0.0017194588435813785, -0.007917174138128757, 0.010096432641148567, 0.005278116092085838, -0.017041321843862534, 0.05590396374464035, -0.0035490780137479305, -0.044140759855508804, 0.004006482660770416, 0.01874641142785549, -0.0024977654684334993, -0.06272432208061218, -0.04831727221608162, -0.007438215892761946, 0.02465675212442875, 0.037071339786052704, 0.0003960382891818881, 0.00780701357871294, -0.061574824154376984, -0.01945526897907257, 0.03189859539270401, -0.03473402559757233, 0.04004088044166565, -0.021859638392925262, -0.015230860561132431, -0.05356664955615997, 0.03293314576148987, 0.045022040605545044, -0.036132581532001495, -0.005273326300084591, 0.0682419165968895, 0.05000320449471474, -0.008362604305148125, 0.014809377491474152, 0.0021672844886779785, 0.04184176027774811, -0.019043365493416786, 0.04946677014231682, -0.01206015981733799, -0.037128813564777374, -0.0001048468766384758, -0.007993807084858418, 0.03843158110976219, 0.029637914150953293, 0.07387446612119675, -0.028220199048519135, 0.025863725692033768, -0.058930978178977966, -0.02331566996872425, -0.0116099389269948, 0.06245610862970352, 0.008903827518224716, -0.05785811319947243, -0.08828151971101761, -0.03136216104030609, -0.01622709259390831, -0.02364136092364788, 0.03862316533923149, -0.04808736965060234, 0.006825149990618229, -0.07487069815397263, 0.026151100173592567, 0.006374929565936327, 0.05004151910543442, 0.021418996155261993, 0.012337954714894295, 0.006413246039301157, -0.04831727221608162, 0.028986530378460884, 0.0007214302895590663, -0.014387894421815872, 0.029235588386654854, -0.01206015981733799, 0.04544352367520332, 0.03222428634762764, -0.0060061318799853325, 0.044294025748968124, 0.08222749084234238, 0.028066931292414665, 0.006408456712961197, -0.004569258075207472, 0.00633661262691021, 0.08184432238340378, -0.005498436279594898, 0.05613386258482933, -0.029484646394848824, -0.029599597677588463, -0.03829747065901756, -0.030250979587435722, 0.014914748258888721, 0.020422764122486115, -0.02325819432735443, 0.00007225528679555282, -0.0008357815095223486, -0.012433746829628944, 0.027645448222756386, -0.010498756542801857, -0.013966412283480167, -0.005599017720669508, -0.014847693964838982, -0.043872542679309845, -0.001192006398923695, 0.018229136243462563, -0.04766589030623436, 0.011485409922897816, 0.0021720740478485823, 0.010355069302022457, -0.003666422562673688, -0.004241172224283218, -0.007749538403004408, 0.0032784666400402784, -0.01918705366551876, 0.010000640526413918, -0.025633826851844788, 0.026036150753498077, 0.01192605122923851, 0.009100199677050114, 0.052647050470113754, -0.008640400134027004, 0.018621882423758507, -0.026495950296521187, -0.02402452751994133, 0.043412741273641586, 0.03984929621219635, -0.10843606293201447, -0.051919035613536835, 0.03954276442527771, -0.011312984861433506, -0.012874388135969639, 0.04199502617120743, -0.011312984861433506, 0.04172680899500847, 0.0017745390068739653, -0.034791499376297, 0.05709178000688553, -0.001347069046460092, -0.020499397069215775, -0.018621882423758507, 0.02260681241750717, 0.00386758497916162, -0.0008285971125587821, 0.05559743195772171, -0.037167131900787354, -0.01651446707546711, -0.007356793154031038, 0.017673546448349953, -0.08498628437519073, -0.010278436355292797, -0.029082322493195534, 0.03136216104030609, -0.03996424749493599, -0.07402773201465607, -0.006394087802618742, -0.04904528707265854, 0.061076708137989044, -0.013487453572452068, -0.0007106537814252079, 0.060770176351070404, 0.06816528737545013, 0.014244207181036472, -0.05632544681429863, -0.005000320263206959, 0.04092216119170189, -0.005364328157156706, -0.044830456376075745, -0.07314644753932953, 0.10652023553848267, -0.06724568456411362, 0.017740599811077118, -0.0002695634902920574, -0.03189859539270401, -0.026859957724809647, 0.03256913647055626, -0.03155374526977539, 0.0023253406397998333, -0.0020307814702391624, 0.09065714478492737, 0.005110480822622776, 0.03132384642958641, -0.07732295989990234, 0.02469506859779358, 0.008894247934222221, 0.035730257630348206, 0.03253081813454628, -0.017338275909423828, -0.036094266921281815, -0.060655225068330765, -0.006882624700665474, -0.014924327842891216, 0.03109394572675228, 0.03850821405649185, 0.011255510151386261, 0.04126701131463051, -0.04276135936379433, -0.011629097163677216, 0.020307814702391624, 0.0326840877532959, 0.04693787172436714, 0.05004151910543442, -0.04781915619969368, 0.08054155856370926, -0.028909897431731224, 0.026016991585493088, 0.025978675112128258, -0.053451698273420334, 0.044677190482616425, 0.014014307409524918, 0.021974587813019753, 0.07636504620313644, -0.013085129670798779, 0.004947634879499674, -0.026630058884620667, -0.011102243326604366, 0.04916023835539818, 0.021591421216726303, -0.02436937764286995, -0.000933967879973352, 0.08245738595724106, -0.006777253933250904, 0.036151740700006485, -0.05356664955615997, 0.07923879474401474, 0.05824127793312073, -0.035021401941776276, -0.052953582257032394, -0.018660198897123337, 0.014560319483280182, 0.03942781314253807, -0.036362484097480774, 0.014119678176939487, 0.01252953801304102, -0.05567406490445137, 0.05839454382658005, 0.005369117949157953, 0.008578135631978512, -0.013113866560161114, -0.06161314249038696, 0.019254107028245926, -0.04004088044166565, -0.051497552543878555, -0.006379718892276287, -0.004909318406134844, 0.03168785199522972, 0.01206015981733799, 0.08705538511276245, -0.005867233965545893, -0.03337378427386284, 0.04881538823246956, 0.04042404517531395, 0.000742983422242105, -0.051995668560266495, -0.04115206003189087, -0.06509995460510254, 0.04080720990896225, 0.01951274462044239, -0.06601955741643906, -0.06360560655593872, -0.05069290101528168, 0.052148934453725815, 0.027396390214562416, 0.010795710608363152, 0.019043365493416786, -0.029063165187835693, 0.060310374945402145, -0.053528331220149994, -0.07287823408842087, 0.019943805411458015, -0.03810589015483856, 0.08100135624408722, 0.017577754333615303, 0.06391213834285736, -0.04276135936379433, 0.036707330495119095, -0.05636376515030861, 0.0011105835437774658, 0.005302063655108213, -0.028699155896902084, -0.04004088044166565, -0.005072163883596659, 0.017922604456543922, 0.0014093335485085845, 0.0030485668685287237, 0.01914873532950878, -0.06647935509681702, 0.028220199048519135, -0.00048614226398058236, 0.020499397069215775, -0.005508015863597393, 0.034944768995046616, -0.07153715193271637, 0.08268728852272034, 0.004772815387696028, -0.016926372423768044, 0.0034197592176496983, 0.05318348482251167, 0.010996872559189796, 0.043374426662921906, -0.04142027720808983, -0.021304046735167503, -0.06931478530168533, -0.010364648886024952, -0.043680958449840546, 0.015211702324450016, 0.015412864275276661, -0.0023433014284819365, 0.013669458217918873, 0.0026246891357004642, -0.035615310072898865, -0.0022079958580434322, -0.043949175626039505, -0.017424488440155983, 0.01599719375371933, 0.0077399592846632, -0.03346957638859749, -0.012433746829628944, 0.007993807084858418, 0.03908296301960945, -0.02295166254043579, 0.02300913631916046, 0.028986530378460884, -0.012299638241529465, 0.13372504711151123, -0.0040184566751122475, 0.06130661070346832, -0.025652984157204628, 0.017520278692245483, 0.05375823378562927, -0.006786833051592112, 0.010584969073534012, 0.00039124873001128435, -0.030365929007530212, 0.005373907275497913, -0.002264273352921009, -0.0029312223196029663, -0.009224728681147099, -0.0068730455823242664, 0.008171021938323975, -0.03141963854432106, -0.04030909389257431, 0.0015111120883375406, -0.059505727142095566, -0.005450540687888861, 0.017750179395079613, -0.044370658695697784, -0.053068533539772034, 0.013554507866501808, 0.005407434422522783, -0.017290379852056503, 0.010996872559189796, -0.0010998070938512683, -0.011073506437242031, 0.03969603031873703, 0.06295422464609146, -0.011044768616557121, -0.010259278118610382, 0.043795909732580185, -0.06659430265426636, 0.022300278767943382, -0.014550740830600262, 0.028756631538271904, -0.05808801203966141, 0.06916151940822601, 0.11724889278411865, -0.029848655685782433, 0.030040238052606583, 0.026151100173592567, 0.061153341084718704, 0.018162082880735397, -0.020480239763855934, -0.07329971343278885, -0.004966793116182089, -0.061076708137989044, 0.0068586766719818115, -0.02496328577399254, -0.029005689546465874, -0.015594868920743465, -0.016054667532444, 0.031917754560709, -0.045022040605545044, 0.015815189108252525, 0.007112524472177029, -0.007088576443493366, -0.012893546372652054, 0.008669137954711914, 0.044945407658815384, 0.03051919676363468, 0.03756945580244064, -0.018008816987276077, 0.006968837231397629, 0.009291782975196838, -0.004083116073161364, -0.00797943864017725, 0.04724440723657608, 0.012117634527385235, 0.03105562925338745, -0.0038987172301858664, 0.0028953005094081163, -0.0028737473767250776, -0.02415863610804081, 0.08751518279314041, 0.004281883593648672, 0.03232007846236229, 0.036688175052404404, -0.03450412675738335, -0.022319437935948372, -0.035557832568883896, 0.0048135267570614815, 0.07674821466207504, -0.04655470699071884, 0.025423085317015648, -0.03776104003190994, 0.011696151457726955, -0.014445370063185692, -0.004051983822137117, 0.044447291642427444, 0.022434387356042862, 0.0013793987454846501, -0.009971902705729008, 0.044562242925167084, -0.02346893586218357, -0.013247975148260593, 0.04870043694972992, 0.06736063957214355, 0.007625009398907423, 0.004102274309843779, -0.016198355704545975, 0.0013734117383137345, 0.005263747181743383, -0.018171662464737892, -0.0011866181157529354, -0.03992592915892601, 0.0626860111951828, -0.043642643839120865, -0.019694747403264046, 0.05724504590034485, -0.010364648886024952, 0.008314709179103374, -0.04655470699071884, 0.044140759855508804, 0.035596150904893875, 0.015738556161522865, -0.021189097315073013, 0.014627373777329922, 0.015949297696352005, 0.004990741144865751, 0.0013386872597038746, -0.00762979919090867, -0.007625009398907423, 0.01196436770260334, 0.01551823504269123, -0.02277923747897148, 0.019349899142980576, -0.06237947568297386, 0.0013542533852159977, 0.060501959174871445, -0.016658155247569084, 0.03164953738451004, -0.036094266921281815, 0.0014608216006308794, 0.016983846202492714, -0.020173706114292145, -0.01884220354259014, 0.013420400209724903, 0.00070766027783975, -0.006964047439396381, -0.0018463826272636652, 0.0344083346426487, 0.06103839352726936, 0.0006962850457057357, -0.05061626806855202, 0.04513699188828468, -0.07387446612119675, -0.01888052001595497, -0.01657194271683693, 0.04299125820398331, 0.0008884668932296336, 0.0239862110465765, 0.012251743115484715, 0.02298997901380062, -0.0646018385887146, -0.04203334450721741, 0.07724633067846298, 0.06406540423631668, 0.027549657970666885, -0.013928094878792763, 0.014387894421815872, 0.052991900593042374, 0.005393065977841616, -0.015039277262985706, -0.0012333164922893047, -0.025787092745304108, 0.027817873284220695, -0.06617282330989838, -0.02538476698100567, -0.009818636812269688, 0.09349258244037628, 0.0309598371386528, 0.010699919424951077, 0.03348873555660248, 0.020978355780243874, 0.01574813574552536, 0.028565047308802605, 0.01876557059586048, -0.05069290101528168, -0.05655534565448761, -0.04210997745394707, 0.013803565874695778, 0.04674629122018814, -0.0019134366884827614, 0.03348873555660248, -0.04084552824497223, 0.02417779341340065, -0.011198035441339016, -0.0016152854077517986, -0.036324165761470795, -0.028411781415343285, -0.0384124219417572, 0.035806890577077866, -0.03264576941728592, 0.0021660870406776667, 0.005843286402523518, -0.027032382786273956, -0.03958107903599739, 0.020920880138874054, 0.08812825381755829, 0.009809057228267193, -0.017156271263957024, -0.025633826851844788, 0.004066352266818285, 0.025997834280133247, 0.014799798838794231, 0.06605786830186844, -0.04011751338839531, -0.029178114607930183, -0.004358516540378332, -0.010901081375777721, -0.043451059609651566, -0.016715630888938904, -0.009607895277440548, -0.04034741222858429, -0.018564406782388687, -0.05004151910543442, -0.08958428353071213, -0.0013458715984597802, 0.026457633823156357, 0.06490837037563324, 0.012998917140066624, 0.01722332462668419, 0.035078875720500946, 0.0308640468865633, 0.05793474614620209, -0.013621562160551548, -0.03768440708518028, -0.010556232184171677, 0.03182196244597435, -0.004947634879499674, 0.05762821435928345, -0.015269177034497261, -0.020940039306879044, 0.020920880138874054, 0.05804969370365143, -0.00851587112993002, -0.008808035403490067, -0.060578592121601105, -0.06770548969507217, 0.03161121904850006, -0.05030973628163338, 0.018123766407370567, -0.011686572805047035, -0.014110099524259567, -0.03797177970409393, -0.028392624109983444, -0.029082322493195534, 0.0008525450248271227, 0.04088384658098221, 0.0005989967030473053, -0.037167131900787354, 0.027798715978860855, 0.018066290766000748, -0.009646211750805378, -0.05069290101528168, -0.02490581013262272, -0.03099815361201763, 0.03270324319601059, 0.010728656314313412, 0.06184304133057594, -0.0025863726623356342, 0.02459927648305893, -0.029120638966560364, 0.020212022587656975, 0.0634523406624794, 0.04935181885957718, 0.044485609978437424, 0.03209017962217331, -0.05360496789216995, -0.0017553806537762284, -0.01666773483157158, 0.013267133384943008, -0.0044351499527692795, 0.03253081813454628, -0.05850949510931969, 0.0025815831031650305, 0.004202855285257101, 0.0008854733896441758, 0.006580881308764219, -0.04218661040067673, 0.02477170154452324, -0.0011153732193633914, -0.019311582669615746, 0.02283671125769615, 0.0615365095436573, -0.04249314218759537, 0.005048216320574284, 0.0012225400423631072, 0.015604447573423386, 0.015949297696352005, 0.03973434492945671, 0.0340251661837101, 0.00629829615354538, -0.028450097888708115, 0.036381639540195465, -0.05360496789216995, -0.05724504590034485, 0.018152503296732903, -0.013621562160551548, 0.013123446144163609, -0.04594163969159126, -0.03216681256890297, -0.005761863198131323, -0.021706370636820793, -0.009545630775392056, -0.04218661040067673, -0.026400158181786537, 0.002921643201261759, 0.03785683214664459, -0.04686123877763748, -0.010613706894218922, -0.06310749053955078, -0.019886331632733345, -0.04180344566702843, 0.004521362483501434, 0.0029503805562853813, 0.030289296060800552, -0.006983206141740084, 0.026745008304715157, 0.012088896706700325, -0.02325819432735443, 0.02362220361828804, -0.017759758979082108, 0.03155374526977539, 0.03180280327796936, -0.0194935854524374, -0.0005852266913279891, 0.04015582799911499, -0.014818957075476646, -0.052647050470113754, 0.0011878155637532473, 0.030059397220611572, 0.009234308265149593, 0.014445370063185692, 0.018660198897123337, -0.052762001752853394, -0.0011626703198999166, 0.00843923818320036, -0.027147332206368446, 0.0634523406624794, -0.05463951453566551, -0.025978675112128258, 0.016140880063176155, -0.0001954746840056032, 0.028373464941978455, 0.044408973306417465, 0.0014967434108257294, -0.03781851381063461, -0.03331631049513817, -0.05827959626913071, -0.06686252355575562, -0.026476791128516197, -0.05379654839634895, -0.050807852298021317, 0.036956388503313065, -0.012472063302993774, -0.006245610769838095, 0.04513699188828468, -0.03262661024928093, 0.003731081960722804, 0.036515749990940094, -0.0005573872476816177, 0.04939013719558716, -0.015240440145134926, 0.035232141613960266, 0.0097467927262187, 0.044294025748968124, 0.03253081813454628, -0.01684015989303589, 0.03389105945825577, -0.007716011721640825, 0.03760777413845062, 0.043872542679309845, -0.044753823429346085, -0.01626540906727314, 0.016428254544734955, -0.021380679681897163, -0.06655598431825638, 0.04115206003189087, -0.022549336776137352, -0.009454628452658653, -0.029657071456313133, 0.036247532814741135, -0.002871352480724454 ]
16,343
presidio_analyzer.batch_analyzer_engine
analyze_iterator
Analyze an iterable of strings. :param texts: An list containing strings to be analyzed. :param language: Input language :param kwargs: Additional parameters for the `AnalyzerEngine.analyze` method.
def analyze_iterator( self, texts: Iterable[Union[str, bool, float, int]], language: str, **kwargs, ) -> List[List[RecognizerResult]]: """ Analyze an iterable of strings. :param texts: An list containing strings to be analyzed. :param language: Input language :param kwargs: Additional parameters for the `AnalyzerEngine.analyze` method. """ # validate types texts = self._validate_types(texts) # Process the texts as batch for improved performance nlp_artifacts_batch: Iterator[ Tuple[str, NlpArtifacts] ] = self.analyzer_engine.nlp_engine.process_batch( texts=texts, language=language ) list_results = [] for text, nlp_artifacts in nlp_artifacts_batch: results = self.analyzer_engine.analyze( text=str(text), nlp_artifacts=nlp_artifacts, language=language, **kwargs ) list_results.append(results) return list_results
(self, texts: Iterable[Union[str, bool, float, int]], language: str, **kwargs) -> List[List[presidio_analyzer.recognizer_result.RecognizerResult]]
[ 0.009552552364766598, -0.08800816535949707, -0.029666084796190262, -0.011266878806054592, 0.020755259320139885, 0.06560274958610535, -0.0007081907242536545, 0.0034401107113808393, 0.08199427276849747, 0.013485417701303959, 0.03670673817396164, 0.026219099760055542, -0.0006125047220848501, -0.01796833425760269, -0.024312255904078484, -0.018830079585313797, -0.0672895759344101, 0.04140050709247589, -0.02513733133673668, -0.01564895175397396, -0.05170479789376259, -0.022020375356078148, -0.034139834344387054, 0.027172520756721497, 0.0470476970076561, -0.020223543047904968, 0.0599922314286232, -0.035789985209703445, -0.0397503525018692, 0.047084368765354156, -0.034121498465538025, 0.024238916113972664, -0.028859343379735947, -0.003217798424884677, -0.004086420871317387, -0.017115755006670952, -0.06369590759277344, 0.009314197115600109, -0.02024187706410885, -0.0015412888024002314, -0.02640244923532009, 0.013265397399663925, 0.054015010595321655, 0.010249284096062183, -0.0757603645324707, -0.03016113117337227, -0.05031133443117142, -0.03217798471450806, 0.011771092191338539, -0.059258829802274704, -0.03646838292479515, 0.012981204316020012, -0.012990371324121952, 0.0033255168236792088, 0.028712663799524307, 0.07664044201374054, -0.020535238087177277, 0.008539542555809021, -0.022313736379146576, -0.040740445256233215, 0.0010244700824841857, -0.05650857463479042, 0.056801937520504, 0.027190856635570526, 0.012376148253679276, -0.0007511634612455964, -0.01989351212978363, -0.0033644787035882473, -0.008704557083547115, -0.0011986528988927603, -0.014704697765409946, -0.024312255904078484, 0.02308380790054798, 0.024385595694184303, -0.01993018202483654, 0.021030284464359283, -0.03617502376437187, 0.059038810431957245, 0.05870877951383591, -0.013577092438936234, 0.03810020163655281, 0.03325975313782692, 0.007586120627820492, -0.04814780130982399, 0.03204964101314545, -0.04536087438464165, -0.0690130665898323, -0.0076365419663488865, 0.02500898577272892, 0.0003423494636081159, 0.037513479590415955, -0.008049080148339272, 0.02810760773718357, 0.0021727015264332294, -0.07154330611228943, 0.05284157022833824, -0.034084830433130264, -0.05350162833929062, -0.003687633667141199, -0.015089733526110649, 0.03016113117337227, 0.07700714468955994, 0.06193574517965317, -0.03305806592106819, 0.03788018226623535, -0.03479989618062973, -0.03661506250500679, -0.0663728266954422, 0.04510418325662613, 0.002285003662109375, 0.003685341915115714, -0.0020890480373054743, 0.007691546808928251, -0.0014221110614016652, -0.026017414405941963, -0.010808502323925495, -0.027942592278122902, -0.04440745338797569, -0.05628855526447296, 0.0032888466957956553, -0.015419763512909412, 0.0599922314286232, -0.000655477459076792, 0.040997136384248734, 0.011175203137099743, -0.004858783911913633, 0.06754626333713531, -0.02684248983860016, 0.013274564407765865, -0.034084830433130264, 0.025357352569699287, 0.02981276623904705, 0.062265776097774506, -0.003919113427400589, 0.01811501383781433, -0.006994815543293953, 0.030857862904667854, -0.008273684419691563, -0.027520885691046715, -0.042170580476522446, 0.02819928340613842, -0.012128625065088272, -0.006417261902242899, 0.02845597267150879, -0.022808782756328583, -0.0009975404245778918, -0.035753317177295685, -0.032398004084825516, 0.0234321728348732, 0.006110150367021561, 0.013302067294716835, -0.05122808739542961, 0.0017544336151331663, 0.04103380814194679, -0.014448006637394428, 0.003992453683167696, -0.018032506108283997, 0.021341979503631592, -0.02178202010691166, 0.04481082409620285, 0.001607753336429596, -0.035753317177295685, -0.009396704845130444, 0.08940162509679794, 0.00025454183924011886, 0.00394432432949543, -0.03516659513115883, -0.0015768129378557205, -0.04653431847691536, -0.006050561089068651, 0.050604693591594696, -0.05973554030060768, -0.014475509524345398, -0.03500157967209816, -0.04209723696112633, 0.037733498960733414, 0.03357144817709923, 0.07088324427604675, 0.017766648903489113, 0.037531815469264984, -0.03463488072156906, 0.008406613022089005, -0.10406965762376785, -0.045397546142339706, 0.03283804655075073, 0.035624969750642776, -0.0010376482969149947, 0.02015020325779915, -0.02467895671725273, -0.019636821001768112, 0.004631888121366501, -0.032122980803251266, 0.0003967816010117531, 0.02475229650735855, -0.03454320505261421, -0.018940091133117676, -0.012797853909432888, -0.0032705117482692003, -0.000760903931222856, 0.024660620838403702, -0.035459958016872406, 0.006935226731002331, 0.04323400929570198, -0.0040497505106031895, -0.02508232742547989, 0.038906943053007126, -0.0397503525018692, 0.03512992709875107, -0.047524407505989075, -0.06743625551462173, 0.0024500188883394003, -0.030271140858530998, -0.017849156633019447, 0.05463840067386627, 0.0035249104257673025, 0.062119096517562866, 0.04525086283683777, -0.015621448867022991, -0.0014897215878590941, -0.005372165236622095, 0.018655898049473763, -0.02845597267150879, -0.05020132288336754, -0.07495362311601639, 0.07271674275398254, -0.045654233545064926, 0.03138957917690277, 0.023707199841737747, -0.024568945169448853, -0.01324706245213747, -0.011651914566755295, -0.016978241503238678, 0.03492823988199234, 0.014090473763644695, 0.040813785046339035, 0.026934165507555008, 0.04818446934223175, -0.004189555533230305, -0.01804167404770851, 0.01324706245213747, -0.005931383464485407, 0.0035317859146744013, -0.04316066950559616, -0.017216596752405167, -0.06479600816965103, 0.027374206110835075, -0.004388948902487755, 0.013448747806251049, 0.04712103679776192, -0.02018687315285206, 0.0159789826720953, -0.007792389485985041, -0.01081767026335001, -0.04019039496779442, 0.01409964170306921, 0.03821020945906639, 0.03839356079697609, -0.024018894881010056, 0.05808538943529129, -0.016043154522776604, 0.055958524346351624, 0.03292972221970558, -0.02499065175652504, 0.07898733019828796, 0.004329360090196133, 0.03802686184644699, 0.049027882516384125, 0.0012548038503155112, -0.04019039496779442, -0.007645709440112114, -0.013439579866826534, 0.047231048345565796, 0.016419023275375366, -0.005537180230021477, -0.026054084300994873, 0.07315678894519806, -0.014851377345621586, 0.00921335443854332, -0.06736291199922562, 0.028804339468479156, 0.05955219268798828, 0.027099180966615677, -0.03931031376123428, -0.06028559431433678, 0.066739521920681, -0.009680897928774357, -0.00413913419470191, 0.0011728692334145308, -0.04008038341999054, -0.08331439644098282, 0.042207248508930206, -0.004686892963945866, 0.059185490012168884, -0.0699298232793808, 0.02970275469124317, 0.02011353336274624, 0.005046718288213015, -0.016043154522776604, -0.003563872305676341, -0.03854024037718773, -0.024513941258192062, -0.01081767026335001, 0.050861384719610214, -0.0157956313341856, -0.025339016690850258, 0.004549380391836166, -0.017079085111618042, 0.04627762734889984, 0.015676453709602356, -0.033974818885326385, -0.01651986502110958, -0.015639783814549446, 0.027520885691046715, -0.032343000173568726, -0.0393836535513401, -0.022735442966222763, 0.029666084796190262, 0.018729237839579582, -0.025870732963085175, -0.00018822058336809278, 0.005376748740673065, 0.02150699496269226, 0.04448079317808151, -0.006302667781710625, 0.010606816969811916, -0.010047598741948605, 0.03353477641940117, 0.0026883743703365326, 0.047634419053792953, -0.017638303339481354, 0.03850357234477997, -0.03949366509914398, 0.032361336052417755, -0.03791685029864311, 0.007288176100701094, -0.0015733750769868493, 0.022478751838207245, 0.01974683254957199, 0.029427729547023773, -0.057131968438625336, -0.04290397837758064, -0.01329289935529232, -0.003793060313910246, 0.06006557121872902, 0.020663583651185036, 0.05636189505457878, -0.012834523804485798, -0.04877119138836861, 0.06134902313351631, 0.014631357043981552, 0.0035386616364121437, -0.02473396062850952, 0.011981944553554058, -0.03137124329805374, 0.007769470568746328, -0.010799335315823555, -0.020645247772336006, 0.022277066484093666, -0.011028522625565529, -0.06090898439288139, -0.02147032506763935, -0.01488804817199707, 0.04994463175535202, 0.035863328725099564, -0.027044175192713737, -0.06479600816965103, -0.0020374807063490152, 0.018573390319943428, 0.004780860152095556, 0.008218678645789623, 0.011587741784751415, 0.0020088322926312685, -0.03612001612782478, 0.0020684211049228907, 0.017940830439329147, -0.020351888611912727, 0.0062384954653680325, 0.005532596725970507, -0.001669634017162025, 0.11367721110582352, -0.060615621507167816, 0.026219099760055542, 0.02489897608757019, 0.01095518283545971, 0.0596255324780941, -0.01590564288198948, 0.0010794751578941941, 0.0003220090293325484, -0.024458935484290123, 0.05276822671294212, -0.006971896626055241, -0.020718589425086975, -0.05658191442489624, -0.014053803868591785, -0.013228727504611015, -0.011092695407569408, -0.02341383881866932, 0.02002185769379139, -0.05328160896897316, -0.016336515545845032, -0.04004371538758278, -0.03522159904241562, -0.005037550814449787, 0.014686362817883492, -0.015969814732670784, 0.07282675802707672, 0.001645569340325892, -0.02180035598576069, -0.024568945169448853, 0.05375831946730614, 0.04833114892244339, -0.01651986502110958, 0.04873451963067055, -0.0022403120528906584, -0.09834912419319153, 0.06853635609149933, 0.002754838904365897, 0.021176964044570923, 0.008232430554926395, 0.05119141563773155, 0.04033707454800606, -0.00990091823041439, 0.05115474388003349, 0.0215620007365942, 0.032636359333992004, -0.003625753102824092, 0.010900177992880344, -0.08859488368034363, -0.031004542484879494, -0.11668416112661362, -0.008310354314744473, -0.02990444004535675, -0.043784063309431076, -0.013641265220940113, 0.025834063068032265, 0.005055885761976242, -0.08881490677595139, -0.007787805981934071, -0.0009826432215049863, -0.05258487910032272, -0.004340819548815489, -0.011963609606027603, 0.0371101088821888, 0.029079364612698555, 0.03850357234477997, -0.031169557943940163, -0.023688863962888718, 0.007572369184345007, -0.054198361933231354, 0.0006520396564155817, -0.002621909836307168, 0.040813785046339035, 0.05841542035341263, 0.009158349595963955, 0.05126475542783737, 0.00868622213602066, 0.04946792125701904, 0.02326715923845768, -0.02477063052356243, 0.07832726836204529, 0.03656005859375, -0.000825649534817785, -0.03182961791753769, -0.031096218153834343, 0.015007225796580315, 0.0215620007365942, -0.054198361933231354, 0.03523993492126465, 0.006623531226068735, -0.0002246041694888845, 0.017115755006670952, -0.022625431418418884, 0.0198751762509346, 0.01068932469934225, -0.029079364612698555, -0.0016260884003713727, -0.013302067294716835, 0.0012078203726559877, -0.035789985209703445, 0.028786003589630127, 0.022588761523365974, 0.006353089585900307, 0.0267141442745924, 0.0035386616364121437, -0.01817001961171627, 0.0003380521957296878, 0.049101222306489944, -0.027924256399273872, 0.01002926379442215, 0.02352384850382805, 0.017894992604851723, -0.018380871042609215, 0.05834208056330681, -0.019288456067442894, -0.01583230122923851, -0.018738405779004097, 0.010276786983013153, 0.037513479590415955, -0.0009751946199685335, 0.004485207609832287, 0.0016444233478978276, 0.011486899107694626, 0.06127568334341049, -0.004258311819285154, 0.08001408725976944, 0.030601171776652336, 0.030362816527485847, -0.03635837137699127, -0.04642430692911148, 0.020681917667388916, -0.060652293264865875, -0.029519405215978622, 0.004909205250442028, -0.012862026691436768, 0.025650713592767715, -0.032434675842523575, -0.0018163142958655953, -0.024147240445017815, -0.04796444997191429, 0.020223543047904968, -0.02649412490427494, -0.010597649961709976, -0.05350162833929062, -0.00796198844909668, 0.019618486985564232, -0.025265676900744438, -0.008016993291676044, -0.006293500307947397, 0.040813785046339035, -0.011917772702872753, -0.00289235170930624, -0.0037243037950247526, -0.04514085501432419, -0.029024358838796616, 0.017748313024640083, 0.009845913387835026, 0.03802686184644699, -0.02015020325779915, 0.04675433784723282, 0.10582982003688812, 0.0032200904097408056, 0.015914808958768845, -0.045654233545064926, -0.02180035598576069, 0.027227526530623436, 0.0012009447673335671, -0.01260533556342125, -0.02645745500922203, 0.03208630904555321, 0.02480730041861534, -0.01644652523100376, -0.04506751522421837, -0.07014983892440796, 0.06090898439288139, 0.04301398992538452, 0.060578953474760056, 0.016098160296678543, -0.016400687396526337, -0.03291138634085655, 0.01996685191988945, 0.02170868031680584, -0.009690065868198872, -0.10736995935440063, -0.012898696586489677, 0.034414857625961304, 0.03135290741920471, 0.016602372750639915, -0.01006593368947506, -0.027704237028956413, -0.033956483006477356, 0.0033576032146811485, 0.0011883394327014685, -0.009433374740183353, -0.014613022096455097, 0.011954442597925663, 0.05196148529648781, 0.008993334136903286, -0.0361933559179306, 0.0020787345711141825, 0.00208790204487741, -0.005706779193133116, 0.0010909345000982285, 0.011156868189573288, 0.009735902771353722, 0.06046894192695618, 0.0003285981947556138, 0.029372725635766983, 0.01246782299131155, -0.08206761628389359, 0.03670673817396164, 0.030344482511281967, -0.005743449553847313, 0.01811501383781433, 0.04356404021382332, -0.047267716377973557, -0.04440745338797569, -0.017748313024640083, -0.06659284234046936, -0.05984555184841156, -0.06791296601295471, -0.05020132288336754, 0.02471562661230564, -0.02995944581925869, 0.004489791579544544, 0.049027882516384125, -0.007847394794225693, -0.03527660667896271, 0.0068939728662371635, 0.024092234671115875, 0.03676174208521843, -0.042683959007263184, 0.02478896640241146, 0.03505658358335495, -0.03942032530903816, 0.05771868675947189, 0.00825076550245285, -0.0028556815814226866, 0.07825392484664917, 0.05504177138209343, 0.002823595190420747, 0.007829059846699238, -0.025522368028759956, -0.03624836355447769, 0.017033247277140617, 0.021983705461025238, 0.03716511279344559, -0.0361933559179306, -0.05922216176986694, -0.004363738000392914, -0.010515142232179642, -0.0070819067768752575, -0.00671062245965004, 0.06567609310150146, -0.0013441871851682663, 0.013439579866826534, -0.008553293533623219, 0.013366240076720715, 0.01240365020930767, -0.015318920835852623, -0.07957404851913452, -0.03357144817709923, 0.005775535944849253, 0.0016226505395025015, -0.017564963549375534, 0.02687915973365307, -0.005353829823434353, -0.03986036404967308, 0.025724053382873535, 0.04627762734889984, 0.022533757612109184, 0.04946792125701904, 0.06439264118671417, -0.006939810235053301, 0.017784982919692993, -0.042317260056734085, 0.07568702101707458, 0.01239448320120573, -0.02161700464785099, 0.007146079558879137, 0.002322819549590349, -0.013164554722607136, 0.04536087438464165, 0.03978702425956726, 0.013430412858724594, 0.019435135647654533, 0.03164627030491829, -0.004198723006993532, 0.023798873648047447, 0.03683508560061455, 0.016474029049277306, -0.035624969750642776, 0.045764245092868805, 0.05111807584762573, 0.0058122058399021626, 0.03538661450147629, 0.08610132336616516, 0.0031582096125930548, -0.06820632517337799, -0.02172701619565487, -0.004668558016419411, -0.11917772144079208, 0.0009121679468080401, -0.03181128576397896, 0.015988150611519814, -0.07249672710895538, -0.020425228402018547, -0.0003337549278512597, 0.014613022096455097, 0.07664044201374054, -0.05152144655585289, -0.034121498465538025, 0.0498712919652462, 0.0635492280125618, -0.06362257152795792, 0.04946792125701904, 0.042390599846839905, 0.007554034236818552, -0.09424207359552383, 0.010982685722410679, -0.011001020669937134, 0.014356331899762154, 0.01761079952120781, -0.02636577934026718, 0.0015114943962544203, 0.0055646831169724464, -0.010909345000982285, -0.08566127717494965, 0.030216136947274208, 0.017326606437563896, -0.01583230122923851, 0.00496421055868268, -0.016978241503238678, -0.020828599110245705, 0.014851377345621586, 0.02500898577272892, -0.047451067715883255, 0.09519549459218979, 0.024275586009025574, 0.021085290238261223, -0.012091955170035362, 0.02473396062850952, 0.00796198844909668, 0.034121498465538025, 0.024513941258192062, -0.07249672710895538, -0.022753776982426643, -0.027979262173175812, 0.015300585888326168, 0.08155423402786255, 0.013100381940603256, 0.005152144469320774, -0.039236973971128464, -0.012091955170035362, -0.040593765676021576, -0.10289621353149414, -0.0564352348446846, 0.03511159121990204, -0.042390599846839905, 0.0030986208003014326, -0.02984943613409996, 0.04998130351305008, -0.04807446151971817, -0.028859343379735947, -0.03788018226623535, -0.02502732165157795, -0.0036234611179679632, 0.013806280680000782, 0.0026723311748355627, -0.012880361638963223, -0.011001020669937134, 0.012220300734043121, -0.001310954918153584, -0.0012914739781990647, 0.023707199841737747, 0.04657098650932312, 0.08683472126722336, 0.035441622138023376, -0.10216280817985535, -0.06604279577732086, 0.016208169981837273, -0.01332040224224329, 0.006417261902242899, 0.01974683254957199, -0.037550151348114014, -0.014759702607989311, -0.02818094752728939, 0.05104473605751991, 0.03802686184644699 ]
16,344
presidio_analyzer.context_aware_enhancers.context_aware_enhancer
ContextAwareEnhancer
A class representing an abstract context aware enhancer. Context words might enhance confidence score of a recognized entity, ContextAwareEnhancer is an abstract class to be inherited by a context aware enhancer logic. :param context_similarity_factor: How much to enhance confidence of match entity :param min_score_with_context_similarity: Minimum confidence score :param context_prefix_count: how many words before the entity to match context :param context_suffix_count: how many words after the entity to match context
class ContextAwareEnhancer: """ A class representing an abstract context aware enhancer. Context words might enhance confidence score of a recognized entity, ContextAwareEnhancer is an abstract class to be inherited by a context aware enhancer logic. :param context_similarity_factor: How much to enhance confidence of match entity :param min_score_with_context_similarity: Minimum confidence score :param context_prefix_count: how many words before the entity to match context :param context_suffix_count: how many words after the entity to match context """ MIN_SCORE = 0 MAX_SCORE = 1.0 def __init__( self, context_similarity_factor: float, min_score_with_context_similarity: float, context_prefix_count: int, context_suffix_count: int, ): self.context_similarity_factor = context_similarity_factor self.min_score_with_context_similarity = min_score_with_context_similarity self.context_prefix_count = context_prefix_count self.context_suffix_count = context_suffix_count @abstractmethod def enhance_using_context( self, text: str, raw_results: List[RecognizerResult], nlp_artifacts: NlpArtifacts, recognizers: List[EntityRecognizer], context: Optional[List[str]] = None, ) -> List[RecognizerResult]: """ Update results in case surrounding words are relevant to the context words. Using the surrounding words of the actual word matches, look for specific strings that if found contribute to the score of the result, improving the confidence that the match is indeed of that PII entity type :param text: The actual text that was analyzed :param raw_results: Recognizer results which didn't take context into consideration :param nlp_artifacts: The nlp artifacts contains elements such as lemmatized tokens for better accuracy of the context enhancement process :param recognizers: the list of recognizers :param context: list of context words """ return raw_results
(context_similarity_factor: float, min_score_with_context_similarity: float, context_prefix_count: int, context_suffix_count: int)
[ 0.0037720417603850365, -0.092921681702137, -0.04031844064593315, 0.04063984379172325, 0.04524664580821991, -0.055424463003873825, 0.009633214212954044, -0.05813854560256004, 0.07163754850625992, -0.006544157397001982, -0.004218437243252993, -0.010454582050442696, -0.004629121161997318, 0.04238971322774887, -0.05024627596139908, -0.012391937896609306, 0.0034573329612612724, 0.010900977067649364, 0.028247905895113945, -0.04856782779097557, 0.005334425717592239, 0.016266651451587677, -0.016909459605813026, -0.03619374334812164, -0.021284136921167374, 0.0009045088081620634, 0.01989138312637806, -0.022534042596817017, -0.0021772938780486584, -0.02599807269871235, -0.030176334083080292, -0.026801584288477898, 0.0056424387730658054, 0.0008966969326138496, -0.007383381016552448, -0.06713788211345673, -0.0233911219984293, 0.07385166734457016, -0.001620415598154068, -0.006075442302972078, -0.07613721489906311, -0.00008300165791297331, 0.008526153862476349, -0.017712973058223724, -0.02726583555340767, 0.0261587742716074, 0.004537609871476889, 0.050353407859802246, 0.036890123039484024, -0.041568346321582794, -0.014043601229786873, -0.09984973818063736, 0.014472140930593014, 0.021605540066957474, 0.01208838913589716, 0.0572100430727005, -0.018570052459836006, 0.02726583555340767, 0.023105429485440254, -0.017989737913012505, 0.04167548194527626, -0.000029887571145081893, 0.048782095313072205, 0.007901200093328953, -0.009061828255653381, 0.0021025226451456547, -0.030533449724316597, 0.057959988713264465, 0.01710587367415428, 0.029444245621562004, -0.008468122221529484, -0.08856486529111862, -0.004392531234771013, 0.014365006238222122, 0.011124175041913986, 0.03010491095483303, -0.023480402305722237, 0.012231236323714256, 0.11856263875961304, -0.004303252324461937, -0.008727031759917736, -0.01418644841760397, 0.017293360084295273, -0.0500677153468132, 0.04224686697125435, -0.03731866180896759, -0.03971134126186371, -0.0500677153468132, 0.04506808519363403, -0.027283690869808197, -0.056138694286346436, 0.06038837879896164, 0.004879102576524019, 0.03781862556934357, 0.027783654630184174, 0.03565806895494461, -0.003809985239058733, -0.060674071311950684, 0.01049922127276659, 0.015016743913292885, 0.0004279816639609635, 0.11234880983829498, 0.016980884596705437, 0.025319552049040794, 0.03389034420251846, -0.0032988626044243574, -0.03938993811607361, 0.021659107878804207, 0.048532117158174515, 0.027372971177101135, -0.0669236108660698, -0.0451752208173275, -0.010954544879496098, -0.011142031289637089, -0.05246039479970932, -0.029890641570091248, -0.020784173160791397, -0.0007895620074123144, 0.005928131751716137, 0.010642068460583687, -0.00311137642711401, -0.03639015927910805, -0.036479439586400986, -0.022534042596817017, -0.018105801194906235, -0.01758798211812973, -0.0072583905421197414, 0.021926945075392723, -0.009151107631623745, -0.08313669264316559, -0.03235474228858948, 0.007767281029373407, -0.008294028230011463, 0.01876646652817726, 0.0584956631064415, 0.016588056460022926, -0.006039730738848448, 0.036818698048591614, -0.016454137861728668, 0.03183692321181297, 0.012418721802532673, -0.02906927280128002, 0.039568495005369186, 0.0025980216450989246, -0.04406816139817238, -0.024426760151982307, -0.005013021174818277, -0.01578454300761223, -0.010249240323901176, -0.0028859467711299658, 0.024533895775675774, -0.0007850980618968606, 0.024926723912358284, -0.04967488721013069, 0.006945913657546043, -0.003439477179199457, 0.009030580520629883, -0.04471097141504288, 0.00337698170915246, -0.015007815323770046, 0.008093150332570076, -0.06599510461091995, -0.007807456888258457, 0.023587536066770554, 0.023105429485440254, 0.019034303724765778, -0.006088834255933762, -0.045353781431913376, -0.029265686869621277, 0.010731346905231476, -0.01735585555434227, -0.034604575484991074, 0.03271185979247093, 0.01627557910978794, 0.005995091050863266, 0.12277661263942719, -0.009606430307030678, 0.01290975697338581, -0.00397515157237649, 0.061138324439525604, 0.020962731912732124, -0.030319180339574814, -0.10784914344549179, -0.04506808519363403, 0.024105355143547058, 0.031086981296539307, 0.028622876852750778, 0.04628228396177292, 0.002591325668618083, 0.0278015099465847, -0.007512835785746574, -0.05681721493601799, 0.022909015417099, -0.0031872636172920465, -0.01643628068268299, 0.04867496341466904, -0.03978276625275612, -0.022462619468569756, -0.005048732738941908, 0.05588871240615845, -0.05246039479970932, 0.025730235502123833, 0.043068233877420425, 0.04071126878261566, 0.002785507822409272, 0.06610224395990372, -0.016213083639740944, 0.02939067780971527, -0.09006474912166595, -0.07920841127634048, -0.0038233771920204163, -0.02337326668202877, 0.011668778024613857, 0.026765871793031693, 0.06653077900409698, -0.017596909776329994, 0.05088908225297928, 0.037604354321956635, -0.019909238442778587, 0.012365154922008514, -0.011436652392148972, -0.007941375486552715, -0.02590879239141941, 0.0052094352431595325, 0.044175297021865845, -0.0005186557536944747, 0.05267466604709625, -0.0037519538309425116, 0.030140621587634087, -0.02655160240828991, -0.01799866557121277, -0.03596162050962448, 0.004352355841547251, 0.03619374334812164, 0.03892568498849869, -0.022248350083827972, 0.043782468885183334, 0.032372601330280304, -0.06188826635479927, 0.0045844814740121365, -0.009177890606224537, 0.021498406305909157, -0.012329443357884884, 0.0005786401452496648, -0.052103281021118164, -0.026283765211701393, 0.06645935773849487, 0.0073967729695141315, 0.061209745705127716, 0.009021652862429619, 0.01639164239168167, -0.05728146806359291, -0.0529603585600853, -0.015159590169787407, -0.02869430184364319, -0.032676149159669876, -0.050674814730882645, 0.00842348299920559, -0.009606430307030678, -0.02922997623682022, -0.013463287614285946, 0.049639176577329636, -0.07356597483158112, 0.09899266064167023, -0.021177001297473907, 0.014150736853480339, 0.03547951206564903, -0.010883121751248837, -0.015391715802252293, -0.015150662511587143, -0.008856486529111862, 0.027444394305348396, 0.009909979067742825, 0.005919204093515873, -0.04317536950111389, 0.03710439056158066, -0.054317399859428406, 0.03985418751835823, -0.03605089709162712, 0.013856115750968456, 0.03135481849312782, -0.007910127751529217, -0.030783431604504585, -0.011909831315279007, 0.04296110197901726, -0.008213676512241364, -0.0016985348192974925, 0.007597650866955519, 0.0359080508351326, -0.028265761211514473, -0.02003422938287258, 0.03892568498849869, 0.07649432867765427, 0.021569829434156418, 0.03881854936480522, 0.013124027289450169, -0.04992486909031868, 0.0007097687921486795, 0.004037647042423487, -0.0435681976377964, 0.023426834493875504, 0.032497588545084, -0.004517522174865007, -0.029658515006303787, -0.00904843583703041, -0.015284581109881401, 0.05517448112368584, -0.037675779312849045, -0.0003618593327701092, -0.023801807314157486, 0.0032966304570436478, 0.006785211153328419, -0.04771074652671814, 0.0012208916014060378, -0.008262780494987965, -0.044568125158548355, 0.04142550006508827, -0.017489774152636528, 0.02581951394677162, 0.06520944833755493, -0.027372971177101135, 0.03183692321181297, 0.007419092580676079, 0.0032586869783699512, 0.043461062014102936, -0.03256901353597641, 0.0454966276884079, 0.0004977309727109969, 0.043853890150785446, -0.06878061592578888, -0.06342387199401855, -0.02346254512667656, -0.012865117751061916, -0.019855670630931854, -0.08535081148147583, -0.05031769722700119, 0.04278254136443138, -0.01347221527248621, 0.019373564049601555, -0.035229530185461044, 0.005820997059345245, -0.016168443486094475, -0.052496109157800674, 0.043711043894290924, 0.024123210459947586, -0.0402827262878418, 0.01830221526324749, -0.020730605348944664, 0.06606653332710266, -0.007820848375558853, -0.014507852494716644, -0.10770630091428757, 0.06213824823498726, 0.0025355261750519276, 0.018132584169507027, -0.014981032349169254, -0.04049699753522873, -0.030069198459386826, -0.010775987058877945, -0.05024627596139908, -0.006673612166196108, -0.03774720057845116, -0.003602411365136504, 0.05267466604709625, -0.04849640280008316, 0.029426390305161476, 0.0125972805544734, -0.03440816327929497, 0.010918833315372467, -0.023016151040792465, -0.013856115750968456, -0.043853890150785446, -0.03651515021920204, 0.029301399365067482, 0.034836702048778534, -0.04903207719326019, -0.024605318903923035, 0.01473997812718153, -0.0031671759206801653, 0.08492227643728256, 0.04121122881770134, 0.04399673640727997, -0.0092671699821949, -0.009927835315465927, -0.023034006357192993, -0.033318959176540375, 0.031194115057587624, 0.016659479588270187, 0.021194856613874435, 0.00788334384560585, -0.03106912411749363, -0.0027319402433931828, -0.032497588545084, -0.03978276625275612, -0.0584956631064415, -0.027301546186208725, -0.053210340440273285, -0.02123056910932064, -0.047425054013729095, -0.02717655710875988, 0.02487315610051155, 0.027605095878243446, 0.06413809955120087, -0.021587684750556946, -0.007410164922475815, 0.0396399162709713, 0.03749721869826317, 0.0799226462841034, -0.0009575182921253145, 0.07081617414951324, -0.06278105825185776, 0.034604575484991074, -0.007865488529205322, 0.0011784840608015656, -0.052174702286720276, -0.08042261004447937, 0.0261587742716074, 0.002562310080975294, -0.007544083520770073, 0.05635296553373337, 0.026890862733125687, 0.01731121726334095, 0.0519961453974247, 0.016311289742588997, -0.026087351143360138, -0.006303104106336832, -0.028480030596256256, -0.03814002871513367, -0.004638048820197582, -0.051460471004247665, -0.05267466604709625, 0.007932447828352451, -0.06913772970438004, -0.02805149182677269, -0.018480772152543068, -0.05221041291952133, -0.016936244443058968, 0.014061457477509975, -0.0007371105020865798, -0.008124397136271, -0.024355337023735046, 0.014293583109974861, 0.05674579367041588, 0.06278105825185776, 0.06053122505545616, -0.04635370522737503, -0.046068012714385986, 0.014650699682533741, -0.0432467944920063, -0.019694969058036804, 0.05317462980747223, 0.033158253878355026, 0.01876646652817726, 0.073494553565979, -0.030765576288104057, 0.02251618728041649, 0.02796221151947975, -0.017346927896142006, -0.0024864228907972574, 0.03849714621901512, -0.011231309734284878, 0.007588723208755255, -0.0043322681449353695, -0.01199911069124937, 0.009758205153048038, 0.03287256136536598, 0.006758427247405052, -0.03081914409995079, -0.04413958266377449, -0.00724946241825819, 0.07856560498476028, -0.009526079520583153, 0.06938771158456802, -0.02685515210032463, -0.007450340315699577, 0.04953204095363617, -0.0010852989507839084, -0.029301399365067482, 0.06585226207971573, 0.019302140921354294, 0.0819224938750267, 0.0039059603586792946, 0.03565806895494461, -0.04428243264555931, -0.005682614166289568, -0.02922997623682022, 0.014570347964763641, -0.03326538950204849, -0.0020813189912587404, 0.030961990356445312, -0.047675035893917084, 0.04938919469714165, 0.06278105825185776, -0.003970687743276358, -0.024391047656536102, -0.00693252170458436, 0.011686633341014385, -0.0013023588107898831, 0.023730384185910225, -0.029819216579198837, -0.003988543525338173, -0.02724798023700714, -0.014981032349169254, -0.03860428184270859, 0.07785136997699738, -0.01940927468240261, -0.048067864030599594, 0.015579202212393284, -0.01715051382780075, 0.0399613231420517, -0.023426834493875504, -0.03892568498849869, 0.11234880983829498, -0.06703074276447296, 0.016230938956141472, -0.026730161160230637, -0.015498850494623184, 0.05635296553373337, -0.0030064734164625406, -0.04699651524424553, 0.0075797950848937035, 0.01687374897301197, 0.024373192340135574, -0.009642141871154308, 0.043782468885183334, -0.018909312784671783, -0.004834462888538837, 0.0065932609140872955, 0.045675184577703476, 0.011659849435091019, 0.003952831961214542, -0.022784024477005005, 0.019034303724765778, 0.02869430184364319, 0.006758427247405052, 0.04106838256120682, -0.016820181161165237, -0.041961174458265305, 0.04271112009882927, 0.03156908601522446, 0.023105429485440254, -0.008923445828258991, -0.03471171110868454, 0.006012946832925081, 0.019302140921354294, 0.011356300674378872, -0.003910424187779427, -0.013677556999027729, -0.06313817203044891, -0.027283690869808197, 0.0020188235212117434, -0.014311438426375389, -0.029051417484879494, 0.04653226211667061, 0.05346032232046127, -0.021052010357379913, 0.03853285685181618, 0.004211741499602795, -0.010731346905231476, 0.06492375582456589, -0.011052751913666725, -0.0034551010467112064, 0.04724649712443352, -0.04692509025335312, 0.052246127277612686, 0.05113906413316727, 0.0015947477659210563, 0.06110261380672455, -0.03796147182583809, -0.04699651524424553, 0.049496330320835114, -0.025248127058148384, 0.0017476382199674845, 0.026408756151795387, -0.08299384266138077, 0.07406593859195709, -0.018043305724859238, -0.03464028984308243, 0.03356894105672836, -0.04899636656045914, -0.012329443357884884, 0.0016505472594872117, 0.006785211153328419, -0.034836702048778534, 0.03455100953578949, -0.024123210459947586, 0.0196592565625906, 0.05696006119251251, 0.010570644401013851, 0.012249091640114784, -0.06063836067914963, -0.0141418082639575, 0.029569236561655998, -0.0147042665630579, 0.0435681976377964, 0.0030555769335478544, -0.0529603585600853, -0.014293583109974861, 0.023248275741934776, -0.03810431808233261, -0.03596162050962448, -0.005981699097901583, 0.005222827196121216, 0.017623692750930786, 0.02639090083539486, -0.0185343399643898, -0.04263969510793686, -0.006316496059298515, -0.005329961888492107, 0.022373341023921967, -0.023176852613687515, -0.01157057099044323, 0.040925536304712296, -0.017945097759366035, -0.0071512553840875626, -0.004258612636476755, -0.046317994594573975, 0.05738860368728638, 0.05303178355097771, -0.0073387413285672665, 0.023176852613687515, -0.005847780499607325, -0.01892716810107231, 0.008526153862476349, -0.022801879793405533, -0.011918758973479271, 0.005874564405530691, -0.09306452423334122, -0.05299606919288635, -0.02067703753709793, 0.018659330904483795, 0.010061753913760185, 0.028890714049339294, -0.0370686799287796, 0.023355411365628242, 0.056710079312324524, 0.03051559440791607, 0.014989960007369518, -0.009463584050536156, 0.016561271622776985, -0.056138694286346436, 0.020641326904296875, -0.023176852613687515, -0.0032564550638198853, -0.052424684166908264, 0.006923593580722809, -0.03296184167265892, -0.006695932243019342, 0.04617514833807945, 0.047675035893917084, 0.02083774097263813, 0.021980512887239456, -0.0012677630875259638, 0.0029796897433698177, -0.01124916598200798, 0.06681647151708603, 0.0020121275447309017, 0.0017186225159093738, 0.01149021927267313, 0.012927613221108913, -0.026033783331513405, 0.046068012714385986, 0.07420878112316132, 0.019837815314531326, 0.0026761407498270273, 0.0048299990594387054, 0.027194412425160408, -0.04856782779097557, 0.08492227643728256, 0.04003274440765381, 0.03271185979247093, 0.00106632721144706, -0.003443941008299589, 0.020427057519555092, -0.012061605229973793, -0.006798603106290102, 0.007932447828352451, -0.014088241383433342, -0.002473030937835574, -0.03208690509200096, 0.04178261756896973, 0.019873525947332382, -0.00685663428157568, -0.017525486648082733, 0.006066514644771814, -0.01100811269134283, -0.02060561440885067, 0.011561642400920391, -0.031890492886304855, -0.09656427055597305, -0.04185403883457184, 0.01611487567424774, 0.016257723793387413, -0.029533524066209793, 0.026355188339948654, -0.05453167110681534, -0.0718161016702652, -0.10127820819616318, 0.03337252512574196, -0.05053196847438812, 0.008271708153188229, 0.01973067969083786, 0.003957295790314674, -0.049317773431539536, 0.010561716742813587, 0.04538949206471443, -0.048532117158174515, -0.04288967698812485, 0.03849714621901512, -0.03144409880042076, 0.030694153159856796, 0.014338222332298756, 0.050674814730882645, -0.018195079639554024, 0.05292464792728424, 0.0263194777071476, 0.02599807269871235, 0.01738264039158821, 0.0018168295500800014, -0.011704489588737488, 0.03605089709162712, 0.012302659451961517, 0.037997182458639145, -0.015257797203958035, -0.02869430184364319, -0.014606059528887272, 0.03921137750148773, -0.03572949394583702, 0.06831636279821396, -0.03447958454489708, -0.004861246794462204, -0.031729791313409805, -0.059638433158397675, -0.05421026423573494, -0.02003422938287258, -0.03201548382639885, -0.010597428306937218, -0.06581655144691467, -0.028105059638619423, 0.00016670080367475748, 0.011865192092955112, 0.012400866486132145, -0.03487241268157959, 0.023676816374063492, 0.025248127058148384, 0.02012350782752037, 0.02671230584383011, 0.012713342905044556, 0.0355866476893425, -0.01524886954575777, 0.04224686697125435, 0.05228183791041374, 0.02360539324581623, -0.003156015882268548, 0.05578157678246498, -0.018266502767801285, 0.042746830731630325, -0.02528383955359459, -0.008249388076364994, -0.059067048132419586, -0.017088018357753754, -0.058531373739242554, 0.026587314903736115, 0.003934976179152727, 0.008039582520723343, 0.03496169298887253, 0.04617514833807945, 0.07599436491727829 ]
16,345
presidio_analyzer.context_aware_enhancers.context_aware_enhancer
__init__
null
def __init__( self, context_similarity_factor: float, min_score_with_context_similarity: float, context_prefix_count: int, context_suffix_count: int, ): self.context_similarity_factor = context_similarity_factor self.min_score_with_context_similarity = min_score_with_context_similarity self.context_prefix_count = context_prefix_count self.context_suffix_count = context_suffix_count
(self, context_similarity_factor: float, min_score_with_context_similarity: float, context_prefix_count: int, context_suffix_count: int)
[ 0.023282106965780258, -0.0312175452709198, 0.014614583924412727, -0.011975462548434734, 0.003664943389594555, -0.014894763939082623, -0.03589927405118942, -0.015644924715161324, 0.04161134362220764, -0.00731632998213172, -0.030458346009254456, 0.049817923456430435, 0.006213683634996414, 0.04775724187493324, -0.0024741757661104202, -0.018193665891885757, 0.03474240005016327, -0.014976106584072113, 0.020624909549951553, 0.013828270137310028, 0.008220138028264046, 0.06131437048316002, -0.033314380794763565, 0.07013554126024246, 0.00027481428696773946, 0.03282632678747177, 0.009860550984740257, -0.03054872713983059, 0.05744607001543045, -0.0004278968262951821, -0.01071013044565916, 0.01917881704866886, -0.01901613175868988, 0.016322782263159752, -0.009887665510177612, -0.09811744838953018, 0.020154930651187897, 0.035664282739162445, -0.06431501358747482, -0.0038908955175429583, 0.00855906680226326, -0.024041306227445602, -0.06022980064153671, 0.00010280821879860014, 0.0015127494698390365, 0.07270235568284988, 0.016377009451389313, -0.0048444136045873165, 0.03188636526465416, -0.02763846330344677, -0.029193013906478882, -0.05184245482087135, -0.0030232395511120558, 0.0033508699852973223, -0.06525497138500214, 0.10534791648387909, 0.0059425407089293, 0.0463111475110054, -0.010077465325593948, 0.008107162080705166, -0.008319557644426823, 0.026716578751802444, 0.044720444828271866, -0.02243252657353878, -0.03591734915971756, -0.03262748569250107, -0.03533891215920448, 0.039514508098363876, -0.021727556362748146, 0.02545124851167202, 0.0005123464507050812, -0.044395074248313904, -0.013231756165623665, 0.0028018064331263304, 0.0037191719748079777, 0.05184245482087135, -0.05867524817585945, 0.0573737658560276, 0.022812126204371452, -0.014858611859381199, 0.006037440616637468, -0.0021273393649607897, 0.012427367269992828, -0.07599221915006638, 0.039622966200113297, -0.00794899556785822, 0.015735305845737457, 0.005224013235419989, 0.03904452919960022, 0.02646351233124733, -0.09840667247772217, 0.05802450701594353, 0.008644928224384785, 0.019883787259459496, 0.01707294210791588, 0.030910251662135124, -0.010032274760305882, -0.037670738995075226, 0.0128069669008255, 0.023137498646974564, 0.0024063901510089636, 0.012969652190804482, -0.015202059410512447, 0.026192370802164078, -0.010393797419965267, -0.029771452769637108, -0.02601160854101181, -0.07447382062673569, 0.014171717688441277, 0.015961257740855217, -0.036441560834646225, 0.002243704628199339, 0.022179460152983665, 0.07129241526126862, -0.05162554234266281, -0.01728985644876957, -0.009580370038747787, -0.0034028389491140842, 0.020968357101082802, -0.0007349093211814761, 0.013349251821637154, 0.0015997410519048572, -0.01600644923746586, 0.039586812257766724, -0.01507552620023489, -0.003558746073395014, 0.03864685073494911, 0.010918007232248783, -0.021167194470763206, -0.01683795265853405, 0.04038216546177864, -0.04974561929702759, 0.027276940643787384, 0.02523433417081833, -0.0007021462079137564, -0.03698384389281273, 0.032645564526319504, 0.050143297761678696, 0.006050997879356146, 0.04490120708942413, 0.04168364778161049, 0.031091012060642242, 0.0017364420928061008, -0.055746909230947495, -0.03598965331912041, 0.02959069050848484, 0.0037643625400960445, -0.013222718611359596, -0.019594568759202957, -0.00018725782865658402, 0.004781146999448538, 0.010222074575722218, 0.06608647853136063, -0.02668042667210102, -0.003997093066573143, -0.03457971289753914, 0.032699793577194214, -0.11951963603496552, 0.05516847223043442, 0.0029396372847259045, 0.036387331783771515, -0.04641960561275482, -0.027005799114704132, -0.02154679410159588, -0.006837311200797558, 0.008622333407402039, -0.027222711592912674, -0.05520462244749069, -0.05365007370710373, -0.027421550825238228, 0.005395737010985613, -0.05589151754975319, -0.006534535437822342, 0.0088979946449399, 0.003538410412147641, 0.03626079857349396, 0.005309875123202801, 0.0014381853397935629, 0.015120716765522957, 0.006502902135252953, 0.010167845524847507, -0.025704313069581985, -0.015762420371174812, -0.024131687358021736, 0.023065192624926567, 0.038285329937934875, 0.013285985216498375, 0.0692678838968277, 0.05726530775427818, 0.01082762610167265, 0.03609811142086983, -0.0662672370672226, -0.05162554234266281, 0.03414588421583176, -0.0070045157335698605, 0.03983987867832184, 0.022089079022407532, -0.0631219893693924, -0.009020009078085423, 0.02657197043299675, -0.057590678334236145, 0.026933493092656136, 0.01856422610580921, -0.012029691599309444, 0.02584892325103283, 0.05878370627760887, -0.019142664968967438, 0.075413778424263, -0.06521882116794586, -0.0575183741748333, -0.03185021132230759, -0.05061327666044235, 0.010149769484996796, 0.030060671269893646, 0.024746276438236237, -0.03850224241614342, 0.05365007370710373, 0.01963072083890438, -0.007162682246416807, 0.005278241820633411, 0.0987681970000267, -0.027367321774363518, -0.012996766716241837, -0.03239249810576439, 0.009670751169323921, 0.00731632998213172, 0.04446737840771675, -0.027566159144043922, -0.04779339209198952, -0.01835635118186474, -0.005698512773960829, -0.05538538470864296, 0.04844413697719574, 0.010610711760818958, -0.04779339209198952, -0.03145253658294678, 0.04743187129497528, 0.05404774844646454, -0.07302772998809814, -0.04258745536208153, -0.003642348339781165, 0.020263386890292168, 0.032410573214292526, -0.0023453831672668457, -0.010339569300413132, -0.04566040635108948, 0.0420813225209713, 0.031524840742349625, 0.0278011504560709, -0.00040050013922154903, -0.036893464624881744, -0.03720075637102127, -0.013873460702598095, -0.023300183936953545, 0.015111678279936314, -0.015762420371174812, -0.03842993825674057, 0.03044027090072632, 0.0033892819192260504, -0.005987731274217367, -0.03875530883669853, -0.012743700295686722, -0.036839235574007034, 0.06843637675046921, -0.023354411125183105, 0.024077458307147026, -0.029247242957353592, 0.050324056297540665, -0.05950675159692764, -0.028325358405709267, 0.07859519124031067, 0.01952226459980011, 0.013774042017757893, 0.03441702947020531, -0.03533891215920448, -0.05885601043701172, -0.05365007370710373, -0.0126713952049613, -0.007813424803316593, 0.005712069571018219, 0.03788765147328377, -0.050938647240400314, 0.002618785249069333, 0.012255643494427204, 0.06250739842653275, 0.013810194097459316, 0.0030458346009254456, -0.009517103433609009, -0.0010574558982625604, -0.05672302097082138, -0.058386027812957764, 0.023065192624926567, 0.016584886237978935, 0.030476422980427742, 0.04251515120267868, -0.018546150997281075, -0.015274363569915295, -0.00958940852433443, 0.026481589302420616, 0.033820513635873795, 0.005296317860484123, -0.023029040545225143, 0.03781534731388092, 0.032464802265167236, -0.030512575060129166, 0.014542278833687305, 0.04985407739877701, 0.013448670506477356, 0.026481589302420616, 0.026101989671587944, 0.012101995758712292, 0.06431501358747482, -0.032916706055402756, -0.010655902326107025, -0.019938016310334206, 0.044611986726522446, 0.021890241652727127, -0.02344479225575924, 0.02125757560133934, 0.06163974106311798, -0.005915426649153233, -0.011288568377494812, -0.027204636484384537, 0.020154930651187897, -0.002912522992119193, -0.020010320469737053, 0.006692701950669289, -0.04190056398510933, -0.0015997410519048572, -0.01583472453057766, -0.032591335475444794, 0.00010245516750728711, 0.002471916377544403, -0.037959955632686615, -0.0724131390452385, -0.02019108273088932, 0.03031373769044876, 0.05140862613916397, -0.007736600935459137, -0.04229823872447014, 0.034814704209566116, -0.04497351124882698, -0.03232019394636154, 0.02438475377857685, 0.005770817399024963, -0.06576110422611237, -0.0203537680208683, -0.07194315642118454, 0.01644027605652809, -0.0778721421957016, -0.03295285999774933, -0.024601668119430542, 0.03591734915971756, 0.017714647576212883, 0.07888440787792206, 0.011234339326620102, -0.05545768886804581, -0.07056936621665955, -0.0009009841014631093, 0.03103678487241268, 0.017524847760796547, -0.011478368192911148, 0.016467390581965446, 0.006778563838452101, -0.01208391971886158, 0.04124981909990311, -0.02574046701192856, -0.01767849363386631, -0.01941380649805069, -0.016856027767062187, -0.0026097469963133335, -0.058096811175346375, -0.051878608763217926, 0.01565396413207054, 0.03665847331285477, -0.007772753015160561, -0.07599221915006638, 0.018103284761309624, -0.04515427350997925, 0.01667526736855507, 0.002869592048227787, 0.02272174507379532, 0.03564620763063431, 0.034380875527858734, -0.07859519124031067, 0.013240794651210308, 0.01952226459980011, -0.013050994835793972, 0.06279661506414413, 0.09370686858892441, -0.0612059123814106, -0.0011580046266317368, 0.017371200025081635, -0.054409272968769073, -0.023426717147231102, 0.012662357650697231, -0.022016774863004684, -0.004534859210252762, 0.0006778563838452101, -0.03228404000401497, 0.02505357190966606, -0.04500966519117355, -0.0018223038641735911, 0.02740347385406494, 0.019612643867731094, 0.018817292526364326, 0.042045172303915024, 0.06525497138500214, 0.0059244646690785885, 0.07512456178665161, -0.051336321979761124, -0.018320199102163315, 0.020841823890805244, 0.009896703064441681, -0.060844387859106064, -0.07187085598707199, 0.0312175452709198, -0.027005799114704132, 0.02745770290493965, 0.014786306768655777, 0.025993533432483673, 0.018582303076982498, 0.06200126186013222, 0.0018403800204396248, 0.02523433417081833, -0.028234977275133133, 0.018763065338134766, -0.0791013240814209, 0.031633298844099045, -0.05549384281039238, -0.1015157699584961, 0.049022573977708817, -0.02192639373242855, -0.012644280679523945, 0.015762420371174812, -0.042262084782123566, -0.05061327666044235, 0.0003635004977695644, -0.03049449995160103, -0.0275300070643425, 0.036116186529397964, -0.04497351124882698, 0.07888440787792206, -0.00005080392293166369, -0.0336759053170681, -0.03239249810576439, -0.06623108685016632, 0.029066480696201324, -0.03468817099928856, -0.037345368415117264, 0.03615234047174454, 0.005712069571018219, -0.004984504077583551, 0.03738151863217354, 0.023137498646974564, 0.024041306227445602, -0.061567436903715134, -0.041936714202165604, -0.023318259045481682, -0.01879921741783619, -0.025812771171331406, 0.011821815744042397, -0.02405938319861889, 0.006986439693719149, -0.0433105044066906, 0.05520462244749069, 0.04443122446537018, 0.015789534896612167, -0.0003471189411357045, -0.013014842756092548, 0.019540339708328247, 0.03215750679373741, 0.01193931046873331, -0.02478242851793766, 0.018491921946406364, 0.021167194470763206, -0.04464814066886902, -0.05343315750360489, 0.015003221109509468, 0.009462875314056873, 0.03799610957503319, -0.018998054787516594, 0.05028790608048439, 0.0001899410126497969, 0.022613288834691048, -0.04157518967986107, 0.00238379486836493, -0.06323044002056122, 0.016485467553138733, -0.014587469398975372, -0.03081987053155899, 0.08806709945201874, 0.04905872419476509, 0.01930535025894642, -0.006661068648099899, 0.05111940950155258, 0.018103284761309624, 0.021347956731915474, -0.011894119903445244, 0.04222593456506729, -0.03551967442035675, -0.003391541540622711, -0.06196511164307594, -0.021058738231658936, 0.06171204522252083, 0.003129436867311597, -0.07960745692253113, -0.03154291585087776, -0.023625554516911507, -0.03250095248222351, -0.00365816499106586, -0.06536342948675156, 0.07042475789785385, 0.020661061629652977, -0.012101995758712292, 0.008983856998383999, -0.06865329295396805, 0.02635505609214306, 0.021691404283046722, 0.014307288452982903, -0.010493217036128044, 0.028596501797437668, 0.01621432416141033, -0.05046866834163666, 0.005332470405846834, -0.03110908903181553, 0.0457688644528389, -0.039080679416656494, 0.0710393488407135, 0.023697858676314354, -0.030006442219018936, -0.06821946799755096, -0.022577136754989624, 0.06753256916999817, -0.032410573214292526, 0.06811100989580154, -0.017353123053908348, -0.04660036787390709, 0.0901639387011528, 0.008703676052391529, 0.01252678595483303, 0.016250476241111755, 0.028126521036028862, -0.007533243857324123, -0.0012766295112669468, 0.03595350310206413, -0.022360222414135933, 0.03154291585087776, -0.022143308073282242, -0.024258220568299294, 0.04801030829548836, -0.051047105342149734, -0.051878608763217926, -0.053686223924160004, 0.0015229173004627228, -0.022233689203858376, 0.022396374493837357, -0.006276950240135193, 0.036441560834646225, 0.041322123259305954, 0.006914135068655014, -0.0034751438070088625, 0.07873979955911636, -0.029120709747076035, 0.003951902501285076, 0.00389541476033628, -0.025216257199645042, 0.0009021138539537787, -0.0531439408659935, 0.01384634617716074, 0.031091012060642242, 0.0048444136045873165, 0.0284157395362854, 0.07924593240022659, -0.05975981801748276, 0.0008546639000996947, -0.0231555737555027, 0.0112704923376441, -0.02131180465221405, -0.028614576905965805, 0.0039157504215836525, 0.05853063985705376, -0.014497088268399239, 0.0010032274294644594, 0.010249188169836998, 0.03759843483567238, -0.03327823057770729, 0.025577779859304428, -0.01874498836696148, 0.003913491033017635, -0.04363587498664856, -0.031741753220558167, 0.01766945607960224, -0.009336342103779316, -0.01667526736855507, -0.017759837210178375, -0.041539039462804794, -0.04265976324677467, 0.03412780910730362, -0.0033282749354839325, -0.03664039820432663, 0.048914115875959396, -0.05274626612663269, 0.03345898911356926, 0.036622319370508194, -0.026879265904426575, -0.018618455156683922, 0.020010320469737053, -0.06409809738397598, 0.01435247901827097, -0.0006513069965876639, 0.028994176536798477, 0.007935438305139542, -0.011848929338157177, 0.0034841818269342184, -0.030295660719275475, -0.031922515481710434, 0.01766945607960224, -0.00799870491027832, -0.06843637675046921, -0.04855259135365486, -0.011993538588285446, -0.004157518967986107, 0.025885075330734253, -0.019901864230632782, 0.02400515414774418, 0.0010585857089608908, -0.0708947405219078, -0.06829176843166351, -0.038574546575546265, 0.04544349014759064, -0.04334665462374687, 0.0420813225209713, -0.07440151274204254, 0.036893464624881744, 0.010918007232248783, 0.02747577801346779, 0.00886636134237051, 0.0001979905500775203, 0.05762683227658272, -0.04989023134112358, 0.02142026089131832, 0.022559059783816338, -0.01062878780066967, -0.026499666273593903, -0.019034206867218018, -0.03944220393896103, -0.029554538428783417, 0.043274350464344025, 0.048697203397750854, -0.007650739047676325, 0.022251766175031662, -0.001068753539584577, 0.010312454774975777, -0.01510263979434967, 0.022974811494350433, -0.050830189138650894, -0.005915426649153233, 0.044720444828271866, -0.04302128404378891, -0.05813296139240265, 0.03145253658294678, 0.07411229610443115, 0.02349902130663395, 0.015066487714648247, 0.021998699754476547, 0.017967713996767998, -0.0445396825671196, 0.015093602240085602, 0.04605808109045029, 0.02702387422323227, 0.06691797822713852, -0.008766942657530308, 0.03369398042559624, -0.03293478116393089, -0.006887021008878946, 0.011044539511203766, 0.02120334841310978, 0.01689218170940876, -0.02438475377857685, 0.044214311987161636, 0.02635505609214306, 0.032808247953653336, -0.04124981909990311, 0.018528074026107788, -0.00223692599684, -0.0407075360417366, 0.024800505489110947, -0.0010167845757678151, 0.0039632003754377365, -0.020715290680527687, 0.00021380720136221498, 0.016042601317167282, -0.006755968555808067, -0.0445396825671196, 0.03730921447277069, -0.07606452703475952, -0.06854483485221863, 0.06529112905263901, -0.04077984020113945, 0.002012103796005249, 0.05231243744492531, -0.026879265904426575, 0.021402185782790184, -0.022052926942706108, 0.00640348345041275, -0.02865072898566723, -0.013936727307736874, 0.023300183936953545, -0.011975462548434734, 0.04580501466989517, 0.01435247901827097, 0.022577136754989624, 0.007958034053444862, -0.004464813973754644, 0.0711839571595192, 0.05567460507154465, 0.01018592156469822, 0.011830853298306465, -0.0033305343240499496, 0.051661692559719086, -0.020552605390548706, 0.0463111475110054, 0.019323425367474556, -0.025198182091116905, -0.03503161668777466, 0.04840798303484917, -0.00894770398736, 0.02662619948387146, -0.07187085598707199, -0.012888309545814991, 0.006733373273164034, -0.05639765039086342, -0.013240794651210308, -0.014686888083815575, -0.02635505609214306, 0.034561637789011, -0.04020140320062637, 0.037959955632686615, 0.05567460507154465, 0.011053577996790409, -0.014921878464519978, 0.0016889921389520168, 0.03315169736742973, -0.02555970475077629, 0.05419235676527023, 0.01068301685154438, 0.0012935759732499719, 0.013466746546328068, -0.014587469398975372, 0.007628143765032291, 0.004153000190854073, 0.02136603370308876, -0.02790960669517517, 0.005192379932850599, -0.026210445910692215, 0.0519147589802742, -0.04779339209198952, -0.013141375966370106, -0.06677336990833282, -0.025993533432483673, -0.06829176843166351, 0.023137498646974564, 0.02528856135904789, 0.02064298652112484, 0.055638451129198074, 0.07866749167442322, 0.07396768778562546 ]
16,346
presidio_analyzer.context_aware_enhancers.context_aware_enhancer
enhance_using_context
Update results in case surrounding words are relevant to the context words. Using the surrounding words of the actual word matches, look for specific strings that if found contribute to the score of the result, improving the confidence that the match is indeed of that PII entity type :param text: The actual text that was analyzed :param raw_results: Recognizer results which didn't take context into consideration :param nlp_artifacts: The nlp artifacts contains elements such as lemmatized tokens for better accuracy of the context enhancement process :param recognizers: the list of recognizers :param context: list of context words
@abstractmethod def enhance_using_context( self, text: str, raw_results: List[RecognizerResult], nlp_artifacts: NlpArtifacts, recognizers: List[EntityRecognizer], context: Optional[List[str]] = None, ) -> List[RecognizerResult]: """ Update results in case surrounding words are relevant to the context words. Using the surrounding words of the actual word matches, look for specific strings that if found contribute to the score of the result, improving the confidence that the match is indeed of that PII entity type :param text: The actual text that was analyzed :param raw_results: Recognizer results which didn't take context into consideration :param nlp_artifacts: The nlp artifacts contains elements such as lemmatized tokens for better accuracy of the context enhancement process :param recognizers: the list of recognizers :param context: list of context words """ return raw_results
(self, text: str, raw_results: List[presidio_analyzer.recognizer_result.RecognizerResult], nlp_artifacts: presidio_analyzer.nlp_engine.nlp_artifacts.NlpArtifacts, recognizers: List[presidio_analyzer.entity_recognizer.EntityRecognizer], context: Optional[List[str]] = None) -> List[presidio_analyzer.recognizer_result.RecognizerResult]
[ 0.01590493507683277, -0.10476472973823547, -0.02853376977145672, 0.021541234105825424, 0.017736732959747314, -0.0633731484413147, 0.01668873243033886, -0.05727890133857727, 0.08672857284545898, -0.004046687390655279, 0.009837104938924313, -0.03350076079368591, -0.037622302770614624, 0.02819911390542984, -0.03899615257978439, 0.004297678824514151, -0.028181500732898712, 0.03281383588910103, -0.00627919053658843, -0.07098215818405151, -0.021594075486063957, 0.008353172801434994, -0.029449669644236565, -0.03170418739318848, 0.02214009128510952, -0.007062988821417093, 0.030242273584008217, -0.05259372666478157, -0.021365100517868996, -0.008049340918660164, -0.01220611296594143, -0.027829231694340706, 0.013562347739934921, 0.019973639398813248, -0.042694974690675735, -0.048190366476774216, -0.06256293505430222, 0.05847661569714546, 0.03353598713874817, -0.01495380885899067, -0.09687390923500061, -0.011078852228820324, 0.015306077897548676, 0.0069396947510540485, -0.045055173337459564, -0.015614313073456287, -0.013720868155360222, 0.002234705025330186, 0.05026875436306, -0.029537735506892204, -0.025063922628760338, -0.07594914734363556, -0.00908853393048048, 0.018458884209394455, 0.001000663498416543, 0.06344360113143921, -0.07291963696479797, 0.03175703063607216, 0.04410405084490776, -0.03240872547030449, 0.041321124881505966, -0.010048466734588146, 0.026226408779621124, 0.04889490455389023, -0.028657063841819763, -0.002683847676962614, -0.008634988218545914, 0.0455835796892643, 0.021682143211364746, 0.013888196088373661, -0.026067888364195824, -0.05358007922768593, -0.012443894520401955, -0.0019011504482477903, 0.005702350754290819, 0.04878922551870346, -0.03274338319897652, 0.022897468879818916, 0.09313986450433731, 0.01305155735462904, -0.00944960955530405, 0.03829161450266838, 0.025187216699123383, -0.045372217893600464, 0.020220227539539337, -0.02860422432422638, -0.05851184204220772, -0.04364610090851784, 0.04142680764198303, -0.05224145948886871, -0.012355826795101166, 0.018687857314944267, -0.013210078701376915, 0.046252887696027756, -0.0014487053267657757, 0.034945063292980194, 0.014275691471993923, -0.07524460554122925, -0.014830514788627625, -0.013571154326200485, 0.0015466799959540367, 0.06583902984857559, -0.0018582177581265569, -0.01995602622628212, 0.05615163967013359, -0.015420565381646156, -0.0351388081908226, -0.01146634854376316, 0.07439916580915451, 0.038749564439058304, -0.05858229473233223, -0.0674242451786995, 0.003971830476075411, -0.03145759925246239, -0.035596758127212524, -0.01038312166929245, -0.029026946052908897, -0.021365100517868996, 0.003018503077328205, 0.0209247637540102, 0.004649947863072157, -0.04484381526708603, -0.004971392918378115, -0.030189434066414833, -0.008701038546860218, 0.005297241732478142, -0.02835763618350029, 0.002143335295841098, 0.004887728951871395, -0.0718628317117691, -0.02214009128510952, -0.0029612593352794647, 0.00009625469101592898, 0.00969619769603014, 0.0736946240067482, 0.016477370634675026, -0.013703254982829094, 0.03094681166112423, 0.015526246279478073, 0.01462796051055193, 0.019779890775680542, -0.018564563244581223, 0.027758779004216194, 0.00314179714769125, -0.06925603747367859, -0.006182316690683365, 0.008564534597098827, -0.023302579298615456, -0.03330701217055321, 0.009713810868561268, 0.03561437129974365, -0.008190249092876911, -0.0030118979047983885, -0.03674163296818733, -0.0014222851023077965, 0.008634988218545914, 0.030101366341114044, -0.03927796706557274, 0.021594075486063957, 0.007362417411059141, 0.03959500789642334, -0.0867990255355835, -0.014636767096817493, 0.061611808836460114, 0.02020261436700821, 0.02802298031747341, -0.01470722071826458, -0.028392862528562546, -0.022157704457640648, -0.016072262078523636, 0.018476497381925583, -0.01700577512383461, 0.014390178956091404, 3.956143359573616e-7, -0.0019088563276454806, 0.09750799089670181, -0.029291147366166115, -0.0010804743506014347, -0.0035447045229375362, 0.08088091015815735, -0.003901376621797681, -0.02245713397860527, -0.0905330702662468, -0.03594902902841568, 0.02867467701435089, 0.01276093628257513, 0.01211804524064064, 0.05703231319785118, -0.00012570215039886534, 0.01930432766675949, -0.006966114975512028, -0.053861893713474274, 0.012620028108358383, -0.018687857314944267, -0.02360200695693493, 0.013888196088373661, -0.02858661115169525, -0.008357576094567776, -0.023055991157889366, 0.03818593546748161, -0.036635950207710266, 0.0074328710325062275, 0.016864867880940437, 0.05981523543596268, 0.010620903223752975, 0.06016750633716583, -0.01826513558626175, 0.01590493507683277, -0.08320587873458862, -0.06992535293102264, 0.00462793093174696, -0.017173102125525475, 0.010506415739655495, 0.03691776841878891, 0.052065324038267136, 0.045301761478185654, 0.015799254179000854, 0.044068820774555206, -0.03170418739318848, -0.000452445208793506, -0.010893911123275757, -0.04829604923725128, -0.003518284298479557, -0.024694040417671204, 0.03168657422065735, -0.002727881306782365, 0.044632453471422195, -0.002732284599915147, 0.004154569935053587, -0.016433337703347206, -0.013870582915842533, -0.0271599218249321, -0.0022380074951797724, 0.0318450964987278, 0.02730082906782627, -0.009317508898675442, 0.047063108533620834, 0.016133910045027733, -0.03638936206698418, -0.00019980243814643472, -0.01009250059723854, 0.03903137892484665, -0.025240056216716766, -0.011968331411480904, -0.048930130898952484, -0.04174384847283363, 0.024376997724175453, 0.013271725736558437, 0.0640072375535965, -0.0029084188863635063, 0.008894786238670349, -0.023073604330420494, -0.06309133768081665, -0.014804095029830933, -0.019533302634954453, -0.023690074682235718, -0.03508596867322922, -0.0024130409583449364, 0.028322407975792885, -0.03492744639515877, 0.004152368288487196, 0.0449494943022728, -0.07228554785251617, 0.0817968100309372, -0.01824752241373062, 0.002340385690331459, 0.002395427552983165, 0.019603757187724113, -0.03480415418744087, -0.023408260196447372, -0.0142140444368124, 0.038820017129182816, 0.03533255681395531, -0.00765744224190712, -0.009881138801574707, 0.07468097656965256, -0.040510907769203186, 0.048436954617500305, -0.051255106925964355, 0.010488802567124367, 0.041497260332107544, 0.012012365274131298, -0.03624845668673515, -0.01305155735462904, 0.057243674993515015, -0.024782108142971992, 0.019586144015192986, 0.021118512377142906, 0.01289303693920374, -0.050867609679698944, -0.018476497381925583, 0.06326746940612793, 0.05509483441710472, 0.046323344111442566, -0.002393225906416774, 0.0431176982820034, -0.026155956089496613, -0.013993876986205578, 0.007648635655641556, -0.035667210817337036, -0.010735390707850456, 0.029696257784962654, 0.003408200340345502, -0.022915083914995193, -0.01066493708640337, -0.024024730548262596, 0.05858229473233223, -0.04047568142414093, 0.009141374379396439, -0.03853820264339447, -0.0003698822110891342, 0.0028996123000979424, -0.04442109167575836, -0.013324566185474396, -0.014539893716573715, -0.0627390667796135, 0.033166103065013885, 0.00642009824514389, 0.024605972692370415, 0.03441665694117546, -0.02367246150970459, 0.007230316288769245, 0.030101366341114044, -0.023055991157889366, 0.07034806907176971, -0.011889071203768253, 0.03885524347424507, -0.01413478422909975, 0.04702787846326828, -0.039559781551361084, -0.025874141603708267, -0.01195952482521534, 0.010180567391216755, -0.03383541479706764, -0.085601307451725, -0.059991370886564255, 0.00614268658682704, -0.01077942457050085, 0.03977114334702492, -0.030664995312690735, -0.001970503479242325, -0.029273534193634987, -0.03966546431183815, 0.032514408230781555, 0.06386632472276688, -0.0005619787843897939, 0.023637233301997185, -0.015438178554177284, 0.07341281324625015, -0.000268467323621735, -0.04258929193019867, -0.10575108230113983, 0.06724810600280762, -0.0032738978043198586, -0.01749895140528679, 0.007221509702503681, -0.041567713022232056, -0.004671964328736067, -0.00537209864705801, -0.06580380350351334, -0.017877640202641487, 0.0009698399226181209, 0.017014581710100174, 0.05315735563635826, -0.057490263134241104, 0.022509973496198654, -0.0015863103326410055, 0.010576869361102581, 0.008793508633971214, -0.006785577163100243, -0.0067987870424985886, -0.023161672055721283, -0.019691824913024902, 0.02923830784857273, 0.05488347262144089, -0.029995685443282127, -0.03952455520629883, -0.009969206526875496, -0.018353203311562538, 0.06101294979453087, 0.007648635655641556, 0.05210055038332939, -0.014513473026454449, -0.0327962227165699, 0.01066493708640337, -0.020695790648460388, 0.003974032122641802, 0.012241339311003685, 0.011519188992679119, -0.008749475702643394, -0.05981523543596268, -0.02416563779115677, -0.01923387497663498, -0.010585675947368145, -0.037622302770614624, -0.040510907769203186, -0.04202566295862198, -0.03892569988965988, -0.058300480246543884, -0.014671994373202324, 0.011263793334364891, 0.01826513558626175, 0.02867467701435089, -0.02295031026005745, -0.007335997186601162, 0.046816520392894745, 0.02779400534927845, 0.06552199274301529, -0.02966102957725525, 0.01790405996143818, -0.03804502636194229, 0.031633734703063965, -0.025011083111166954, -0.006772366818040609, -0.08841945976018906, -0.020572496578097343, -0.009185408242046833, 0.019603757187724113, -0.005508602596819401, 0.08278316259384155, 0.024359384551644325, -0.0011459743836894631, 0.038009800016880035, 0.030506474897265434, -0.03136953338980675, 0.01506829634308815, 0.0010017643216997385, -0.049564216285943985, 0.008529307320713997, -0.07277872413396835, -0.05819480121135712, 0.0040995278395712376, -0.047873325645923615, -0.0025385369081050158, -0.0007893022266216576, -0.03927796706557274, -0.022756561636924744, 0.0045838975347578526, -0.011325440369546413, 0.0052752248011529446, 0.008309139870107174, 0.003335544839501381, 0.0543198436498642, 0.07714685797691345, 0.046252887696027756, -0.06428904831409454, -0.0736946240067482, 0.005028636660426855, -0.09666255116462708, -0.018705472350120544, 0.03277860954403877, 0.06298565864562988, 0.02513437718153, 0.062809519469738, -0.031228626146912575, 0.011721743270754814, 0.03829161450266838, 0.017146682366728783, -0.00399164529517293, 0.0646413192152977, -0.01438137236982584, 0.01135186105966568, -0.017305202782154083, -0.00018218900368083268, 0.04822559282183647, -0.004614721052348614, -0.02916785329580307, -0.04445631802082062, -0.037516623735427856, -0.006913274526596069, 0.05502438172698021, -0.012593608349561691, 0.049810804426670074, -0.0021466377656906843, 0.017225943505764008, 0.030118979513645172, -0.004423174541443586, 0.0005966552416794002, 0.07658322900533676, 0.021470781415700912, 0.051994871348142624, -0.022087251767516136, 0.0315280556678772, -0.03270815312862396, -0.012901843525469303, -0.03649504482746124, 0.03846774995326996, -0.030101366341114044, -0.01510352361947298, 0.033729735761880875, -0.018846379593014717, 0.02497585490345955, 0.044879041612148285, 0.0022214949131011963, -0.014689607545733452, -0.0301365926861763, 0.011175726540386677, -0.001886839629150927, 0.01236463338136673, -0.016829639673233032, 0.017199521884322166, -0.038256388157606125, -0.013350985944271088, -0.05523574352264404, 0.07017193734645844, -0.0010958861093968153, -0.018141841515898705, 0.007476904429495335, -0.02279178984463215, 0.024746879935264587, -0.0699605792760849, -0.04065181687474251, 0.12822583317756653, -0.08327633887529373, 0.0254514180123806, -0.02351393923163414, -0.003370771650224924, 0.03392348065972328, 0.0028621836099773645, -0.04273020103573799, -0.02317928522825241, 0.016952933743596077, 0.016389304772019386, -0.03193316236138344, 0.0633731484413147, -0.03723480924963951, -0.011589642614126205, 0.012250145897269249, 0.036565497517585754, -0.002155444584786892, -0.017551790922880173, -0.013571154326200485, 0.04614720866084099, 0.0041083344258368015, 0.03119339980185032, 0.025715619325637817, -0.002424049424007535, -0.03617800399661064, 0.03258486092090607, 0.0428006537258625, 0.02173498272895813, -0.02495824173092842, -0.04565403237938881, -0.0066182492300868034, 0.03087635710835457, -0.0004898737533949316, -0.006693106610327959, -0.0039145867340266705, -0.008238685317337513, -0.008652601391077042, -0.012197306379675865, -0.022087251767516136, -0.03159850835800171, 0.08278316259384155, 0.03624845668673515, -0.006917677819728851, 0.04752105474472046, 0.015006649307906628, -0.022192932665348053, 0.048753995448350906, 0.008692231960594654, 0.0026354107540100813, 0.042694974690675735, -0.018617404624819756, 0.05322781205177307, 0.03734048828482628, -0.027653098106384277, 0.06929126381874084, -0.044139277189970016, -0.03818593546748161, 0.0518539622426033, -0.04586539417505264, 0.004275662358850241, -0.008084568195044994, -0.0680583268404007, 0.047873325645923615, -0.004896536003798246, -0.033254172652959824, 0.05213577672839165, -0.015112330205738544, -0.05146646499633789, -0.0020860915537923574, 0.02689572051167488, -0.035350169986486435, 0.04258929193019867, -0.02279178984463215, 0.04001773148775101, 0.032038845121860504, 0.04882445186376572, 0.0452665351331234, -0.05907547101378441, 0.0016204363200813532, 0.04966989532113075, -0.0009164492366835475, 0.04783809930086136, -0.007679459173232317, -0.05114942416548729, -0.021065672859549522, -0.014451825991272926, -0.05171305313706398, -0.024447452276945114, -0.015165170654654503, 0.0045971074141561985, 0.042201798409223557, 0.010981978848576546, -0.0028203518595546484, -0.05858229473233223, 0.0103038614615798, -0.02923830784857273, 0.03610754758119583, 0.006389274727553129, -0.012690482661128044, 0.05808911845088005, 0.001683184178546071, 0.018071386963129044, 0.00600177887827158, -0.026032662019133568, 0.07228554785251617, 0.0612243115901947, 0.0013088986743241549, 0.006406888365745544, 0.02642015740275383, -0.042307477444410324, -0.009273475036025047, -0.029467282816767693, 0.009881138801574707, -0.005931325256824493, -0.08940581232309341, -0.05946296826004982, -0.023249737918376923, 0.0034786539617925882, 0.012162079103291035, 0.02973148413002491, -0.008234282024204731, 0.019727051258087158, 0.04611198231577873, 0.044385865330696106, 0.0005713358987122774, -0.00713344244286418, 0.013914615847170353, -0.039313193410634995, 0.03878479078412056, -0.02407757006585598, -0.0026332091074436903, -0.034821767359972, 0.025081535801291466, -0.05604596063494682, -0.03705867379903793, 0.05453120544552803, 0.06745947152376175, 0.01131663378328085, -0.003850738052278757, 0.00553502282127738, 0.02344348654150963, 0.014187624678015709, 0.10582153499126434, -0.019357169046998024, 0.008749475702643394, -0.008005307987332344, 0.02464120090007782, -0.03475131466984749, 0.06076636165380478, 0.062809519469738, 0.014786481857299805, -0.02205202542245388, -0.003993846941739321, 0.02043158933520317, -0.0459006205201149, 0.07108783721923828, 0.026719585061073303, 0.05213577672839165, -0.02319689840078354, 0.016433337703347206, 0.040440455079078674, -0.012144465930759907, 0.031950775533914566, -0.017428496852517128, -0.017384463921189308, 0.01752537116408348, -0.025874141603708267, 0.02788207307457924, -0.035825733095407486, 0.003925594966858625, -0.019410008564591408, 0.0027410914190113544, 0.018441269174218178, -0.023284966126084328, 0.016142716631293297, -0.015491019003093243, -0.0836990550160408, -0.0671072006225586, 0.001926469849422574, -0.014733641408383846, -0.014892161823809147, 0.03205645829439163, -0.038502976298332214, -0.05548233166337013, -0.11350099742412567, 0.05132555961608887, -0.0031197802163660526, 0.013976262882351875, 0.021188966929912567, 0.011404701508581638, -0.053051676601171494, -0.0028842005413025618, 0.008529307320713997, -0.02495824173092842, -0.026050275191664696, -0.0080405343323946, -0.03543823957443237, 0.03165134787559509, -0.0033091246150434017, 0.04614720866084099, 0.003987242002040148, 0.035191651433706284, 0.046746063977479935, 0.023126443848013878, 0.004760031588375568, 0.0237429141998291, -0.03237349912524223, 0.06108340248465538, 0.030911583453416824, 0.020502042025327682, -0.003562317928299308, -0.025345737114548683, -0.009520063176751137, 0.015517438761889935, -0.0046103172935545444, 0.10976694524288177, -0.019181033596396446, -0.012928263284265995, -0.032443951815366745, -0.03860865533351898, -0.06175271421670914, -0.048436954617500305, -0.012179692275822163, 0.003216654062271118, -0.03741094470024109, -0.0234258733689785, -0.007490114774554968, 0.004200804978609085, 0.0462176613509655, -0.04336428642272949, 0.01082345750182867, 0.020308295264840126, 0.0008481971453875303, 0.04103931039571762, 0.010612096637487411, 0.01195952482521534, -0.008806719444692135, 0.05992091819643974, 0.06485267728567123, 0.02899171970784664, 0.01596658118069172, 0.07510370016098022, 0.013703254982829094, 0.07489234209060669, -0.008366383612155914, 0.00506826676428318, 0.011413508094847202, 0.0016996967606246471, -0.020959991961717606, 0.03948932886123657, 0.012637642212212086, -0.03401155024766922, 0.008996063843369484, 0.046569932252168655, 0.0712287425994873 ]
16,347
presidio_analyzer.dict_analyzer_result
DictAnalyzerResult
Data class for holding the output of the Presidio Analyzer on dictionaries. :param key: key in dictionary :param value: value to run analysis on (either string or list of strings) :param recognizer_results: Analyzer output for one value. Could be either: - A list of recognizer results if the input is one string - A list of lists of recognizer results, if the input is a list of strings. - An iterator of a DictAnalyzerResult, if the input is a dictionary. In this case the recognizer_results would be the iterator of the DictAnalyzerResults next level in the dictionary.
class DictAnalyzerResult: """ Data class for holding the output of the Presidio Analyzer on dictionaries. :param key: key in dictionary :param value: value to run analysis on (either string or list of strings) :param recognizer_results: Analyzer output for one value. Could be either: - A list of recognizer results if the input is one string - A list of lists of recognizer results, if the input is a list of strings. - An iterator of a DictAnalyzerResult, if the input is a dictionary. In this case the recognizer_results would be the iterator of the DictAnalyzerResults next level in the dictionary. """ key: str value: Union[str, List[str], dict] recognizer_results: Union[ List[RecognizerResult], List[List[RecognizerResult]], Iterator["DictAnalyzerResult"], ]
(key: str, value: Union[str, List[str], dict], recognizer_results: Union[List[presidio_analyzer.recognizer_result.RecognizerResult], List[List[presidio_analyzer.recognizer_result.RecognizerResult]], Iterator[presidio_analyzer.dict_analyzer_result.DictAnalyzerResult]]) -> None
[ 0.036183495074510574, -0.028592422604560852, -0.07542580366134644, -0.007138779852539301, 0.026839200407266617, 0.019434640184044838, -0.011405261233448982, -0.018352866172790527, 0.07221777737140656, 0.020870789885520935, 0.0218220055103302, 0.04263684153556824, 0.0038584847934544086, 0.01539663691073656, -0.012048730626702309, -0.002979543060064316, -0.0035134360659867525, 0.07937987148761749, -0.06714463233947754, 0.05591655522584915, -0.028517816215753555, 0.008929302915930748, 0.009913158603012562, 0.046255189925432205, -0.010593930259346962, -0.024507790803909302, 0.0081692636013031, -0.055245108902454376, -0.038608163595199585, 0.01529405452311039, -0.015247425995767117, -0.049537815153598785, -0.006360088475048542, 0.03540014103055, 0.00031415760167874396, -0.011228074319660664, -0.06095240265130997, 0.04394242912530899, -0.09251037985086441, 0.05162676051259041, -0.043233681470155716, -0.004390046466141939, -0.04521071910858154, -0.01514484453946352, -0.02101999893784523, 0.01417497731745243, -0.029580939561128616, -0.02236289158463478, 0.0177560243755579, -0.09728510677814484, -0.004420354962348938, -0.04304716736078262, -0.022586707025766373, 0.029543636366724968, 0.025291144847869873, 0.020964045077562332, -0.017867932096123695, 0.005208371672779322, 0.0136527419090271, -0.008393079042434692, 0.003937752917408943, -0.010593930259346962, 0.00613627303391695, 0.012505687773227692, 0.03493385761976242, -0.02016204036772251, -0.044390060007572174, 0.030140478163957596, -0.012244569137692451, -0.007287989836186171, -0.006425368133932352, -0.025570914149284363, -0.019863620400428772, 0.009652040898799896, 0.044613875448703766, 0.008374427445232868, -0.09407708793878555, -0.005595386028289795, 0.06647318601608276, -0.02126246690750122, 0.00862155668437481, 0.0032523181289434433, -0.044091641902923584, -0.05781898647546768, -0.004189545288681984, 0.0020399843342602253, -0.010799095034599304, -0.04700124263763428, 0.03603428602218628, 0.023015687242150307, -0.046367097645998, -0.022213682532310486, 0.005814538337290287, 0.03802997246384621, -0.060989703983068466, 0.07684329897165298, 0.01881914772093296, -0.0847514420747757, -0.0059217833913862705, -0.015051587484776974, 0.01583494246006012, 0.07135982066392899, 0.06322786211967468, 0.019173521548509598, -0.011479866690933704, -0.023146245628595352, -0.02512328326702118, -0.019285429269075394, 0.07173284888267517, 0.04700124263763428, -0.07576152682304382, -0.013885882683098316, -0.032322678714990616, 0.035642609000205994, 0.002660139696672559, -0.0027067679911851883, -0.0545736625790596, -0.03241593390703201, -0.008780092932283878, 0.05162676051259041, 0.02974880114197731, 0.022027168422937393, -0.001089934492483735, 0.06307864934206009, -0.033180639147758484, -0.02700706198811531, 0.017065927386283875, 0.00015737023204565048, -0.000889433198608458, 0.015611126087605953, 0.04483769088983536, 0.02376173809170723, -0.018212981522083282, -0.007880168035626411, 0.07811158895492554, 0.05300695449113846, 0.0273054838180542, -0.002636825665831566, -0.05129103735089302, 0.0014839429641142488, 0.03174448758363724, -0.0001580987882334739, 0.02400420606136322, -0.02023664489388466, -0.03957802802324295, -0.048157621175050735, -0.014249582774937153, 0.05285774543881416, 0.008351113647222519, -0.03437431901693344, -0.03461678698658943, -0.025869334116578102, 0.049537815153598785, 0.04823222756385803, -0.007460514549165964, -0.017560185864567757, -0.013018597848713398, -0.02807018533349037, 0.0025668833404779434, -0.03379613161087036, 0.012216592207551003, -0.0844530239701271, 0.028014231473207474, -0.023854995146393776, 0.007852191105484962, 0.01939733698964119, 0.00519904587417841, -0.025216538459062576, 0.009115816093981266, -0.00011402055679354817, 0.024992723017930984, -0.07195666432380676, -0.05711023882031441, 0.013848580420017242, -0.032602448016405106, 0.04964972287416458, 0.00859824288636446, 0.056662607938051224, 0.03719066455960274, -0.014212280511856079, 0.0014967657625675201, 0.004522936884313822, -0.09937405586242676, -0.04729966074228287, 0.03444892540574074, 0.005474152509123087, 0.012804107740521431, 0.05423793941736221, 0.06095240265130997, 0.020833486691117287, -0.018138375133275986, -0.05953490361571312, 0.01148919202387333, -0.029133308678865433, -0.007716969586908817, -0.014417444355785847, -0.017550859600305557, 0.01586291939020157, 0.007516468409448862, 0.029301170259714127, -0.06684620678424835, -0.019014986231923103, -0.026652688160538673, 0.05214899778366089, -0.0436440110206604, 0.031576626002788544, -0.010407418012619019, 0.036705732345581055, -0.016720877960324287, -0.02896544709801674, -0.003354900050908327, -0.051738668233156204, 0.018940381705760956, -0.018157027661800385, 0.03655651956796646, -0.03172583878040314, 0.03685494139790535, -0.005744596011936665, 0.001516582677140832, -0.011274702847003937, 0.06050477176904678, -0.029375774785876274, 0.033199287950992584, -0.02562686800956726, 0.01861398294568062, -0.02946903184056282, -0.035885073244571686, -0.016441108658909798, -0.008309148252010345, -0.011974126100540161, 0.033684223890304565, -0.03413185477256775, -0.0354187935590744, -0.049836236983537674, 0.03663112595677376, -0.03193100169301033, 0.03112899698317051, 0.008691499009728432, -0.02508598007261753, 0.024339929223060608, 0.026596734300255775, 0.031502023339271545, -0.03741448000073433, -0.021113255992531776, -0.09795655310153961, -0.016860762611031532, 0.040025658905506134, 0.010985607281327248, 0.0164317823946476, 0.019322732463479042, 0.04741156846284866, -0.03597833216190338, -0.00003644650860223919, 0.01554584689438343, 0.09310722351074219, 0.007045523263514042, -0.046255189925432205, -0.03305007889866829, 0.07781316339969635, -0.04800841212272644, 0.04729966074228287, 0.006406717002391815, 0.006154924631118774, 0.03349770978093147, -0.05509589985013008, 0.004867985844612122, 0.016478411853313446, -0.00900857150554657, 0.00902722217142582, -0.02077753283083439, 0.03635135665535927, 0.018073096871376038, -0.007008221000432968, -0.025720123201608658, -0.04778459668159485, 0.08243868499994278, 0.013251738622784615, 0.02051641419529915, -0.04159236699342728, 0.035101719200611115, -0.0012647903058677912, -0.009577435441315174, -0.042487628757953644, -0.04864255338907242, 0.058527734130620956, 0.0246010459959507, -0.009470190852880478, 0.08587051928043365, 0.04148045927286148, -0.019285429269075394, 0.07341146469116211, -0.02266131341457367, -0.006639857776463032, -0.016795482486486435, 0.04666551947593689, 0.02999126724898815, -0.038645464926958084, -0.035866424441337585, 0.007339281029999256, -0.03523227944970131, 0.028200745582580566, -0.021411675959825516, 0.09213735163211823, 0.008556277491152287, -0.047075845301151276, 0.06721923500299454, 0.0654287114739418, -0.0010444719810038805, -0.018968358635902405, -0.003870141925290227, -0.015247425995767117, 0.060467470437288284, -0.019229475408792496, 0.025440353900194168, -0.022549405694007874, -0.046814728528261185, 0.006681823171675205, 0.01853937841951847, 0.013298367150127888, 0.05703563243150711, -0.053678400814533234, 0.062407203018665314, 0.029040051624178886, -0.06688351184129715, 0.05106722190976143, -0.04021217301487923, 0.030476201325654984, 0.03407590091228485, 0.06147463992238045, -0.013596788048744202, -0.037563689053058624, -0.07997671514749527, -0.03334850072860718, 0.021672794595360756, 0.008910652250051498, 0.016459759324789047, 0.027118969708681107, 0.027902323752641678, 0.014398792758584023, -0.03183774650096893, 0.006966255605220795, -0.07550040632486343, -0.0004741506709251553, 0.022269636392593384, 0.011563797481358051, -0.017271090298891068, -0.018940381705760956, -0.02074022963643074, 0.09325642883777618, 0.019285429269075394, -0.03032699041068554, 0.023854995146393776, 0.06162384897470474, 0.007218047510832548, 0.04065980389714241, -0.04722505807876587, -0.02568282186985016, -0.06509298831224442, -0.0163944810628891, 0.006364751607179642, 0.032639749348163605, 0.0038071938324719667, -0.03965263441205025, 0.027398739010095596, -0.0437186136841774, -0.04282335191965103, -0.04043598845601082, -0.04610598087310791, 0.06483186781406403, 0.015956174582242966, -0.00560471136122942, -0.009875856339931488, -0.03961533308029175, -0.04427815228700638, 0.056625306606292725, 0.022735917940735817, 0.012598943896591663, 0.07333685457706451, -0.05628958344459534, 0.012058056890964508, 0.0053389305248856544, 0.04797110706567764, -0.012776130810379982, 0.014697213657200336, 0.015116867609322071, -0.031017089262604713, -0.003667309181764722, 0.014697213657200336, -0.0022463141940534115, 0.05953490361571312, -0.050880707800388336, -0.0037139372434467077, -0.008001402020454407, -0.01614268869161606, -0.022269636392593384, -0.044651180505752563, -0.059348393231630325, -0.012822759337723255, -0.057408656924963, -0.031278207898139954, 0.036444611847400665, -0.04961242154240608, -0.035101719200611115, 0.035586655139923096, 0.012664223089814186, -0.05300695449113846, 0.026951108127832413, -0.014631933532655239, -0.014370815828442574, -0.01990092173218727, 0.07706711441278458, -0.04476308822631836, 0.0409209206700325, 0.010743141174316406, -0.04580755904316902, 0.03683628886938095, -0.023929599672555923, 0.03025238588452339, -0.019602501764893532, 0.05505859851837158, 0.05703563243150711, 0.004807368852198124, 0.04203999787569046, 0.05628958344459534, 0.004735095426440239, 0.009586760774254799, 0.002977211493998766, -0.0218033529818058, -0.007301978301256895, -0.05867694690823555, 0.0326770544052124, -0.04580755904316902, 0.02726818062365055, -0.05289504677057266, -0.0019851962570101023, 0.0026181743014603853, -0.07811158895492554, 0.009251037612557411, 0.049500513821840286, -0.020385855808854103, 0.005926446057856083, 0.02374308742582798, 0.027398739010095596, 0.03446757793426514, 0.05628958344459534, -0.017317719757556915, -0.03715336322784424, 0.028816236183047295, 0.011563797481358051, -0.03000991977751255, 0.007758934982120991, -0.008397741243243217, 0.02670864202082157, 0.03217346966266632, 0.0519251823425293, 0.03301277756690979, -0.04304716736078262, 0.02706301584839821, 0.014790469780564308, 0.011731659062206745, 0.032639749348163605, -0.03678033500909805, 0.053342677652835846, -0.032882217317819595, -0.026820549741387367, 0.06766686588525772, 0.010677861049771309, 0.0409209206700325, -0.04151776432991028, -0.019024312496185303, 0.007180745247751474, 0.0025738775730133057, -0.002548231976106763, -0.0163385272026062, 0.017075251787900925, 0.02488081529736519, 0.04756078124046326, -0.035064417868852615, -0.012888038530945778, -0.013727346435189247, 0.019714409485459328, 0.0287043284624815, 0.040510594844818115, -0.027380088344216347, -0.02320219948887825, -0.02616775408387184, 0.00900857150554657, -0.033199287950992584, -0.019248127937316895, 0.053342677652835846, -0.013055900111794472, 0.012645572423934937, 0.01063123345375061, -0.0033688885159790516, 0.029543636366724968, 0.021635491400957108, 0.05901267006993294, 0.05013465881347656, 0.005558083299547434, -0.04715045168995857, 0.03148337081074715, -0.03112899698317051, -0.011526495218276978, -0.047038543969392776, 0.05408873036503792, 0.007283327169716358, -0.03961533308029175, -0.015527195297181606, -0.048717159777879715, 0.008780092932283878, -0.05125373601913452, -0.020311251282691956, 0.05076880007982254, -0.02512328326702118, -0.036985501646995544, -0.013419600203633308, -0.006910301744937897, -0.026242360472679138, -0.05651339888572693, -0.043233681470155716, -0.029692847281694412, 0.01035146415233612, -0.018157027661800385, 0.01773737370967865, -0.007460514549165964, 0.035362839698791504, 0.0034784649033099413, -0.017550859600305557, 0.01256164163351059, -0.03215481713414192, -0.025253841653466225, -0.045471835881471634, -0.0150142852216959, 0.030961135402321815, 0.033758826553821564, 0.03872007131576538, 0.050918012857437134, 0.012058056890964508, 0.032919518649578094, 0.06505568325519562, 0.06419772654771805, 0.07147172838449478, -0.06845021992921829, -0.04073441028594971, 0.1120569258928299, -0.00744652608409524, -0.03681764006614685, 0.010920328088104725, 0.00238386751152575, 0.025570914149284363, -0.043270982801914215, -0.030140478163957596, 0.012365803122520447, 0.02344466745853424, -0.03717201203107834, 0.04222651198506355, 0.03254649415612221, -0.050619591027498245, 0.07262811064720154, 0.013065226376056671, 0.03476599603891373, -0.019714409485459328, -0.048679858446121216, -0.035941027104854584, 0.029058704152703285, 0.0054321871139109135, 0.00286530377343297, 0.0654660165309906, -0.0327143557369709, 0.0037116059102118015, 0.03801131993532181, -0.02642887271940708, -0.03168853372335434, -0.0008812732994556427, -0.04562104493379593, 0.02758525311946869, -0.007619050331413746, -0.010733814910054207, 0.048194922506809235, -0.043755918741226196, -0.020908091217279434, 0.03579181805253029, 0.0599825344979763, -0.0654287114739418, -0.006700474768877029, -0.0064020538702607155, -0.017065927386283875, 0.016879413276910782, -0.010994933545589447, 0.03965263441205025, -0.0492020919919014, -0.007903482764959335, -0.05080610513687134, 0.024134764447808266, 0.04774729162454605, -0.03360961750149727, -0.0024269986897706985, -0.011172120459377766, -0.007236699108034372, -0.04744887351989746, -0.053118862211704254, -0.02696976065635681, -0.045732952654361725, -0.005464826710522175, 0.03773155063390732, -0.022810522466897964, 0.023426014930009842, 0.02398555353283882, 0.021374374628067017, 0.005506792105734348, -0.005693305283784866, -0.013969813473522663, 0.03055080585181713, -0.0013568811118602753, 0.03032699041068554, -0.03913039714097977, -0.002862972440198064, 0.0218033529818058, -0.010407418012619019, 0.038048624992370605, 0.010053043253719807, -0.010855048894882202, -0.005236348602920771, 0.026522129774093628, -0.05953490361571312, -0.031819093972444534, 0.04315907508134842, -0.02978610433638096, 0.04211460426449776, -0.07285192608833313, 0.006462670862674713, 0.028778934851288795, 0.021766051650047302, -0.03359096497297287, -0.06606285274028778, 0.02103865146636963, 0.037246618419885635, 0.018492750823497772, 0.0032523181289434433, -0.03429971635341644, -0.015284729190170765, -0.00573060754686594, -0.03991375118494034, 0.0710240975022316, -0.023668482899665833, 0.01009967178106308, -0.005474152509123087, 0.03629540279507637, 0.04778459668159485, 0.027678508311510086, 0.018781844526529312, 0.0546109676361084, -0.05587925389409065, 0.008905989117920399, -0.01746692880988121, -0.025552261620759964, 0.04412894323468208, -0.00551611790433526, -0.0490528829395771, 0.05793089419603348, -0.010836397297680378, 0.0002656351134646684, -0.023146245628595352, -0.07210586965084076, 0.04674012213945389, -0.015070239081978798, -0.009735971689224243, 0.04282335191965103, 0.04595676809549332, -0.0043504126369953156, 0.030457550659775734, -0.006220203824341297, -0.013177134096622467, -0.02210177481174469, -0.0032499865628778934, 0.013018597848713398, -0.0034901220351457596, -0.0048866369761526585, 0.03245323896408081, -0.04882906749844551, -0.03334850072860718, 0.02241884544491768, 0.008509648963809013, 0.010332812555134296, -0.04838143661618233, 0.011946149170398712, 0.01719648577272892, -0.040249474346637726, -0.0071620941162109375, -0.07005423307418823, -0.014165651984512806, -0.04532262682914734, 0.03360961750149727, -0.06975580751895905, -0.02706301584839821, -0.008929302915930748, -0.023034337908029556, -0.059422995895147324, -0.021075952798128128, -0.01526607759296894, 0.045471835881471634, 0.004567233845591545, 0.0436440110206604, -0.023351410403847694, -0.029058704152703285, -0.012524338439106941, -0.021225163713097572, 0.012757480144500732, 0.07878303527832031, -0.01798916608095169, 0.0327889621257782, 0.07068837434053421, -0.002662471029907465, -0.039689935743808746, 0.014687887392938137, 0.03159527853131294, 0.011106841266155243, 0.0737471878528595, 0.02620505727827549, -0.03297547250986099, 0.016487736254930496, 0.029655544087290764, 0.008239205926656723, 0.09071985632181168, -0.03685494139790535, -0.020908091217279434, 0.04744887351989746, -0.01663694716989994, -0.01693536713719368, 0.009073850698769093, -0.0070408605970442295, -0.01798916608095169, -0.06762956082820892, -0.07438132911920547, -0.07564961910247803, -0.013951161876320839, -0.02047911286354065, 0.002351227682083845, 0.06505568325519562, 0.055245108902454376, -0.008616894483566284, 0.043830521404743195, -0.01909891702234745, 0.002014338970184326, 0.024992723017930984, -0.029711497947573662, 0.027156272903084755, 0.027380088344216347, -0.00163548463024199, -0.007856854237616062, 0.06140003353357315, 0.019229475408792496, -0.011787612922489643, 0.0436813123524189, -0.01612403616309166, -0.007194733712822199, 0.05904997140169144, -0.02782771922647953, 0.008393079042434692, -0.01460395660251379, -0.011507843621075153, -0.009325643070042133, 0.011507843621075153, -0.040809012949466705, -0.038123227655887604, -0.02376173809170723, 0.01857668161392212, -0.003012182656675577 ]
16,348
presidio_analyzer.dict_analyzer_result
__eq__
null
from dataclasses import dataclass from typing import List, Union, Iterator from presidio_analyzer import RecognizerResult @dataclass class DictAnalyzerResult: """ Data class for holding the output of the Presidio Analyzer on dictionaries. :param key: key in dictionary :param value: value to run analysis on (either string or list of strings) :param recognizer_results: Analyzer output for one value. Could be either: - A list of recognizer results if the input is one string - A list of lists of recognizer results, if the input is a list of strings. - An iterator of a DictAnalyzerResult, if the input is a dictionary. In this case the recognizer_results would be the iterator of the DictAnalyzerResults next level in the dictionary. """ key: str value: Union[str, List[str], dict] recognizer_results: Union[ List[RecognizerResult], List[List[RecognizerResult]], Iterator["DictAnalyzerResult"], ]
(self, other)
[ 0.0361507385969162, -0.024437518790364265, -0.06966886669397354, -0.012218759395182133, 0.03649412468075752, 0.01151291374117136, -0.017245523631572723, -0.03513966128230095, 0.07791008800268173, 0.006753225345164537, 0.02707013115286827, 0.05051565170288086, 0.010997837409377098, 0.0017085755243897438, -0.01076891366392374, -0.013086758553981781, -0.009237992577254772, 0.0811150074005127, -0.05929102748632431, 0.06306825578212738, -0.014899064786732197, 0.031553205102682114, -0.0018981522880494595, 0.04578457772731781, -0.0031023819465190172, -0.01860952377319336, 0.000033868960599647835, -0.031343359500169754, -0.04212181270122528, -0.010063068941235542, -0.01638706400990486, -0.047463346272706985, -0.019448906183242798, 0.05852795019745827, -0.0029378437902778387, -0.009843683801591396, -0.03800119832158089, 0.0472344234585762, -0.08676177263259888, 0.041663967072963715, -0.049485497176647186, -0.00012914171384181827, -0.07096609473228455, -0.016081832349300385, -0.0008155377581715584, 0.008594146929681301, -0.025028903037309647, -0.022186443209648132, 0.00030120648443698883, -0.09332422912120819, -0.005026765167713165, -0.053949493914842606, -0.01616767793893814, 0.04349534958600998, 0.049103960394859314, 0.01483229547739029, -0.02073659747838974, 0.01297229714691639, 0.020831983536481857, -0.02174767479300499, -0.003920304588973522, -0.010816606692969799, 0.002479997929185629, 0.001085595227777958, 0.03494889289140701, -0.011503375135362148, -0.048951342701911926, 0.0351015105843544, -0.011923067271709442, -0.016978448256850243, -0.004084842745214701, -0.01797044649720192, -0.012533527798950672, 0.014822756871581078, 0.05162211135029793, 0.0013663835125043988, -0.08088608831167221, -0.03483443334698677, 0.06371687352657318, -0.005746918264776468, -0.007182455621659756, -0.009872299619019032, -0.0445636548101902, -0.0492565743625164, -0.01691167801618576, -0.003152458928525448, 0.006452763918787241, -0.03197289630770683, 0.016024602577090263, 0.007344609126448631, -0.04536488652229309, -0.0012709989678114653, -0.004778765141963959, 0.04696734622120857, -0.04009965807199478, 0.06810455769300461, 0.015919679775834084, -0.060015950351953506, -0.013420604169368744, -0.005909072235226631, 0.023884287104010582, 0.08050455152988434, 0.0640602558851242, 0.028367361053824425, -0.008579839020967484, -0.02489536441862583, -0.02701290138065815, -0.0055084568448364735, 0.06364056468009949, 0.03967996686697006, -0.09607130289077759, 0.0039036120288074017, -0.028519976884126663, 0.02094644494354725, 0.0029235361143946648, -0.00503630330786109, -0.029855359345674515, -0.01483229547739029, -0.02010706067085266, 0.032526127994060516, 0.04147319495677948, 0.029168590903282166, 0.00136876804754138, 0.05311011150479317, -0.03306027874350548, -0.014956295490264893, 0.013935680501163006, 0.006481379270553589, 0.0020579213742166758, 0.01084522157907486, 0.044105809181928635, 0.037409815937280655, -0.01899106055498123, -0.008217377588152885, 0.08027562499046326, 0.04837903752923012, 0.033041201531887054, 0.003574535483494401, -0.05417841672897339, 0.00526522658765316, 0.03813473880290985, 0.012447682209312916, 0.026402439922094345, -0.005522764753550291, -0.02813843823969364, -0.04906580597162247, -0.025563055649399757, 0.056391336023807526, -0.008331838995218277, -0.029817206785082817, -0.03513966128230095, -0.03739073872566223, 0.04433473199605942, 0.06253410130739212, -0.006395533215254545, -0.025448594242334366, -0.013325219973921776, -0.03561658412218094, -0.0014844218967482448, -0.04513596370816231, 0.0007946724072098732, -0.07676547765731812, 0.02796674519777298, -0.019420292228460312, -0.014164603315293789, 0.014822756871581078, -0.0004372784751467407, -0.051126111298799515, 0.008398608304560184, -0.00030761511879973114, 0.023750750347971916, -0.06936363130807877, -0.03870704397559166, 0.01978275366127491, -0.03388058766722679, 0.05021042004227638, 0.004726303741335869, 0.04021412134170532, 0.059634413570165634, -0.0158529095351696, -0.010873837396502495, -0.0002909228205680847, -0.09088238328695297, -0.0347772017121315, 0.036932893097400665, 0.015290141105651855, -0.0008769416017457843, 0.04769226908683777, 0.057307031005620956, 0.010415991768240929, -0.027623360976576805, -0.05414026230573654, 0.0021604597568511963, -0.019334444776177406, 0.016472909599542618, -0.027508899569511414, -0.02031690627336502, 0.023674441501498222, -0.010349222458899021, 0.02892059087753296, -0.04780672863125801, 0.006467071361839771, -0.00009322348341811448, 0.04132058098912239, -0.05356795713305473, 0.027146438136696815, -0.016654139384627342, 0.046662114560604095, -0.015137526206672192, -0.04631873220205307, 0.005355841480195522, -0.03466274216771126, 0.009218915365636349, -0.01920090802013874, 0.03546397015452385, -0.04364796355366707, 0.04292304068803787, -0.01095014438033104, 0.00761645520105958, -0.03763873875141144, 0.04448734596371651, -0.01902921497821808, 0.020641213282942772, 0.002456151880323887, 0.019591983407735825, -0.030141513794660568, -0.029531052336096764, -0.002739920746535063, 0.009795991703867912, -0.005909072235226631, 0.02382705733180046, -0.044792577624320984, -0.042198117822408676, -0.0709279403090477, 0.04753965139389038, -0.039489198476076126, 0.040175966918468475, 0.01929629221558571, -0.030007975175976753, 0.034586433321237564, 0.013391989283263683, 0.018704907968640327, -0.0405193492770195, -0.02840551547706127, -0.0959949940443039, -0.016367986798286438, 0.048836883157491684, 0.008851684629917145, 0.01638706400990486, 0.007997993379831314, 0.045441191643476486, -0.036875661462545395, 0.006376456003636122, 0.01611044816672802, 0.09813161194324493, -0.01084522157907486, -0.058680567890405655, -0.02909228391945362, 0.0702030211687088, -0.04460180923342705, 0.03826827555894852, 0.003753381548449397, -0.003164381952956319, 0.05688733607530594, -0.05875687301158905, 0.00024039883282966912, -0.008608454838395119, -0.015251987613737583, 0.0185618307441473, -0.033575356006622314, 0.025620287284255028, 0.021022751927375793, 0.011818144470453262, -0.03401412442326546, -0.04135873541235924, 0.08836423605680466, 0.004716765135526657, 0.0062476871535182, -0.029740897938609123, 0.029492897912859917, -0.007583070546388626, -0.016673216596245766, -0.02659320831298828, -0.06631132960319519, 0.08027562499046326, 0.02317844144999981, -0.012571682222187519, 0.08386208117008209, 0.03952735289931297, -0.020221522077918053, 0.05757410451769829, -0.018599985167384148, 0.00872291624546051, -0.019763676449656487, 0.05700179934501648, 0.03286951035261154, -0.038096584379673004, -0.03367074206471443, -0.006071225740015507, -0.05093534290790558, 0.024284902960062027, -0.006886763498187065, 0.09477407485246658, -0.005889995023608208, -0.05646764487028122, 0.06039748713374138, 0.06291563808917999, -0.020564906299114227, -0.038745198398828506, 0.00663399463519454, -0.011264913715422153, 0.0742473229765892, -0.008126762695610523, 0.03521597012877464, -0.0300461295992136, -0.044258423149585724, 0.001875498448498547, 0.02403690293431282, 0.026364285498857498, 0.03567381575703621, -0.04360980913043022, 0.04959996044635773, 0.027184592559933662, -0.06367871910333633, 0.06505225598812103, -0.02403690293431282, 0.05055380240082741, 0.026516901329159737, 0.06978332996368408, -0.03695197030901909, -0.02403690293431282, -0.07184363156557083, -0.032526127994060516, 0.01919136941432953, 0.02584921009838581, 0.02790951542556286, 0.04608980938792229, 0.006185687147080898, 0.020087983459234238, -0.0371236614882946, -0.013172604143619537, -0.07245409488677979, 0.00007817061123205349, 0.020564906299114227, 0.01663506217300892, -0.012457220815122128, -0.03286951035261154, -0.019324906170368195, 0.08531192690134048, 0.019115060567855835, -0.018599985167384148, 0.018123062327504158, 0.05513226240873337, 0.012943681329488754, 0.05753595381975174, -0.06344979256391525, -0.0011917105875909328, -0.05890949070453644, -0.016816293820738792, 0.014116911217570305, 0.036665815860033035, -0.016949832439422607, -0.035654738545417786, 0.014269527047872543, -0.03285043314099312, -0.028271976858377457, -0.04822641983628273, -0.04036673530936241, 0.06459441035985947, 0.026249824091792107, -0.00713953236117959, -0.010883376002311707, -0.037943966686725616, -0.048684265464544296, 0.07600239664316177, 0.023407364264130592, 0.01728367805480957, 0.0546744167804718, -0.0736750140786171, 0.02701290138065815, -0.005804148968309164, 0.014393526129424572, 0.00378915062174201, -0.0006077783182263374, 0.016263063997030258, -0.022091059014201164, 0.01219968218356371, 0.006457533221691847, -0.004137304145842791, 0.044639963656663895, -0.034910738468170166, 0.000053392985137179494, -0.005651533603668213, -0.007401839829981327, -0.02823382243514061, -0.047883037477731705, -0.07943624258041382, -0.006228610407561064, -0.03737166151404381, -0.017798755317926407, 0.01023476105183363, -0.053835030645132065, -0.011198144406080246, 0.02062213607132435, 0.017512600868940353, -0.05185103416442871, 0.029874436557292938, -0.04555565491318703, -0.014822756871581078, -0.008331838995218277, 0.08180177956819534, -0.013182142749428749, 0.05707810819149017, 0.011226760223507881, -0.02510521002113819, 0.032526127994060516, -0.00043399963760748506, 0.029015975072979927, -0.014851372689008713, 0.0594436414539814, 0.06554825603961945, 0.008045685477554798, 0.05971071869134903, 0.05459810793399811, -0.0018802676349878311, 0.02855812944471836, 0.016186755150556564, -0.0015154217835515738, -0.012829219922423363, -0.03636058419942856, 0.013334758579730988, -0.028367361053824425, -0.009958145208656788, -0.06299194693565369, -0.0007529417052865028, -0.0031929973047226667, -0.07211071252822876, 0.019973522052168846, 0.03899319842457771, -0.007921685464680195, 0.0016251140041276813, 0.026917515322566032, 0.04040488973259926, 0.03967996686697006, 0.04940918833017349, -0.010721221566200256, -0.030980898067355156, 0.02998889796435833, 0.017522139474749565, -0.028214745223522186, -0.00268507469445467, -0.021366136148571968, 0.029855359345674515, 0.028043054044246674, 0.04330458119511604, 0.02525782585144043, -0.04402950033545494, 0.0058470722287893295, 0.005951995030045509, 0.006161841098219156, 0.024494748562574387, -0.030618436634540558, 0.05269041657447815, -0.04170211777091026, -0.01978275366127491, 0.044907040894031525, -0.003178689628839493, 0.026726746931672096, -0.04914211481809616, -0.01326798927038908, 0.024208595976233482, 0.0022236520890146494, 0.031228896230459213, -0.03037043660879135, 0.0273372083902359, 0.03502520173788071, 0.041816581040620804, -0.03231628239154816, -0.01797044649720192, -0.0052270726300776005, 0.045593809336423874, 0.037199970334768295, 0.05303380265831947, -0.02951197512447834, -0.022472595795989037, -0.02829105406999588, 0.015461833216249943, -0.028539054095745087, -0.02344551868736744, 0.04257965832948685, -0.019448906183242798, 0.02748982422053814, 0.017751062288880348, 0.005031534470617771, 0.03534951061010361, 0.020355060696601868, 0.07169101387262344, 0.06737963855266571, 0.01743629388511181, -0.05932918190956116, 0.02674582414329052, -0.02275875024497509, -0.02004982903599739, -0.05295749381184578, 0.05520857125520706, 0.012085220776498318, -0.03311751037836075, -0.0011314990697428584, -0.03344181925058365, 0.011627375148236752, -0.05642949044704437, -0.014670141972601414, 0.06398394703865051, -0.022739673033356667, -0.032354433089494705, -0.0054559954442083836, -0.004218380898237228, -0.021347058936953545, -0.06509041041135788, -0.036074429750442505, -0.04025227576494217, 0.017798755317926407, -0.002272536512464285, 0.02647874690592289, -0.01340152695775032, 0.03367074206471443, 0.014269527047872543, -0.022663366049528122, 0.010101222433149815, -0.005241380073130131, -0.019496599212288857, -0.04494519159197807, 0.0034839201252907515, 0.03918396681547165, 0.03292674198746681, 0.032354433089494705, 0.048569805920124054, 0.010520914569497108, 0.028748899698257446, 0.05837533622980118, 0.060550104826688766, 0.06306825578212738, -0.05433103069663048, -0.03851627558469772, 0.1094251424074173, -0.012485835701227188, -0.02642151713371277, 0.03306027874350548, -0.011627375148236752, 0.032354433089494705, -0.05211811140179634, -0.02605905570089817, 0.0019458445021882653, 0.005723072215914726, -0.038897812366485596, 0.03353720158338547, 0.035425815731287, -0.04711996018886566, 0.06467071175575256, 0.007587839849293232, 0.02615443989634514, -0.020545829087495804, -0.025391362607479095, -0.04444919526576996, 0.025620287284255028, 0.0022677674423903227, -0.018838446587324142, 0.07375132292509079, -0.05635318532586098, -0.011274452321231365, 0.049103960394859314, -0.02918766811490059, -0.031247973442077637, 0.0006718648364767432, -0.02840551547706127, 0.03332735598087311, -0.014164603315293789, -0.01574798673391342, 0.052728570997714996, -0.06329717487096786, -0.02430398017168045, 0.041396889835596085, 0.047463346272706985, -0.07520116865634918, -0.0087753776460886, -0.013172604143619537, -0.029435668140649796, 0.025028903037309647, -0.00956706888973713, 0.016816293820738792, -0.03704735264182091, 0.01515660248696804, -0.05143134295940399, 0.020507674664258957, 0.05707810819149017, -0.02418951876461506, -0.000043780011765193194, 0.003398074069991708, 0.0049695344641804695, -0.0479593463242054, -0.07546824216842651, -0.01209475938230753, -0.06772302091121674, -0.01241906639188528, 0.042884886264801025, -0.03718089312314987, 0.02436120994389057, 0.020278751850128174, 0.01818983070552349, 0.0013389603700488806, -0.006061687134206295, -0.004380534868687391, 0.027203669771552086, 0.010425529442727566, 0.026020901277661324, -0.035864584147930145, -0.012447682209312916, 0.0029998435638844967, -0.004411534871906042, 0.02031690627336502, 0.019477522000670433, -0.027470747008919716, 0.012142451480031013, 0.011427067220211029, -0.06894394010305405, -0.007277840282768011, 0.03594089299440384, -0.028691668063402176, 0.03534951061010361, -0.07844424247741699, 0.007888301275670528, 0.03691381588578224, 0.023102134466171265, -0.035063356161117554, -0.05635318532586098, 0.013439681380987167, 0.02237721160054207, 0.020660290494561195, 0.011598759330809116, -0.05276672542095184, -0.02478090301156044, -0.012266451492905617, -0.05654395371675491, 0.0702793225646019, -0.03430027887225151, -0.020812906324863434, 0.007010763511061668, 0.031457819044589996, 0.029855359345674515, 0.0016048448160290718, 0.013592296279966831, 0.04254150390625, -0.047883037477731705, 0.013029527850449085, 0.010110761038959026, -0.028787052258849144, 0.043838731944561005, -0.01828521490097046, -0.04471626877784729, 0.0546744167804718, 0.00011446144344517961, -0.0003314612549729645, -0.025086132809519768, -0.07512485980987549, 0.045059654861688614, -0.012209220789372921, 0.005131687968969345, 0.018790753558278084, 0.05635318532586098, -0.007740455213934183, 0.03349905088543892, 0.002465690253302455, -0.0008638261933811009, -0.025162439793348312, 0.011493836529552937, 0.009214146062731743, -0.015099371783435345, -0.0022534597665071487, 0.037142738699913025, -0.05249964818358421, -0.034128587692976, 0.02674582414329052, 0.003960842732340097, 0.008131531998515129, -0.0439150407910347, 0.005694456864148378, 0.01475598756223917, -0.05791749060153961, 0.0036675354931503534, -0.06837163865566254, -0.016625525429844856, -0.027089208364486694, 0.02977905236184597, -0.07420916855335236, -0.029874436557292938, -0.02153782732784748, -0.04250334948301315, -0.045441191643476486, -0.02424674853682518, -0.012543066404759884, 0.034052278846502304, 0.006476609967648983, 0.04700550064444542, -0.020927367731928825, -0.02844366803765297, 0.0065672253258526325, -0.02537228725850582, 0.009958145208656788, 0.05654395371675491, -0.015309218317270279, 0.03826827555894852, 0.07798639684915543, -0.00919506885111332, -0.05757410451769829, 0.009524146094918251, 0.029225822538137436, 0.0019684983417391777, 0.07142394036054611, 0.005160303320735693, -0.03489166498184204, 0.0177129078656435, 0.04280858114361763, 0.009257068857550621, 0.0946214571595192, -0.04582273215055466, -0.02260613441467285, 0.05608610808849335, -0.025143364444375038, -0.0058709182776510715, 0.006228610407561064, 0.007997993379831314, -0.020221522077918053, -0.08599869906902313, -0.07394209504127502, -0.062076255679130554, -0.004447304178029299, -0.026345208287239075, -0.014555680565536022, 0.04986703395843506, 0.05536118522286415, -0.017159678041934967, 0.04025227576494217, -0.022262750193476677, 0.009557530283927917, 0.011999374255537987, -0.0317821279168129, 0.02418951876461506, 0.026364285498857498, 0.011417528614401817, -0.011665528640151024, 0.05684918165206909, 0.026020901277661324, -0.02537228725850582, 0.028653515502810478, -0.010005838237702847, 0.017092909663915634, 0.05291933938860893, -0.023540902882814407, 0.01055906806141138, -0.0236172117292881, 0.0037724582944065332, -0.018371062353253365, 0.0013055758317932487, -0.04048119857907295, -0.023388288915157318, -0.018647676333785057, 0.003798689227551222, -0.004499765578657389 ]
16,351
presidio_analyzer.entity_recognizer
EntityRecognizer
A class representing an abstract PII entity recognizer. EntityRecognizer is an abstract class to be inherited by Recognizers which hold the logic for recognizing specific PII entities. EntityRecognizer exposes a method called enhance_using_context which can be overridden in case a custom context aware enhancement is needed in derived class of a recognizer. :param supported_entities: the entities supported by this recognizer (for example, phone number, address, etc.) :param supported_language: the language supported by this recognizer. The supported langauge code is iso6391Name :param name: the name of this recognizer (optional) :param version: the recognizer current version :param context: a list of words which can help boost confidence score when they appear in context of the matched entity
class EntityRecognizer: """ A class representing an abstract PII entity recognizer. EntityRecognizer is an abstract class to be inherited by Recognizers which hold the logic for recognizing specific PII entities. EntityRecognizer exposes a method called enhance_using_context which can be overridden in case a custom context aware enhancement is needed in derived class of a recognizer. :param supported_entities: the entities supported by this recognizer (for example, phone number, address, etc.) :param supported_language: the language supported by this recognizer. The supported langauge code is iso6391Name :param name: the name of this recognizer (optional) :param version: the recognizer current version :param context: a list of words which can help boost confidence score when they appear in context of the matched entity """ MIN_SCORE = 0 MAX_SCORE = 1.0 def __init__( self, supported_entities: List[str], name: str = None, supported_language: str = "en", version: str = "0.0.1", context: Optional[List[str]] = None, ): self.supported_entities = supported_entities if name is None: self.name = self.__class__.__name__ # assign class name as name else: self.name = name self._id = f"{self.name}_{id(self)}" self.supported_language = supported_language self.version = version self.is_loaded = False self.context = context if context else [] self.load() logger.info("Loaded recognizer: %s", self.name) self.is_loaded = True @property def id(self): """Return a unique identifier of this recognizer.""" return self._id @abstractmethod def load(self) -> None: """ Initialize the recognizer assets if needed. (e.g. machine learning models) """ @abstractmethod def analyze( self, text: str, entities: List[str], nlp_artifacts: NlpArtifacts ) -> List[RecognizerResult]: """ Analyze text to identify entities. :param text: The text to be analyzed :param entities: The list of entities this recognizer is able to detect :param nlp_artifacts: A group of attributes which are the result of an NLP process over the input text. :return: List of results detected by this recognizer. """ return None def enhance_using_context( self, text: str, raw_recognizer_results: List[RecognizerResult], other_raw_recognizer_results: List[RecognizerResult], nlp_artifacts: NlpArtifacts, context: Optional[List[str]] = None, ) -> List[RecognizerResult]: """Enhance confidence score using context of the entity. Override this method in derived class in case a custom logic is needed, otherwise return value will be equal to raw_results. in case a result score is boosted, derived class need to update result.recognition_metadata[RecognizerResult.IS_SCORE_ENHANCED_BY_CONTEXT_KEY] :param text: The actual text that was analyzed :param raw_recognizer_results: This recognizer's results, to be updated based on recognizer specific context. :param other_raw_recognizer_results: Other recognizer results matched in the given text to allow related entity context enhancement :param nlp_artifacts: The nlp artifacts contains elements such as lemmatized tokens for better accuracy of the context enhancement process :param context: list of context words """ return raw_recognizer_results def get_supported_entities(self) -> List[str]: """ Return the list of entities this recognizer can identify. :return: A list of the supported entities by this recognizer """ return self.supported_entities def get_supported_language(self) -> str: """ Return the language this recognizer can support. :return: A list of the supported language by this recognizer """ return self.supported_language def get_version(self) -> str: """ Return the version of this recognizer. :return: The current version of this recognizer """ return self.version def to_dict(self) -> Dict: """ Serialize self to dictionary. :return: a dictionary """ return_dict = { "supported_entities": self.supported_entities, "supported_language": self.supported_language, "name": self.name, "version": self.version, } return return_dict @classmethod def from_dict(cls, entity_recognizer_dict: Dict) -> "EntityRecognizer": """ Create EntityRecognizer from a dict input. :param entity_recognizer_dict: Dict containing keys and values for instantiation """ return cls(**entity_recognizer_dict) @staticmethod def remove_duplicates(results: List[RecognizerResult]) -> List[RecognizerResult]: """ Remove duplicate results. Remove duplicates in case the two results have identical start and ends and types. :param results: List[RecognizerResult] :return: List[RecognizerResult] """ results = list(set(results)) results = sorted(results, key=lambda x: (-x.score, x.start, -(x.end - x.start))) filtered_results = [] for result in results: if result.score == 0: continue to_keep = result not in filtered_results # equals based comparison if to_keep: for filtered in filtered_results: # If result is contained in one of the other results if ( result.contained_in(filtered) and result.entity_type == filtered.entity_type ): to_keep = False break if to_keep: filtered_results.append(result) return filtered_results
(supported_entities: List[str], name: str = None, supported_language: str = 'en', version: str = '0.0.1', context: Optional[List[str]] = None)
[ 0.0399361252784729, -0.10283602029085159, -0.08528256416320801, 0.040276773273944855, 0.017413193359971046, -0.05859168618917465, 0.01109114196151495, -0.0573493167757988, 0.06640658527612686, -0.008195621892809868, -0.006367136724293232, -0.02933591976761818, -0.03482638671994209, 0.01799429953098297, -0.04380349814891815, 0.005786029156297445, -0.02430633269250393, 0.03073859214782715, 0.012283414602279663, -0.04696953296661377, -0.016481416299939156, 0.013656030409038067, -0.03907448425889015, 0.000359435158316046, 0.0190663430839777, -0.004861767403781414, 0.02314411662518978, -0.03180061653256416, -0.026931336149573326, -0.00397507706657052, -0.017613574862480164, -0.026049654930830002, 0.026991451159119606, -0.005460408516228199, -0.047851212322711945, -0.06300009042024612, -0.019677508622407913, 0.08464133739471436, -0.03594852238893509, 0.02618992328643799, -0.09169478714466095, -0.018515292555093765, 0.0325019545853138, -0.01593036577105522, -0.03789222985506058, 0.015259086154401302, -0.0028654620982706547, 0.029616454616189003, 0.0455668568611145, -0.04861266538500786, -0.004693947266787291, -0.0620783306658268, -0.013465668074786663, 0.03582829609513283, -0.03564795106649399, 0.0328025259077549, -0.033664170652627945, 0.05434358865022659, 0.0014540216652676463, -0.01820470206439495, 0.044204261153936386, 0.001444002497009933, 0.0047164903953671455, 0.026109769940376282, -0.01052005309611559, 0.004781614523380995, -0.01715269684791565, 0.0387338325381279, -0.020819686353206635, 0.02574908174574375, -0.0230840016156435, -0.05125770717859268, 0.03825291618704796, 0.023965682834386826, 0.038994330912828445, 0.023845452815294266, -0.0107905687764287, 0.006286983843892813, 0.1100497767329216, -0.006367136724293232, 0.023464728146791458, 0.01817464455962181, 0.045967623591423035, -0.07618521898984909, 0.0455668568611145, -0.03145996853709221, -0.010214470326900482, -0.036148905754089355, 0.017493344843387604, -0.0490935817360878, -0.05831114947795868, 0.05410312861204147, -0.004200506955385208, 0.052219539880752563, 0.004621309228241444, 0.04640846326947212, -0.002978176809847355, -0.07730735838413239, -0.002197939669713378, -0.039114560931921005, -0.02326434664428234, 0.09490089863538742, -0.026229998096823692, 0.011371676810085773, 0.023224269971251488, -0.009883840568363667, -0.05109740048646927, 0.011321580968797207, 0.04272143542766571, 0.05546572804450989, -0.07189704477787018, -0.014457558281719685, -0.004476032219827175, 0.009282694198191166, -0.0070784930139780045, -0.0656852051615715, -0.04444471746683121, 0.012193242087960243, 0.0003290647582616657, 0.028574468567967415, 0.00959328655153513, -0.013856412842869759, -0.06664703786373138, 0.024506714195013046, -0.04216036573052406, -0.03853345289826393, 0.00793512538075447, 0.03053821064531803, 0.00327123561874032, -0.08440088480710983, -0.02364507131278515, 0.022522931918501854, -0.031179433688521385, 0.006046525668352842, 0.056507714092731476, -0.003937505651265383, -0.01076051127165556, 0.022162245586514473, -0.027973322197794914, 0.02478724904358387, 0.01221328042447567, -0.031239548698067665, 0.053301602602005005, -0.028834965080022812, -0.054263435304164886, -0.022282473742961884, -0.0011753654107451439, -0.007544381078332663, -0.04837220534682274, -0.028313972055912018, 0.008375965990126133, -0.02879488840699196, 0.014497634954750538, -0.040457118302583694, 0.0067879389971494675, -0.014838283881545067, 0.0016581607051193714, -0.08311843872070312, -0.009853783063590527, -0.006131688132882118, -0.009783648885786533, -0.07975202053785324, 0.009007168933749199, 0.01909640058875084, 0.011922726407647133, -0.0037922286428511143, -0.012704216875135899, -0.03919471055269241, -0.04127868264913559, 0.009808696806430817, -0.00140893564093858, -0.003521712962538004, -0.009603305719792843, 0.0050621493719518185, -0.03156016021966934, 0.13345438241958618, 0.02370518632233143, 0.014477596618235111, -0.010860702022910118, 0.06532452255487442, 0.03709070011973381, -0.03534737974405289, -0.06544475257396698, -0.053542058914899826, 0.02769278734922409, 0.03011740930378437, 0.02933591976761818, 0.041118379682302475, -0.001669432269409299, 0.04340273141860962, -0.0001736121776048094, -0.06316039711236954, 0.020288674160838127, -0.011211371049284935, -0.021781519055366516, 0.03568802773952484, -0.040216658264398575, -0.0004593130433931947, -0.01541939191520214, 0.00329628330655396, -0.046168003231287, 0.004571213386952877, 0.016711855307221413, 0.021981900557875633, -0.055305421352386475, 0.037731923162937164, -0.019447069615125656, 0.027552518993616104, -0.05418328195810318, -0.07614514231681824, -0.04957449808716774, -0.04472525417804718, -0.0005197406862862408, 0.007679638918489218, 0.07846957445144653, -0.05133786052465439, 0.03556779772043228, 0.03586837276816368, -0.007208741270005703, 0.003571808570995927, 0.00539528438821435, -0.051057323813438416, -0.030458059161901474, -0.019016249105334282, 0.006933216005563736, 0.017353078350424767, 0.00721375085413456, 0.006657690741121769, 0.03969566524028778, -0.029436109587550163, 0.000609599519520998, -0.05598672106862068, 0.017493344843387604, 0.025047745555639267, -0.00025580008514225483, 0.01924668811261654, 0.06536459922790527, 0.05971382558345795, -0.0340048186480999, 0.0037170853465795517, 0.00019239798712078482, 0.01157205831259489, -0.023104039952158928, -0.029135538265109062, -0.05610695108771324, -0.022042015567421913, 0.08584363013505936, -0.00953317154198885, 0.03939509391784668, -0.020939914509654045, 0.016000499948859215, -0.03703058511018753, -0.028955193236470222, 0.00796518288552761, -0.0008929521427489817, -0.047851212322711945, -0.05726916342973709, -0.004613794852048159, 0.044204261153936386, -0.024346409365534782, -0.013545820489525795, 0.03576818108558655, -0.02314411662518978, 0.06776917725801468, -0.04272143542766571, 0.010850682854652405, 0.007354017812758684, 0.0155195826664567, -0.014417482540011406, -0.016170823946595192, 0.0011540749110281467, 0.016391243785619736, -0.029556339606642723, -0.010780549608170986, -0.01691223680973053, 0.05698863044381142, -0.06792948395013809, 0.00892200693488121, -0.06452298909425735, 0.025989539921283722, 0.039114560931921005, -0.00033908383920788765, -0.0016669274773448706, -0.0021728919818997383, 0.07638560235500336, -0.014387425035238266, -0.020198501646518707, 0.011501925066113472, -0.012924636714160442, -0.036629822105169296, -0.02400575950741768, 0.030077332630753517, 0.06700772792100906, 0.009753592312335968, 0.017653651535511017, 0.00563574256375432, -0.016571588814258575, -0.03302294760942459, 0.00742415152490139, -0.05775007978081703, 0.0028153664898127317, 0.04528632387518883, 0.08247721940279007, -0.03592848405241966, -0.06255924701690674, -0.01978771947324276, 0.05799053981900215, -0.03204107657074928, 0.022262435406446457, -0.04284166172146797, -0.011211371049284935, 0.02128056436777115, -0.0030257676262408495, -0.017593536525964737, -0.00777482008561492, -0.031299661844968796, 0.03290271759033203, 0.002417107345536351, 0.03356397897005081, 0.05326152592897415, -0.031419891864061356, 0.05895237252116203, 0.0161006897687912, 0.01933685876429081, 0.08864898234605789, -0.07883026450872421, 0.0361088290810585, 0.03763173148036003, 0.006707786116749048, -0.033183254301548004, -0.03089889883995056, -0.0538225956261158, -0.005495475139468908, 0.008230688981711864, -0.01706252433359623, -0.05358213558793068, 0.02436644583940506, 0.00015052130038384348, 0.041599296033382416, -0.03576818108558655, 0.02170136570930481, -0.023003850132226944, -0.025989539921283722, 0.04079776629805565, 0.021200411021709442, -0.032461877912282944, 0.03200099989771843, -0.026350228115916252, 0.039475247263908386, -0.0003672625753097236, -0.02266320027410984, -0.0739409476518631, 0.05434358865022659, 0.01318513322621584, 0.019737623631954193, -0.04793136566877365, -0.04921381175518036, -0.030458059161901474, 0.008546290919184685, -0.04580731689929962, -0.014708035625517368, -0.01691223680973053, -0.01799429953098297, 0.04544663056731224, -0.024707095697522163, -0.007574438117444515, 0.003889914834871888, -0.022502893581986427, 0.011281504295766354, -0.03083878383040428, -0.025789158418774605, -0.021440869197249413, -0.03216130658984184, -0.005801057908684015, 0.05987412855029106, -0.03749146685004234, 0.006231878884136677, 0.03478631004691124, -0.019386954605579376, 0.04700960963964462, 0.018926076591014862, 0.09257646650075912, -0.02424621768295765, 0.0041654398664832115, 0.0012899588327854872, -0.04957449808716774, 0.034084971994161606, 0.02520805038511753, 0.02843420021235943, 0.0067178052850067616, -0.028253857046365738, -0.004663890227675438, -0.01975766196846962, -0.03923478722572327, -0.05169854685664177, -0.02102006785571575, -0.07903064787387848, -0.0055906567722558975, -0.04424433782696724, -0.03652963042259216, 0.002720185089856386, 0.014227119274437428, 0.06352107971906662, 0.0053301602602005005, -0.010970912873744965, 0.012443719431757927, 0.06139703467488289, 0.06175772100687027, -0.027492405846714973, 0.04765082895755768, -0.04708976298570633, 0.010900778695940971, -0.012654121033847332, -0.013605935499072075, -0.08183599263429642, -0.016711855307221413, 0.028133627027273178, 0.05049625411629677, -0.00036319231730885804, 0.06143711134791374, -0.006297003012150526, 0.04588747024536133, 0.05646763741970062, 0.04568708688020706, -0.03164031356573105, 0.017493344843387604, -0.02721187099814415, -0.007273865398019552, -0.03478631004691124, -0.06384169310331345, -0.013786278665065765, 0.009377876296639442, -0.044204261153936386, -0.047851212322711945, -0.005725914612412453, -0.027251947671175003, -0.007128588389605284, -0.02260308526456356, -0.021841634064912796, 0.010710415430366993, -0.01100096944719553, 0.018865961581468582, 0.05181877687573433, 0.045005787163972855, 0.05446381866931915, -0.050816867500543594, -0.06965277343988419, 0.02188171073794365, -0.027853092178702354, -0.0364094041287899, 0.02400575950741768, 0.03544756770133972, 0.05237984657287598, 0.03819280117750168, -0.010339708998799324, 0.022943735122680664, 0.02637026645243168, 0.015379315242171288, -0.006216850597411394, 0.012173204682767391, -0.01487836055457592, 0.040457118302583694, 0.011241428554058075, 0.02999717928469181, 0.00565077131614089, 0.03232160955667496, 0.01655155047774315, -0.0431622751057148, -0.06712795794010162, 0.001486583729274571, 0.056267254054546356, -0.011221390217542648, 0.0579504631459713, -0.014287234283983707, -0.02793324552476406, 0.036509592086076736, 0.05189892649650574, -0.03376436233520508, 0.016200881451368332, 0.00954820029437542, 0.09490089863538742, -0.02290365844964981, -0.005510503891855478, -0.023625032976269722, 0.0029806816019117832, -0.01157205831259489, 0.03901436924934387, -0.02879488840699196, -0.02859450690448284, 0.01254391111433506, -0.046087849885225296, 0.012443719431757927, 0.04368326812982559, 0.007108550053089857, -0.012734273448586464, -0.01460784487426281, 0.02290365844964981, 0.006572528276592493, 0.05169854685664177, -0.04837220534682274, 0.017413193359971046, -0.04216036573052406, -0.0012811921769753098, -0.03226149454712868, 0.09025203436613083, -0.008796768262982368, -0.03302294760942459, 0.026530571281909943, -0.04628823325037956, 0.017323020845651627, -0.06712795794010162, -0.041719526052474976, 0.12014902383089066, -0.06223863735795021, 0.00493190111592412, -0.0033914647065103054, -0.00954820029437542, 0.03226149454712868, -0.00957825779914856, -0.004010144155472517, -0.0006296376814134419, 0.011582077480852604, 0.01930680125951767, -0.04119853302836418, 0.04304204508662224, 0.022983811795711517, -0.02412598766386509, 0.003727104514837265, 0.06348100304603577, -0.017553459852933884, 0.0017082561971619725, -0.04187982901930809, 0.012674159370362759, -0.0007702181464992464, 0.03133973851799965, 0.05169854685664177, 0.006246907636523247, -0.03204107657074928, 0.024506714195013046, 0.04400387778878212, 0.032221417874097824, 0.0343053936958313, -0.05173862352967262, -0.02065937966108322, 0.05005541443824768, 0.0023482260294258595, -0.012073013000190258, 0.012133128009736538, -0.04648861661553383, 0.001958733657374978, 0.03492657467722893, -0.005244997795671225, -0.00957825779914856, 0.008576348423957825, 0.058391302824020386, -0.012423682026565075, 0.02733209915459156, -0.0019048809772357345, 0.024025797843933105, 0.04652869328856468, 0.008836844936013222, -0.003559284610673785, 0.003514198586344719, -0.038032498210668564, 0.01442750170826912, 0.03825291618704796, -0.02122044935822487, 0.06592566519975662, -0.05173862352967262, -0.020428940653800964, 0.050576407462358475, 0.0008672781987115741, -0.01511881873011589, 0.01817464455962181, -0.06324055045843124, 0.05951344221830368, -0.00013134411710780114, -0.017443249002099037, 0.022563008591532707, -0.023544881492853165, 0.023665109649300575, -0.004736528731882572, 0.016541531309485435, -0.056267254054546356, 0.020228559151291847, -0.022803466767072678, 0.020899837836623192, 0.04688937962055206, 0.026330189779400826, 0.0221822839230299, -0.061958104372024536, 0.034946613013744354, 0.039054445922374725, 0.01109114196151495, 0.025368357077240944, 0.024526752531528473, -0.0159904807806015, -0.02236262708902359, -0.012774350121617317, -0.0514981634914875, -0.00815554615110159, -0.029315881431102753, -0.0010607719887048006, 0.007895049639046192, 0.06556497514247894, -0.041438989341259, -0.048692818731069565, -0.019206611439585686, 0.0018147091614082456, 0.02376530133187771, -0.01900622993707657, -0.00893703568726778, 0.03705062344670296, -0.024506714195013046, 0.01820470206439495, -0.023484766483306885, -0.021801557391881943, 0.07021383941173553, 0.06616612523794174, 0.004380850587040186, 0.01554964017122984, 0.023845452815294266, -0.017823975533246994, 0.005375246051698923, -0.03697047382593155, -0.030918937176465988, -0.007664610166102648, -0.07069475948810577, -0.025789158418774605, -0.0381326861679554, 0.03452581167221069, -0.016952313482761383, 0.016681797802448273, -0.017493344843387604, 0.02236262708902359, 0.04280158877372742, 0.039355017244815826, -0.005655780900269747, -0.013285323977470398, 0.024626942351460457, -0.014958513900637627, -0.019176553934812546, -0.023985721170902252, 0.021681329235434532, -0.045606933534145355, 0.01784401386976242, -0.046087849885225296, -0.001064529176801443, 0.0815955325961113, 0.07862988114356995, 0.0026300132740288973, 0.05879206955432892, -0.012864521704614162, -0.02314411662518978, -0.03907448425889015, 0.06259932368993759, -0.010054164566099644, -0.0006030244403518736, 0.01646137796342373, 0.04296189174056053, -0.032281532883644104, 0.06376153975725174, 0.05157831683754921, -0.007384075317531824, -0.004293183330446482, 0.00625692680478096, 0.035006728023290634, -0.03152008354663849, 0.06211840733885765, 0.06243902072310448, 0.001035724300891161, -0.02014840580523014, 0.00863646250218153, 0.05169854685664177, -0.02556873857975006, 0.01823475770652294, 0.006156735587865114, -0.009427971206605434, 0.004881805740296841, -0.029917027801275253, 0.036389365792274475, 0.015379315242171288, -0.010009079240262508, -0.0005930053885094821, 0.0034215219784528017, 0.009037226438522339, -0.023524843156337738, -0.016832085326313972, 0.016842104494571686, -0.056387484073638916, -0.03697047382593155, 0.024827325716614723, -0.0018522808095440269, -0.03308306261897087, 0.022462818771600723, -0.010379785671830177, -0.06504398584365845, -0.10003067553043365, -0.009387894533574581, -0.019296782091259956, 0.029776759445667267, -0.016741912811994553, -0.02861454337835312, -0.019767681136727333, -0.006823005620390177, 0.06163749098777771, -0.06776917725801468, -0.009432980790734291, 0.03971570357680321, -0.024286294355988503, 0.04444471746683121, 0.030137447640299797, 0.059914205223321915, -0.008836844936013222, 0.042400822043418884, 0.033243369311094284, 0.036329250782728195, 0.04011647030711174, 0.006462318357080221, -0.021320641040802002, 0.03406493365764618, 0.012523872777819633, 0.04941419139504433, 0.01652149297297001, -0.031179433688521385, 0.0022129681892693043, 0.045847393572330475, -0.04416418448090553, 0.07337987422943115, -0.011010988615453243, -0.02400575950741768, 0.008295813575387001, -0.07129590213298798, -0.07321956753730774, -0.03546760603785515, -0.05726916342973709, 0.03807257115840912, -0.044324491173028946, -0.03071855567395687, 0.007098530884832144, 0.012634082697331905, -0.00954820029437542, -0.04761075600981712, 0.021060144528746605, 0.006452299188822508, 0.050897017121315, 0.06452298909425735, 0.005004539620131254, 0.0018885999452322721, -0.02146090753376484, 0.05887221917510033, 0.028634581714868546, 0.017563479021191597, 0.013175114057958126, 0.03727104514837265, 0.004751557484269142, 0.05250007286667824, 0.004919377155601978, -0.004889320116490126, -0.02200193889439106, 0.01167224906384945, -0.05173862352967262, 0.014177023433148861, -0.008506214246153831, -0.00986380223184824, 0.030017217621207237, 0.033664170652627945, 0.040577348321676254 ]
16,352
presidio_analyzer.entity_recognizer
__init__
null
def __init__( self, supported_entities: List[str], name: str = None, supported_language: str = "en", version: str = "0.0.1", context: Optional[List[str]] = None, ): self.supported_entities = supported_entities if name is None: self.name = self.__class__.__name__ # assign class name as name else: self.name = name self._id = f"{self.name}_{id(self)}" self.supported_language = supported_language self.version = version self.is_loaded = False self.context = context if context else [] self.load() logger.info("Loaded recognizer: %s", self.name) self.is_loaded = True
(self, supported_entities: List[str], name: Optional[str] = None, supported_language: str = 'en', version: str = '0.0.1', context: Optional[List[str]] = None)
[ 0.011738469824194908, -0.0708785131573677, -0.05547792464494705, -0.0016497429460287094, 0.0057886503636837006, -0.00982234999537468, 0.018767226487398148, 0.010099919512867928, 0.012481637299060822, 0.048314861953258514, 0.0021477998234331608, 0.023136693984270096, -0.0556211844086647, 0.0273808091878891, -0.00397997722029686, -0.009029936976730824, -0.02757779322564602, 0.04559289664030075, -0.028616437688469887, -0.0682998076081276, -0.023548569530248642, 0.03594066947698593, -0.03046092577278614, 0.00246006459929049, 0.04100853577256203, 0.023441124707460403, 0.00849718414247036, -0.0058647580444812775, -0.06432430446147919, -0.012875606305897236, -0.010744594968855381, 0.021721988916397095, 0.006187095772475004, 0.024855829775333405, -0.01469323318451643, -0.045521266758441925, -0.03441851958632469, 0.028956683352589607, -0.06933844834566116, -0.016098985448479652, -0.03728374466300011, -0.014379849657416344, 0.0053722974844276905, 0.002314564771950245, -0.0813007652759552, 0.04480496048927307, 0.0044657220132648945, 0.004145622719079256, 0.025357244536280632, 0.029368558898568153, -0.00928512029349804, -0.01623329147696495, -0.008215137757360935, 0.0012177207972854376, -0.051108457148075104, 0.053543899208307266, -0.012875606305897236, 0.059775762259960175, -0.014415664598345757, 0.031893540173769, 0.03090861812233925, -0.011890685185790062, 0.03624510020017624, 0.03728374466300011, -0.0062318649142980576, 0.027022656053304672, 0.04090109094977379, 0.009043367579579353, -0.005036528687924147, 0.03674651309847832, 0.03534971550107002, -0.02707637846469879, 0.002466779900714755, 0.02224131114780903, 0.06962497532367706, 0.02447976917028427, -0.06987567991018295, 0.037534452974796295, 0.059775762259960175, 0.034937839955091476, 0.01003724243491888, 0.014406710863113403, 0.0101625956594944, -0.054725803434848785, 0.03114141710102558, -0.029708804562687874, -0.009974565356969833, -0.06908774375915527, -0.01520360168069601, -0.020146114751696587, -0.09376449882984161, 0.04240533336997032, -0.02286808006465435, 0.039110325276851654, -0.04161739721894264, -0.013574005104601383, 0.03517064079642296, -0.03221587836742401, 0.023226233199238777, 0.0069078789092600346, -0.007207832299172878, 0.03114141710102558, -0.058056626468896866, -0.026324257254600525, -0.020593807101249695, 0.002417533891275525, -0.02600191906094551, 0.0008343849331140518, -0.007507785689085722, 0.018641872331500053, 0.0088195214048028, -0.01704809069633484, 0.051108457148075104, 0.09254677593708038, -0.02786431647837162, -0.05329319089651108, -0.02071916125714779, 0.0003321311087347567, 0.019716331735253334, 0.01559756975620985, -0.003935208078473806, 0.004009076859802008, -0.06582855433225632, 0.02693311683833599, -0.02086242102086544, -0.0330217219889164, 0.0095268739387393, -0.02693311683833599, 0.011416131630539894, -0.04448262229561806, 0.0674760565161705, 0.022062234580516815, -0.03235913813114166, -0.006173665169626474, 0.026951026171445847, -0.03468713536858559, -0.027488255873322487, 0.008304676041007042, -0.039647553116083145, 0.0272375475615263, -0.037498634308576584, -0.041796475648880005, 0.047526925802230835, -0.024658845737576485, -0.062318649142980576, 0.01964469999074936, -0.02927902154624462, -0.045127298682928085, -0.032645661383867264, -0.029064128175377846, 0.010467026382684708, 0.006406464613974094, 0.01378889661282301, -0.024426044896245003, -0.013824711553752422, -0.039110325276851654, -0.0027309178840368986, -0.06969660520553589, 0.0043739452958106995, 0.028885051608085632, 0.03135630860924721, 0.0026771947741508484, -0.04115179926156998, 0.030335573479533195, 0.00019390636589378119, -0.03158910945057869, -0.0015926623018458486, -0.04462588205933571, -0.014729049056768417, 0.04025641456246376, 0.018050920218229294, -0.014657418243587017, -0.002648094901815057, 0.021775711327791214, -0.008004723116755486, 0.06446757167577744, 0.01047598011791706, 0.03141003102064133, 0.02184734307229519, 0.014344033785164356, 0.03667488321661949, 0.010807272046804428, -0.04584360495209694, -0.059238534420728683, 0.029207389801740646, 0.05440346524119377, 0.03085489571094513, 0.06403778493404388, 0.020253561437129974, 0.03382756561040878, 0.03921777009963989, -0.023620201274752617, 0.03214424476027489, -0.010825179517269135, -0.016170615330338478, 0.03026394173502922, -0.013135267421603203, -0.013162128627300262, -0.06529132276773453, 0.0017750966362655163, 0.01400378905236721, 0.0364241749048233, 0.004315745551139116, -0.0030554940458387136, -0.05021307244896889, 0.037391189485788345, 0.038967065513134, 0.06478990614414215, -0.03914614021778107, -0.07492563873529434, -0.007525693159550428, -0.050320517271757126, -0.021238481625914574, 0.03173236921429634, 0.029314836487174034, -0.04795670881867409, 0.0016654122155159712, -0.007619708310812712, 0.025625858455896378, 0.0020526652224361897, 0.08151566237211227, 0.03506319597363472, 0.0028629868756979704, -0.010986348614096642, -0.01591990888118744, -0.021023590117692947, 0.0023481417447328568, -0.042835116386413574, -0.018086735159158707, -0.0012759206583723426, -0.03568996116518974, -0.05429602041840553, -0.003310678293928504, 0.02424696832895279, -0.019823776558041573, -0.0006155757582746446, 0.07485400885343552, 0.03610184043645859, -0.06156652793288231, -0.030156496912240982, 0.06117255985736847, -0.0008483753190375865, -0.053543899208307266, -0.061136744916439056, -0.002249649493023753, 0.02154291234910488, 0.017495781183242798, -0.03574368730187416, 0.026897301897406578, -0.03354104235768318, 0.006276634056121111, -0.02580493502318859, -0.02811502292752266, -0.0012244360987097025, -0.026360072195529938, -0.031463753432035446, -0.031230956315994263, -0.06142326816916466, 0.0426202267408371, -0.03903869539499283, -0.040184784680604935, 0.010905764065682888, 0.0004974971525371075, 0.12091250717639923, -0.046703170984983444, -0.01361877378076315, 0.022796448320150375, 0.0021601112093776464, -0.014720095321536064, -0.07263346016407013, 0.06321403384208679, 0.016931690275669098, -0.003919538576155901, 0.001789646572433412, -0.00041691266233101487, -0.03599439188838005, -0.026521241292357445, -0.018221041187644005, -0.06905192881822586, 0.06679556518793106, 0.07095014303922653, -0.02086242102086544, 0.024802105501294136, 0.046309202909469604, 0.04989073425531387, -0.0013150935992598534, -0.008215137757360935, 0.002165707293897867, -0.042047180235385895, -0.0629633292555809, -0.006057265214622021, 0.07506890594959259, 0.05171731486916542, 0.04082946106791496, 0.013305390253663063, 0.00852404534816742, -0.05841477960348129, 0.0297804344445467, 0.030765356495976448, -0.06228283420205116, 0.005448405165225267, -0.02532142773270607, 0.0770745575428009, -0.009813396260142326, -0.06446757167577744, -0.07019802182912827, 0.008747890591621399, 0.01013573445379734, 0.002131011337041855, -0.008967259898781776, 0.03182190656661987, 0.04971165955066681, 0.002084003761410713, 0.01589304581284523, 0.007816692814230919, 0.020110299810767174, 0.022008512169122696, -0.01910747028887272, 0.029207389801740646, 0.02413952350616455, 0.0008785944664850831, 0.05214710161089897, -0.005649866070598364, -0.002005657646805048, 0.06289169192314148, -0.0499623641371727, 0.028079207986593246, -0.022563649341464043, -0.0029570020269602537, -0.005542420316487551, -0.04774181544780731, -0.03314707428216934, 0.015114063397049904, -0.016242245212197304, -0.03624510020017624, -0.03031766414642334, -0.00955373514443636, 0.04201136529445648, 0.012481637299060822, -0.012580129317939281, 0.010341672226786613, -0.021363835781812668, -0.058987826108932495, 0.042978379875421524, -0.001162878586910665, -0.0014270164538174868, 0.010735641233623028, -0.05089356377720833, 0.06213957443833351, -0.0451631136238575, -0.05390205234289169, -0.09340634196996689, 0.03565414622426033, 0.0006066219066269696, 0.012239884585142136, -0.030335573479533195, -0.041760656982660294, 0.03395291790366173, -0.01817627251148224, -0.06353636831045151, -0.01964469999074936, 0.012606991454958916, -0.02614518068730831, 0.025930289179086685, -0.04240533336997032, -0.036710698157548904, 0.04795670881867409, 0.008810567669570446, -0.02218758873641491, -0.017522644251585007, -0.0018198657780885696, -0.004514968488365412, -0.036316730082035065, 0.03943266347050667, 0.04322908818721771, -0.04373050108551979, 0.0383940190076828, 0.01489021722227335, -0.006988463457673788, -0.0065900180488824844, -0.030729541555047035, 0.11195867508649826, 0.02639588713645935, -0.013851573690772057, -0.007736108265817165, -0.026377979665994644, -0.03821494057774544, 0.056982167065143585, 0.040471307933330536, 0.016170615330338478, -0.04236951842904091, -0.02204432711005211, -0.03060418739914894, -0.03128467872738838, -0.024945367127656937, 0.0011919784592464566, -0.051788948476314545, 0.009634319692850113, -0.03345150500535965, 0.011917546391487122, 0.00996561162173748, 0.0034987085964530706, 0.03456177935004234, 0.007310801185667515, -0.008761322125792503, 0.04211881011724472, 0.08595675975084305, 0.042047180235385895, -0.012221976183354855, 0.03429316356778145, 0.009164243936538696, 0.008868767879903316, -0.03821494057774544, -0.034203626215457916, -0.09412264823913574, 0.022223403677344322, 0.04229788854718208, 0.012705483473837376, -0.010762502439320087, 0.0054707895033061504, -0.03223378583788872, 0.07145155221223831, 0.008900105953216553, 0.0527917742729187, 0.008179322816431522, 0.05587189272046089, 0.016734706237912178, -0.005627481732517481, 0.05186057835817337, -0.09806233644485474, -0.08259011805057526, 0.03771352767944336, -0.0014102280838415027, -0.05239780619740486, 0.0341499038040638, -0.023781370371580124, -0.015552801080048084, -0.05848640948534012, -0.03835820406675339, 0.0016575775807723403, -0.048207417130470276, -0.039002880454063416, 0.046058498322963715, 0.08731774240732193, -0.02311878651380539, -0.06994730979204178, -0.0708426982164383, 0.0172182135283947, -0.03139212355017662, -0.0409369058907032, -0.013941111974418163, 0.03379175066947937, 0.02594819664955139, -0.003957592416554689, 0.03850146383047104, -0.004192630294710398, -0.006487049162387848, 0.05891619622707367, 0.03389919549226761, -0.02439022995531559, -0.049389321357011795, 0.015454309061169624, 0.04616594314575195, -0.02743453159928322, 0.004071753937751055, 0.0855269730091095, 0.017719628289341927, -0.011523578315973282, -0.02743453159928322, -0.0544750951230526, 0.04373050108551979, 0.0544750951230526, 0.05254106968641281, -0.021471282467246056, -0.05175313353538513, 0.017039136961102486, 0.03364849090576172, -0.02639588713645935, 0.0013475512387230992, -0.020361008122563362, 0.056982167065143585, 0.0016631737817078829, 0.012481637299060822, -0.0004079588397871703, -0.01968051679432392, -0.014514156617224216, 0.0050902520306408405, -0.02560795098543167, 0.0011841439409181476, 0.03001323528587818, -0.02145337499678135, 0.05905945599079132, -0.0008578887209296227, -0.012884560041129589, 0.014926033094525337, -0.0004723144811578095, 0.038465648889541626, 0.005184267181903124, 0.036030206829309464, -0.013726219534873962, 0.03610184043645859, -0.037785157561302185, -0.004906698130071163, -0.04749111086130142, 0.056731462478637695, -0.023763462901115417, -0.039504293352365494, -0.018274765461683273, -0.03619137778878212, 0.014881263487040997, -0.04236951842904091, -0.049102798104286194, 0.06038462370634079, -0.05665982887148857, 0.037247929722070694, 0.028902960941195488, -0.025106536224484444, 0.04362305626273155, -0.0352780856192112, 0.045807790011167526, 0.0027801638934761286, 0.030962340533733368, 0.062676802277565, -0.0378209725022316, 0.015490124002099037, -0.0026883871760219336, -0.016018399968743324, 0.018426980823278427, 0.09075601398944855, 0.02585865743458271, 0.003720315871760249, -0.03348731994628906, -0.053114112466573715, -0.008474798873066902, 0.0025898951571434736, 0.06758350133895874, -0.021328020840883255, 0.009012028574943542, 0.05948923900723457, 0.028867144137620926, 0.019035840407013893, -0.003451701020821929, -0.035725776106119156, -0.012016038410365582, 0.010843086987733841, -0.08115750551223755, -0.03491993248462677, 0.019286546856164932, 0.011890685185790062, 0.018113596364855766, 0.023441124707460403, -0.05827151983976364, -0.06242609769105911, -0.01013573445379734, 0.033666398376226425, -0.029458098113536835, 0.016725752502679825, -0.02165035903453827, -0.002739871619269252, 0.0434797927737236, -0.012660713866353035, 0.016331784427165985, -0.0025809411890804768, 0.03110560216009617, 0.025357244536280632, 0.012042899616062641, 0.0008634848636575043, -0.0285089910030365, -0.013538189232349396, 0.001664292998611927, 0.05587189272046089, -0.020969867706298828, 0.019501440227031708, 0.049675844609737396, -0.05078611895442009, 0.05773428827524185, 0.02532142773270607, 0.0217398963868618, 0.01133554708212614, -0.037391189485788345, 0.001679962151683867, 0.007682385388761759, -0.03135630860924721, -0.04104435071349144, 0.0008640444721095264, -0.030443018302321434, 0.01437089592218399, 0.017934519797563553, 0.02379927784204483, 0.011738469824194908, -0.028079207986593246, -0.010493887588381767, 0.0324665829539299, 0.046022679656744, 0.004960421472787857, -0.03339778259396553, -0.007252601440995932, -0.038322389125823975, 0.00528723606839776, -0.04401702433824539, -0.023817185312509537, -0.009177674539387226, -0.02492745965719223, -0.006482572294771671, 0.044984035193920135, -0.01857024058699608, -0.07571357488632202, -0.0014807394472882152, -0.01106693223118782, 0.019179102033376694, 0.010323764756321907, -0.0058378963731229305, 0.010278996080160141, 0.008040538057684898, 0.031911447644233704, -0.010511795058846474, 0.005515558645129204, 0.05014144256711006, 0.058056626468896866, 0.01598258502781391, 0.011460901238024235, -0.005672250874340534, -0.006581064313650131, 0.003212186275050044, -0.03223378583788872, -0.05189639329910278, -0.011290778405964375, -0.043121639639139175, -0.02439022995531559, 0.010681917890906334, 0.0680491030216217, -0.05852222815155983, -0.019662609323859215, -0.047383662313222885, 0.00834049191325903, 0.01716449111700058, 0.026951026171445847, -0.007037709467113018, 0.032788921147584915, 0.03835820406675339, -0.021238481625914574, 0.005846850574016571, 0.04362305626273155, 0.012078715488314629, -0.036316730082035065, 0.007619708310812712, -0.04039967805147171, 0.007583893369883299, 0.08108587563037872, 0.09154395014047623, 0.01724507473409176, 0.030962340533733368, 0.03164283186197281, -0.01047598011791706, 0.009616412222385406, 0.010655056685209274, -0.014684279449284077, 0.026521241292357445, 0.03714048117399216, 0.019071655347943306, -0.05436765030026436, 0.05429602041840553, 0.06944590061903, 0.04247696325182915, 0.023297863081097603, 0.006952648051083088, 0.004044892266392708, -0.053794603794813156, -0.007736108265817165, 0.04548545181751251, -0.032341230660676956, 0.004866405855864286, 0.026180995628237724, 0.036710698157548904, -0.03599439188838005, 0.018158365041017532, -0.007015325129032135, -0.030890710651874542, 0.080727718770504, 0.007064571138471365, -0.025303520262241364, -0.0024690183345228434, 0.012615945190191269, -0.025733305141329765, -0.03436479717493057, 0.024605121463537216, -0.05676727741956711, 0.03674651309847832, 0.04960421100258827, -0.04480496048927307, -0.0341678112745285, 0.05289922282099724, -0.017101813107728958, -0.026754040271043777, -0.0009658943163231015, -0.0051126363687217236, -0.022689003497362137, -0.13008122146129608, -0.020432638004422188, -0.005717020016163588, 0.06912355870008469, 0.001947457785718143, -0.05128753185272217, -0.04090109094977379, -0.019859593361616135, 0.027559885755181313, -0.04247696325182915, 0.0302102193236351, 0.00008198349678423256, -0.034651316702365875, 0.04398120939731598, 0.023566478863358498, 0.0448765903711319, 0.005094728898257017, 0.010932625271379948, 0.041545767337083817, 0.03384547308087349, 0.05236199125647545, 0.000409917498473078, -0.03796423599123955, 0.035976484417915344, -0.01515883207321167, 0.03370221331715584, 0.015794554725289345, 0.03771352767944336, -0.005126066971570253, 0.01369040459394455, 0.005891619715839624, 0.05866548791527748, -0.016555629670619965, -0.00566777354106307, -0.014075418934226036, -0.08008304983377457, -0.04254859685897827, -0.05375878885388374, -0.0866730660200119, 0.08717448264360428, -0.007816692814230919, 0.008573290891945362, -0.00024958798894658685, 0.007060094270855188, -0.00473657576367259, 0.007207832299172878, 0.03742700442671776, 0.01939399354159832, 0.03767771273851395, 0.0070959096774458885, -0.054725803434848785, 0.002233980456367135, 0.047777630388736725, 0.0006010257638990879, 0.021686173975467682, -0.009517920203506947, 0.032645661383867264, 0.006110988091677427, -0.061781421303749084, 0.0527917742729187, -0.008980690501630306, -0.029887881129980087, -0.050320517271757126, -0.027613608166575432, -0.050857748836278915, 0.02718382515013218, -0.04505566880106926, -0.02630634978413582, 0.01809568889439106, 0.0708426982164383, -0.008631491102278233 ]
16,353
presidio_analyzer.entity_recognizer
analyze
Analyze text to identify entities. :param text: The text to be analyzed :param entities: The list of entities this recognizer is able to detect :param nlp_artifacts: A group of attributes which are the result of an NLP process over the input text. :return: List of results detected by this recognizer.
@abstractmethod def analyze( self, text: str, entities: List[str], nlp_artifacts: NlpArtifacts ) -> List[RecognizerResult]: """ Analyze text to identify entities. :param text: The text to be analyzed :param entities: The list of entities this recognizer is able to detect :param nlp_artifacts: A group of attributes which are the result of an NLP process over the input text. :return: List of results detected by this recognizer. """ return None
(self, text: str, entities: List[str], nlp_artifacts: presidio_analyzer.nlp_engine.nlp_artifacts.NlpArtifacts) -> List[presidio_analyzer.recognizer_result.RecognizerResult]
[ -0.01190347783267498, -0.12589192390441895, -0.03296206146478653, 0.032392166554927826, -0.02621522732079029, -0.003858289448544383, 0.024248166009783745, -0.06268858909606934, 0.06379161030054092, 0.005896587856113911, 0.02149060368537903, 0.008957481943070889, -0.016242042183876038, 0.020718485116958618, -0.048864006996154785, -0.016949817538261414, -0.020075054839253426, 0.05562922731041908, -0.020093439146876335, -0.020957473665475845, -0.07283641397953033, 0.01401760894805193, 0.006402140948921442, -0.020773636177182198, 0.024193014949560165, 0.030811164528131485, 0.0635710060596466, -0.033384889364242554, -0.04423130303621292, 0.023365745320916176, -0.044782813638448715, -0.0441945344209671, 0.015580227598547935, 0.05202601104974747, -0.026141691952943802, -0.0059563349932432175, -0.016968199983239174, 0.0626150518655777, -0.09493368119001389, 0.012133275158703327, -0.059600114822387695, -0.024229781702160835, 0.07566751539707184, -0.0014787428081035614, -0.061254654079675674, -0.0247261431068182, 0.00944005511701107, -0.031583283096551895, 0.002364609856158495, -0.05084945261478424, -0.0413634367287159, -0.016407497227191925, -0.032410550862550735, -0.017630016431212425, -0.012620444409549236, 0.05827648565173149, -0.006016082130372524, 0.025075433775782585, -0.006857138592749834, 0.01526770368218422, 0.03676749765872955, -0.016251234337687492, 0.046400584280490875, -0.02064495161175728, -0.0021428558975458145, 0.027428554370999336, -0.021214846521615982, 0.009633084759116173, 0.020957473665475845, -0.005533508490771055, -0.0026633457746356726, -0.020405961200594902, 0.04507695510983467, 0.04003980755805969, 0.055555690079927444, -0.005211792886257172, 0.007302944548428059, 0.035793159157037735, 0.07912366092205048, 0.007128298748284578, -0.006916885729879141, 0.018779000267386436, 0.02450553886592388, -0.03586669638752937, 0.03867940977215767, -0.054746806621551514, -0.03702487051486969, -0.03871617838740349, 0.02150898613035679, -0.021839894354343414, -0.015286087989807129, 0.01803445816040039, -0.03292529657483101, 0.053680550307035446, -0.028917638584971428, 0.04930521547794342, 0.013567207381129265, -0.06743159145116806, -0.04033394530415535, 0.0026725376956164837, -0.02639906480908394, 0.12250930815935135, -0.007335116155445576, -0.022060498595237732, -0.010460353456437588, -0.04743007570505142, -0.048128657042980194, -0.004083490464836359, 0.03266792371869087, 0.08074142783880234, -0.05757790431380272, -0.011774791404604912, 0.007054763846099377, 0.013107613660395145, -0.0084151616320014, -0.00902642123401165, -0.014495586976408958, -0.037410929799079895, -0.020957473665475845, 0.017924156039953232, 0.0015970882959663868, 0.009421671740710735, -0.05364378169178963, 0.00275986036285758, 0.02781461365520954, -0.006319413892924786, 0.001832630019634962, 0.00010757365816971287, 0.0017292214324697852, -0.061990004032850266, -0.011462267488241196, 0.020038286224007607, -0.005078510846942663, 0.0023289911914616823, 0.05779850855469704, 0.01106701698154211, 0.05029793828725815, -0.006434312555938959, -0.034046705812215805, -0.024468770250678062, 0.032465700060129166, -0.013410945422947407, 0.07566751539707184, 0.018779000267386436, -0.07515276968479156, 0.002056682016700506, -0.020332427695393562, -0.07750588655471802, -0.025038667023181915, 0.021692823618650436, 0.019082332029938698, -0.052173081785440445, -0.006342393811792135, -0.05004056543111801, -0.0067422399297356606, 0.006696280557662249, 0.035039424896240234, -0.047319769859313965, -0.008438141085207462, 0.021895045414566994, -0.009003441780805588, -0.05658518150448799, 0.01269397884607315, 0.06533584743738174, -0.008815008215606213, 0.012206809595227242, 0.0063332016579806805, -0.043201811611652374, -0.03643659129738808, -0.01564457081258297, 0.0011478353990241885, -0.018733041360974312, -0.06051930412650108, 0.001732668373733759, 0.0021141311153769493, 0.05680578574538231, -0.004028338938951492, 0.07927072793245316, -0.009954800829291344, 0.09596317261457443, -0.011149744503200054, -0.004106469918042421, -0.062026772648096085, -0.05448943376541138, 0.05162156745791435, 0.0036836438812315464, -0.00795556791126728, 0.05739406496286392, -0.011241663247346878, 0.03886324539780617, -0.01602143794298172, -0.030866315588355064, 0.007229409646242857, -0.019119098782539368, -0.005404822528362274, -0.0686449185013771, -0.035793159157037735, 0.03772345557808876, -0.04533432796597481, 0.013456904329359531, 0.007845264859497547, 0.010910755023360252, 0.03320105001330376, 0.04191494733095169, -0.00536805484443903, 0.04948905482888222, -0.027704309672117233, 0.019137483090162277, -0.07978547364473343, -0.059673652052879333, -0.008925310336053371, -0.003950207959860563, -0.01760243996977806, 0.016591334715485573, 0.049599356949329376, -0.038164664059877396, 0.052981965243816376, 0.027575625106692314, -0.02312675677239895, 0.0012592868879437447, 0.053680550307035446, -0.03228186443448067, -0.0018406729213893414, -0.032502468675374985, 0.03605053201317787, -0.010947522707283497, 0.029873592779040337, -0.0010019143810495734, 0.024450387805700302, -0.05239368602633476, -0.023292209953069687, -0.041473738849163055, 0.021564139053225517, 0.05084945261478424, 0.06276211887598038, 0.021159695461392403, 0.020405961200594902, -0.025700481608510017, -0.04007657244801521, -0.011223278939723969, -0.03956183046102524, 0.022814232856035233, -0.05327610671520233, 0.035682857036590576, -0.048055119812488556, -0.008543848060071468, 0.020056670531630516, 0.025240888819098473, 0.03549902141094208, -0.010469545610249043, -0.0050509353168308735, -0.04537109285593033, -0.05276136100292206, 0.0001416841259924695, 0.004547680262476206, 0.020111821591854095, -0.03437761217355728, -0.029965512454509735, 0.06816694140434265, -0.01436690054833889, 0.034892357885837555, 0.02222595363855362, -0.006654917262494564, 0.0690125972032547, -0.012988119386136532, 0.023310594260692596, 0.0038766732905060053, 0.012160850688815117, -0.04868016764521599, -0.022685546427965164, 0.07868244498968124, 0.032373782247304916, 0.028936021029949188, -0.04529755935072899, -0.02209726721048355, 0.03481882065534592, -0.015322855673730373, 0.029928743839263916, -0.050628844648599625, 0.031767118722200394, 0.03448791429400444, -0.012216001749038696, -0.04033394530415535, -0.008047486655414104, 0.06761543452739716, -0.01193105336278677, 0.0059885066002607346, -0.005827648565173149, -0.039083853363990784, -0.06151202693581581, 0.015460733324289322, 0.012013779953122139, 0.037227094173431396, 0.0005974718369543552, 0.026564517989754677, 0.0168303232640028, 0.009798538871109486, -0.0027989258524030447, -0.010120254009962082, -0.05768820643424988, 0.021968580782413483, 0.014789726585149765, 0.01697739213705063, -0.0577249750494957, -0.06316656619310379, -0.044672511518001556, -0.009743386879563332, 0.015295279212296009, 0.016747595742344856, -0.06621826440095901, -0.043900392949581146, 0.028329357504844666, -0.0069904206320643425, 0.03772345557808876, -0.02147221937775612, -0.04533432796597481, -0.00219341111369431, 0.017179613932967186, 0.03053540736436844, 0.024450387805700302, -0.0022703930735588074, 0.019486773759126663, 0.005193409044295549, -0.006328605581074953, 0.026068156585097313, -0.03310913220047951, 0.02454230561852455, 0.024321701377630234, 0.03035156987607479, -0.008497888222336769, 0.00048286066157743335, -0.014302557334303856, 0.024174630641937256, -0.015874367207288742, -0.08978623151779175, -0.0509597547352314, 0.0037824565079063177, -0.008392181247472763, 0.02143545262515545, -0.030112581327557564, 0.006121788639575243, -0.024909980595111847, -0.01850324310362339, 0.05507771298289299, 0.07151278853416443, 0.027722693979740143, 0.00986288208514452, -0.05857062712311745, 0.08221212774515152, -0.012675595469772816, 0.012041356414556503, -0.038274966180324554, 0.02057141624391079, -0.03696972131729126, 0.03274145722389221, 0.014633464626967907, -0.03209802508354187, 0.011103784665465355, -0.027777845039963722, -0.09434540569782257, -0.0027184970676898956, -0.04743007570505142, -0.018301023170351982, 0.02540634199976921, -0.04430483654141426, -0.007417842745780945, 0.035848312079906464, 0.03130752593278885, 0.05401145666837692, 0.00992722436785698, -0.0011306005762889981, -0.03715355694293976, -0.06680654734373093, -0.0023255443666130304, 0.010956714861094952, 0.00024746250710450113, 0.01891687884926796, 0.0026863254606723785, -0.020369194447994232, 0.08493292331695557, -0.05846032500267029, 0.041473738849163055, -0.004612023010849953, -0.04195171594619751, 0.02450553886592388, -0.017427794635295868, 0.0034124834928661585, 0.059489812701940536, -0.025645330548286438, 0.019891217350959778, 0.0167384035885334, -0.029818441718816757, -0.07511600106954575, -0.05202601104974747, -0.023384129628539085, -0.06294596195220947, -0.020718485116958618, -0.013309834524989128, -0.07684407383203506, 0.0018257361371070147, 0.007188045885413885, -0.014431243762373924, 0.015433157794177532, -0.00944005511701107, -0.011186511255800724, 0.051437731832265854, 0.03434084355831146, 0.012050547637045383, -0.02886248752474785, 0.020222123712301254, 0.07445418834686279, 0.010589039884507656, -0.052062779664993286, -0.016370728611946106, -0.05165833607316017, 0.021545754745602608, 0.009017229080200195, 0.01187590230256319, -0.016407497227191925, 0.02470775879919529, 0.0013937180629000068, -0.0008416310301981866, 0.026987344026565552, 0.07787356525659561, 0.009003441780805588, 0.03445114567875862, -0.0038467994891107082, -0.021214846521615982, 0.010515504516661167, -0.06673301011323929, 0.0077257705852389336, 0.015414774417877197, -0.08846260607242584, -0.02555341273546219, 0.02217080257833004, -0.02474452741444111, -0.03255762159824371, -0.0460696779191494, -0.00923323817551136, -0.0007594786584377289, -0.02621522732079029, 0.010267323814332485, 0.05084945261478424, 0.05610720440745354, 0.07706467807292938, -0.055518925189971924, -0.04371655732393265, -0.02884410321712494, -0.04526079073548317, -0.05334964022040367, 0.007335116155445576, 0.0611075833439827, 0.06324009597301483, 0.02057141624391079, 0.0027874361258000135, -0.015194169245660305, 0.05728376284241676, 0.011738023720681667, 0.019505158066749573, 0.03426731005311012, 0.022336255759000778, 0.03711679205298424, -0.028274206444621086, -0.03134429454803467, 0.039819203317165375, 0.012914584018290043, -0.04029718041419983, -0.0004150705935899168, -0.04033394530415535, -0.026546133682131767, 0.056989625096321106, -0.04599614068865776, 0.009623892605304718, -0.028310975059866905, -0.014247406274080276, 0.00785905309021473, 0.04673149064183235, -0.01478053443133831, 0.023218676447868347, 0.00574951758608222, 0.030921466648578644, -0.0317855030298233, -0.012454990297555923, 0.014229021966457367, -0.013107613660395145, -0.00021040775754954666, 0.023457664996385574, -0.04077515751123428, -0.027336634695529938, -0.016352346166968346, -0.022446557879447937, -0.009072380140423775, 0.05533508583903313, -0.015653762966394424, 0.01899041421711445, -0.0370432548224926, 0.01660052500665188, 0.03586669638752937, 0.005106086377054453, -0.03599538281559944, 0.02465260773897171, -0.04011334106326103, 0.023200292140245438, -0.03424892574548721, 0.05504094436764717, -0.014697807841002941, 0.0317855030298233, 0.0014982755528762937, -0.006484867539256811, 0.03772345557808876, -0.033311355859041214, 0.005689770448952913, 0.04937875270843506, -0.026913808658719063, 0.027575625106692314, -0.012510141357779503, -0.01065338309854269, 0.00785905309021473, -0.027575625106692314, 0.028384508565068245, 0.005184217356145382, 0.0007790114032104611, -0.030884699895977974, -0.058717697858810425, 0.04106929525732994, -0.021858278661966324, -0.04845956340432167, 0.02207888290286064, 0.02141706831753254, 0.005698962137103081, 0.005391034763306379, -0.031583283096551895, 0.013420137576758862, 0.0005928759346716106, 0.012326303869485855, 0.058717697858810425, -0.005243964493274689, -0.016232850030064583, 0.0015913433162495494, 0.08206506073474884, 0.011287622153759003, 0.005009571556001902, -0.06765219569206238, -0.02959783747792244, 0.029910361394286156, 0.03608730062842369, -0.030719244852662086, -0.015148209407925606, 0.006379161030054092, 0.0509597547352314, 0.011701256968080997, -0.027318252250552177, -0.051290661096572876, 0.033311355859041214, 0.10125768929719925, 0.03150974586606026, 0.0368594191968441, -0.03285175934433937, -0.015396390110254288, 0.02957945317029953, -0.007450014352798462, -0.04522402212023735, -0.02627037838101387, 0.033274587243795395, 0.014945988543331623, 0.048202190548181534, 0.008318646810948849, 0.0624312125146389, -0.03715355694293976, -0.06066637486219406, 0.041547272354364395, -0.01891687884926796, -0.0027897339314222336, -0.009297581389546394, -0.03684103488922119, 0.03959859535098076, 0.017253149300813675, -0.04128990322351456, 0.021214846521615982, -0.027630776166915894, -0.01434851624071598, -0.007711982820183039, 0.007339712232351303, -0.00012595740554388613, 0.010000759735703468, 0.01799769140779972, 0.02377018891274929, -0.004949824418872595, -0.026987344026565552, 0.002056682016700506, -0.03787052258849144, 0.005869011860340834, 0.07169662415981293, 0.03845880553126335, -0.041510507464408875, -0.005891991779208183, -0.004051318857818842, -0.03608730062842369, -0.01399003341794014, -0.0735349953174591, -0.010340859182178974, 0.02305322140455246, 0.015102250501513481, 0.03150974586606026, 0.05526155233383179, 0.022832617163658142, -0.04015010967850685, 0.01350286416709423, 0.006108000874519348, 0.032502468675374985, -0.005354267079383135, -0.01728072389960289, 0.044893115758895874, -0.03298044577240944, 0.009067784063518047, 0.0011150892823934555, 0.020240508019924164, 0.06533584743738174, 0.05864416062831879, 0.044120997190475464, 0.05169510468840599, 0.031546514481306076, -0.012234385125339031, 0.01360397506505251, -0.02130676619708538, 0.03145459666848183, -0.05081268399953842, -0.08993330597877502, -0.005611639469861984, -0.05239368602633476, 0.002532361540943384, -0.007587892469018698, 0.008350818417966366, 0.010506313294172287, -0.0046993461437523365, 0.003109151730313897, 0.02130676619708538, -0.0035595535300672054, 0.00722481356933713, -0.020957473665475845, -0.043937161564826965, 0.052908431738615036, -0.039782434701919556, -0.014137103222310543, 0.009044804610311985, 0.02068171836435795, -0.09728680551052094, -0.020258892327547073, 0.07625579088926315, 0.03915738686919212, 0.02305322140455246, 0.03595861420035362, 0.0065675945952534676, 0.0441945344209671, 0.024137863889336586, 0.09706620126962662, -0.005478357430547476, -0.004552275873720646, 0.0033067769836634398, -0.00757870078086853, -0.05092298611998558, 0.052246615290641785, 0.040664855390787125, 0.010947522707283497, -0.014201446436345577, -0.016269618645310402, 0.003391801845282316, -0.04198848456144333, 0.032447319477796555, 0.02465260773897171, 0.021086160093545914, 0.03110530413687229, 0.06813017278909683, 0.02781461365520954, 0.039120618253946304, 0.035609323531389236, 0.021895045414566994, -0.040591318160295486, 0.034782055765390396, -0.020994242280721664, 0.012436606921255589, -0.044893115758895874, -0.03320105001330376, -0.037337396293878555, -0.035793159157037735, 0.024064328521490097, -0.04787128418684006, 0.01033166702836752, 0.021711207926273346, -0.04283413663506508, -0.05588660016655922, 0.0011415159096941352, 0.02799845114350319, -0.006838754750788212, 0.08478585630655289, 0.04430483654141426, -0.03204287588596344, -0.0972132682800293, 0.05026116967201233, -0.008727685548365116, 0.01350286416709423, -0.005000379867851734, -0.04676825925707817, -0.008033698424696922, -0.009398692287504673, 0.02535119093954563, -0.05162156745791435, 0.02954268641769886, -0.010984290391206741, -0.03783375769853592, 0.010202980600297451, -0.01152661070227623, 0.021564139053225517, -0.013319026678800583, 0.053754083812236786, -0.010101870633661747, 0.07250551134347916, 0.04695209488272667, -0.01063499879091978, -0.037447698414325714, 0.020810404792428017, -0.005115278530865908, 0.0541585274040699, 0.02145383507013321, -0.04195171594619751, -0.009669852443039417, -0.03963536396622658, -0.004552275873720646, 0.09427186846733093, 0.017492137849330902, -0.0032171562779694796, -0.007973951287567616, -0.02136191725730896, -0.07096127420663834, -0.05823971703648567, -0.02945076674222946, 0.011627721600234509, -0.0507759153842926, -0.02880733646452427, -0.02138030156493187, 0.06482110172510147, -0.004327075090259314, -0.050628844648599625, -0.029910361394286156, 0.025829168036580086, -0.02138030156493187, 0.04827572777867317, 0.025847552344202995, -0.020755253732204437, -0.04680502787232399, 0.027373403310775757, 0.0644901916384697, 0.006806583143770695, 0.034782055765390396, 0.026748355478048325, 0.017859812825918198, 0.11243501305580139, -0.018135568127036095, -0.004949824418872595, -0.01895364560186863, -0.012399839237332344, -0.027594007551670074, 0.026766739785671234, -0.018457284197211266, -0.05912213772535324, 0.011250854469835758, 0.03603214770555496, 0.030958233401179314 ]
16,354
presidio_analyzer.entity_recognizer
enhance_using_context
Enhance confidence score using context of the entity. Override this method in derived class in case a custom logic is needed, otherwise return value will be equal to raw_results. in case a result score is boosted, derived class need to update result.recognition_metadata[RecognizerResult.IS_SCORE_ENHANCED_BY_CONTEXT_KEY] :param text: The actual text that was analyzed :param raw_recognizer_results: This recognizer's results, to be updated based on recognizer specific context. :param other_raw_recognizer_results: Other recognizer results matched in the given text to allow related entity context enhancement :param nlp_artifacts: The nlp artifacts contains elements such as lemmatized tokens for better accuracy of the context enhancement process :param context: list of context words
def enhance_using_context( self, text: str, raw_recognizer_results: List[RecognizerResult], other_raw_recognizer_results: List[RecognizerResult], nlp_artifacts: NlpArtifacts, context: Optional[List[str]] = None, ) -> List[RecognizerResult]: """Enhance confidence score using context of the entity. Override this method in derived class in case a custom logic is needed, otherwise return value will be equal to raw_results. in case a result score is boosted, derived class need to update result.recognition_metadata[RecognizerResult.IS_SCORE_ENHANCED_BY_CONTEXT_KEY] :param text: The actual text that was analyzed :param raw_recognizer_results: This recognizer's results, to be updated based on recognizer specific context. :param other_raw_recognizer_results: Other recognizer results matched in the given text to allow related entity context enhancement :param nlp_artifacts: The nlp artifacts contains elements such as lemmatized tokens for better accuracy of the context enhancement process :param context: list of context words """ return raw_recognizer_results
(self, text: str, raw_recognizer_results: List[presidio_analyzer.recognizer_result.RecognizerResult], other_raw_recognizer_results: List[presidio_analyzer.recognizer_result.RecognizerResult], nlp_artifacts: presidio_analyzer.nlp_engine.nlp_artifacts.NlpArtifacts, context: Optional[List[str]] = None) -> List[presidio_analyzer.recognizer_result.RecognizerResult]
[ 0.0028638015501201153, -0.11669223755598068, -0.006894174497574568, 0.05659187585115433, 0.04315437376499176, -0.06718750298023224, 0.0002629993832670152, -0.03694435581564903, 0.09402742236852646, -0.012700718827545643, 0.008108987472951412, -0.05753916874527931, -0.021647358313202858, 0.018033616244792938, -0.033628836274147034, 0.0025765441823750734, -0.015788186341524124, -0.005262728780508041, 0.020682523027062416, -0.041575558483600616, -0.005346055142581463, -0.0254365224391222, -0.03961080312728882, -0.02966424822807312, 0.005446924362331629, 0.00029109467868693173, 0.029804587364196777, -0.027471443638205528, -0.004229918122291565, -0.014507588930428028, -0.0005177757702767849, -0.03768113628029823, 0.0005495714140124619, 0.017700310796499252, -0.05683746933937073, -0.04480336233973503, -0.06795936822891235, 0.04627692699432373, 0.05104846879839897, -0.0145602161064744, -0.08392298221588135, 0.014700555242598057, -0.012876142747700214, 0.006631038151681423, -0.04118962213397026, -0.00947291124612093, -0.038768768310546875, 0.023998042568564415, 0.06988903880119324, -0.04087385907769203, 0.0030721179209649563, -0.08027415722608566, -0.018279211595654488, 0.03390951454639435, 0.014472504146397114, 0.058626797050237656, -0.04855744540691376, 0.027787206694483757, 0.00373873021453619, -0.05125897750258446, 0.05518848076462746, -0.0063810585997998714, 0.0012586693046614528, 0.04210183024406433, -0.03143603354692459, -0.0027673181612044573, -0.011209611780941486, 0.059784598648548126, 0.0036225116346031427, -0.013735721819102764, -0.020998287945985794, -0.044592853635549545, -0.025418980047106743, -0.033242903649806976, -0.026524152606725693, 0.04462793841958046, -0.03352358192205429, 0.03152374550700188, 0.07241515070199966, 0.03082204796373844, 0.01697229966521263, 0.032330695539712906, 0.025769827887415886, -0.039575718343257904, 0.023769991472363472, -0.052381694316864014, -0.08827350288629532, -0.0403125025331974, 0.04445251449942589, -0.03701452538371086, 0.008876468986272812, 0.027541613206267357, -0.009832531213760376, 0.029208144173026085, 0.0027519685681909323, 0.025962794199585915, 0.006784534547477961, -0.05613577365875244, 0.00004162900586379692, 0.0063065034337341785, 0.006008281838148832, 0.06090731546282768, -0.029944926500320435, -0.007670427206903696, 0.05424119159579277, -0.011314867064356804, -0.028050344437360764, 0.0035852338187396526, 0.07901109755039215, 0.034909434616565704, -0.027366189286112785, -0.06760852038860321, 0.002925200155004859, -0.042452678084373474, -0.03150620311498642, -0.017735395580530167, -0.03126060962677002, -0.024419061839580536, 0.007196781691163778, 0.03440070152282715, 0.012306014075875282, -0.06371410191059113, 0.024559400975704193, -0.01312173716723919, -0.028453819453716278, -0.00020050448074471205, -0.03243594989180565, -0.018893195316195488, -0.004946964792907238, -0.07416938990354538, 0.016744248569011688, -0.014604072086513042, -0.00661788135766983, -0.00882384181022644, 0.07690601050853729, 0.00842913705855608, -0.015437337569892406, 0.049364395439624786, 0.025296183302998543, 0.002029439667239785, 0.039926569908857346, -0.00026286233332939446, 0.01330593228340149, -0.005718831904232502, -0.06336325407028198, -0.00019282966968603432, -0.008560704998672009, -0.02855907380580902, -0.034962061792612076, -0.013946231454610825, 0.04038267210125923, 0.00326289189979434, 0.026980256661772728, -0.017481030896306038, 0.0037782005965709686, 0.0023528782185167074, 0.015972381457686424, -0.05694272369146347, 0.013946231454610825, 0.02905026264488697, 0.0521010160446167, -0.08981723338365555, 0.03283942863345146, 0.040066909044981, 0.03782147541642189, 0.0075607867911458015, -0.007907249964773655, -0.04038267210125923, -0.03476909548044205, -0.01686704531311989, 0.046978626400232315, -0.006464384961873293, 0.05981968343257904, -0.006701207719743252, -0.005986353848129511, 0.08083551377058029, -0.042382508516311646, -0.01648111268877983, -0.003951432183384895, 0.050662536174058914, 0.008942252956330776, -0.0008365545654669404, -0.058205779641866684, -0.02298058196902275, 0.015612761490046978, 0.007780067157000303, 0.013648009859025478, 0.044838447123765945, 0.021542102098464966, 0.002808981342241168, 0.035207655280828476, -0.0474347285926342, -0.005718831904232502, -0.018472177907824516, -0.01335855945944786, 0.021805239841341972, -0.03697944059967995, -0.03543570637702942, -0.006398600991815329, 0.035698842257261276, -0.046312011778354645, -0.011446435004472733, 0.004157555755227804, 0.0383477509021759, 0.01305156759917736, 0.0614335872232914, 0.0050873043946921825, 0.010639483109116554, -0.07746736705303192, -0.0702749714255333, -0.011928851716220379, 0.00017501313413958997, 0.006459999363869429, 0.04610150307416916, 0.03806707262992859, 0.06539817899465561, 0.030927302315831184, 0.03308502212166786, -0.030313316732645035, 0.00010751590161817148, -0.017498573288321495, -0.054697293788194656, -0.005938112270087004, 0.004471126478165388, 0.036804016679525375, 0.01789327710866928, 0.055083226412534714, 0.006771377753466368, 0.03057645447552204, -0.003977745771408081, -0.013437500223517418, -0.008587018586695194, 0.002298058243468404, 0.009893929585814476, -0.0013233569916337729, 0.004732070025056601, 0.054030682891607285, 0.025962794199585915, -0.04676811397075653, -0.013472585938870907, -0.003243156475946307, 0.03620757535099983, -0.017138952389359474, -0.024103296920657158, -0.05834611877799034, -0.06581919640302658, 0.025839997455477715, 0.006201248615980148, 0.08188805729150772, -0.0031050099059939384, 0.008727358654141426, 0.0143760209903121, -0.051960673183202744, 0.004525946918874979, -0.046487435698509216, -0.015788186341524124, -0.021805239841341972, -0.015902211889624596, -0.00395581778138876, -0.0201562512665987, -0.01152537576854229, 0.07374837249517441, -0.08813316375017166, 0.05806544050574303, -0.02548914961516857, -0.01210427563637495, 0.009034350514411926, 0.001804677420295775, -0.01534962560981512, -0.0223665963858366, 0.002872572746127844, 0.023401601240038872, 0.04873286932706833, -0.018893195316195488, 0.0009966292418539524, 0.07367820292711258, -0.045505061745643616, 0.05364474654197693, -0.003850563196465373, 0.018963364884257317, 0.03045365773141384, 0.027260934934020042, -0.06869614869356155, -0.013946231454610825, 0.0592232421040535, -0.026875000447034836, 0.0004391089314594865, 0.015560134314000607, 0.006837161723524332, -0.048522356897592545, -0.029067805036902428, 0.0548025481402874, 0.09381691366434097, 0.04283861070871353, -0.0022914798464626074, 0.031716711819171906, -0.028857296332716942, -0.006718750111758709, 0.017682768404483795, 0.0029164287261664867, -0.000911109906155616, 0.05220627039670944, -0.01140257902443409, -0.012288471683859825, 0.007025742903351784, -0.03397968411445618, 0.08876468986272812, -0.05315355956554413, -0.009016808122396469, -0.011674486100673676, -0.0022585876286029816, -0.0003302910481579602, -0.028699414804577827, -0.00441192090511322, -0.02450677379965782, -0.06024070084095001, 0.054206106811761856, 0.0048636384308338165, 0.01917387545108795, 0.006569639779627323, -0.019542265683412552, -0.018805483356118202, 0.026383813470602036, -0.007920406758785248, 0.062065113335847855, -0.0070520564913749695, 0.027910005301237106, 0.019208960235118866, 0.04561031609773636, -0.029067805036902428, -0.03364637866616249, -0.021770155057311058, 0.00258312257938087, -0.05389034375548363, -0.06346850842237473, -0.041470300406217575, 0.007332735229283571, -0.0006753834895789623, 0.022524479776620865, -0.03550587594509125, -0.040663350373506546, -0.034049853682518005, -0.02990984171628952, 0.03764605149626732, 0.03550587594509125, -0.0048022400587797165, 0.0525922030210495, -0.012876142747700214, 0.04059318080544472, -0.0430140346288681, -0.06325799971818924, -0.09423793107271194, 0.04687337204813957, -0.003037033136934042, -0.050346773117780685, 0.02941865287721157, -0.0304712001234293, -0.022542022168636322, 0.01704246923327446, -0.054451700299978256, -0.03383934497833252, 0.012998939491808414, 0.021664900705218315, 0.028576616197824478, -0.0648718997836113, 0.045259468257427216, -0.024436604231595993, 0.005297813564538956, -0.030611539259552956, 0.0008809588616713881, 0.008341425098478794, -0.015244371257722378, 0.0022542020305991173, 0.031243065372109413, 0.05192558839917183, -0.05462712422013283, -0.07332735508680344, -0.008727358654141426, 0.015033861622214317, 0.045084044337272644, -0.001629253150895238, 0.03690927103161812, -0.04452268406748772, -0.031120268628001213, -0.0037036454305052757, 0.009639564901590347, -0.010867535136640072, -0.035032231360673904, -0.0144374193623662, 0.0025502305943518877, -0.06515257805585861, -0.021243881434202194, 0.00737220561131835, 0.003420773660764098, -0.06006527692079544, -0.011262239888310432, -0.03547079116106033, -0.0224893931299448, -0.031032556667923927, -0.019015993922948837, 0.0034734008368104696, 0.021366678178310394, 0.04876795411109924, -0.06283698230981827, 0.0019296671962365508, 0.05146948620676994, -0.000989502645097673, 0.06862597912549973, -0.03397968411445618, 0.029067805036902428, -0.084063321352005, 0.030260689556598663, -0.013691865839064121, 0.029646705836057663, -0.07466057687997818, -0.0021007058676332235, -0.016454799100756645, 0.018472177907824516, 0.0047715408727526665, 0.07480091601610184, 0.019261587411165237, -0.018524805083870888, 0.026682034134864807, 0.011314867064356804, -0.04206674546003342, -0.01008689682930708, 0.011227154172956944, -0.04494370147585869, 0.008104601874947548, -0.08672977238893509, -0.03890910744667053, 0.002569965785369277, -0.012367412447929382, -0.003624704433605075, -0.004732070025056601, -0.022156087681651115, -0.004525946918874979, 0.018279211595654488, -0.005232029594480991, -0.019700147211551666, 0.0019088356057181954, 0.033260446041822433, 0.06062663346529007, 0.0533289834856987, 0.021471932530403137, -0.07557278126478195, -0.05129406228661537, -0.003004140919074416, -0.09367657452821732, -0.021612271666526794, 0.01917387545108795, 0.05466220900416374, 0.017481030896306038, 0.08813316375017166, -0.048452187329530716, 0.02673466131091118, 0.027243392542004585, -0.0007258179830387235, 0.0014757568715140224, 0.06624021381139755, -0.04480336233973503, -0.0013430921826511621, -0.018489720299839973, 0.013262076303362846, 0.04978541284799576, -0.002043693093582988, -0.011288553476333618, -0.04322454333305359, -0.05662696063518524, -0.012542836368083954, 0.057293571531772614, -0.0006052138051018119, 0.05890747532248497, 0.005293427966535091, 0.032085102051496506, 0.03792672976851463, -0.0070520564913749695, -0.012998939491808414, 0.07473074644804001, 0.048627614974975586, 0.058205779641866684, -0.020629895851016045, 0.008534391410648823, -0.03697944059967995, 0.017945904284715652, -0.032944682985544205, 0.027348646894097328, -0.03522519767284393, -0.006109151057898998, 0.05448678508400917, -0.011762198992073536, 0.03148866072297096, 0.04038267210125923, -0.0043549081310629845, -0.049434565007686615, -0.005973197054117918, 0.019279129803180695, -0.023647194728255272, 0.010043040849268436, -0.004534718114882708, 0.011200840584933758, -0.0459611639380455, -0.03603214770555496, -0.041154537349939346, 0.07388871163129807, 0.013797120191156864, -0.056416451930999756, 0.018103787675499916, -0.027190765365958214, 0.037610966712236404, -0.08399315178394318, -0.008122144266963005, 0.12848074734210968, -0.07213446497917175, 0.023998042568564415, -0.009332572109997272, -0.0010733773233368993, 0.04978541284799576, 0.03341832756996155, -0.04739964380860329, -0.051644910126924515, 0.024997960776090622, 0.02059481106698513, -0.019419468939304352, 0.07402905076742172, -0.048697784543037415, -0.008626489900052547, 0.022594649344682693, 0.04241759330034256, 0.012358641251921654, -0.022524479776620865, -0.007810766343027353, 0.01592852547764778, 0.015244371257722378, 0.009613251313567162, 0.028945008292794228, -0.024927791208028793, -0.009429055266082287, -0.014823352918028831, 0.026155762374401093, -0.007069598883390427, -0.017323149368166924, -0.012086733244359493, 0.014446190558373928, 0.02329634502530098, -0.0034931362606585026, -0.005157473962754011, -0.0018331838073208928, -0.003420773660764098, -0.012542836368083954, -0.005328512750566006, 0.0068283905275166035, -0.029383568093180656, 0.06308257579803467, 0.022226257249712944, -0.005153088364750147, 0.04150538891553879, 0.0043000876903533936, -0.012814744375646114, 0.02138422057032585, 0.02819068357348442, 0.023366514593362808, 0.04027741774916649, -0.035698842257261276, 0.043294716626405716, 0.025769827887415886, -0.03297976776957512, 0.07859008014202118, -0.04610150307416916, -0.04494370147585869, 0.02708551101386547, -0.02661186456680298, -0.013016481883823872, 0.0008042107219807804, -0.0665910616517067, 0.05413593724370003, 0.0021664900705218315, -0.0031839509028941393, 0.0435052253305912, 0.03513748571276665, -0.053048305213451385, -0.0056091914884746075, 0.008012504316866398, -0.026032963767647743, 0.0430140346288681, -0.03855825960636139, 0.030383486300706863, 0.010586855933070183, 0.05473237857222557, 0.06146867200732231, -0.03562867268919945, -0.006810848135501146, 0.0417860671877861, -0.006065294612199068, 0.06557360291481018, -0.011876224540174007, -0.08153720945119858, 0.005924955476075411, 0.009543081745505333, -0.04782066121697426, -0.025085672736167908, -0.03603214770555496, -0.01863005943596363, 0.011209611780941486, -0.0034909434616565704, 0.006372287403792143, -0.05785493180155754, -0.029874756932258606, -0.02720830775797367, 0.015665389597415924, -0.02113862708210945, 0.0054732379503548145, 0.025208471342921257, 0.002683991566300392, 0.03366392105817795, -0.0058328574523329735, -0.0204018447548151, 0.05175016447901726, 0.03764605149626732, 0.02022642083466053, 0.006661737337708473, 0.027313562110066414, -0.05375000089406967, 0.005245186388492584, -0.01857743225991726, -0.007323964033275843, 0.005227643996477127, -0.07613414525985718, -0.06876631826162338, 0.0008809588616713881, -0.007389748003333807, 0.0021982856560498476, 0.03333061560988426, -0.019507180899381638, 0.032032474875450134, 0.025962794199585915, 0.020086081698536873, -0.002872572746127844, 0.02959407866001129, 0.0063065034337341785, -0.03210264444351196, 0.023436686024069786, -0.04283861070871353, 0.016402171924710274, -0.03469892591238022, 0.013797120191156864, -0.06809970736503601, -0.018665144219994545, 0.04013707861304283, 0.058872390538454056, 0.0024866394232958555, -0.0035830410197377205, -0.001996547682210803, 0.02648906782269478, -0.003993095364421606, 0.09276436269283295, -0.007823923602700233, 0.011104357428848743, -0.0012542837066575885, 0.0430140346288681, -0.027874920517206192, 0.0511186383664608, 0.08834367245435715, 0.038031987845897675, -0.02268236130475998, 0.008328268304467201, 0.006179320625960827, -0.02450677379965782, 0.10785085707902908, 0.016261830925941467, 0.04641726613044739, -0.03126060962677002, 0.004907494410872459, 0.06385444104671478, -0.004775926470756531, 0.013332245871424675, -0.000171586885699071, -0.0008179157739505172, 0.023120921105146408, -0.024050669744610786, 0.027471443638205528, -0.006543326191604137, 0.010586855933070183, 0.000050160382670583203, 0.019015993922948837, -0.020261505618691444, -0.009183461777865887, 0.012516522780060768, -0.001502070459537208, -0.04308420419692993, -0.05785493180155754, 0.015963610261678696, -0.03161145746707916, -0.03476909548044205, 0.0037343446165323257, -0.04210183024406433, -0.05683746933937073, -0.10707898437976837, 0.01048160158097744, -0.0204018447548151, 0.00010587130236672238, 0.030172977596521378, 0.012551607564091682, -0.05203084275126457, -0.01054299995303154, -0.0005572462105192244, -0.02782229334115982, -0.04897846281528473, 0.020208878442645073, -0.05778476223349571, 0.0038439847994595766, 0.0057276031002402306, 0.03676893189549446, 0.025313725695014, 0.006946801673620939, 0.05266237258911133, 0.021489474922418594, -0.012025334872305393, 0.023156005889177322, -0.0128410579636693, 0.05153965577483177, 0.051960673183202744, 0.024682197719812393, 0.0040610721334815025, -0.031295694410800934, -0.006135464645922184, 0.0592232421040535, -0.022840242832899094, 0.09227317571640015, -0.018402008339762688, -0.010227235965430737, -0.05245186388492584, -0.03443579003214836, -0.05185541883111, -0.0577496774494648, 0.011472748592495918, -0.00024696451146155596, -0.01612149178981781, 0.004262810107320547, 0.0009620925993658602, 0.0013683094875887036, 0.026699576526880264, -0.04241759330034256, 0.011358723044395447, 0.0011939816176891327, -0.0023769992403686047, 0.026138219982385635, 0.008389666676521301, -0.0030743107199668884, 0.01887565292418003, 0.04982049763202667, 0.049680158495903015, 0.03173425421118736, -0.011411350220441818, 0.06473156064748764, 0.04382098838686943, 0.014384792186319828, -0.005749531090259552, 0.0023901560343801975, 0.025769827887415886, 0.033751633018255234, -0.0014022978721186519, 0.029032720252871513, 0.0017377969343215227, -0.01961243525147438, -0.005946883466094732, 0.028348565101623535, 0.07802872359752655 ]
16,355
presidio_analyzer.entity_recognizer
get_supported_entities
Return the list of entities this recognizer can identify. :return: A list of the supported entities by this recognizer
def get_supported_entities(self) -> List[str]: """ Return the list of entities this recognizer can identify. :return: A list of the supported entities by this recognizer """ return self.supported_entities
(self) -> List[str]
[ 0.020179742947220802, -0.1006222814321518, -0.029060212895274162, -0.0219938475638628, 0.013329342938959599, 0.05573617294430733, 0.029613083228468895, -0.05307548865675926, 0.05490687116980553, 0.016681114211678505, 0.010262643918395042, -0.03139263018965721, -0.05846596881747246, -0.014003152027726173, 0.013070184737443924, -0.0433657169342041, -0.0448169969022274, 0.025138292461633682, 0.01618007756769657, -0.03502083942294121, -0.0477195642888546, 0.026814179494976997, -0.011212888173758984, -0.08935756236314774, -0.0024339223746210337, 0.06734643876552582, 0.015981389209628105, -0.035141780972480774, -0.015273025259375572, 0.011463407427072525, -0.0507257916033268, -0.00806412287056446, 0.0447133369743824, -0.0128628583624959, -0.012785111553966999, 0.012880136258900166, 0.02500007674098015, 0.0865241065621376, -0.028420956805348396, -0.011869421228766441, -0.10407771915197372, -0.03203188627958298, 0.06993801146745682, 0.012569146230816841, -0.08023521304130554, -0.010158980265259743, 0.010746404528617859, -0.02344512939453125, 0.02866283804178238, -0.013631693087518215, 0.04156889021396637, -0.01469423994421959, -0.025673886761069298, -0.004332252312451601, -0.028524620458483696, -0.010349029675126076, -0.013631693087518215, 0.0430547259747982, -0.013268872164189816, 0.0438840314745903, 0.06627525389194489, -0.015238470397889614, 0.015912281349301338, -0.03559098392724991, 0.030580604448914528, 0.013407089747488499, 0.0447133369743824, 0.01677613891661167, 0.005312731955200434, 0.05808586999773979, -0.039530180394649506, -0.06641346961259842, 0.034001484513282776, 0.05328281596302986, 0.03455435484647751, -0.016136884689331055, -0.009545641019940376, 0.056047163903713226, 0.050483912229537964, 0.013433005660772324, -0.006314808502793312, 0.04281284660100937, 0.03987572714686394, 0.003131488338112831, 0.048825304955244064, -0.04053225740790367, -0.022391222417354584, -0.009908461011946201, -0.019765090197324753, -0.027712592855095863, -0.0421217605471611, 0.03025233745574951, -0.017933709546923637, 0.01776093803346157, -0.054250337183475494, 0.045611750334501266, -0.01586908847093582, -0.004932634066790342, -0.017648637294769287, -0.010349029675126076, -0.034364305436611176, 0.11548065394163132, 0.018607519567012787, 0.03832077980041504, -0.003019186668097973, -0.0023259399458765984, -0.07076732069253922, 0.005118364002555609, -0.008509010076522827, 0.06033190339803696, -0.03697315976023674, -0.004347370006144047, 0.09695952385663986, 0.05411212146282196, 0.030442386865615845, -0.086316779255867, 0.001250435714609921, -0.01192989107221365, 0.026555022224783897, 0.0011208568466827273, -0.042881954461336136, 0.027021504938602448, -0.04343482479453087, -0.03700771555304527, -0.00617227191105485, 0.005606444086879492, 0.03303396329283714, 0.01869390532374382, -0.0479268915951252, -0.04032493382692337, -0.02684873342514038, 0.03242926299571991, -0.03845899552106857, 0.01687980256974697, 0.031479015946388245, -0.041223347187042236, 0.006504857446998358, -0.031202582642436028, 0.033068519085645676, -0.0058137704618275166, -0.061886850744485855, 0.0033517724368721247, 0.05003470554947853, 0.00253110658377409, -0.09163814783096313, 0.01638740301132202, 0.0014739591861143708, -0.023825228214263916, 0.007165709510445595, -0.049136292189359665, 0.0035893337335437536, -0.0035785355139523745, -0.01402042992413044, -0.05767121911048889, -0.047995999455451965, 0.024412652477622032, 0.005459588021039963, -0.07125107944011688, 0.019488656893372536, 0.04008305072784424, -0.026105815544724464, -0.037871573120355606, -0.058949731290340424, 0.05787854641675949, 0.0429510623216629, -0.013078823685646057, -0.0031401270534843206, -0.027608929201960564, 0.012413651682436466, -0.007921585813164711, -0.002606694120913744, 0.022702211514115334, -0.014962036162614822, 0.013173847459256649, 0.055632513016462326, 0.056254491209983826, -0.001189965638332069, 0.04125789925456047, 0.00580945098772645, 0.054250337183475494, 0.01427958719432354, 0.005956307053565979, -0.011731203645467758, -0.030269615352153778, 0.05148598924279213, -0.009208736009895802, 0.0203870702534914, 0.02209750935435295, -0.028783777728676796, 0.04060136899352074, 0.023756118491292, -0.027142446488142014, 0.003377688117325306, 0.02076716721057892, -0.05266083776950836, -0.013078823685646057, -0.015488989651203156, -0.00807276088744402, -0.09073973447084427, -0.04198354110121727, -0.010737765580415726, 0.005610763560980558, 0.0037599457427859306, 0.04167255386710167, -0.007442144211381674, 0.03731870278716087, -0.0004124926053918898, -0.015445796772837639, -0.027228832244873047, -0.06409832835197449, -0.030183229595422745, -0.01676749996840954, -0.03866632282733917, 0.016992103308439255, 0.08680053800344467, -0.03071882203221321, 0.02954397350549698, 0.013640332035720348, -0.032446540892124176, -0.01596411131322384, 0.0446096733212471, -0.0224084984511137, 0.03215282782912254, -0.03206644207239151, 0.0013519391650334, -0.007429186254739761, -0.03559098392724991, -0.026347694918513298, -0.007040449883788824, -0.042778290808200836, -0.03515905514359474, -0.0034381584264338017, -0.0232378039509058, 0.053006380796432495, 0.024343542754650116, 0.07138929516077042, 0.07940591126680374, -0.010400860570371151, 0.0013173847692087293, 0.014175924472510815, -0.012413651682436466, 0.008712016977369785, -0.021907461807131767, -0.02534561976790428, -0.024153493344783783, 0.02596759796142578, 0.044851552695035934, -0.019955139607191086, 0.021354591473937035, -0.05307548865675926, -0.0008492812630720437, -0.048617977648973465, -0.007057726848870516, -0.02308230847120285, -0.020542563870549202, -0.05169331654906273, -0.06599881500005722, -0.012819665484130383, 0.05003470554947853, -0.02783353254199028, -0.029561251401901245, 0.02876649983227253, -0.010737765580415726, 0.07885304093360901, -0.03526271879673004, 0.0018950904486700892, -0.01427958719432354, 0.05387023836374283, -0.055632513016462326, -0.019454101100564003, 0.09488625824451447, 0.003746987786144018, -0.06668990850448608, -0.03773335739970207, 0.034208811819553375, 0.006275934632867575, -0.01446099765598774, 0.024930967018008232, -0.08085718750953674, 0.04250185564160347, -0.020732613280415535, -0.0006981059559620917, -0.016266463324427605, 0.022477608174085617, 0.043607596307992935, -0.0445060096681118, -0.02876649983227253, 0.00007160580571508035, -0.03697315976023674, -0.05787854641675949, -0.015748146921396255, 0.054146673530340195, 0.011765757575631142, -0.03346589207649231, 0.03686949610710144, -0.016214631497859955, 0.010167619213461876, -0.03206644207239151, 0.051347773522138596, -0.03908097743988037, 0.008621311746537685, 0.029267538338899612, -0.002293545287102461, 0.014962036162614822, -0.04167255386710167, -0.06396011263132095, 0.017285816371440887, -0.012102662585675716, -0.011515239253640175, -0.03997938707470894, -0.026261309161782265, 0.009986208751797676, 0.015298941172659397, -0.010824151337146759, 0.0010647060116752982, -0.008509010076522827, -0.03267114236950874, 0.046095509082078934, -0.0038204158190637827, 0.052073411643505096, -0.011472045443952084, 0.07429186254739761, 0.015428519807755947, 0.009562917985022068, 0.05815497785806656, -0.05152054503560066, 0.045991845428943634, 0.007511253003031015, 0.0018346202559769154, 0.020335238426923752, -0.0461646169424057, -0.07318612188100815, 0.005805131513625383, 0.01755361258983612, -0.018676629289984703, -0.024930967018008232, 0.016154160723090172, 0.04060136899352074, 0.029734022915363312, -0.0008060883264988661, -0.024758195504546165, -0.012076746672391891, -0.015368049032986164, 0.0464756079018116, 0.0056496369652450085, 0.02741888165473938, 0.028749223798513412, 0.0041335648857057095, 0.047685008496046066, -0.016050497069954872, -0.019436825066804886, -0.00842694379389286, 0.023583346977829933, -0.025673886761069298, 0.004338731057941914, -0.008573799394071102, -0.040463149547576904, 0.060435567051172256, -0.01489292737096548, 0.009770244359970093, 0.03825167194008827, -0.049239955842494965, 0.0038852053694427013, 0.022322112694382668, -0.07249503582715988, -0.023410575464367867, 0.0505184680223465, 0.011377021670341492, 0.08286134153604507, -0.017830047756433487, -0.018572965636849403, 0.027643484994769096, -0.04899807646870613, 0.02209750935435295, 0.05611627176403999, -0.010971007868647575, 0.01680205576121807, 0.018158312886953354, -0.009787521325051785, 0.07622690498828888, -0.029250262305140495, 0.08272312581539154, 0.008318960666656494, -0.0045395782217383385, 0.002295705024152994, -0.02401527762413025, -0.022529440000653267, 0.037215039134025574, -0.02938847988843918, 0.007817923091351986, -0.01973053626716137, -0.052591729909181595, -0.10228089243173599, 0.01025400497019291, -0.051347773522138596, -0.02664140798151493, -0.052695389837026596, -0.005623721517622471, 0.005209069233387709, 0.014357334934175014, 0.026969674974679947, 0.03997938707470894, 0.04467878118157387, 0.0013875733129680157, -0.04132700711488724, 0.03686949610710144, 0.054457664489746094, 0.001997673651203513, -0.02985496260225773, -0.010737765580415726, -0.024723641574382782, -0.0103749455884099, -0.0020041526295244694, -0.0249482449144125, -0.0488598570227623, 0.021613748744130135, -0.018158312886953354, 0.026917843148112297, -0.0021812436170876026, 0.047408577054739, -0.030649712309241295, -0.022857705131173134, -0.04018671438097954, 0.07975145429372787, -0.0000990063272183761, 0.03419153392314911, 0.00599086144939065, -0.011342466808855534, 0.004846248310059309, -0.06527317315340042, -0.0018151834374293685, 0.003785861423239112, -0.003829054534435272, -0.08597123622894287, 0.02453359216451645, -0.03515905514359474, -0.0224084984511137, -0.0470975860953331, -0.05158965289592743, 0.0015668240375816822, -0.04827243462204933, 0.0029435991309583187, 0.025293787941336632, 0.0493781752884388, 0.07726354151964188, -0.07118196785449982, -0.06879772245883942, 0.023151418194174767, 0.03804434463381767, -0.03752603009343147, -0.03149629384279251, -0.0031444462947547436, 0.05079490318894386, 0.001167289330624044, 0.07581225782632828, 0.05577072873711586, 0.0445060096681118, 0.030442386865615845, -0.027816256508231163, 0.007329842541366816, 0.02004152536392212, 0.0427437387406826, -0.014607853256165981, 0.004759862553328276, 0.0505184680223465, 0.017622720450162888, -0.020421624183654785, -0.011377021670341492, -0.028576452285051346, -0.010720488615334034, 0.07947501540184021, 0.007481018081307411, 0.03852810710668564, -0.05856963247060776, -0.009312398731708527, 0.03645484521985054, 0.04146522656083107, 0.013182486407458782, 0.020594395697116852, -0.03144446387887001, 0.017043935135006905, -0.06458208709955215, -0.02401527762413025, -0.013502114452421665, -0.005256581120193005, -0.0233932975679636, -0.015126168727874756, -0.028438234701752663, -0.03697315976023674, -0.009303759783506393, 0.028939273208379745, -0.01342436671257019, -0.011791673488914967, -0.05628904327750206, 0.0226158257573843, -0.004470469895750284, 0.05611627176403999, -0.02442992851138115, 0.012655532918870449, 0.030597882345318794, 0.059468045830726624, -0.05283360928297043, 0.012128578498959541, -0.0227194894105196, 0.04879074916243553, -0.05262628197669983, 0.030494218692183495, -0.01755361258983612, -0.027919918298721313, 0.028887441381812096, -0.0002588877105154097, -0.030753375962376595, 0.07919858396053314, -0.06078111007809639, 0.030183229595422745, -0.001014494220726192, 0.003353932173922658, 0.035556431859731674, -0.0028161800000816584, 0.09578467160463333, -0.04187987744808197, -0.010366306640207767, 0.01926405355334282, -0.03614385426044464, 0.036178410053253174, 0.004863525275141001, -0.06630980968475342, 0.002632610034197569, 0.0036951564252376556, 0.01469423994421959, 0.04540442302823067, -0.01916038990020752, -0.024257156997919083, 0.006781292147934437, -0.018158312886953354, 0.042674627155065536, -0.0013368215877562761, -0.03686949610710144, 0.06067744642496109, 0.06948880851268768, 0.027747146785259247, -0.0470975860953331, -0.044851552695035934, 0.030528772622346878, 0.04519709572196007, -0.051140446215867996, -0.049239955842494965, -0.04426413029432297, 0.03327584266662598, 0.040566813200712204, 0.0488598570227623, -0.01734628714621067, -0.02071533538401127, -0.03731870278716087, 0.05283360928297043, -0.028317293152213097, 0.05746389180421829, -0.03946107253432274, -0.060746558010578156, 0.021751966327428818, -0.013363896869122982, -0.034986283630132675, -0.045577194541692734, 0.04143067076802254, 0.0052177077159285545, 0.014374611899256706, -0.013337980955839157, 0.035089947283267975, -0.05608171969652176, -0.023997999727725983, 0.0465792715549469, 0.01267280988395214, 0.0029284816700965166, 0.019713260233402252, -0.028472788631916046, 0.030183229595422745, 0.02871466986835003, -0.025535669177770615, 0.008616992272436619, -0.056876469403505325, -0.006962702609598637, -0.0024727960117161274, -0.005545973777770996, -0.018192868679761887, 0.029319370165467262, 0.0013238637475296855, 0.0031293288338929415, 0.028023581951856613, -0.0027405922301113605, -0.0223566684871912, -0.012897413223981857, 0.020317960530519485, 0.05912250280380249, 0.019436825066804886, 0.004194034729152918, -0.013942682184278965, -0.02726338617503643, -0.01538532692939043, -0.021700134500861168, -0.033586833626031876, 0.05190064013004303, 0.005822408944368362, 0.01638740301132202, 0.0017795492894947529, 0.07843838632106781, -0.06568782776594162, -0.02695239707827568, -0.022857705131173134, -0.018158312886953354, 0.0015776222571730614, -0.045162543654441833, -0.007515572011470795, 0.02923298440873623, -0.032187383621931076, 0.010046678595244884, 0.005148598924279213, 0.043607596307992935, 0.03956473618745804, 0.05179697647690773, 0.048099663108587265, 0.06620614230632782, 0.017303092405200005, -0.008392388932406902, -0.018987618386745453, 0.02539745159447193, -0.06675901263952255, -0.0502074770629406, -0.023099586367607117, -0.004496385343372822, -0.009640664793550968, 0.04343482479453087, -0.042881954461336136, 0.02097449265420437, -0.017588166519999504, -0.02282315120100975, 0.022840429097414017, 0.0011273358250036836, -0.05943349003791809, 0.00027994427364319563, 0.02069805935025215, -0.04018671438097954, 0.07152751833200455, -0.006275934632867575, 0.01973053626716137, -0.03642028942704201, 0.021147266030311584, -0.09322764724493027, 0.015238470397889614, 0.06233605742454529, 0.05283360928297043, 0.0052263461984694, 0.0466829352080822, 0.03268842026591301, -0.005286816507577896, -0.009960292838513851, -0.010901899076998234, -0.024965520948171616, 0.017121683806180954, 0.020006971433758736, -0.0025203083641827106, -0.01822742260992527, 0.059053391218185425, 0.03381143510341644, 0.024965520948171616, -0.0044920663349330425, -0.008189382031559944, -0.036696724593639374, -0.011014200747013092, 0.009917099960148335, 0.039115529507398605, 0.02928481623530388, 0.009986208751797676, 0.028783777728676796, -0.000704584876075387, -0.005831047426909208, 0.040255822241306305, 0.004159480333328247, -0.028213631361722946, 0.07201127707958221, -0.008720654994249344, -0.02035251446068287, -0.03327584266662598, -0.028230907395482063, 0.024205325171351433, -0.022546716034412384, 0.02850734256207943, -0.01546307373791933, 0.01962687447667122, 0.027608929201960564, -0.0116966487839818, -0.018261976540088654, -0.03918463736772537, -0.0015052740927785635, 0.030321447178721428, 0.046855706721544266, 0.06700089573860168, -0.01033175177872181, -0.061472196131944656, -0.012500038370490074, 0.013130654580891132, 0.020369792357087135, 0.0221493411809206, -0.07449918985366821, -0.020369792357087135, -0.0032308322843164206, 0.012465483509004116, -0.012405013665556908, 0.023220526054501534, -0.03704226762056351, -0.007165709510445595, 0.01719079166650772, 0.0209053847938776, 0.009770244359970093, -0.021907461807131767, 0.03915008530020714, -0.035660095512866974, 0.06976523995399475, 0.04187987744808197, 0.04785778000950813, -0.023721564561128616, 0.048721641302108765, -0.015160723589360714, 0.03766424581408501, 0.031168028712272644, -0.01807192713022232, 0.040048498660326004, -0.01802009530365467, 0.021095434203743935, 0.018866678699851036, 0.010901899076998234, -0.012897413223981857, -0.0013929724227637053, -0.052902717143297195, -0.008785445243120193, -0.06952336430549622, -0.04993104189634323, 0.05335192382335663, -0.03305124118924141, -0.06319991499185562, -0.03600563853979111, 0.053835686296224594, -0.006021096371114254, -0.01562720723450184, 0.010003485716879368, 0.02918115258216858, 0.0034014442935585976, 0.03769880160689354, -0.042985618114471436, -0.017691830173134804, 0.028887441381812096, 0.023635178804397583, 0.028541896492242813, 0.015739507973194122, -0.021872906014323235, 0.023825228214263916, -0.012353181838989258, 0.06475485861301422, -0.024827303364872932, -0.038286224007606506, -0.008573799394071102, -0.04219086840748787, -0.011428852565586567, -0.01843474805355072, -0.056876469403505325, -0.05870784819126129, -0.0008697978919371963, 0.041188791394233704, -0.016897080466151237 ]
16,356
presidio_analyzer.entity_recognizer
get_supported_language
Return the language this recognizer can support. :return: A list of the supported language by this recognizer
def get_supported_language(self) -> str: """ Return the language this recognizer can support. :return: A list of the supported language by this recognizer """ return self.supported_language
(self) -> str
[ 0.03369521722197533, -0.08212429285049438, 0.013289009220898151, 0.0009871994843706489, 0.022118618711829185, 0.04145457223057747, 0.037423275411129, -0.027773136273026466, 0.02836177684366703, 0.0017503140261396766, 0.02541857399046421, -0.041169170290231705, -0.022582396864891052, -0.019282441586256027, 0.00829894095659256, -0.01972838118672371, -0.04552154242992401, 0.004227510187774897, 0.01946081593632698, -0.016588963568210602, -0.02944987080991268, -0.012566586025059223, 0.02368832752108574, -0.036067619919776917, 0.004274333827197552, 0.07741516828536987, 0.04562857002019882, -0.025400735437870026, -0.029592571780085564, -0.0012084970949217677, -0.07955567538738251, 0.008347994647920132, 0.00608262000605464, 0.008339076302945614, -0.029360681772232056, 0.05404791608452797, -0.022832121700048447, 0.02152997814118862, -0.09368304908275604, -0.026167752221226692, -0.07648760825395584, 0.008254347369074821, 0.024580206722021103, -0.00032330641988664865, -0.08790367096662521, -0.02345643751323223, -0.06350184231996536, -0.0194964911788702, 0.012299022637307644, 0.01757895015180111, 0.07627356052398682, -0.0066266669891774654, -0.024758582934737206, -0.04552154242992401, -0.08569180965423584, -0.009908784180879593, 0.0018495357362553477, 0.0061227548867464066, 0.010033647529780865, 0.059648919850587845, 0.022992661222815514, -0.025400735437870026, 0.0095966262742877, -0.005110471043735743, 0.005587626714259386, 0.0015496411360800266, 0.05493979528546333, 0.013190901838243008, 0.043809134513139725, 0.047091253101825714, -0.016544369980692863, -0.03187578171491623, 0.009783920831978321, 0.015384926460683346, 0.03674544766545296, -0.013190901838243008, -0.058257587254047394, 0.047091253101825714, 0.015072768554091454, 0.024936959147453308, -0.03182227164506912, 0.044486962258815765, 0.06350184231996536, 0.006604369729757309, 0.06457209587097168, -0.062360234558582306, -0.002499493071809411, -0.006265455391258001, -0.0019688245374709368, -0.04088376834988594, -0.046627476811409, -0.0070057157427072525, 0.003888595849275589, 0.060255397111177444, -0.06849636882543564, -0.02534722350537777, -0.005458304192870855, 0.020727286115288734, -0.005485060624778271, 0.001990006770938635, -0.020388372242450714, 0.0923987478017807, 0.015982486307621002, -0.03217902407050133, 0.036638420075178146, -0.04288157820701599, -0.05222848057746887, 0.016009241342544556, -0.00487412279471755, 0.018051646649837494, -0.022296994924545288, -0.05329873412847519, 0.03401629626750946, 0.06467912346124649, 0.01905055157840252, -0.020941337570548058, -0.04948148876428604, -0.008566505275666714, -0.015741677954792976, 0.04366643354296684, -0.06510722637176514, 0.043737784028053284, -0.033891431987285614, -0.0319114588201046, -0.00818299688398838, 0.018007053062319756, 0.045771270990371704, 0.008847447112202644, -0.0001821385812945664, 0.013841974548995495, 0.015135199762880802, 0.04070539399981499, -0.022653747349977493, -0.038529206067323685, 0.026613691821694374, -0.021672679111361504, 0.008432723581790924, 0.005828434601426125, 0.042417801916599274, 0.016580045223236084, -0.05276360735297203, -0.011790650896728039, 0.06421534717082977, -0.023545626550912857, -0.04948148876428604, 0.043737784028053284, 0.0033400896936655045, 0.023367250338196754, -0.028183400630950928, -0.014751691371202469, 0.028522316366434097, 0.011790650896728039, 0.02240402065217495, -0.06260996311903, 0.0041472408920526505, -0.012361453846096992, -0.018203265964984894, -0.005386953707784414, 0.011094984598457813, 0.0035296143032610416, 0.030234724283218384, 0.01942514255642891, -0.09974783658981323, 0.04634207487106323, 0.047055575996637344, 0.0016365994233638048, 0.022386182099580765, -0.043844811618328094, -0.005681273993104696, 0.024580206722021103, -0.01199578307569027, -0.012629018165171146, -0.025097496807575226, 0.035318437963724136, 0.006947743706405163, 0.0807686299085617, 0.022528883069753647, 0.08019783347845078, 0.02395589090883732, 0.04038431495428085, 0.026239102706313133, 0.04377346113324165, -0.07288441807031631, -0.011924432590603828, 0.05529654771089554, 0.015019255690276623, 0.023224549368023872, 0.011184172704815865, -0.0395994633436203, 0.03483682498335838, 0.012700367718935013, -0.026007214561104774, 0.03141200542449951, -0.04951716586947441, -0.06153970584273338, -0.017213279381394386, 0.022261319682002068, 0.007763813715428114, -0.06121862679719925, -0.042596179991960526, 0.057044632732868195, 0.02802286297082901, 0.01780191995203495, 0.03628167137503624, -0.037423275411129, -0.0007798373699188232, -0.0034983984660357237, 0.01084525790065527, -0.07006607204675674, -0.06346616894006729, 0.009141767397522926, -0.008160700090229511, -0.0042899418622255325, 0.038707584142684937, 0.05493979528546333, -0.05996999517083168, -0.0061227548867464066, -0.007558681070804596, -0.04291725531220436, 0.02907528169453144, 0.030163373798131943, -0.01237037219107151, 0.031590383499860764, -0.027862325310707092, 0.039920538663864136, -0.056295450776815414, -0.008758259005844593, -0.03506871312856674, -0.03571086749434471, -0.0095966262742877, -0.03571086749434471, -0.08091133087873459, -0.008120565675199032, 0.03462277352809906, -0.007041390985250473, 0.057722460478544235, 0.026042889803647995, 0.0024013863876461983, -0.0032932660542428493, 0.007910973392426968, 0.04402318596839905, 0.005150605924427509, 0.007148416247218847, 0.04826853424310684, -0.007028012536466122, 0.04887501150369644, 0.03635301813483238, 0.004006769973784685, 0.06714071333408356, -0.018979201093316078, -0.008169618435204029, -0.04887501150369644, -0.012834150344133377, -0.030823364853858948, -0.034230347722768784, -0.030823364853858948, -0.0371735505759716, -0.01663355715572834, 0.03817245364189148, -0.05265658348798752, -0.03949243575334549, 0.05611707642674446, -0.009864190593361855, 0.07741516828536987, -0.057793810963630676, 0.005324522498995066, 0.06428669393062592, 0.03244658559560776, -0.05615274980664253, -0.013271171599626541, 0.11751408129930496, 0.010283374227583408, -0.08376535028219223, -0.03289252519607544, 0.024562370032072067, -0.037851378321647644, -0.0012006931938230991, 0.07370494306087494, -0.0629667118191719, 0.037280574440956116, 0.06778286397457123, 0.026007214561104774, -0.012834150344133377, 0.045842621475458145, 0.0035608301404863596, 0.02711314521729946, -0.006069242022931576, -0.026845581829547882, -0.045200467109680176, -0.024562370032072067, 0.01905055157840252, 0.016740582883358, 0.02199375629425049, 0.014386020600795746, 0.07755786925554276, 0.013743867166340351, 0.02240402065217495, -0.0012876514811068773, 0.07663030922412872, -0.04823285713791847, -0.01201362069696188, 0.05408358946442604, 0.034497909247875214, 0.0017871040618047118, -0.10374345630407333, -0.04609234631061554, 0.0005705243675038218, -0.025061821565032005, -0.02791583724319935, -0.01715976744890213, -0.039171360433101654, 0.0145019656047225, 0.06118295341730118, -0.027327196672558784, -0.042417801916599274, 0.00954311341047287, -0.013931162655353546, 0.03749462589621544, -0.005529654677957296, 0.0299136471003294, -0.022189969196915627, 0.06178943067789078, -0.0025753029622137547, -0.021708354353904724, 0.0188900139182806, -0.029592571780085564, 0.030270399525761604, -0.03214334696531296, 0.03770867735147476, -0.022493207827210426, -0.034194670617580414, -0.03514006361365318, 0.01765030063688755, -0.013815217651426792, -0.00148275017272681, -0.0070057157427072525, 0.019781893119215965, 0.0509798489511013, 0.007282198406755924, -0.007117200642824173, -0.021476464346051216, -0.022082943469285965, -0.042524829506874084, 0.04066971689462662, 0.004838448017835617, 0.06881744414567947, -0.0033044146839529276, 0.018319210037589073, 0.037387602031230927, -0.04305995628237724, -0.02809421345591545, -0.037922728806734085, -0.004735881462693214, -0.013610085472464561, -0.028147725388407707, -0.0681752935051918, -0.046449098736047745, 0.03371305763721466, 0.011665787547826767, 0.009088254533708096, -0.026078565046191216, -0.03533627837896347, 0.0021895647514611483, 0.06557100266218185, -0.041811324656009674, -0.03340981528162956, 0.049160413444042206, 0.042025376111269, 0.021601328626275063, -0.042560502886772156, -0.004265415016561747, 0.00025641542742960155, -0.007763813715428114, 0.028825554996728897, -0.0007246523164212704, -0.008860825560986996, 0.059042442589998245, 0.030038511380553246, -0.010452831164002419, 0.0561884269118309, -0.018203265964984894, 0.08761826902627945, 0.0006243158713914454, 0.004310009069740772, 0.0036990714725106955, -0.0607905276119709, -0.04477236419916153, 0.0036210319958627224, -0.028415290638804436, -0.002515100874006748, -0.021137550473213196, -0.03806542977690697, -0.09040093421936035, 0.00016039900947362185, -0.033053066581487656, -0.00235233292914927, -0.05130092427134514, 0.006029107142239809, 0.01461790967732668, 0.011059309355914593, 0.027255846187472343, -0.0035987349692732096, -0.03235739842057228, -0.018604611977934837, -0.039920538663864136, 0.07941297441720963, 0.056973282247781754, 0.062360234558582306, -0.03806542977690697, -0.024455344304442406, -0.009400413371622562, -0.03043093904852867, -0.010702556930482388, -0.06193213164806366, -0.06207483261823654, 0.05126525089144707, -0.0013255563098937273, 0.03906433284282684, -0.015349251218140125, 0.029003931209445, -0.010568775236606598, 0.0048072319477796555, 0.01663355715572834, 0.07591680437326431, 0.04245347902178764, 0.025811001658439636, 0.010417155921459198, -0.019567841663956642, -0.00462885620072484, -0.0521928034722805, 0.03228604793548584, -0.009926621802151203, 0.017971377819776535, -0.07124336063861847, -0.007567599881440401, -0.056973282247781754, -0.040491342544555664, -0.008321238681674004, -0.05879271402955055, -0.015224387869238853, -0.008615558966994286, -0.005578707903623581, 0.0028227996081113815, 0.07927027344703674, 0.04024161398410797, -0.06189645826816559, -0.030199049040675163, -0.010399318300187588, -0.03235739842057228, -0.07149308174848557, -0.04420156031847, 0.029735272750258446, 0.047804757952690125, 0.01572384126484394, 0.09354034811258316, 0.02975310944020748, -0.018319210037589073, 0.0034404261969029903, 0.025543436408042908, -0.022939147427678108, 0.05354846268892288, 0.06314508616924286, 0.028468802571296692, 0.0012374832294881344, -0.004642234183847904, 0.03076985292136669, -0.0133514404296875, -0.01670490764081478, -0.043916162103414536, -0.0027046254836022854, 0.028468802571296692, 0.014644665643572807, -0.0024103051982820034, -0.05597437545657158, -0.05058742314577103, 0.013815217651426792, -0.03556816652417183, -0.008218672126531601, -0.020263507962226868, -0.02595370076596737, -0.034569259732961655, -0.02998499758541584, -0.013003607280552387, 0.0008149551576934755, -0.020638098940253258, -0.04677017405629158, -0.03357035666704178, -0.004602099768817425, -0.050480395555496216, -0.014091700315475464, 0.0017848743591457605, 0.0188900139182806, 0.018925689160823822, -0.04555721953511238, 0.0038618394173681736, -0.00405359361320734, 0.03510438650846481, -0.03242874890565872, 0.012138484045863152, 0.06150402873754501, 0.0527992844581604, -0.01776624470949173, 0.0010986843844875693, 0.00676936749368906, 0.07167145609855652, -0.0920419916510582, 0.002932054689154029, 0.00027648272225633264, -0.0007201929111033678, 0.03137633204460144, -0.037851378321647644, -0.019710542634129524, 0.06243158504366875, -0.025240197777748108, 0.010319049470126629, 0.003930960316210985, -0.0217975415289402, 0.0515863262116909, 0.011728218756616116, 0.09996188431978226, -0.02798718772828579, -0.005578707903623581, 0.037423275411129, -0.050480395555496216, 0.043095629662275314, 0.01765030063688755, -0.09154254198074341, -0.0426318533718586, 0.013583329506218433, 0.010078241117298603, 0.0184083990752697, -0.020459722727537155, -0.023563463240861893, 0.04659179970622063, -0.052335504442453384, 0.03043093904852867, -0.02680990658700466, 0.014716016128659248, 0.014778448268771172, 0.04370211064815521, 0.020459722727537155, -0.03695949912071228, -0.03353467956185341, -0.017623543739318848, 0.006501803640276194, -0.016999227926135063, -0.03178659453988075, -0.047091253101825714, 0.015411682426929474, 0.03394494578242302, 0.021137550473213196, -0.01724003627896309, -0.05615274980664253, -0.0011906594736501575, 0.08183889091014862, -0.003679004032164812, 0.05144362524151802, 0.03134065493941307, 0.02764827385544777, -0.010069322772324085, -0.017908945679664612, -0.04091944545507431, -0.08155348896980286, 0.03638869524002075, -0.005386953707784414, 0.02033485844731331, -0.014983580447733402, 0.052335504442453384, -0.037209223955869675, -0.033623866736888885, 0.0509798489511013, -0.052406854927539825, 0.04737665504217148, -0.03483682498335838, -0.011121740564703941, 0.029057443141937256, 0.037387602031230927, 0.02527587302029133, -0.0015418371185660362, -0.010533099994063377, -0.024883445352315903, 0.016999227926135063, -0.005529654677957296, -0.026702880859375, -0.003360157134011388, -0.00045457997475750744, 0.04156159609556198, 0.022011592984199524, -0.009302305988967419, 0.01084525790065527, -0.021476464346051216, 0.030466614291071892, 0.06906717270612717, -0.0095966262742877, -0.029521221294999123, -0.009436087682843208, -0.04013459011912346, -0.037958402186632156, 0.0146535849198699, 0.007090444210916758, 0.021547814831137657, -0.00658207293599844, -0.0013957918854430318, -0.006180726923048496, 0.06011269614100456, 0.005788299720734358, -0.027148820459842682, -0.04434426128864288, -0.007197469938546419, 0.001739165629260242, -0.04669882729649544, -0.017115173861384392, -0.008472857996821404, -0.052513882517814636, 0.022011592984199524, 0.036638420075178146, 0.025543436408042908, 0.012263347394764423, 0.05786516144871712, 0.011442817747592926, 0.014332507736980915, 0.03688814863562584, -0.006608829367905855, -0.007781651336699724, 0.004856285639107227, -0.009783920831978321, -0.04873231053352356, -0.025632625445723534, -0.06360886245965958, 0.007246523164212704, 0.04198969900608063, -0.03280333802103996, 0.051015522330999374, -0.021547814831137657, -0.01594681106507778, -0.009311225265264511, 0.01851542480289936, -0.05483276769518852, 0.016312481835484505, 0.0036143427714705467, -0.05394088849425316, 0.05265658348798752, 0.03952811285853386, -0.025864513590931892, -0.009828515350818634, 0.03692382201552391, -0.07074390351772308, 0.0029008390847593546, 0.04826853424310684, -0.005346819292753935, -0.04487939178943634, 0.04805448278784752, 0.00022603578690905124, -0.005716949235647917, -0.03126930445432663, -0.0133514404296875, 0.003670085221529007, 0.09018688648939133, 0.01184416376054287, -0.02368832752108574, -0.028540153056383133, 0.048518259078264236, 0.02281428501009941, -0.004254266619682312, 0.012700367718935013, 0.011157415807247162, -0.02413426712155342, -0.0022787528578191996, 0.021476464346051216, 0.010970121249556541, 0.030002836138010025, 0.02067377418279648, 0.034373048692941666, 0.007928811013698578, 0.0014035957865417004, 0.05454736575484276, 0.007072606589645147, -0.06546397507190704, 0.0880463719367981, 0.024580206722021103, -0.05329873412847519, 0.026613691821694374, -0.06268130987882614, 0.049124740064144135, -0.02443750575184822, 0.0730271190404892, -0.015286819078028202, 0.05094417184591293, 0.06214618310332298, -0.037387602031230927, -0.05800786241889, 0.014573316089808941, 0.00042308546835556626, 0.02383102849125862, 0.06574937701225281, 0.011612274684011936, -0.006470588035881519, -0.024580206722021103, -0.030520126223564148, 0.004196294583380222, 0.04138322174549103, -0.015197631902992725, -0.040634043514728546, -0.012557667680084705, 0.01769489422440529, -0.014314670115709305, -0.0052442532032728195, -0.01659788191318512, -0.023902378976345062, -0.010800664313137531, 0.024687232449650764, 0.0043278466910123825, -0.005971135105937719, -0.012290103361010551, 0.037851378321647644, -0.03371305763721466, 0.02342076227068901, 0.03688814863562584, 0.022903472185134888, -0.010987958870828152, -0.005779380910098553, -0.02006729505956173, 0.029628247022628784, 0.010854177176952362, 0.006510722450911999, 0.04491506516933441, 0.010791745036840439, -0.03934973478317261, -0.029931485652923584, 0.014430615119636059, -0.04413020983338356, -0.01609843038022518, -0.01591113582253456, -0.010515262372791767, -0.05012364313006401, -0.031661733984947205, 0.06549964845180511, -0.004254266619682312, -0.006314509082585573, -0.034497909247875214, 0.05611707642674446, 0.01594681106507778, -0.006332346238195896, -0.005743705667555332, 0.032714150846004486, 0.028861230239272118, -0.010943365283310413, -0.037423275411129, 0.004642234183847904, 0.017757326364517212, 0.021744029596447945, -0.018283534795045853, 0.00395994633436203, -0.00296550034545362, -0.023295899853110313, -0.008905420079827309, 0.047769080847501755, -0.055082496255636215, -0.04198969900608063, 0.03059147670865059, -0.0586143396794796, -0.0022787528578191996, 0.012263347394764423, -0.004566424526274204, -0.0331244133412838, -0.0346941240131855, 0.008999067358672619, -0.022618072107434273 ]
16,357
presidio_analyzer.entity_recognizer
get_version
Return the version of this recognizer. :return: The current version of this recognizer
def get_version(self) -> str: """ Return the version of this recognizer. :return: The current version of this recognizer """ return self.version
(self) -> str
[ 0.06474170833826065, -0.07015376538038254, -0.023221099749207497, 0.03757995739579201, 0.04962177947163582, -0.026316117495298386, 0.009285056963562965, 0.025182969868183136, 0.04847171902656555, 0.0209548007696867, -0.008329491131007671, -0.025267532095313072, -0.03710640221834183, 0.0360916443169117, 0.03262454643845558, -0.017352402210235596, 0.03304736316204071, 0.019331185147166252, -0.005894066300243139, 0.002613007789477706, -0.01965252496302128, 0.010688808746635914, -0.011204645037651062, -0.015111472457647324, -0.0033635077998042107, 0.05506766214966774, 0.06653445214033127, -0.025960952043533325, -0.011669743806123734, -0.046848103404045105, -0.07955721020698547, -0.04214638099074364, 0.045900993049144745, 0.01613468863070011, -0.018654678016901016, 0.03370695561170578, -0.0256903488188982, 0.011263839900493622, -0.09619928151369095, 0.0024417671374976635, -0.01303121354430914, 0.014375771395862103, 0.025944039225578308, -0.011010149493813515, -0.044480327516794205, -0.0030400529503822327, -0.041334569454193115, -0.02408364601433277, 0.005213331431150436, -0.005509302951395512, 0.04502153396606445, -0.02748309262096882, -0.003995618782937527, -0.009978476911783218, -0.06940960884094238, 0.031474482268095016, 0.06595942378044128, 0.042755234986543655, -0.0037482709158211946, 0.07874540239572525, 0.025047667324543, -0.02890375629067421, 0.017470790073275566, -0.001024802215397358, 0.00442266371101141, 0.019551049917936325, 0.07867775112390518, 0.009978476911783218, 0.012363163754343987, 0.020667284727096558, 0.020988626405596733, -0.02296740934252739, -0.0033740780781954527, 0.005450108554214239, 0.022460028529167175, -0.01234625093638897, -0.08611932396888733, 0.032438505440950394, 0.06277983635663986, 0.0009619082557037473, 0.02653598226606846, 0.016092408448457718, 0.03299662470817566, -0.06562116742134094, 0.027144838124513626, -0.07827185094356537, -0.014823957346379757, -0.054864708334207535, -0.02421894669532776, 0.045731864869594574, -0.06521526724100113, 0.04268758371472359, -0.01994004100561142, 0.07624232769012451, -0.03588869050145149, -0.04146987199783325, 0.012363163754343987, -0.06802276521921158, 0.039372701197862625, 0.02017681859433651, -0.024760151281952858, 0.11920051276683807, -0.07062731683254242, 0.005204875022172928, -0.027330879122018814, -0.01644757390022278, -0.04289053753018379, 0.012490008026361465, 0.004414207302033901, -0.01457026693969965, 0.0074796294793486595, -0.04600246995687485, -0.015881000086665154, 0.060310591012239456, 0.01857011392712593, -0.044784754514694214, -0.029833953827619553, -0.026130078360438347, 0.027094101533293724, 0.04671280086040497, -0.025960952043533325, 0.03595634177327156, -0.05692805349826813, 0.018857629969716072, -0.016878847032785416, -0.008058887906372547, 0.00528098177164793, 0.011077800765633583, -0.006908826529979706, -0.046611323952674866, 0.03639607131481171, 0.023660829290747643, -0.026248468086123466, -0.010807197540998459, 0.009318882599473, -0.008684657514095306, 0.04163900017738342, 0.02651906944811344, -0.027432354167103767, 0.04962177947163582, -0.05686040595173836, -0.0045875622890889645, 0.051414523273706436, -0.058247242122888565, -0.04826876521110535, 0.03785055875778198, -0.0014090370386838913, -0.008295665495097637, 0.005390914157032967, -0.019094407558441162, 0.07319804280996323, 0.002276868559420109, 0.0756334736943245, -0.03768143430352211, 0.003340252675116062, -0.023897605016827583, -0.019770914688706398, -0.08239854127168655, 0.01014760322868824, -0.002357203746214509, 0.05412055179476738, -0.0000647768538328819, -0.008426738902926445, -0.02908979542553425, 0.043769996613264084, 0.01951722428202629, -0.02005842886865139, -0.01987238973379135, -0.005657288711518049, 0.0351107083261013, 0.010342098772525787, 0.028091948479413986, -0.07076261937618256, 0.028058122843503952, 0.011712025851011276, 0.09450801461935043, 0.015348250046372414, 0.09153138101100922, 0.05922817811369896, 0.049824733287096024, 0.017775218933820724, -0.008282980881631374, -0.10607627779245377, 0.0021436812821775675, 0.06514761596918106, 0.03039207123219967, 0.04522448405623436, 0.030408984050154686, 0.018553201109170914, 0.017910519614815712, 0.0581795908510685, -0.014561810530722141, 0.05405290052294731, -0.025047667324543, -0.027990473434329033, -0.049587953835725784, -0.0049934666603803635, -0.029123621061444283, 0.012811349704861641, -0.020633460953831673, 0.03470480442047119, -0.0019618698861449957, -0.03401138260960579, 0.05682658031582832, -0.018062733113765717, -0.020920975133776665, 0.05587946996092796, 0.007940500043332577, -0.05733395740389824, -0.03186347335577011, -0.030121469870209694, -0.013124234043061733, 0.0081857331097126, 0.018739240244030952, 0.00889606587588787, -0.11953876912593842, 0.019432660192251205, -0.003731358330696821, -0.0012969905510544777, 0.033740781247615814, 0.07083027064800262, 0.024404985830187798, 0.03281058371067047, 0.006633995566517115, -0.011762763373553753, -0.03910209983587265, 0.026180816814303398, -0.0017853439785540104, -0.03639607131481171, -0.046374548226594925, 0.01462946180254221, -0.05249693617224693, 0.0302736833691597, 0.042281679809093475, -0.029123621061444283, 0.0169634111225605, -0.010409750044345856, 0.045258309692144394, -0.01999077945947647, -0.04410824924707413, 0.03340252861380577, 0.010139146819710732, 0.02481088973581791, 0.04492005705833435, -0.004621387924998999, -0.026975711807608604, -0.0023720022290945053, -0.011796589009463787, 0.02919127233326435, -0.02817651256918907, 0.01433348935097456, -0.07319804280996323, -0.015179123729467392, 0.029935430735349655, 0.006354936398565769, -0.019686350598931313, -0.037004925310611725, -0.00410766527056694, 0.04075954109430313, -0.0012642221990972757, -0.05395142361521721, 0.05067036673426628, -0.02841329015791416, 0.04096249118447304, -0.07177738100290298, -0.00412246398627758, 0.03808733820915222, 0.02670511044561863, -0.02604551613330841, -0.012769067659974098, 0.07664822787046432, 0.011475248262286186, -0.09992006421089172, -0.053139615803956985, -0.015559658408164978, -0.09531982243061066, -0.02136070467531681, 0.020142992958426476, -0.03470480442047119, 0.019297359511256218, 0.04153752326965332, 0.00694265216588974, 0.010612701997160912, 0.03605781868100166, -0.011441422626376152, 0.012490008026361465, 0.010705721564590931, 0.011982628144323826, -0.03110240399837494, -0.049587953835725784, 0.012684504501521587, -0.007373925298452377, 0.031897298991680145, 0.01779213175177574, 0.04657749831676483, -0.0009851631475612521, -0.039372701197862625, 0.022696806117892265, 0.03025677055120468, -0.04678045213222504, 0.006891914177685976, -0.013208797201514244, -0.03649754822254181, 0.011483704671263695, -0.059972334653139114, 0.010697265155613422, 0.028700804337859154, -0.007822111248970032, -0.026214642450213432, -0.03463715314865112, -0.04414207488298416, 0.018739240244030952, 0.00716674467548728, 0.008621234446763992, -0.06954491138458252, -0.01085793599486351, -0.020802587270736694, 0.028768455609679222, 0.01660824380815029, 0.04600246995687485, -0.02980012819170952, 0.07543051987886429, 0.018536288291215897, 0.01210947334766388, 0.02658672071993351, -0.041402220726013184, 0.0017208644421771169, 0.0008239642484113574, -0.03571956232190132, 0.014595636166632175, -0.03375769406557083, -0.023068884387612343, 0.03602399304509163, 0.022646067664027214, -0.009572572074830532, -0.02469250187277794, 0.01868850365281105, 0.007543051615357399, -0.008409826084971428, 0.010629614815115929, 0.04600246995687485, -0.026722021400928497, -0.037275530397892, 0.027449266985058784, -0.02443881146609783, 0.05489853397011757, 0.028802281245589256, -0.020904062315821648, 0.06098709627985954, -0.06721095740795135, -0.051651302725076675, -0.053849946707487106, -0.017656829208135605, 0.014823957346379757, -0.006447956431657076, -0.0627121850848198, -0.02438807301223278, -0.023051971569657326, 0.01260839682072401, -0.0159740187227726, -0.10560272634029388, 0.021682046353816986, -0.014637918211519718, 0.03927122429013252, -0.0664668008685112, -0.03998155891895294, 0.004803198855370283, 0.03538130968809128, 0.04177429899573326, -0.01703951694071293, -0.02592712640762329, 0.02332257479429245, -0.009318882599473, -0.017758306115865707, 0.009936194866895676, -0.018181122839450836, 0.019331185147166252, 0.009513378143310547, 0.01355550717562437, -0.020312119275331497, -0.02213868871331215, 0.09897296130657196, -0.049452655017375946, -0.015881000086665154, 0.018587026745080948, -0.0343158133327961, -0.06670358031988144, -0.022933583706617355, 0.0008482761913910508, 0.0034776681568473577, -0.049520302563905716, 0.00514990882948041, -0.05154982581734657, -0.007826339453458786, -0.03896679729223251, -0.013242622837424278, -0.033267226070165634, -0.015196035616099834, -0.00030125697958283126, -0.002615121891722083, 0.03157595917582512, 0.021698959171772003, -0.0005644604098051786, -0.007999693974852562, -0.0005464907153509557, 0.006037823855876923, 0.09031367301940918, 0.051786601543426514, -0.04336409270763397, -0.0664668008685112, -0.05638685077428818, -0.027855170890688896, -0.051177747547626495, -0.03626076877117157, 0.005217559169977903, 0.02296740934252739, 0.04765991121530533, -0.0030231401324272156, 0.000030522089218720794, 0.03923739865422249, 0.002278982661664486, 0.09707874059677124, 0.014122080989181995, 0.09646987915039062, 0.001366755343042314, 0.04059041291475296, 0.018130384385585785, 0.03394373506307602, 0.018823804333806038, -0.0209548007696867, 0.00033719639759510756, -0.009454184211790562, 0.01097632385790348, -0.041030142456293106, -0.03950800374150276, -0.01130612101405859, 0.004710179287940264, -0.03448493778705597, -0.04136839509010315, -0.0015443384181708097, -0.004951184615492821, 0.011230014264583588, 0.026671284809708595, 0.05797664076089859, 0.05618389695882797, -0.05259840935468674, -0.014747850596904755, -0.03062884882092476, -0.009919282048940659, -0.1074969470500946, -0.10100247710943222, 0.017124081030488014, -0.02313653565943241, -0.015982475131750107, 0.04265375807881355, -0.00665936479344964, -0.043871473520994186, 0.012337794527411461, 0.025774912908673286, -0.05702953040599823, -0.03998155891895294, 0.07509226351976395, 0.013437118381261826, -0.002923778258264065, 0.013470943085849285, -0.017893606796860695, 0.033554740250110626, -0.02498001605272293, -0.07482165843248367, -0.005500846542418003, 0.07306274771690369, -0.014308121055364609, 0.01680273935198784, -0.008980629034340382, -0.02355935238301754, 0.007082181517034769, -0.013817653059959412, -0.012456183321774006, -0.004456489346921444, -0.027804432436823845, -0.03639607131481171, 0.044412676244974136, -0.04326261579990387, 0.05621772259473801, -0.014561810530722141, 0.004384610336273909, -0.04360086843371391, -0.03228629007935524, -0.0031267302110791206, -0.010519682429730892, -0.013597788289189339, 0.07908365875482559, -0.012498464435338974, -0.02076876163482666, 0.018434813246130943, 0.02432042360305786, 0.006870773155242205, 0.0017969714244827628, 0.03299662470817566, 0.035516612231731415, -0.0021204263903200626, -0.03808733820915222, 0.01602475717663765, -0.032320115715265274, 0.05104244500398636, -0.043465565890073776, -0.025199880823493004, -0.03455258905887604, 0.009462639689445496, 0.02396525628864765, -0.035043057054281235, -0.04021833464503288, 0.03781673684716225, 0.015432813204824924, 0.028886843472719193, 0.010257535614073277, -0.03270910680294037, 0.051718950271606445, 0.005450108554214239, 0.03321648761630058, -0.026316117495298386, -0.0008731167181394994, 0.025250619277358055, -0.10303200036287308, 0.00935270730406046, -0.005031520035117865, -0.05212485417723656, 0.00013325335748959333, 0.04363469406962395, 0.04312731325626373, 0.010841023176908493, 0.0024290825240314007, -0.018553201109170914, 0.049046751111745834, 0.000637924880720675, 0.029749389737844467, -0.03653137385845184, 0.0175046157091856, -0.006063193082809448, 0.006071649491786957, 0.008853783831000328, -0.06467405706644058, -0.05655597522854805, -0.01709025539457798, 0.0010855821892619133, -0.0007431005360558629, 0.004287362564355135, -0.010646527633070946, 0.005179505795240402, -0.005500846542418003, -0.047558434307575226, -0.006968020927160978, -0.011652830988168716, -0.055980946868658066, 0.0419096015393734, 0.025656523182988167, -0.007644528057426214, -0.019483398646116257, 0.025673436000943184, -0.004968097433447838, -0.003858203301206231, -0.017014147713780403, 0.02895449474453926, 0.050704192370176315, -0.02410055883228779, 0.047558434307575226, 0.009014454670250416, 0.027872083708643913, -0.0007372868130914867, -0.018620852380990982, 0.07204798609018326, -0.037647608667612076, 0.072386234998703, 0.011999540962278843, -0.0711008757352829, 0.04735548421740532, 0.014519529417157173, 0.03429890051484108, 0.002262069843709469, 0.013834565877914429, 0.021512920036911964, 0.011813501827418804, 0.04853937029838562, -0.02895449474453926, -0.03558426350355148, -0.016946498304605484, 0.02130996622145176, 0.03791821002960205, -0.011162363924086094, 0.013699264265596867, -0.055913295596838, -0.04569803923368454, 0.018113471567630768, 0.006968020927160978, -0.020498158410191536, -0.08970481157302856, -0.02606242708861828, -0.05790898948907852, 0.0396433025598526, -0.024777064099907875, 0.03710640221834183, 0.0035114935599267483, 0.001626787707209587, -0.009310426190495491, 0.019686350598931313, 0.022832106798887253, -0.04563038796186447, -0.013927585445344448, 0.004135148599743843, -0.028058122843503952, -0.028294900432229042, 0.020041516050696373, -0.041808124631643295, -0.053613170981407166, 0.014122080989181995, 0.06315191835165024, 0.03199877589941025, 0.015627309679985046, 0.01963561214506626, 0.02677275985479355, 0.0512792207300663, 0.07549817115068436, 0.006388762034475803, -0.0044184355065226555, 0.017724480479955673, -0.0030400529503822327, -0.01512838527560234, -0.03226937726140022, -0.006245004013180733, -0.036937277764081955, 0.0581795908510685, -0.03663284704089165, 0.05212485417723656, -0.033554740250110626, -0.007598017808049917, 0.0043465569615364075, -0.01374154631048441, -0.017369315028190613, 0.02029520645737648, 0.04722018167376518, 0.009454184211790562, 0.03250615671277046, 0.018384074792265892, 0.0024946192279458046, -0.025182969868183136, 0.01904366910457611, -0.06392990052700043, 0.0057629928924143314, 0.06071649491786957, 0.00807157251983881, -0.018857629969716072, 0.01489160768687725, 0.018739240244030952, 0.028768455609679222, -0.016870390623807907, -0.0489114485681057, 0.014071343466639519, 0.06261071562767029, -0.03703875094652176, -0.0061350720934569836, -0.061866555362939835, 0.051888078451156616, 0.01769065484404564, 0.002228244673460722, 0.037241704761981964, -0.00025818252470344305, 0.004667897708714008, -0.01731857657432556, -0.00048676785081624985, -0.01922970823943615, 0.004409979097545147, 0.02261224202811718, 0.016168514266610146, 0.0032197500113397837, -0.018367161974310875, -0.04431120306253433, 0.021326879039406776, 0.014587179757654667, 0.07272449135780334, 0.016050126403570175, 0.018350249156355858, 0.011559811420738697, -0.014823957346379757, -0.029681740328669548, -0.014849326573312283, 0.0003218693018425256, -0.04840406775474548, 0.07083027064800262, 0.023221099749207497, -0.052260156720876694, -0.08929891139268875, -0.008033519610762596, -0.00324934720993042, -0.0034882386680692434, 0.04248463362455368, -0.007445803843438625, 0.0034396147821098566, -0.015830261632800102, -0.0192804466933012, -0.05513531342148781, 0.07015376538038254, -0.00041013231384567916, -0.035279832780361176, -0.002665859879925847, -0.0015316539211198688, 0.007614930626004934, -0.0351107083261013, -0.03832411393523216, -0.034738630056381226, -0.02492927946150303, 0.03757995739579201, 0.011669743806123734, 0.018434813246130943, 0.010671895928680897, 0.07157442718744278, 0.03757995739579201, -0.0245064627379179, 0.059566430747509, 0.003574916161596775, 0.045427437871694565, -0.06436963379383087, -0.02339022606611252, 0.04221402853727341, 0.026180816814303398, 0.018113471567630768, 0.05655597522854805, 0.008439423516392708, -0.015889456495642662, 0.00005404127296060324, 0.03458641469478607, -0.03347017988562584, -0.032015688717365265, -0.03950800374150276, -0.059972334653139114, -0.026908062398433685, 0.0025030754040926695, 0.04607011750340462, -0.025233706459403038, 0.051482174545526505, -0.031964950263500214, 0.019331185147166252, 0.021732782945036888, -0.04285671189427376, 0.02005842886865139, 0.050467412918806076, 0.02166513353586197, -0.010908673517405987, -0.004621387924998999, -0.009276600554585457, -0.02355935238301754, 0.03933887556195259, 0.005720711313188076, -0.005703798495233059, -0.017707567662000656, 0.00916666816920042, -0.03304736316204071, 0.05327491834759712, 0.011652830988168716, 0.039677128195762634, 0.0026975711807608604, 0.021631307899951935, -0.023474788293242455, 0.0169634111225605, -0.014942346140742302, -0.03375769406557083, 0.03768143430352211, -0.010578876361250877, -0.010342098772525787 ]
16,358
presidio_analyzer.entity_recognizer
load
Initialize the recognizer assets if needed. (e.g. machine learning models)
@abstractmethod def load(self) -> None: """ Initialize the recognizer assets if needed. (e.g. machine learning models) """
(self) -> NoneType
[ -0.013907456770539284, -0.07165530323982239, -0.06988603621721268, 0.015055779367685318, -0.021605469286441803, 0.014868644997477531, 0.006447616033256054, 0.02555229514837265, -0.009518315084278584, 0.041918013244867325, 0.06910347193479538, 0.04977763816714287, -0.008004230447113514, 0.04389142617583275, -0.05096849054098129, -0.0223540049046278, 0.019257787615060806, 0.07240384072065353, -0.07322042435407639, -0.08574138581752777, -0.0910491868853569, 0.01695263758301735, 0.007128103636205196, -0.01639123633503914, 0.018015898764133453, 0.059644702821969986, 0.014962212182581425, -0.015430047176778316, 0.005877708084881306, 0.005920238792896271, -0.0399446003139019, 0.002038271864876151, 0.022847358137369156, 0.08478870242834091, -0.004372130148112774, -0.011517246253788471, 0.028937717899680138, 0.06974993646144867, -0.07730334252119064, 0.015242913737893105, -0.00804250780493021, -0.03538533300161362, 0.06726615875959396, -0.013584225438535213, -0.03113229013979435, -0.02249010279774666, -0.01574477180838585, -0.02226894348859787, 0.006519917864352465, -0.013890445232391357, -0.02922692522406578, -0.013090872205793858, -0.0006783606950193644, 0.056106168776750565, -0.012486940249800682, 0.06855908781290054, -0.014443340711295605, 0.04402752220630646, 0.006485893856734037, 0.044299717992544174, 0.024888819083571434, -0.04504825174808502, 0.028869669884443283, -0.007106838282197714, -0.013371573761105537, -0.007702264469116926, -0.024837782606482506, 0.03040076605975628, 0.021214189007878304, 0.03096216730773449, -0.0020988776814192533, -0.008425282314419746, 0.06580311059951782, 0.04355118051171303, 0.0751257836818695, 0.0026602796278893948, -0.04361923038959503, -0.016110533848404884, 0.03844752535223961, 0.026351867243647575, 0.015344986692070961, 0.008939900435507298, -0.032833509147167206, -0.044129595160484314, -0.0013864926295354962, -0.09064089506864548, -0.007527889683842659, -0.06178823858499527, 0.03043479099869728, -0.03671228513121605, -0.06808274239301682, 0.04657934978604317, -0.015106815844774246, 0.05600409582257271, -0.018134983256459236, 0.0028729320038110018, 0.006664521526545286, -0.049743615090847015, -0.0015321595128625631, -0.041101425886154175, -0.05249958857893944, 0.05280580744147301, -0.009007949382066727, -0.012903738766908646, -0.0017192934174090624, -0.015710748732089996, -0.018883520737290382, -0.0013482152717188, 0.012197732925415039, 0.019529983401298523, -0.027814913541078568, -0.03609984740614891, -0.016289161518216133, 0.0909811407327652, -0.07260798662900925, -0.061039701104164124, 0.0003668251447379589, -0.00916956551373005, 0.011602306738495827, 0.02269424870610237, -0.05113861337304115, 0.03213600814342499, -0.05535763502120972, 0.004448684863746166, 0.045422520488500595, -0.009884076192975044, 0.030604911968111992, 0.04794032499194145, -0.019819188863039017, -0.07601042091846466, 0.011670355685055256, 0.008659199811518192, -0.07580627501010895, -0.025144001469016075, -0.003591696498915553, 0.0010398695012554526, 0.06161811575293541, -0.018475227057933807, -0.02824021875858307, 0.03286753222346306, -0.0070175244472920895, 0.018186019733548164, 0.06348945945501328, 0.0052142334170639515, -0.03851557523012161, 0.024718698114156723, -0.01690160110592842, -0.05256763473153114, -0.020873945206403732, -0.013754347339272499, 0.05168300122022629, -0.007532142568379641, -0.0019766027107834816, -0.017012180760502815, 0.0017682034522294998, -0.0438573993742466, -0.005209980066865683, -0.023034492507576942, 0.0007889398257248104, 0.02041461691260338, 0.01221474539488554, 0.017318399623036385, -0.013431116007268429, -0.024871807545423508, -0.020516689866781235, -0.007051548454910517, -0.019342849031090736, -0.02109510265290737, -0.02061876282095909, 0.013601237908005714, -0.021758578717708588, -0.05780738964676857, -0.08254309743642807, -0.006213698536157608, 0.04249642416834831, 0.031540580093860626, -0.006064841989427805, 0.01932583563029766, -0.00036283789086155593, 0.0924782082438469, 0.06815079599618912, -0.01954699493944645, -0.08125016838312149, -0.010113741271197796, 0.042564474046230316, 0.037426795810461044, 0.02339174784719944, 0.029431071132421494, 0.01915571466088295, 0.05249958857893944, 0.048450689762830734, 0.03953630477190018, -0.007077066693454981, -0.03366710618138313, 0.01668894849717617, -0.0495394691824913, 0.014545413665473461, 0.004520986694842577, -0.061073727905750275, 0.03684838116168976, 0.01976815238595009, 0.019904250279068947, 0.009577857330441475, 0.025501258671283722, -0.01461346261203289, 0.03315673768520355, 0.00033359823282808065, 0.018475227057933807, -0.061039701104164124, -0.017998887225985527, -0.03048582747578621, -0.020244494080543518, 0.00662624416872859, 0.042530450969934464, 0.059474579989910126, -0.053588367998600006, -0.001984045607969165, 0.022677235305309296, 0.01915571466088295, 0.01264855545014143, 0.04872288182377815, 0.04600093513727188, -0.0375288687646389, -0.01828809268772602, -0.03531728684902191, -0.025501258671283722, -0.011074929498136044, -0.012350842356681824, -0.04715776443481445, -0.030196620151400566, -0.022728271782398224, -0.0567186065018177, 0.011006880551576614, 0.022064797580242157, 0.02269424870610237, 0.05477922037243843, 0.04807642102241516, 0.04280264675617218, -0.06005299463868141, -0.03446667641401291, 0.010275356471538544, 0.02218388207256794, -0.058521900326013565, -0.0694437175989151, -0.02927796170115471, 0.009365204721689224, 0.00877828523516655, 0.0064986529760062695, -0.023817051202058792, -0.029567169025540352, 0.04086325690150261, -0.010096728801727295, -0.032578323036432266, 0.01859431341290474, -0.013201451860368252, -0.0415097177028656, -0.02400418557226658, -0.024106258526444435, 0.0495394691824913, -0.004061657935380936, -0.014664499089121819, 0.01435828022658825, 0.024480527266860008, 0.09036870300769806, -0.03977447748184204, 0.008761272765696049, 0.025484245270490646, 0.025535281747579575, -0.036474112421274185, -0.058045558631420135, 0.07839212566614151, 0.04249642416834831, -0.011721392162144184, -0.008093544282019138, 0.01625513844192028, -0.019308824092149734, -0.021673517301678658, 0.012580507434904575, -0.030451802536845207, 0.05988287553191185, 0.08090993016958237, -0.014553920365869999, 0.008016989566385746, 0.03048582747578621, -0.017998887225985527, -0.05858994647860527, 0.0005528958281502128, 0.004584782756865025, -0.054370928555727005, -0.05712690204381943, 0.03623594343662262, 0.025058941915631294, -0.0054311384446918964, 0.035657528787851334, 0.054983366280794144, -0.044299717992544174, -0.0358957014977932, 0.041441671550273895, 0.008531608618795872, -0.043823376297950745, 0.0009133414132520556, -0.02577345259487629, 0.027899974957108498, -0.026470951735973358, -0.04651129990816116, -0.034398626536130905, -0.015157852321863174, 0.0000915069249458611, -0.025960586965084076, -0.012010599486529827, 0.0034853704273700714, 0.026300830766558647, 0.030775032937526703, 0.05205726996064186, -0.02014242112636566, -0.013907456770539284, 0.015642698854207993, 0.02170754224061966, 0.03434759005904198, 0.030026497319340706, -0.02563735470175743, 0.0629790872335434, -0.04280264675617218, -0.035521432757377625, 0.028682535514235497, -0.054507024586200714, 0.029635217040777206, 0.007493865210562944, -0.01988723874092102, -0.007880892604589462, -0.02693028189241886, 0.0057458640076220036, 0.01725885644555092, -0.00819561816751957, -0.10173283517360687, -0.02330668643116951, -0.013533188961446285, -0.01695263758301735, 0.026777170598506927, -0.019359860569238663, 0.03661021217703819, -0.02027851901948452, -0.036474112421274185, 0.06314921379089355, 0.018015898764133453, 0.018049923703074455, 0.01798187382519245, -0.046715445816516876, 0.07158725708723068, -0.03708655387163162, -0.03281649574637413, -0.03892386704683304, 0.012546482495963573, 0.04378935322165489, -0.002685797866433859, -0.026300830766558647, -0.047668129205703735, 0.006936716381460428, -0.004976062569767237, -0.08077383041381836, -0.02533113583922386, -0.002560333115980029, -0.07322042435407639, 0.024497538805007935, 0.017675654962658882, -0.03528326004743576, 0.02835930325090885, 0.0031174819450825453, 0.034874968230724335, -0.047361910343170166, -0.004537999164313078, -0.04059106111526489, -0.05716092512011528, 0.04184996336698532, 0.03043479099869728, -0.029346009716391563, 0.044810082763433456, 0.016374222934246063, 0.024021198973059654, 0.06280896812677383, -0.004061657935380936, 0.09179772436618805, -0.027985036373138428, -0.03817533329129219, 0.03603179752826691, -0.052261415868997574, -0.014868644997477531, 0.06808274239301682, -0.0030005231965333223, -0.012486940249800682, 0.03217003121972084, -0.03009454719722271, -0.05651446059346199, -0.03953630477190018, 0.0020648534409701824, -0.02425936795771122, -0.03121734969317913, 0.018356142565608025, -0.023544857278466225, 0.0391620397567749, 0.02218388207256794, -0.02123120054602623, 0.012869713827967644, 0.03363307937979698, -0.001177030149847269, 0.06644957512617111, 0.061073727905750275, 0.02538217231631279, -0.0063455430790781975, -0.045252397656440735, 0.007119597401469946, 0.01020730845630169, -0.056446414440870285, -0.023936137557029724, -0.038889843970537186, 0.024463515728712082, 0.06849103420972824, -0.03261234983801842, -0.023119552060961723, 0.0415097177028656, 0.017879800871014595, 0.07737139612436295, 0.024361440911889076, 0.03960435464978218, 0.02465064823627472, 0.057399094104766846, 0.017454497516155243, 0.03410942107439041, 0.01845821551978588, -0.027899974957108498, -0.08077383041381836, 0.03793716058135033, -0.05668458342552185, -0.05246556177735329, -0.012793159112334251, -0.006001046393066645, -0.02019345760345459, -0.050049833953380585, -0.025229062885046005, -0.00022262032143771648, -0.00916956551373005, -0.01777772791683674, 0.020074373111128807, 0.037903137505054474, 0.018781445920467377, -0.01988723874092102, -0.04082923382520676, 0.07219969481229782, -0.017437484115362167, -0.07145115733146667, -0.047498006373643875, 0.04742995649576187, 0.03558947890996933, 0.0039000422693789005, 0.02465064823627472, -0.004293448757380247, 0.022626198828220367, 0.012512458488345146, 0.024718698114156723, -0.027746865525841713, -0.008922888897359371, 0.041407644748687744, -0.015965931117534637, -0.042054109275341034, 0.059134338051080704, 0.008025496266782284, -0.019700104370713234, -0.002237101783975959, -0.047804225236177444, -0.01806693524122238, 0.06114177405834198, -0.027576744556427002, 0.05215934291481972, -0.08703431487083435, -0.01725885644555092, 0.03545338287949562, 0.048450689762830734, -0.001461984240449965, 0.021605469286441803, -0.02521205134689808, 0.0646803081035614, -0.04474203288555145, -0.03501106798648834, 0.022541139274835587, 0.005860696081072092, 0.02305150404572487, -0.02378302812576294, 0.002320036059245467, -0.004333852790296078, -0.02145235985517502, -0.06420397013425827, 0.02594357542693615, 0.008429535664618015, 0.01772669143974781, 0.019478946924209595, -0.00745984073728323, 0.045762766152620316, 0.02412327192723751, 0.021554432809352875, -0.014673004858195782, 0.03424551710486412, -0.06131189689040184, 0.0020265758503228426, -0.011253557167947292, -0.009577857330441475, 0.01370331086218357, -0.020295530557632446, -0.0019255661172792315, -0.027100402861833572, 0.036474112421274185, -0.007119597401469946, -0.00474639842286706, 0.0454905703663826, -0.026147721335291862, 0.06726615875959396, 0.002800630172714591, -0.03484094515442848, 0.045762766152620316, -0.020771872252225876, 0.03783508762717247, 0.025399185717105865, -0.02269424870610237, 0.04457191005349159, -0.07070261985063553, -0.0001016079040709883, 0.0017075975192710757, -0.035827651619911194, 0.0003118013555649668, 0.027661804109811783, 0.02810412086546421, 0.027134427800774574, -0.026402903720736504, -0.002528435317799449, 0.00942474789917469, 0.015268431976437569, 0.05137678235769272, 0.027083391323685646, -0.005592754110693932, 0.022541139274835587, 0.010522033087909222, 0.01578730344772339, -0.007578926160931587, -0.0030026498716324568, -0.014553920365869999, 0.037426795810461044, -0.02249010279774666, -0.046715445816516876, 0.0008686844375915825, 0.04133959859609604, 0.018696386367082596, -0.011057917028665543, 0.004178616683930159, -0.05760324001312256, 0.010181790217757225, 0.08839529007673264, -0.03868569806218147, 0.010913313366472721, -0.060121044516563416, 0.0025178026407957077, 0.04389142617583275, 0.0022796320263296366, -0.00955233909189701, -0.02922692522406578, 0.04042093828320503, -0.011985081247985363, 0.03579362854361534, -0.014800596982240677, 0.03592972457408905, -0.02106107957661152, -0.05620824173092842, 0.0359637476503849, -0.041918013244867325, -0.005665055941790342, 0.000802230613771826, -0.03342893347144127, 0.06849103420972824, 0.006932463496923447, -0.01932583563029766, -0.009246120229363441, -0.053452268242836, 0.02369796670973301, -0.020006323233246803, 0.032067958265542984, -0.00487398961558938, 0.0008362549706362188, -0.031625643372535706, 0.01963205635547638, 0.05219336971640587, 0.0231365654617548, -0.027270523831248283, -0.024667661637067795, 0.016374222934246063, 0.03239119052886963, -0.021775590255856514, -0.035691555589437485, -0.013312030583620071, -0.014562426134943962, -0.049097150564193726, -0.005103654228150845, -0.04154374450445175, -0.00018075441766995937, -0.007761807180941105, -0.01554062683135271, 0.01668894849717617, -0.00006127043161541224, 0.025569306686520576, -0.05413275584578514, 0.044946178793907166, 0.0049250260926783085, 0.012963281013071537, -0.017020685598254204, -0.03531728684902191, 0.03416045755147934, -0.034398626536130905, 0.005932997912168503, -0.0036788838915526867, -0.0014322128845378757, 0.01200209278613329, 0.08485675603151321, 0.07083871960639954, -0.019921263679862022, -0.014171145856380463, 0.023017479106783867, 0.020040348172187805, -0.025705404579639435, 0.00005369469363358803, 0.0010191359324380755, -0.05525556206703186, -0.01734391786158085, -0.01587236486375332, 0.040625084191560745, -0.03895789384841919, 0.016629405319690704, -0.04936934635043144, 0.020397603511810303, -0.0051717027090489864, 0.029090827330946922, 0.021282237023115158, 0.004708120599389076, 0.005762876011431217, -0.011789441108703613, 0.01590638794004917, 0.013065353967249393, 0.0050908951088786125, -0.007502371445298195, 0.009654412046074867, -0.06066543236374855, 0.025092964991927147, 0.0687292069196701, 0.027491683140397072, -0.0015045147156342864, 0.014137121848762035, -0.020261505618691444, 0.041101425886154175, 0.01260602567344904, 0.020822908729314804, 0.006545436102896929, -0.004844218492507935, 0.014375291764736176, -0.01803291030228138, -0.05477922037243843, 0.06348945945501328, 0.021945713087916374, 0.06086958199739456, 0.03960435464978218, -0.020601749420166016, -0.022285955026745796, -0.06675579398870468, -0.02759375609457493, 0.03851557523012161, -0.043653253465890884, 0.0023327951785176992, 0.019904250279068947, -0.0018745296401903033, 0.018356142565608025, 0.03342893347144127, -0.011313099414110184, -0.07233578711748123, 0.07328847050666809, 0.016918612644076347, -0.020993029698729515, 0.008025496266782284, -0.02395314909517765, -0.010913313366472721, -0.013388585299253464, 0.042700573801994324, -0.0622645802795887, 0.020295530557632446, 0.05927043408155441, -0.02919290028512478, -0.0314895436167717, 0.03644008934497833, 0.011491728015244007, 0.010581576265394688, 0.03142149746417999, 0.0017713932320475578, -0.0447080098092556, -0.08131822198629379, 0.00441040750592947, -0.01630617491900921, 0.08574138581752777, -0.05807958170771599, -0.0766228586435318, -0.030928144231438637, -0.026913268491625786, 0.044129595160484314, -0.0717914029955864, 0.020482664927840233, -0.0383114293217659, -0.052261415868997574, 0.0335480198264122, -0.014843126758933067, -0.008165846578776836, -0.02698131836950779, 0.034789908677339554, -0.00008087430614978075, 0.03104722872376442, 0.038073260337114334, -0.01253797672688961, -0.016050992533564568, 0.014928188174962997, -0.024871807545423508, 0.04498020559549332, 0.01221474539488554, 0.033139728009700775, -0.0076724933460354805, -0.05552775412797928, -0.03899191692471504, 0.06614335626363754, 0.049743615090847015, 0.004631565883755684, -0.05127470940351486, -0.08751065284013748, 0.006277494598180056, -0.03865167126059532, -0.061856288462877274, 0.027440646663308144, 0.005158943589776754, 0.009833039715886116, -0.026453940197825432, 0.02019345760345459, -0.026777170598506927, -0.035351309925317764, 0.028444364666938782, 0.03970642760396004, 0.016833553090691566, 0.036338016390800476, -0.011330111883580685, -0.012180720455944538, 0.04664739593863487, 0.009790509939193726, 0.04532044753432274, 0.0366782620549202, 0.060563359409570694, -0.005248257424682379, -0.01803291030228138, 0.06410189718008041, -0.011517246253788471, 0.0011780934873968363, -0.046885568648576736, -0.01273361686617136, -0.10302576422691345, 0.005154690705239773, -0.046885568648576736, 0.04498020559549332, 0.04674947261810303, 0.05576592683792114, -0.008314702659845352 ]
16,359
presidio_analyzer.entity_recognizer
remove_duplicates
Remove duplicate results. Remove duplicates in case the two results have identical start and ends and types. :param results: List[RecognizerResult] :return: List[RecognizerResult]
@staticmethod def remove_duplicates(results: List[RecognizerResult]) -> List[RecognizerResult]: """ Remove duplicate results. Remove duplicates in case the two results have identical start and ends and types. :param results: List[RecognizerResult] :return: List[RecognizerResult] """ results = list(set(results)) results = sorted(results, key=lambda x: (-x.score, x.start, -(x.end - x.start))) filtered_results = [] for result in results: if result.score == 0: continue to_keep = result not in filtered_results # equals based comparison if to_keep: for filtered in filtered_results: # If result is contained in one of the other results if ( result.contained_in(filtered) and result.entity_type == filtered.entity_type ): to_keep = False break if to_keep: filtered_results.append(result) return filtered_results
(results: List[presidio_analyzer.recognizer_result.RecognizerResult]) -> List[presidio_analyzer.recognizer_result.RecognizerResult]
[ 0.005819104611873627, -0.024999910965561867, -0.06775365024805069, 0.006245344877243042, -0.0590435266494751, -0.029039926826953888, -0.001631990191526711, -0.040881991386413574, 0.061897482722997665, 0.028576621785759926, -0.012638946995139122, -0.005680113099515438, -0.017735296860337257, -0.029466167092323303, 0.009507008828222752, -0.025648538023233414, -0.029910938814282417, 0.05567067116498947, 0.0027728774584829807, -0.029799746349453926, 0.009418980218470097, 0.041512083262205124, -0.030188921838998795, 0.08280178159475327, 0.004271667450666428, -0.03220893070101738, -0.006685484200716019, -0.038435742259025574, -0.08369132876396179, 0.03167149797081947, 0.031152594834566116, -0.03526673838496208, 0.027149643748998642, -0.005953462794423103, -0.05137120559811592, -0.028817540034651756, 0.0009868385968729854, 0.11408410221338272, -0.047405317425727844, 0.017420249059796333, -0.05985894426703453, -0.04403246194124222, 0.009692329913377762, -0.024610735476017, 0.03775005042552948, -0.00972012896090746, 0.026241566985845566, 0.023813851177692413, 0.020681913942098618, -0.05344680696725845, 0.0005058706155978143, -0.0019180806120857596, -0.0233505479991436, 0.07509239763021469, -0.034970223903656006, 0.019477320834994316, -0.015131525695323944, 0.06667878478765488, -0.004971257410943508, 0.0028910201508551836, 0.015743087977170944, 0.00352111435495317, -0.011499217711389065, 0.017336854711174965, 0.04065960273146629, -0.016438044607639313, -0.05719031020998955, 0.0005035540671087801, -0.05959949269890785, 0.0013320004800334573, -0.04636751487851143, 0.004348112735897303, 0.052186619490385056, 0.018254198133945465, 0.039770059287548065, 0.040288958698511124, 0.03899170830845833, 0.034358661621809006, 0.09570018202066422, -0.053039100021123886, 0.03850987181067467, 0.013278307393193245, 0.008830583654344082, -0.04295759275555611, -0.007941039279103279, 0.017142266035079956, 0.007227550260722637, -0.002052438911050558, 0.02852102555334568, -0.05174184590578079, -0.04106731340289116, 0.0032593472860753536, -0.02546321600675583, -0.010248295962810516, 0.0007447620155289769, 0.10644884407520294, -0.014723816886544228, -0.07894708961248398, -0.075055330991745, -0.08524803072214127, 0.023925045505166054, 0.09236438572406769, -0.04191979020833969, 0.00319680105894804, 0.040881991386413574, 0.010313157923519611, -0.009951780550181866, -0.025296425446867943, 0.02360999770462513, 0.1217193603515625, -0.06897677481174469, 0.03293168544769287, -0.011573346331715584, -0.009766459465026855, 0.012796470895409584, -0.07961424440145493, -0.025667069479823112, 0.015465104952454567, -0.024629266932606697, -0.003057809779420495, 0.02114521712064743, 0.03506288677453995, -0.04658989980816841, 0.036341603845357895, -0.012592616491019726, -0.058079853653907776, 0.05111175402998924, 0.03573004528880119, -0.05259432643651962, -0.02103402465581894, -0.022553663700819016, 0.0023199974093586206, -0.038398679345846176, 0.03825042024254799, 0.03723115101456642, 0.03283902257680893, 0.011211968958377838, 0.02828010730445385, 0.008784253150224686, -0.006551125552505255, 0.0011327795218676329, 0.006551125552505255, 0.06045197322964668, 0.01819860190153122, -0.021089620888233185, -0.041993919759988785, -0.03689756989479065, 0.06456611305475235, -0.03096727281808853, 0.012583350762724876, -0.0375276654958725, -0.014677487313747406, 0.03421040624380112, -0.026834597811102867, -0.01647510752081871, -0.01771676354110241, -0.003935771994292736, -0.05878407508134842, -0.018078142777085304, 0.0006219862843863666, 0.01795768365263939, -0.014797946438193321, 0.051185883581638336, -0.026760468259453773, -0.005207542795687914, -0.02005181834101677, -0.028873136267066002, 0.01789282076060772, -0.04521851986646652, -0.045552100986242294, -0.01541877444833517, 0.024758992716670036, -0.0008663794142194092, -0.03758326172828674, -0.0701257735490799, 0.0627129003405571, 0.003185218432918191, 0.006611355114728212, 0.011545548215508461, 0.01612299680709839, 0.007737185340374708, -0.0614897757768631, -0.007051494438201189, -0.04707173630595207, 0.046293385326862335, 0.01774456351995468, 0.018708236515522003, 0.004737288691103458, -0.009923982433974743, 0.01940319314599037, 0.012953993864357471, -0.022201552987098694, -0.0221459548920393, -0.02518523298203945, 0.02891020104289055, -0.0008663794142194092, -0.0750182643532753, 0.014464367181062698, -0.03711995854973793, -0.014844276942312717, -0.08650821447372437, 0.0022377606946974993, 0.013908401131629944, 0.01671602576971054, -0.0014570927014574409, 0.035211142152547836, -0.026853129267692566, 0.029039926826953888, 0.009405081160366535, -0.028131850063800812, 0.00282847392372787, -0.030207453295588493, 0.052927907556295395, -0.011295364238321781, 0.0319865420460701, -0.019477320834994316, 0.0034052880946546793, 0.044959068298339844, 0.0129169300198555, -0.03576710820198059, -0.017966948449611664, -0.10807967931032181, -0.019588515162467957, -0.007389707025140524, 0.011388025246560574, 0.06897677481174469, -0.0028585889376699924, 0.001867117127403617, 0.010248295962810516, -0.07550010085105896, 0.04006657376885414, -0.06908796727657318, 0.0362674780189991, -0.058709949254989624, -0.03895464166998863, 0.02740909531712532, 0.0015972423134371638, 0.041882727295160294, -0.0017756145680323243, -0.020218608900904655, -0.04762770235538483, 0.020218608900904655, 0.011879127472639084, -0.009020539000630379, -0.014065925031900406, -0.004702540580183268, 0.030781950801610947, -0.026278631761670113, 0.024684865027666092, -0.015465104952454567, 0.01254628598690033, -0.015103726647794247, 0.01511299330741167, -0.01401032879948616, 0.06945861130952835, -0.053039100021123886, -0.09369870275259018, -0.024388348683714867, 0.05300203710794449, -0.008686959743499756, 0.01346362940967083, 0.04929560050368309, 0.03888051584362984, -0.02716817706823349, -0.03552618995308876, -0.0066345203667879105, -0.023758254945278168, 0.04573742300271988, 0.015529966913163662, 0.029836811125278473, 0.06300941109657288, -0.04280933737754822, 0.021923569962382317, -0.022294212132692337, -0.007593560963869095, 0.10741251707077026, -0.07516652345657349, 0.0014014961197972298, -0.03825042024254799, -0.013204178772866726, 0.014464367181062698, 0.028428364545106888, 0.029206715524196625, -0.010628205724060535, 0.06853200495243073, -0.006365804001688957, 0.025240829214453697, -0.04036308825016022, -0.03341352194547653, -0.022905774414539337, -0.006968099623918533, -0.009970312938094139, 0.058821141719818115, -0.03943647816777229, -0.051222946494817734, 0.025277893990278244, 0.041882727295160294, -0.07724212855100632, -0.002453197492286563, 0.020311269909143448, -0.026834597811102867, 0.04451429843902588, 0.06134151667356491, -0.02040393091738224, -0.010248295962810516, 0.050111014395952225, 0.003453935030847788, -0.031764157116413116, 0.03637867048382759, -0.03270929679274559, -0.03545206040143967, 0.017179330810904503, -0.0202927365899086, -0.049110278487205505, -0.04521851986646652, 0.028317172080278397, 0.032264526933431625, 0.03050396963953972, -0.012601882219314575, 0.0325981043279171, -0.005466993432492018, 0.0202742051333189, -0.007607460021972656, 0.04681228846311569, 0.054410479962825775, -0.07976250350475311, -0.008307049982249737, 0.023999173194169998, -0.0016447310335934162, 0.04132676124572754, -0.027001386508345604, -0.04069666936993599, -0.021052556112408638, -0.002626936649903655, 0.008668427355587482, -0.056263700127601624, 0.06678997725248337, 0.0033126273192465305, 0.048628441989421844, -0.027853867039084435, -0.0027659279294312, -0.04080786183476448, 0.038658127188682556, 0.006444565951824188, 0.010924720205366611, 0.014297577552497387, -0.0418085977435112, -0.007917874492704868, 0.04944385588169098, -0.014751615934073925, 0.020959895104169846, 0.014603357762098312, 0.04944385588169098, 0.0209042988717556, 0.09866532683372498, 0.012147843837738037, -0.02926231361925602, -0.027687078341841698, -0.0037990969140082598, -0.026463953778147697, -0.0067132823169231415, -0.02422155998647213, 0.006212913431227207, 0.011397290974855423, 0.04010363668203354, -0.007250715512782335, -0.0033357925713062286, -0.059673622250556946, -0.018532181158661842, -0.042475756257772446, -0.07857644557952881, -0.003889441257342696, 0.0027358131483197212, -0.018420986831188202, 0.05756095051765442, -0.003111089812591672, 0.02003328688442707, 0.01929200068116188, -0.020459527149796486, 0.04988862946629524, -0.03024451807141304, 0.04644164443016052, -0.03267223387956619, -0.004584398120641708, 0.0017779310001060367, 0.02066338062286377, 0.0008658003062009811, 0.015520701184868813, 0.016002537682652473, 0.026111843064427376, -0.0026640009600669146, -0.013806474395096302, 0.0239806417375803, -0.007505532819777727, -0.03999244421720505, 0.0202742051333189, -0.1291322261095047, -0.014779414050281048, -0.06938448548316956, 0.013120783492922783, 0.036804910749197006, -0.017614837735891342, 0.0001950222358573228, 0.017494378611445427, -0.01612299680709839, 0.0018242615042254329, -0.028817540034651756, -0.028687816113233566, 0.004989789333194494, 0.010415085591375828, -0.019032549113035202, -0.06037784367799759, 0.027927996590733528, -0.015659691765904427, -0.052557263523340225, 0.0014211866073310375, 0.011906925588846207, 0.0614897757768631, 0.011276831850409508, 0.04217924177646637, 0.025166701525449753, 0.01456629391759634, -0.0020153746008872986, 0.028743412345647812, 0.018272729590535164, -0.026890194043517113, 0.02383238449692726, 0.009418980218470097, -0.05114881694316864, -0.017800159752368927, 0.0027520288713276386, -0.04736825451254845, -0.02826157584786415, -0.08524803072214127, 0.023183757439255714, 0.011842063628137112, -0.01752217672765255, 0.011137840338051319, -0.01371381338685751, 0.057598017156124115, -0.005207542795687914, 0.03615628555417061, 0.0034215038176625967, -0.01944025792181492, 0.04844311997294426, -0.015576297417283058, -0.035229675471782684, -0.00611561955884099, 0.0013540073996409774, -0.03636013716459274, 0.019347596913576126, 0.014334641396999359, 0.026093309745192528, -0.04217924177646637, 0.04440310597419739, -0.002647785237058997, -0.041512083262205124, 0.01074866484850645, -0.027372030541300774, 0.014204916544258595, 0.05270552262663841, 0.009307787753641605, -0.009775725193321705, 0.05185304209589958, -0.03254250809550285, -0.0016574718756601214, -0.007755717262625694, 0.0013111517764627934, -0.02520376443862915, 0.026352761313319206, 0.034729305654764175, -0.06801310181617737, 0.02299843542277813, -0.00565694784745574, 0.014408770017325878, 0.027742674574255943, -0.0023929676972329617, -0.03230158984661102, 0.056856729090213776, 0.04944385588169098, 0.007792782038450241, -0.005763507913798094, -0.03591536730527878, -0.005610617808997631, -0.000012695629266090691, -0.0005970837082713842, 0.004776669666171074, -0.07057054340839386, 0.007287779822945595, 0.027742674574255943, -0.013574821874499321, -0.06230518966913223, -0.025111105293035507, -0.0066345203667879105, 0.012731608003377914, 0.006717915181070566, 0.004111827351152897, 0.04392126575112343, 0.04277227073907852, -0.00014572375221177936, 0.022813113406300545, -0.046293385326862335, -0.014714551158249378, -0.01955145038664341, 0.08324655145406723, 0.04288346692919731, 0.011971788480877876, 0.006722548510879278, -0.08272765576839447, 0.007236816454678774, -0.09636733680963516, -0.04733118787407875, 0.09051116555929184, -0.0003466096823103726, 0.011703072115778923, -0.004929559770971537, -0.03506288677453995, -0.03999244421720505, -0.0034052880946546793, -0.002485628705471754, -0.027094047516584396, 0.013306105509400368, -0.01706813834607601, -0.025648538023233414, 0.017179330810904503, 0.0003857010160572827, 0.0029141854029148817, 0.012870599515736103, 0.016373181715607643, -0.07268320769071579, -0.016660429537296295, -0.021089620888233185, -0.027983592823147774, -0.014223448000848293, 0.05926591157913208, 0.053409744054079056, -0.02386944741010666, -0.03383976221084595, 0.08680473268032074, 0.06123032420873642, 0.0565602146089077, 0.017531443387269974, 0.0031829020008444786, -0.0011420455994084477, 0.030930209904909134, 0.08880621194839478, -0.0013377917930483818, 0.018356123939156532, -0.06315767019987106, 0.06571511179208755, -0.0005406184354797006, -0.015650426968932152, 0.019588515162467957, -0.053409744054079056, 0.011786466464400291, 0.0035072150640189648, 0.014204916544258595, -0.009692329913377762, 0.0762043222784996, 0.03517407923936844, 0.03048543632030487, -0.03728674724698067, 0.01186059508472681, -0.012564818374812603, -0.06801310181617737, 0.017818691208958626, -0.004693274851888418, 0.04607100039720535, -0.04584861546754837, 0.034358661621809006, 0.027835335582494736, 0.01868043839931488, -0.027372030541300774, -0.013843539170920849, -0.02299843542277813, 0.04584861546754837, 0.0700145810842514, -0.04169740527868271, -0.024314220994710922, -0.03517407923936844, -0.01216637622565031, 0.002712647896260023, 0.0024485643953084946, -0.08999226987361908, -0.0017038023797795177, -0.009164162911474705, 0.025759730488061905, -0.020070351660251617, 0.033005814999341965, 0.004637678153812885, 0.030411308631300926, 0.07842818647623062, 0.03524820879101753, 0.020811637863516808, -0.008631362579762936, 0.007630625274032354, 0.014890606515109539, -0.018606308847665787, -0.05337268114089966, -0.0016146162524819374, 0.0075750285759568214, -0.018031811341643333, 0.007051494438201189, -0.018013279885053635, 0.08369132876396179, -0.0676795244216919, -0.06842081248760223, -0.031152594834566116, 0.001739708473905921, 0.009344851598143578, 0.012120045721530914, 0.047405317425727844, 0.04451429843902588, -0.022405406460165977, 0.05578186362981796, -0.002506477292627096, -0.01333390362560749, 0.026871660724282265, -0.004767403472214937, 0.0221274234354496, -0.0022748252376914024, 0.03248691186308861, 0.03393242135643959, -0.005328001920133829, -0.028205977752804756, -0.0025759730488061905, 0.004079396370798349, -0.0020061086397618055, 0.007227550260722637, -0.010044441558420658, -0.006653052754700184, -0.06919915974140167, 0.0022759833373129368, -0.020218608900904655, -0.04736825451254845, 0.012268302962183952, 0.012638946995139122, -0.000459540169686079, -0.02900286205112934, 0.009942514821887016, -0.022275680676102638, -0.015984006226062775, 0.0004525905824266374, 0.03404361382126808, -0.05596718564629555, -0.017661167308688164, -0.046404577791690826, -0.0022551347501575947, 0.03430306538939476, 0.03330232948064804, 0.01541877444833517, 0.0663452073931694, 0.00688933813944459, 0.018346859142184258, -0.02766854502260685, 0.05300203710794449, -0.009812789969146252, -0.047145865857601166, 0.006685484200716019, -0.007236816454678774, 0.055374156683683395, 0.05229781195521355, 0.00866379402577877, -0.004700224380940199, 0.02251659892499447, 0.005147313233464956, 0.04240163043141365, 0.006537226494401693, 0.013130050152540207, 0.031412046402692795, 0.005786673165857792, 0.00092950469115749, -0.004375911317765713, 0.040140703320503235, -0.027372030541300774, 0.005480892490595579, -0.05952536314725876, 0.017429515719413757, -0.07438816875219345, -0.07171953469514847, 0.00479520158842206, -0.006120252422988415, -0.013259775005280972, -0.05763508006930351, -0.014612624421715736, 0.00436432845890522, -0.005902499426156282, -0.032283056527376175, 0.019477320834994316, -0.026760468259453773, -0.03413627669215202, -0.014927671290934086, -0.0003703540423884988, -0.02288724295794964, 0.00857576634734869, 0.06871732324361801, -0.021330539137125015, -0.044551361352205276, 0.013250509276986122, 0.016901347786188126, 0.024796057492494583, -0.0036045091692358255, 0.003599876072257757, 0.033617373555898666, -0.014093723148107529, 0.05726443603634834, -0.05667140707373619, 0.010100038722157478, 0.049962759017944336, -0.011777200736105442, 0.009951780550181866, -0.01763336919248104, 0.0004884966765530407, 0.0676424577832222, 0.009279989637434483, -0.016336116939783096, 0.007718652952462435, 0.01603960245847702, 0.04773889482021332, -0.010572608560323715, -0.004093295428901911, 0.0221088919788599, 0.03371003642678261, 0.04562622681260109, -0.025648538023233414, 0.02018154412508011, 0.04488494247198105, -0.04577448591589928, 0.012407294474542141, -0.08287590742111206, -0.076278455555439, 0.025759730488061905, -0.02987387403845787, -0.012861332856118679, -0.0075796619057655334, 0.004700224380940199, 0.007385073695331812, -0.04599687084555626, -0.02051512338221073, 0.0033357925713062286, -0.005429928656667471, -0.029707085341215134, -0.0035604950971901417, -0.014594092033803463, -0.02409183420240879, -0.005735709797590971, 0.10014790296554565, 0.013509959913790226, -0.04251282289624214, -0.0811709463596344, 0.06197161227464676, 0.02125641144812107, 0.05237194150686264, 0.032042138278484344, 0.027816802263259888, 0.056856729090213776, 0.031782690435647964, -0.011767934076488018, 0.011008115485310555, -0.024981379508972168, 0.028187446296215057, -0.005578186362981796, -0.012676011770963669, 0.004737288691103458, -0.0503704659640789, 0.052446071058511734, 0.03319113329052925, 0.038028035312891006 ]
16,360
presidio_analyzer.entity_recognizer
to_dict
Serialize self to dictionary. :return: a dictionary
def to_dict(self) -> Dict: """ Serialize self to dictionary. :return: a dictionary """ return_dict = { "supported_entities": self.supported_entities, "supported_language": self.supported_language, "name": self.name, "version": self.version, } return return_dict
(self) -> Dict
[ -0.004893139936029911, -0.06611601263284683, -0.02000325173139572, -0.04865862801671028, -0.015715474262833595, -0.04345204308629036, -0.03717350959777832, 0.016471577808260918, 0.013648152351379395, -0.009963342919945717, -0.00267986161634326, -0.057425606995821, -0.011733965016901493, 0.032120056450366974, 0.006024903152137995, -0.015122076496481895, -0.03083755075931549, -0.010575882159173489, -0.020826352760195732, -0.005378865171223879, 0.025554394349455833, -0.05160647630691528, 0.013408878818154335, 0.024195320904254913, -0.007919948548078537, 0.029612470418214798, 0.009685785509645939, -0.01000162586569786, -0.0055942111648619175, 0.01988840103149414, -0.04268636554479599, -0.029210491105914116, 0.05367380008101463, 0.04582563415169716, -0.010882152244448662, 0.005651636514812708, -0.026741189882159233, 0.027851419523358345, -0.10443803668022156, 0.009953771717846394, -0.06339786946773529, 0.011083141900599003, -0.03914511948823929, -0.004541408270597458, 0.02362106554210186, 0.002490835729986429, 0.011264990083873272, 0.010709875263273716, 0.04505996033549309, -0.0012884869938716292, 0.035776153206825256, -0.017275536432862282, 0.017773224040865898, 0.02172602154314518, -0.055205147713422775, -0.026377495378255844, 0.015581481158733368, 0.029497619718313217, -0.047510117292404175, 0.06362757086753845, -0.017859363928437233, 0.0033665760420262814, 0.017074545845389366, -0.006900643464177847, -0.007991730235517025, 0.01688312739133835, -0.04900318384170532, -0.015581481158733368, 0.003656096989288926, 0.037326645106077194, 0.038570865988731384, -0.05424805358052254, 0.025611819699406624, 0.06473779678344727, 0.016548145562410355, 0.015485771931707859, -0.018558042123913765, -0.017361674457788467, -0.002336504403501749, -0.024080470204353333, -0.010173902846872807, -0.022185426205396652, -0.04701242968440056, -0.019208865240216255, 0.01563890650868416, 0.005469788797199726, 0.01662471331655979, -0.010901293717324734, -0.03361312299966812, -0.010815155692398548, -0.048811763525009155, 0.08085525035858154, -0.026186076924204826, 0.08177406340837479, 0.027372872456908226, -0.04119330272078514, -0.013533300720155239, 0.011906241998076439, -0.008097010664641857, 0.0073935468681156635, -0.023065950721502304, 0.08368825167417526, -0.049577441066503525, -0.01068116258829832, -0.019208865240216255, -0.07373447716236115, -0.02172602154314518, -0.04743355140089989, -0.004280600231140852, -0.01382042933255434, -0.04743355140089989, 0.030454711988568306, -0.0050965226255357265, 0.026434920728206635, 0.06090942397713661, -0.05160647630691528, 0.003543638391420245, 0.027545148506760597, 0.023008525371551514, -0.016423722729086876, -0.010930007323622704, 0.0681067705154419, -0.008690408430993557, 0.029861314222216606, -0.024137895554304123, 0.011580830439925194, 0.00661351578310132, 0.024673867970705032, 0.036790672689676285, -0.011044858023524284, 0.0029741679318249226, -0.01852932944893837, -0.035718727856874466, -0.010250470601022243, 0.08430078625679016, -0.0420355424284935, 0.03414909169077873, 0.016529003158211708, 0.018395336344838142, 0.0828460082411766, 0.011743536219000816, -0.0008685622597113252, 0.028578810393810272, -0.0019907543901354074, -0.029631612822413445, -0.03947053477168083, -0.011236276477575302, -0.011542546562850475, -0.0710163339972496, -0.09433113038539886, 0.05777015909552574, 0.01662471331655979, 0.01210723165422678, -0.03985337167978287, -0.05577940493822098, -0.007173415273427963, -0.024539874866604805, -0.06328301876783371, 0.006541733630001545, -0.005900480784475803, -0.03541245684027672, -0.012595349922776222, 0.03102896921336651, -0.027717426419258118, 0.003486212808638811, 0.019677840173244476, 0.05398007109761238, -0.0526784211397171, 0.01121713500469923, -0.031698934733867645, -0.04896489903330803, -0.0018483867170289159, -0.04031277447938919, 0.022453412413597107, -0.044141147285699844, 0.0402362085878849, 0.07384932786226273, 0.04000650346279144, -0.009685785509645939, 0.02266397327184677, 0.06940841674804688, -0.04444741830229759, -0.042533230036497116, 0.034665923565626144, 0.06975296884775162, -0.05972262844443321, 0.03403424099087715, 0.07718001306056976, 0.02096034586429596, 0.03378539904952049, 0.056927915662527084, -0.02237684465944767, -0.035067904740571976, -0.008743048645555973, -0.03238804265856743, -0.02006067894399166, 0.005173089914023876, -0.050879087299108505, -0.0728539526462555, 0.02764085866510868, 0.000569171505048871, -0.018194345757365227, -0.005067809484899044, 0.005799985956400633, -0.022166283801198006, -0.024291031062602997, 0.009465654380619526, -0.0402362085878849, 0.038743142038583755, -0.04364345967769623, -0.006584802642464638, -0.0367141030728817, -0.02155374363064766, -0.013485446572303772, 0.06492921710014343, -0.10137533396482468, 0.024118755012750626, 0.002567403018474579, 0.006297674961388111, -0.004431342706084251, 0.043605174869298935, 0.008446349762380123, 0.008044370450079441, -0.06600116193294525, -0.02633921056985855, -0.03996822237968445, -0.02639663591980934, -0.0627853274345398, -0.023219086229801178, -0.0467827282845974, -0.008130508475005627, -0.03811145946383476, -0.04463883861899376, 0.011839245446026325, 0.04444741830229759, 0.042418379336595535, -0.015457059256732464, -0.026013799011707306, 0.0035221038851886988, -0.024769578129053116, 0.11255418509244919, -0.0009708516299724579, -0.012289079837501049, 0.03920254856348038, -0.03642697632312775, -0.005823913495987654, 0.07235626131296158, 0.02741115540266037, 0.031239530071616173, -0.03958538547158241, 0.02025209739804268, -0.0656948909163475, -0.021515460684895515, 0.050534531474113464, 0.012116802856326103, -0.05179789662361145, -0.021458035334944725, 0.014289405196905136, 0.0337279736995697, -0.018816456198692322, 0.009542221203446388, -0.02178344689309597, -0.04008307307958603, 0.031813785433769226, 0.018146490678191185, -0.004797430709004402, 0.00575691694393754, 0.03633126616477966, -0.006876716390252113, 0.004606012254953384, 0.16293558478355408, -0.007144702598452568, -0.027066601440310478, -0.025171557441353798, 0.001041437266394496, -0.032062631100416183, -0.0020457871723920107, -0.06477608531713486, -0.0568513497710228, 0.03457021340727806, 0.004383488092571497, -0.06722624599933624, 0.013131321407854557, -0.00430692033842206, 0.052601855248212814, -0.019620414823293686, -0.036790672689676285, 0.028961647301912308, 0.02107519656419754, -0.0030938044656068087, 0.0039599742740392685, 0.02978474833071232, -0.03989165276288986, 0.006278533022850752, 0.020500941202044487, -0.029823031276464462, -0.04896489903330803, -0.020500941202044487, 0.08070211857557297, 0.024539874866604805, 0.0390494130551815, 0.06431667506694794, 0.05198931321501732, 0.04088703170418739, -0.054018352180719376, 0.006369456648826599, 0.04015963897109032, 0.02919134870171547, -0.03127781301736832, 0.002062536310404539, -0.038207169622182846, 0.03368968889117241, 0.06558004021644592, 0.0964750200510025, -0.04061904549598694, -0.014930657111108303, -0.013370594941079617, -0.009982484392821789, 0.010260041803121567, 0.07629948854446411, -0.043490324169397354, 0.04548107832670212, 0.01816563308238983, -0.029440194368362427, 0.1035957932472229, -0.1006096601486206, 0.03502961993217468, 0.017093688249588013, 0.10076279938220978, 0.006848003249615431, -0.018816456198692322, -0.04865862801671028, 0.05853583291172981, 0.05214244872331619, -0.02444416657090187, 0.030033592134714127, 0.028138546273112297, 0.0036584895569831133, -0.03529760614037514, -0.00030552217504009604, 0.015667619183659554, -0.037211790680885315, -0.0007297837291844189, -0.015141217969357967, -0.048046089708805084, 0.0007130345911718905, -0.00952786486595869, -0.022281134501099586, 0.00006609926640521735, -0.03476163372397423, -0.04647645726799965, 0.014385114423930645, 0.05344409868121147, 0.07381104677915573, -0.03878142684698105, -0.07384932786226273, 0.0015038331039249897, -0.018481474369764328, -0.035603877156972885, -0.014538249000906944, 0.02741115540266037, 0.020386090502142906, -0.0010097335325554013, 0.0059435502626001835, -0.020271237939596176, -0.0015193858416751027, 0.015504913404583931, -0.010518456809222698, 0.06825990229845047, -0.03606327995657921, -0.00204339437186718, 0.03711608424782753, -0.029210491105914116, 0.0007082491647452116, 0.021917439997196198, 0.01151383388787508, -0.02274053916335106, 0.05734903737902641, -0.0704803615808487, 0.011858387850224972, 0.0032110484316945076, 0.02540125884115696, -0.004835714586079121, 0.0325411781668663, 0.04819922521710396, -0.035201895982027054, 0.10880237817764282, -0.023238228633999825, 0.004751968663185835, -0.0009672625456005335, -0.06431667506694794, -0.003292401321232319, -0.05221901834011078, 0.06940841674804688, -0.032464608550071716, -0.027621716260910034, -0.0491180345416069, -0.00534058129414916, -0.028042837977409363, 0.015323066152632236, 0.019984111189842224, -0.04532794654369354, 0.06921699643135071, -0.01686398684978485, -0.01166696846485138, -0.012470927089452744, 0.02124747447669506, -0.01249006949365139, 0.04234181344509125, 0.007953446358442307, -0.052716705948114395, -0.008565986528992653, -0.047969523817300797, -0.04272465035319328, 0.019285432994365692, 0.03606327995657921, 0.03060784749686718, 0.03476163372397423, -0.005450646858662367, 0.02970818057656288, -0.015897322446107864, 0.03043557144701481, 0.0008165203034877777, 0.047969523817300797, -0.010729017667472363, 0.013150463812053204, -0.015227355994284153, 0.011944525875151157, 0.01012604869902134, -0.01515078917145729, 0.03351741284132004, -0.007025065831840038, 0.015035937540233135, -0.08981364965438843, 0.0651589184999466, 0.013772574253380299, 0.04682100936770439, -0.0621727891266346, -0.017562665045261383, 0.06703482568264008, -0.029459334909915924, -0.007709387689828873, 0.0020266452338546515, 0.005287941079586744, 0.06232592463493347, -0.046323321759700775, -0.08629154413938522, 0.015476200729608536, 0.05822956562042236, -0.02639663591980934, 0.03210091218352318, 0.02469301037490368, 0.058459267020225525, -0.08858856558799744, 0.0011957685928791761, -0.011647826991975307, 0.02260654605925083, -0.034665923565626144, 0.025554394349455833, 0.0029598113615065813, -0.00004729387364932336, 0.0033905033487826586, 0.005426719784736633, 0.03950881585478783, 0.011542546562850475, 0.0159738902002573, -0.031239530071616173, -0.005388435907661915, -0.04670615866780281, 0.01352373044937849, 0.06232592463493347, 0.04065733030438423, 0.00048542581498622894, -0.04119330272078514, -0.0402362085878849, 0.034187376499176025, 0.025075847283005714, -0.010317467153072357, -0.04930945485830307, -0.05432462319731712, -0.01062373723834753, -0.016557715833187103, -0.007527539972215891, 0.03426394611597061, 0.0032086556311696768, -0.018395336344838142, 0.01699797995388508, -0.016184449195861816, -0.03367054834961891, 0.04008307307958603, -0.029287058860063553, 0.019850118085741997, -0.01994582638144493, 0.021802587434649467, 0.05309954285621643, 0.024176180362701416, 0.0071303462609648705, 0.03514447063207626, -0.01929500326514244, -0.03148837387561798, 0.0331537164747715, -0.03324942663311958, -0.006197180133312941, 0.02788970246911049, -0.03236889839172363, 0.002904778579249978, -0.02834910713136196, 0.022587405517697334, -0.004400236997753382, 0.030914118513464928, -0.05038139969110489, -0.020405231043696404, 0.05309954285621643, -0.03633126616477966, -0.003057913389056921, 0.03368968889117241, -0.06707310676574707, 0.04000650346279144, -0.03977680206298828, 0.013696006499230862, -0.00807786826044321, 0.0645080953836441, 0.06064143776893616, -0.0068432181142270565, -0.03007187508046627, 0.04819922521710396, -0.013274885714054108, -0.005015169735997915, 0.029612470418214798, 0.029229633510112762, 0.0052544428035616875, -0.03627384081482887, -0.01763923093676567, 0.012633632868528366, -0.02302766777575016, 0.035201895982027054, -0.02172602154314518, 0.03751806169748306, -0.029038215056061745, 0.014365972019731998, 0.05432462319731712, -0.03210091218352318, -0.023295653983950615, -0.04000650346279144, 0.01876860298216343, -0.00007963316602399573, -0.004742397926747799, 0.01947685144841671, -0.039279114454984665, 0.0018986341310665011, -0.006761865224689245, -0.013112179934978485, 0.012528353370726109, -0.038264594972133636, -0.01048017293214798, -0.017486097291111946, 0.02800455316901207, -0.041767556220293045, 0.035201895982027054, 0.016002602875232697, -0.006522591691464186, 0.005799985956400633, -0.060526587069034576, 0.01994582638144493, -0.03275173529982567, 0.05424805358052254, 0.009159384295344353, 0.06431667506694794, -0.07618463784456253, 0.02959332801401615, 0.020826352760195732, 0.03943224996328354, 0.029344484210014343, 0.0313735231757164, 0.012499639764428139, 0.03127781301736832, 0.01740952953696251, 0.027085743844509125, 0.0004468429833650589, -0.0408487468957901, -0.01270062942057848, 0.023008525371551514, -0.020500941202044487, 0.006584802642464638, -0.020883778110146523, -0.00546021806076169, -0.026262642815709114, 0.030052732676267624, 0.0579998604953289, -0.023467930033802986, -0.04245666414499283, -0.0026248288340866566, 0.029937881976366043, 0.003486212808638811, 0.04777810350060463, -0.04352860897779465, -0.00970971304923296, -0.04153785482048988, -0.005713847931474447, -0.041001882404088974, -0.013686436228454113, -0.008522916585206985, -0.009226380847394466, 0.02859795093536377, 0.07055692374706268, -0.015476200729608536, -0.04613190144300461, 0.022529980167746544, -0.010690733790397644, -0.007144702598452568, -0.049807142466306686, -0.03931739926338196, -0.01710326038300991, -0.06125397980213165, 0.012624062597751617, -0.05133849009871483, 0.013791716657578945, -0.016844844445586205, -0.011150138452649117, -0.015141217969357967, 0.056277092546224594, 0.010374892503023148, -0.005144377239048481, 0.04590220004320145, -0.04352860897779465, -0.050993937999010086, 0.0032947941217571497, 0.0007680674898438156, -0.009188096970319748, -0.022951100021600723, 0.013657723553478718, -0.024539874866604805, 0.03363226354122162, -0.043490324169397354, -0.017064975574612617, 0.03066527284681797, 0.02687518298625946, -0.009331661276519299, 0.01965869963169098, 0.016423722729086876, 0.05214244872331619, 0.03575700893998146, -0.03527846187353134, 0.00994420051574707, -0.06305331736803055, 0.02800455316901207, -0.013169605284929276, -0.036848098039627075, 0.03378539904952049, -0.05340581387281418, -0.02071150206029415, 0.014586104080080986, 0.00710641872137785, -0.03296229615807533, -0.03836030513048172, -0.008628197014331818, -0.03765205666422844, 0.05773187428712845, -0.006388598587363958, 0.013332311064004898, -0.02888507954776287, 0.036848098039627075, -0.03837944567203522, -0.06435496360063553, 0.037862617522478104, 0.014614816755056381, -0.07530411332845688, 0.01068116258829832, 0.02036694809794426, -0.03043557144701481, 0.025114132091403008, 0.06607773154973984, 0.028463957831263542, 0.01115970965474844, -0.07277738302946091, 0.009523079730570316, -0.009125885553658009, -0.009877203963696957, 0.039815086871385574, -0.013935280032455921, -0.031124677509069443, 0.06121569499373436, -0.03190949559211731, 0.07672061026096344, -0.04050419479608536, 0.004692150745540857, -0.02834910713136196, -0.00040467106737196445, 0.004149000160396099, -0.022510837763547897, -0.009279021061956882, -0.04081046208739281, -0.06071800738573074, 0.01515078917145729, 0.04096359759569168, -0.002232420491054654, 0.021170906722545624, -0.05252528563141823, 0.010068622417747974, 0.020788069814443588, 0.03420652076601982, -0.023104235529899597, 0.014758381061255932, 0.008288429118692875, 0.04345204308629036, -0.021879155188798904, -0.026492346078157425, -0.0022671150509268045, 0.035201895982027054, -0.013992706313729286, 0.0030435570515692234, 0.04961572214961052, 0.013562013395130634, -0.048582062125205994, 0.008446349762380123, 0.039700236171483994, 0.03707779943943024, 0.0437965951859951, 0.005613353103399277, -0.0049577439203858376, -0.02254912070930004, 0.012183799408376217, 0.03368968889117241, -0.0006262980168685317, 0.01145640853792429, 0.02450159192085266, 0.0049051037058234215, -0.025324692949652672, -0.026492346078157425, -0.002440588315948844, -0.03533589094877243, -0.03569958359003067, -0.08805259317159653, -0.025362975895404816, -0.023889051750302315, -0.07216484099626541, 0.057157620787620544, -0.01628972962498665, -0.010374892503023148, 0.02469301037490368, 0.05375036597251892, 0.05914837494492531, -0.004534230101853609, 0.04050419479608536, 0.0260520838201046, -0.010212186723947525, 0.05731075257062912, -0.010221757926046848, 0.0023688061628490686, -0.0022348130587488413, 0.0408487468957901, 0.049883708357810974, -0.017955072224140167, 0.005780844483524561, 0.019582131877541542, -0.0055176434107124805, 0.04398801550269127, 0.05168304592370987, 0.021209189668297768, 0.0011024519335478544, -0.04012135788798332, -0.025841522961854935, -0.02610950917005539, -0.039393965154886246, -0.02894250489771366, 0.020175529643893242, 0.06102427840232849, -0.037632912397384644 ]
16,361
presidio_analyzer.context_aware_enhancers.lemma_context_aware_enhancer
LemmaContextAwareEnhancer
A class representing a lemma based context aware enhancer logic. Context words might enhance confidence score of a recognized entity, LemmaContextAwareEnhancer is an implementation of Lemma based context aware logic, it compares spacy lemmas of each word in context of the matched entity to given context and the recognizer context words, if matched it enhance the recognized entity confidence score by a given factor. :param context_similarity_factor: How much to enhance confidence of match entity :param min_score_with_context_similarity: Minimum confidence score :param context_prefix_count: how many words before the entity to match context :param context_suffix_count: how many words after the entity to match context
class LemmaContextAwareEnhancer(ContextAwareEnhancer): """ A class representing a lemma based context aware enhancer logic. Context words might enhance confidence score of a recognized entity, LemmaContextAwareEnhancer is an implementation of Lemma based context aware logic, it compares spacy lemmas of each word in context of the matched entity to given context and the recognizer context words, if matched it enhance the recognized entity confidence score by a given factor. :param context_similarity_factor: How much to enhance confidence of match entity :param min_score_with_context_similarity: Minimum confidence score :param context_prefix_count: how many words before the entity to match context :param context_suffix_count: how many words after the entity to match context """ def __init__( self, context_similarity_factor: float = 0.35, min_score_with_context_similarity: float = 0.4, context_prefix_count: int = 5, context_suffix_count: int = 0, ): super().__init__( context_similarity_factor=context_similarity_factor, min_score_with_context_similarity=min_score_with_context_similarity, context_prefix_count=context_prefix_count, context_suffix_count=context_suffix_count, ) def enhance_using_context( self, text: str, raw_results: List[RecognizerResult], nlp_artifacts: NlpArtifacts, recognizers: List[EntityRecognizer], context: Optional[List[str]] = None, ) -> List[RecognizerResult]: """ Update results in case the lemmas of surrounding words or input context words are identical to the context words. Using the surrounding words of the actual word matches, look for specific strings that if found contribute to the score of the result, improving the confidence that the match is indeed of that PII entity type :param text: The actual text that was analyzed :param raw_results: Recognizer results which didn't take context into consideration :param nlp_artifacts: The nlp artifacts contains elements such as lemmatized tokens for better accuracy of the context enhancement process :param recognizers: the list of recognizers :param context: list of context words """ # noqa D205 D400 # create a deep copy of the results object, so we can manipulate it results = copy.deepcopy(raw_results) # create recognizer context dictionary recognizers_dict = {recognizer.id: recognizer for recognizer in recognizers} # Create empty list in None or lowercase all context words in the list if not context: context = [] else: context = [word.lower() for word in context] # Sanity if nlp_artifacts is None: logger.warning("NLP artifacts were not provided") return results for result in results: recognizer = None # get recognizer matching the result, if found. if ( result.recognition_metadata and RecognizerResult.RECOGNIZER_IDENTIFIER_KEY in result.recognition_metadata.keys() ): recognizer = recognizers_dict.get( result.recognition_metadata[ RecognizerResult.RECOGNIZER_IDENTIFIER_KEY ] ) if not recognizer: logger.debug( "Recognizer name not found as part of the " "recognition_metadata dict in the RecognizerResult. " ) continue # skip recognizer result if the recognizer doesn't support # context enhancement if not recognizer.context: logger.debug( "recognizer '%s' does not support context enhancement", recognizer.name, ) continue # skip context enhancement if already boosted by recognizer level if result.recognition_metadata.get( RecognizerResult.IS_SCORE_ENHANCED_BY_CONTEXT_KEY ): logger.debug("result score already boosted, skipping") continue # extract lemmatized context from the surrounding of the match word = text[result.start : result.end] surrounding_words = self._extract_surrounding_words( nlp_artifacts=nlp_artifacts, word=word, start=result.start ) # combine other sources of context with surrounding words surrounding_words.extend(context) supportive_context_word = self._find_supportive_word_in_context( surrounding_words, recognizer.context ) if supportive_context_word != "": result.score += self.context_similarity_factor result.score = max(result.score, self.min_score_with_context_similarity) result.score = min(result.score, ContextAwareEnhancer.MAX_SCORE) # Update the explainability object with context information # helped to improve the score result.analysis_explanation.set_supportive_context_word( supportive_context_word ) result.analysis_explanation.set_improved_score(result.score) return results @staticmethod def _find_supportive_word_in_context( context_list: List[str], recognizer_context_list: List[str] ) -> str: """ Find words in the text which are relevant for context evaluation. A word is considered a supportive context word if there's exact match between a keyword in context_text and any keyword in context_list. :param context_list words before and after the matched entity within a specified window size :param recognizer_context_list a list of words considered as context keywords manually specified by the recognizer's author """ word = "" # If the context list is empty, no need to continue if context_list is None or recognizer_context_list is None: return word for predefined_context_word in recognizer_context_list: # result == true only if any of the predefined context words # is found exactly or as a substring in any of the collected # context words result = next( ( True for keyword in context_list if predefined_context_word in keyword ), False, ) if result: logger.debug("Found context keyword '%s'", predefined_context_word) word = predefined_context_word break return word def _extract_surrounding_words( self, nlp_artifacts: NlpArtifacts, word: str, start: int ) -> List[str]: """Extract words surrounding another given word. The text from which the context is extracted is given in the nlp doc. :param nlp_artifacts: An abstraction layer which holds different items which are the result of a NLP pipeline execution on a given text :param word: The word to look for context around :param start: The start index of the word in the original text """ if not nlp_artifacts.tokens: logger.info("Skipping context extraction due to lack of NLP artifacts") # if there are no nlp artifacts, this is ok, we can # extract context and we return a valid, yet empty # context return [""] # Get the already prepared words in the given text, in their # LEMMATIZED ver
(context_similarity_factor: float = 0.35, min_score_with_context_similarity: float = 0.4, context_prefix_count: int = 5, context_suffix_count: int = 0)
[ 0.042696140706539154, -0.04613501578569412, -0.022758396342396736, 0.029423629865050316, 0.06085649132728577, -0.03796285763382912, 0.012596327811479568, -0.06224749609827995, 0.07430288195610046, 0.0012895780382677913, -0.029423629865050316, -0.021946975961327553, -0.02380165085196495, 0.007404206320643425, -0.051583122462034225, -0.005264569539576769, -0.01701083779335022, 0.015813028439879417, 0.028013305738568306, -0.015948263928294182, -0.007404206320643425, 0.012557689100503922, -0.018189329653978348, -0.00898840744048357, -0.019116666167974472, -0.05289684981107712, 0.0010160860838368535, -0.034234192222356796, -0.030833955854177475, -0.004554577171802521, -0.016431253403425217, -0.03322957828640938, 0.0038735640700906515, -0.036204781383275986, -0.006114628631621599, -0.06638187170028687, -0.005433615297079086, 0.04667596146464348, -0.0033785011619329453, -0.06325211375951767, -0.08624234050512314, -0.002999355550855398, -0.014422022737562656, 0.011128043755888939, -0.05517655238509178, -0.006742512807250023, -0.026351826265454292, 0.06178382784128189, 0.03307501971721649, -0.010277985595166683, 0.021502627059817314, -0.10965760052204132, 0.01627669669687748, 0.011128043755888939, 0.0062885042279958725, 0.007805086672306061, -0.06502950936555862, 0.010674035176634789, 0.040223244577646255, -0.03709347918629646, 0.05714714527130127, 0.013552644290030003, 0.025965437293052673, 0.05046258866786957, -0.003991896286606789, 0.009316839277744293, 0.013523665256798267, 0.06236341595649719, 0.02374369092285633, 0.022410644218325615, -0.054519690573215485, -0.08879251778125763, -0.018749594688415527, 0.016547169536352158, 0.02679617516696453, 0.008529569022357464, -0.02148330770432949, -0.008119028992950916, 0.08601050823926926, -0.0015153749845921993, -0.028399696573615074, 0.020710526034235954, 0.02424599975347519, -0.04706235229969025, 0.044009868055582047, -0.013388427905738354, -0.004445904865860939, -0.013175913132727146, 0.04288933798670769, -0.04945797473192215, -0.0500761978328228, 0.07669849693775177, 0.02668025903403759, 0.060624659061431885, 0.004395191092044115, 0.023936886340379715, -0.0034123104996979237, -0.03181925043463707, -0.01616077870130539, 0.0041802613995969296, -0.004936137702316046, 0.10355263203382492, 0.001580578275024891, 0.04165288805961609, 0.033828482031822205, 0.007838895544409752, -0.05448104813694954, 0.0014284370699897408, 0.07009122520685196, 0.017387568950653076, -0.09111086279153824, -0.0653386190533638, 0.014228827320039272, -0.0018160350155085325, -0.029249755665659904, -0.023415260016918182, -0.044512175023555756, -0.008650315925478935, -0.002058736514300108, 0.04111194238066673, 0.03657185286283493, -0.06537725776433945, -0.030602121725678444, -0.0665750727057457, -0.041227858513593674, -0.005684769246727228, -0.012345174327492714, -0.0064237406477332115, 0.027201885357499123, -0.04791241139173508, -0.03141354024410248, 0.021116236224770546, -0.006776322145015001, 0.0012775033246725798, 0.03533540293574333, -0.0030862935818731785, -0.03075667843222618, 0.04211655631661415, -0.010046151466667652, 0.030312329530715942, 0.012567348778247833, -0.013127614744007587, 0.029346352443099022, -0.02407212369143963, -0.05749489367008209, -0.009432756341993809, -0.018633678555488586, 0.014277125708758831, -0.02186969853937626, -0.0038494146429002285, 0.022140171378850937, -0.04350756108760834, 0.01730063185095787, -0.05421057716012001, -0.0015153749845921993, 0.008824191056191921, 0.0010486877290531993, -0.04288933798670769, 0.015069226734340191, -0.01734893023967743, 0.03871631994843483, -0.08206932246685028, -0.02328002266585827, 0.06189974769949913, 0.029365671798586845, 0.009746698662638664, 0.00876623298972845, -0.023028869181871414, -0.03276590630412102, 0.004933722782880068, 0.0006164134829305112, 0.017996134236454964, 0.018005793914198875, 0.01577438972890377, -0.02700868993997574, 0.1172308549284935, -0.017677361145615578, 0.0158806461840868, 0.0007655360386706889, 0.04679188132286072, -0.015755070373415947, 0.0029776212759315968, -0.08400128036737442, -0.05104217678308487, 0.016933560371398926, 0.045246317982673645, 0.01774498075246811, 0.03108510933816433, 0.0015721260569989681, 0.04265750199556351, -0.03427283093333244, -0.07148222625255585, 0.05332187935709953, -0.014054951258003712, -0.0265643410384655, 0.06750240921974182, -0.03537404164671898, -0.03286250680685043, 0.01014274824410677, -0.011726949363946915, -0.0391027107834816, 0.0029075879137963057, 0.022797035053372383, 0.0464441291987896, -0.02040141448378563, 0.04350756108760834, -0.055640220642089844, 0.0470237135887146, -0.08678328990936279, -0.046830520033836365, 0.004400020930916071, -0.021348070353269577, 0.05011483654379845, 0.0363013818860054, 0.061474718153476715, -0.022565200924873352, 0.02254588156938553, 0.052935488522052765, -0.0196769330650568, -0.005023075733333826, -0.020884402096271515, -0.03639797866344452, -0.00573789793998003, -0.0016071426216512918, 0.015668131411075592, -0.007520123850554228, 0.06750240921974182, 0.00904636550694704, 0.03313297778367996, -0.018401844426989555, 0.0001726682239677757, -0.02600407600402832, 0.0012412791838869452, 0.019754210487008095, 0.021734461188316345, -0.05042394995689392, 0.04088010638952255, 0.05042394995689392, -0.028573572635650635, -0.01945475861430168, -0.017049478366971016, 0.023357301950454712, 0.017165394499897957, -0.014306105673313141, -0.027337122708559036, 0.007722978480160236, 0.08941074460744858, -0.013320810161530972, 0.07117311656475067, -0.0020720185711979866, 0.0002614172699395567, -0.037286676466464996, -0.034949012100696564, -0.01175592839717865, -0.0030814637430012226, -0.055987972766160965, -0.024844903498888016, 0.009746698662638664, 0.008268754929304123, -0.03361596539616585, 0.0067570023238658905, 0.043275728821754456, -0.056838031858205795, 0.07901684194803238, -0.030370287597179413, 0.02650638297200203, 0.012818502262234688, -0.005535042844712734, -0.028959961608052254, -0.023782331496477127, 0.018054092302918434, 0.01729097217321396, -0.011350219137966633, -0.002593645825982094, -0.037170760333538055, 0.052935488522052765, -0.04563270881772041, 0.04791241139173508, -0.06638187170028687, 0.05621980503201485, 0.023473218083381653, 0.006781151983886957, -0.05625844746828079, -0.0077664474956691265, 0.03832992911338806, 0.010500160045921803, -0.027878068387508392, -0.00477675162255764, 0.028071263805031776, -0.03328753635287285, -0.03183856979012489, 0.02679617516696453, 0.09914778172969818, 0.008998067118227482, 0.02888268418610096, 0.046830520033836365, -0.014721475541591644, -0.010123428888618946, -0.014344744384288788, -0.01933884061872959, 0.014653856866061687, 0.05432649329304695, 0.038233332335948944, -0.023724371567368507, -0.03520016744732857, -0.00073655677260831, 0.06696145981550217, -0.03672641143202782, 0.014460661448538303, -0.05594933405518532, -0.013098635710775852, -0.013996993191540241, -0.015909625217318535, -0.02080712467432022, -0.04068691283464432, -0.03164537623524666, 0.046482767909765244, 0.0036658791359514, 0.030099814757704735, 0.04064827412366867, -0.034002356231212616, 0.02283567376434803, 0.049767088145017624, 0.0020418318454176188, 0.05479016155004501, -0.06224749609827995, 0.06348394602537155, -0.015474936924874783, 0.04335300624370575, -0.051003534346818924, -0.04238703101873398, -0.029462270438671112, -0.026487063616514206, -0.004851614590734243, -0.05556294322013855, -0.04628957435488701, 0.024613069370388985, -0.010886549949645996, 0.040841467678546906, -0.046096377074718475, 0.016238057985901833, -0.0007776107522659004, -0.06081785261631012, 0.04076419025659561, 0.04713963344693184, -0.02712460793554783, 0.013156593777239323, 0.0176966805011034, 0.04416442662477493, -0.012142319232225418, -0.021946975961327553, -0.05625844746828079, 0.038117416203022, 0.007423526141792536, 0.000578076287638396, -0.017841577529907227, -0.046714603900909424, -0.008809701539576054, 0.004110228270292282, -0.02797466702759266, -0.036765050143003464, 0.004704303573817015, -0.017725661396980286, 0.06873885542154312, -0.031896527856588364, 0.00558334169909358, -0.011070085689425468, -0.014103250578045845, 0.01169797033071518, -0.037054840475320816, 0.00280374544672668, -0.044628094881772995, -0.006119458470493555, 0.028476973995566368, 0.042193833738565445, -0.020942360162734985, -0.02125147357583046, 0.01197810284793377, -0.01197810284793377, 0.07499837875366211, 0.018382525071501732, 0.04868519306182861, 0.024458514526486397, -0.011707630008459091, -0.02300954982638359, -0.03147149831056595, 0.012789523229002953, -0.008297733962535858, 0.031065789982676506, 0.001004011370241642, -0.03363528475165367, -0.01604486256837845, -0.025540407747030258, 0.0006785981822758913, -0.03102715127170086, -0.009804656729102135, -0.0653386190533638, -0.008490929380059242, -0.030331648886203766, -0.033384133130311966, 0.03452398255467415, 0.03533540293574333, 0.0037165929097682238, -0.026950731873512268, -0.024941502138972282, 0.02113555558025837, 0.02735644206404686, 0.07283459603786469, -0.01077063288539648, 0.06425672769546509, -0.05679939314723015, 0.012654286809265614, 0.011823547072708607, -0.009514864534139633, -0.08261027187108994, -0.04088010638952255, 0.03508425131440163, 0.04045507684350014, 0.0031442521139979362, 0.05664483457803726, 0.05235590413212776, -0.009978532791137695, 0.08438766747713089, 0.009389286860823631, -0.023820970207452774, 0.009225071407854557, -0.03929590433835983, -0.05181495472788811, -0.021154874935746193, -0.08755607157945633, -0.03191584721207619, -0.011427496559917927, -0.021154874935746193, -0.04613501578569412, -0.03040892630815506, -0.030428245663642883, -0.03618546202778816, 0.025675643235445023, -0.01090586930513382, -0.005877964198589325, 0.0012400717241689563, 0.004769506864249706, 0.0654158964753151, 0.08137382566928864, 0.0567607544362545, -0.02465170994400978, -0.052587736397981644, 0.0008041750406846404, -0.06325211375951767, -0.00805141031742096, 0.04791241139173508, 0.024207359179854393, 0.026100672781467438, 0.0646817535161972, -0.02210153266787529, 0.030041854828596115, 0.007326928433030844, 0.012663946487009525, 0.0021166950464248657, 0.02333798073232174, -0.009437586180865765, 0.007761617656797171, 0.010123428888618946, 0.03736395388841629, 0.017957495525479317, 0.025231294333934784, -0.014779433608055115, -0.01950305700302124, -0.06900932639837265, -0.012171298265457153, 0.0369582436978817, -0.0037165929097682238, 0.050501227378845215, -0.032128363847732544, 0.003663464216515422, 0.011321239173412323, -0.015590853989124298, -0.03832992911338806, 0.07090264558792114, 0.013948693871498108, 0.06557045131921768, -0.020304815843701363, 0.027201885357499123, -0.04393259063363075, -0.04200064018368721, -0.038697000592947006, 0.023782331496477127, -0.04516904056072235, 0.00040269127930514514, 0.03477513790130615, -0.055987972766160965, 0.05861542746424675, 0.05467424541711807, -0.013562303967773914, -0.03861972317099571, -0.01336910855025053, 0.008843510411679745, -0.0014972628559917212, 0.052587736397981644, -0.012702585197985172, -0.008152837865054607, -0.009196092374622822, -0.028592891991138458, -0.03668776899576187, 0.08539228141307831, 0.006737682968378067, -0.054287854582071304, 0.002343699336051941, -0.0302350502461195, 0.016353974118828773, -0.06456583738327026, -0.06390897929668427, 0.12078564614057541, -0.06792743504047394, -0.010963828302919865, 0.003634484950453043, -0.0039701615460217, 0.03900611400604248, 0.010220026597380638, -0.030872594565153122, -0.03011913411319256, 0.018459802493453026, 0.01197810284793377, -0.03854244574904442, 0.05471288412809372, 0.001677175983786583, -0.022623158991336823, -0.02171514183282852, 0.02911451831459999, 0.014151548966765404, 0.015156164765357971, -0.03293978422880173, 0.028013305738568306, 0.015851667150855064, 0.03108510933816433, 0.037383273243904114, -0.00796447228640318, -0.07221636921167374, 0.03690028563141823, 0.036765050143003464, 0.007640870753675699, -0.043159808963537216, -0.03002253547310829, 0.010065470822155476, 0.028863364830613136, 0.015561874024569988, 0.002972791437059641, 0.0180251132696867, -0.06989802420139313, 0.012393472716212273, 0.009123643860220909, -0.022314047440886497, -0.038523126393556595, 0.056606195867061615, 0.0348137766122818, -0.03011913411319256, 0.04771921783685684, 0.016972199082374573, 0.009171942248940468, 0.029752062633633614, -0.0004663853032980114, -0.010693354532122612, 0.03622410073876381, -0.06054737791419029, 0.06441128253936768, 0.0329977422952652, -0.04196200147271156, 0.043159808963537216, -0.04478264972567558, -0.010963828302919865, 0.0690479651093483, -0.06178382784128189, -0.015445956960320473, 0.012721904553472996, -0.07372329384088516, 0.06502950936555862, -0.010355263017117977, -0.007640870753675699, 0.04006868600845337, -0.003284318605437875, 0.01865299791097641, 0.024400554597377777, 0.025424489751458168, -0.035586558282375336, 0.05849951133131981, -0.010297304950654507, 0.023028869181871414, 0.04992164298892021, 0.024844903498888016, 0.01274122390896082, -0.06329075247049332, 0.009205752052366734, 0.03782762214541435, -0.013890735805034637, 0.06213157996535301, 0.031046470627188683, -0.032031767070293427, -0.0020671887323260307, 0.037673067301511765, -0.025868838652968407, -0.005394976120442152, -0.019261563196778297, -0.015330039896070957, 0.037170760333538055, 0.018952449783682823, -0.009152622893452644, -0.03141354024410248, -0.0161704383790493, 0.000004740263193525607, 0.02295159175992012, -0.04663732275366783, -0.045748624950647354, 0.022603839635849, -0.013745839707553387, -0.017542125657200813, -0.011118384078145027, -0.032746586948633194, 0.055640220642089844, 0.06765696406364441, -0.006047009956091642, 0.046946436166763306, -0.028670169413089752, -0.026602979749441147, -0.006945367902517319, -0.006554147694259882, -0.0005946790333837271, -0.013745839707553387, -0.06510678678750992, -0.03842652589082718, 0.001574540976434946, 0.00876623298972845, 0.014277125708758831, 0.03860040381550789, -0.00782923586666584, 0.0344853438436985, 0.0964430496096611, 0.04887839034199715, -0.022294728085398674, -0.004588386509567499, 0.0158806461840868, -0.08013737201690674, 0.005791026633232832, 0.005105183459818363, -0.011900825425982475, -0.06263388693332672, 0.036088865250349045, -0.007380057126283646, -0.011118384078145027, 0.05822903662919998, 0.082996666431427, 0.0025381019804626703, 0.00929751992225647, 0.0007963264943100512, -0.02300954982638359, -0.015252761542797089, 0.04250294715166092, -0.03199312835931778, 0.019976384937763214, -0.012808842584490776, 0.001000388991087675, -0.016576148569583893, 0.034002356231212616, 0.03195448964834213, -0.020246857777237892, -0.018904151394963264, -0.001167623559013009, 0.047951050102710724, -0.0038107754662632942, 0.07805086672306061, 0.04138241335749626, 0.024014165624976158, -0.02368573285639286, -0.0038228502962738276, 0.0332488976418972, 0.00402570515871048, -0.003298808354884386, 0.018585380166769028, -0.012393472716212273, 0.009278199635446072, -0.048028331249952316, 0.019802508875727654, 0.01701083779335022, 0.008548888377845287, -0.020382095128297806, -0.0026202101726084948, 0.015899965539574623, -0.004122302867472172, 0.006901898887008429, -0.00361033552326262, -0.06696145981550217, -0.07132767140865326, 0.0198411475867033, 0.009930233471095562, -0.021463988348841667, 0.010548458434641361, -0.034968335181474686, -0.05826767534017563, -0.07650530338287354, 0.012712244875729084, -0.04447353631258011, 0.00497477687895298, 0.015011267736554146, 0.011186002753674984, -0.05069442465901375, -0.0005611717351712286, 0.035354722291231155, -0.02820650115609169, -0.03641729801893234, -0.017590424045920372, -0.020092302933335304, 0.05645164102315903, -0.00008505117148160934, 0.05069442465901375, -0.020478691905736923, 0.05521519109606743, 0.004445904865860939, -0.022062893956899643, 0.017339270561933517, 0.027742832899093628, -0.04373939707875252, 0.04725554957985878, 0.03730599582195282, 0.017590424045920372, -0.011910485103726387, -0.03170333430171013, -0.004730867687612772, 0.023473218083381653, -0.02583019994199276, 0.05815175920724869, -0.04860791563987732, -0.026950731873512268, -0.012422451749444008, -0.03409895673394203, -0.016209078952670097, -0.021386709064245224, -0.014277125708758831, 0.00243184482678771, -0.030331648886203766, -0.050848979502916336, 0.011070085689425468, 0.014731135219335556, 0.012383813038468361, -0.06611140072345734, 0.045362234115600586, 0.010944508947432041, 0.04018460586667061, 0.025791561231017113, -0.010355263017117977, 0.0317612923681736, -0.03543200343847275, 0.06151335686445236, 0.010306964628398418, 0.01922292448580265, 0.0008687747176736593, 0.025405170395970345, 0.0160062238574028, 0.05942684784531593, -0.025637004524469376, -0.021618545055389404, -0.03251475468277931, -0.0015552215045318007, -0.06132015958428383, 0.010075130499899387, 0.030099814757704735, -0.008167327381670475, 0.008944937959313393, 0.03639797866344452, 0.07059352844953537 ]
16,362
presidio_analyzer.context_aware_enhancers.lemma_context_aware_enhancer
__init__
null
def __init__( self, context_similarity_factor: float = 0.35, min_score_with_context_similarity: float = 0.4, context_prefix_count: int = 5, context_suffix_count: int = 0, ): super().__init__( context_similarity_factor=context_similarity_factor, min_score_with_context_similarity=min_score_with_context_similarity, context_prefix_count=context_prefix_count, context_suffix_count=context_suffix_count, )
(self, context_similarity_factor: float = 0.35, min_score_with_context_similarity: float = 0.4, context_prefix_count: int = 5, context_suffix_count: int = 0)
[ 0.007520641200244427, -0.05853617191314697, 0.023017853498458862, -0.013987772166728973, -0.006303350906819105, -0.0026404133532196283, -0.03197710961103439, -0.01776801235973835, 0.03507566824555397, -0.010366886854171753, -0.024682221934199333, 0.06526447087526321, -0.0002921496925409883, 0.05680098012089729, 0.006006774492561817, -0.03346441686153412, 0.055880267173051834, -0.02223878726363182, 0.034827783703804016, 0.022097138687968254, 0.014890780672430992, 0.06267938762903214, -0.024930106475949287, 0.058854881674051285, -0.0016223160782828927, 0.05269317701458931, -0.013191000558435917, -0.031074102967977524, 0.05081633850932121, 0.0003214753232896328, -0.019600586965680122, 0.021548252552747726, -0.018750697374343872, 0.034863196313381195, 0.014023184776306152, -0.10375740379095078, 0.002328344387933612, 0.05099339783191681, -0.06352927535772324, 0.009791441261768341, 0.026842359453439713, -0.030897041782736778, -0.052055761218070984, -0.015590169467031956, 0.004882440902292728, 0.07075334340333939, 0.021672194823622704, 0.004287075251340866, 0.02953367680311203, -0.02234502322971821, -0.0016046100063249469, -0.0632459819316864, -0.0037470408715307713, 0.0036031794734299183, -0.06923062354326248, 0.10106608271598816, 0.006236953195184469, 0.02137119136750698, -0.010083590634167194, 0.0110928351059556, -0.006723869126290083, 0.02103477716445923, 0.039980240166187286, -0.022008609026670456, -0.04801878333091736, -0.04585864767432213, -0.02616952918469906, 0.030277330428361893, -0.008835314773023129, 0.02177843078970909, 0.0076401568949222565, -0.05425130948424339, -0.02140660397708416, 0.002334984252229333, 0.00621924689039588, 0.05251611769199371, -0.06522905826568604, 0.06030677631497383, 0.032260406762361526, -0.013598239980638027, 0.0067858402617275715, -0.02131807431578636, 0.015156371518969536, -0.06763707846403122, 0.031888581812381744, -0.006582221016287804, 0.013837271369993687, 0.003357507986947894, 0.03856375813484192, 0.02615182287991047, -0.09993289411067963, 0.06076713278889656, 0.02271685004234314, 0.011632869020104408, 0.025868525728583336, 0.02875461056828499, -0.017405038699507713, -0.031392812728881836, 0.014722573570907116, 0.015094400383532047, 0.004302567802369595, 0.02477075159549713, 0.005661506671458483, 0.0039019689429551363, -0.004926706198602915, -0.02443433739244938, -0.04412345588207245, -0.05527826026082039, 0.008317412808537483, -0.0006556768203154206, -0.056765567511320114, -0.008667106740176678, 0.019848471507430077, 0.05981100723147392, -0.060554660856723785, -0.009871117770671844, 0.006573367863893509, -0.00022063386859372258, 0.03410183638334274, -0.02096395194530487, 0.014032037928700447, 0.009986206889152527, -0.0072727566584944725, 0.014217951335012913, -0.023779213428497314, 0.015784936025738716, 0.026683004572987556, 0.017484715208411217, -0.020893128588795662, -0.01880381628870964, 0.022929323837161064, -0.026629885658621788, 0.02489469386637211, -0.0022663732524961233, 0.011384984478354454, -0.02572687715291977, 0.0367223285138607, 0.06321056932210922, -0.005599535536020994, 0.0702221617102623, 0.04065307229757309, 0.011615162715315819, 0.019104817882180214, -0.04150296002626419, -0.05357848107814789, 0.048620790243148804, 0.007578185759484768, -0.0009262472740374506, 0.0033597212750464678, 0.001579157542437315, 0.006387454457581043, 0.042600736021995544, 0.0681682601571083, -0.016094790771603584, 0.015076694078743458, -0.027249597012996674, 0.0367223285138607, -0.10673201829195023, 0.050745513290166855, 0.006564514711499214, 0.05347224324941635, -0.04323815181851387, -0.021141013130545616, -0.02445204369723797, -0.014262216165661812, 0.0025208976585417986, -0.034509073942899704, -0.06112125515937805, -0.041786257177591324, -0.029179556295275688, 0.008277574554085732, -0.048195842653512955, 0.0170863289386034, 0.008675959892570972, 0.01715715415775776, 0.05106422305107117, -0.00294141611084342, 0.008746784180402756, 0.006471558008342981, 0.008153632283210754, 0.021654488518834114, -0.02785160206258297, -0.006254659034311771, -0.036191146820783615, 0.03980318084359169, 0.03721809759736061, 0.026683004572987556, 0.06437916308641434, 0.05141834542155266, 0.02096395194530487, 0.030560627579689026, -0.05396801233291626, -0.041715431958436966, 0.021619075909256935, 0.0013600452803075314, 0.038315873593091965, 0.028099486604332924, -0.07882729917764664, -0.011942724697291851, 0.01499701663851738, -0.0487978495657444, 0.05003727227449417, 0.01647547073662281, -0.019334997981786728, 0.0346861332654953, 0.05619897320866585, -0.0034947299864143133, 0.05648227035999298, -0.05864240974187851, -0.053755540400743484, -0.019901590421795845, -0.04578782245516777, 0.00962323322892189, 0.041255075484514236, 0.009339937008917332, -0.039555296301841736, 0.05956312268972397, 0.007591465022414923, -0.01698894612491131, 0.0028550990391522646, 0.11778058856725693, -0.008839741349220276, -0.005559696815907955, -0.026629885658621788, 0.00675042811781168, 0.015802642330527306, 0.061794083565473557, -0.044654637575149536, -0.037005625665187836, 0.004278222098946571, -0.026435120031237602, -0.062325265258550644, 0.05343683436512947, 0.023336563259363174, -0.06391880661249161, -0.012677525170147419, 0.04033436253666878, 0.031144926324486732, -0.07050545513629913, -0.03307488560676575, -0.011951577849686146, 0.02050359547138214, 0.03994482755661011, -0.0022066154051572084, -0.0011730252299457788, -0.061864908784627914, 0.039236586540937424, 0.01671450212597847, 0.02487698756158352, 0.002476632595062256, -0.030472097918391228, -0.04532746598124504, -0.023212620988488197, -0.020273417234420776, 0.012801467441022396, -0.015687553212046623, -0.03976776823401451, 0.024310395121574402, -0.0034371851943433285, -0.0226991456001997, -0.040440596640110016, -0.013368060812354088, -0.049506090581417084, 0.04801878333091736, -0.03525272756814957, 0.018945464864373207, -0.03498713672161102, 0.04022812470793724, -0.06452081352472305, -0.022805381566286087, 0.05952771008014679, 0.02487698756158352, 0.009366495534777641, 0.03817422315478325, -0.029356615617871284, -0.05403883755207062, -0.06746001541614532, -0.0015902238665148616, -0.023212620988488197, -0.01645776443183422, 0.021920079365372658, -0.04458381235599518, 0.0021900159772485495, -0.0006473771063610911, 0.07323218882083893, 0.00884859450161457, 0.009463879279792309, -0.025549817830324173, -0.007914600893855095, -0.049860212951898575, -0.057225923985242844, 0.01836116425693035, 0.023690683767199516, 0.03647444397211075, 0.023035559803247452, -0.039165765047073364, 0.010605919174849987, -0.001944344607181847, 0.010411152616143227, 0.01882152259349823, 0.004789484199136496, -0.016891563311219215, 0.0377492792904377, 0.03771386668086052, -0.01922876015305519, -0.0035699806176126003, 0.0566239207983017, 0.00817133765667677, 0.02489469386637211, 0.006462704855948687, -0.006591073703020811, 0.06675177812576294, -0.03902411460876465, -0.02949826419353485, -0.0324728786945343, 0.053295183926820755, 0.018077868968248367, -0.015138665214180946, 0.0269485954195261, 0.05871323123574257, -0.009534703567624092, -0.003979432862251997, -0.04532746598124504, 0.02436351217329502, -0.019618293270468712, -0.020450478419661522, 0.010933480225503445, -0.0368993915617466, -0.009419613517820835, -0.00359211303293705, -0.025514405220746994, 0.0037868795916438103, -0.004342406522482634, -0.05138293281197548, -0.09575427323579788, -0.013686769641935825, 0.04582323506474495, 0.05704886466264725, -0.011030863970518112, -0.03567767143249512, 0.03558914363384247, -0.03033044934272766, -0.021141013130545616, 0.019565176218748093, -0.009578968398272991, -0.05265776813030243, -0.0048160431906580925, -0.05570320412516594, 0.018715284764766693, -0.08215603232383728, -0.022610614076256752, -0.026877770200371742, 0.026700710877776146, -0.006971753668040037, 0.0776941105723381, -0.006104157771915197, -0.06328139454126358, -0.049895625561475754, 0.004245023243129253, 0.017263390123844147, -0.004039190709590912, -0.02747977524995804, 0.02875461056828499, 0.019600586965680122, -0.0006197114707902074, 0.02434580586850643, -0.020273417234420776, -0.005506578832864761, -0.020716067403554916, -0.017900807783007622, 0.0007895787712186575, -0.05750922113656998, -0.040405187755823135, 0.006856664549559355, 0.051205869764089584, -0.015333431772887707, -0.0805978998541832, 0.010650184005498886, -0.04971856251358986, 0.03427889570593834, 0.022840792313218117, 0.021158719435334206, 0.03555373102426529, 0.02747977524995804, -0.08442240208387375, -0.0003472043899819255, 0.02438121847808361, -0.005360504146665335, 0.05818205326795578, 0.06328139454126358, -0.049399856477975845, -0.0015083333710208535, 0.011083981953561306, -0.03856375813484192, -0.053330596536397934, 0.0005937056848779321, -0.036226559430360794, -0.021176425740122795, 0.00202512857504189, -0.027940133586525917, 0.022787675261497498, -0.035730790346860886, 0.013872683048248291, 0.008153632283210754, 0.03799716383218765, 0.02179613709449768, 0.03594326227903366, 0.04313191771507263, 0.0082023236900568, 0.06894732266664505, -0.0681682601571083, -0.02262832038104534, 0.022610614076256752, 0.030224211513996124, -0.04359227418899536, -0.08258097618818283, 0.028152605518698692, -0.028506726026535034, 0.01025179773569107, 0.008299706503748894, 0.026665298268198967, 0.02604558691382408, 0.05442837253212929, 0.0132618248462677, 0.04231743887066841, -0.023301150649785995, 0.0074232579208910465, -0.07401125133037567, 0.031817756593227386, -0.054924141615629196, -0.09008833765983582, 0.026293471455574036, -0.03994482755661011, 0.0016831805696710944, 0.009269112721085548, -0.040865544229745865, -0.041750844568014145, -0.010375740006566048, -0.03132198750972748, -0.020326536148786545, 0.03852834552526474, -0.061015017330646515, 0.06551235169172287, 0.0039617265574634075, -0.008923844434320927, -0.024646809324622154, -0.05807581543922424, 0.03034815564751625, -0.028878552839159966, -0.04235285148024559, 0.03895328938961029, 0.006892076693475246, -0.018980875611305237, 0.048160433769226074, -0.0011331866262480617, 0.029285792261362076, -0.04585864767432213, -0.03541208431124687, -0.02446974813938141, -0.01263326033949852, -0.017059771344065666, 0.020220298320055008, -0.02953367680311203, 0.014253363013267517, -0.03289782628417015, 0.03820963576436043, 0.04270697012543678, 0.0070824166759848595, -0.016147909685969353, -0.007702128030359745, 0.039980240166187286, 0.02778077870607376, 0.014191391877830029, -0.03373000770807266, 0.011199071072041988, 0.02740895189344883, -0.0409717783331871, -0.0642729327082634, 0.02992320992052555, 0.0221856702119112, 0.03456219285726547, -0.017812278121709824, 0.05039139464497566, -0.007011592388153076, 0.012367669492959976, -0.044300515204668045, -0.0031229029409587383, -0.051135048270225525, 0.01761751063168049, 0.0036784301046282053, -0.01686500385403633, 0.08286426961421967, 0.03525272756814957, 0.033995598554611206, -0.002328344387933612, 0.04107801616191864, 0.018715284764766693, 0.012491611763834953, -0.0004285415343474597, 0.03498713672161102, -0.03002944588661194, -0.006896503269672394, -0.044725459069013596, -0.0019742236472666264, 0.059740182012319565, 0.01715715415775776, -0.08768031746149063, -0.008830888196825981, -0.019405821338295937, -0.037041038274765015, -0.0019199989037588239, -0.05340142175555229, 0.07592350244522095, 0.018715284764766693, -0.007409978192299604, -0.002259733621031046, -0.0742945522069931, 0.017236830666661263, 0.04444216191768646, 0.009543555788695812, -0.0036120323929935694, 0.026311177760362625, 0.00036297383485361934, -0.053330596536397934, 0.022539790719747543, -0.042600736021995544, 0.07025757431983948, -0.03364147990942001, 0.06788495928049088, 0.03650985658168793, -0.030684569850564003, -0.04667312651872635, -0.024983223527669907, 0.07896894216537476, -0.02526652067899704, 0.0827934518456459, -0.04500875622034073, -0.028913965448737144, 0.11062734574079514, 0.010207532905042171, 0.013775300234556198, 0.011951577849686146, 0.037820104509592056, -0.0020229152869433165, -0.020397359505295753, 0.0312865749001503, -0.019476644694805145, 0.046956419944763184, -0.011207924224436283, -0.021105600520968437, 0.037395160645246506, -0.04061765968799591, -0.04440675303339958, -0.03626197203993797, -0.004160919692367315, -0.030897041782736778, 0.014315334148705006, -0.00041802856139838696, 0.02574458345770836, 0.03682856634259224, 0.004789484199136496, 0.01094233337789774, 0.08428075909614563, -0.03523502126336098, 0.014890780672430992, 0.018343457952141762, -0.03309259191155434, 0.012757202610373497, -0.057225923985242844, 0.00962323322892189, 0.00857857707887888, -0.0044486429542303085, 0.015200636349618435, 0.06604353338479996, -0.06303350627422333, 0.010791832581162453, -0.021672194823622704, 0.012208315543830395, -0.0226991456001997, -0.03891788050532341, -0.020007826387882233, 0.05216199904680252, -0.0028019810561090708, -0.005949229933321476, 0.019848471507430077, 0.037395160645246506, -0.028896259143948555, 0.028913965448737144, -0.018130986019968987, -0.0014773478033021092, -0.05616356432437897, -0.03457989916205406, 0.02905561402440071, -0.0350225493311882, -0.020769186317920685, -0.0030100271105766296, -0.06590188294649124, -0.058890294283628464, 0.0428486205637455, 0.00022990188153926283, -0.034402839839458466, 0.05534908547997475, -0.049045734107494354, 0.03436742722988129, 0.0329863540828228, -0.028099486604332924, -0.0029790415428578854, 0.030472097918391228, -0.06632683426141739, 0.012226021848618984, 0.004811616614460945, 0.042990267276763916, 0.004382245242595673, -0.011535486206412315, -0.0037957325112074614, -0.034509073942899704, -0.04830208048224449, 0.008923844434320927, 0.011464661918580532, -0.06845155358314514, -0.046000294387340546, -0.002492125378921628, -0.01690041646361351, 0.031038690358400345, -0.03133969381451607, 0.03856375813484192, 0.007635730318725109, -0.053259771317243576, -0.07641927152872086, -0.03326965123414993, 0.05021433159708977, -0.05226823315024376, 0.041325900703668594, -0.07029298692941666, 0.03452678024768829, 0.00788804143667221, 0.01832575350999832, 0.01601511426270008, -0.0032202862203121185, 0.047310542315244675, -0.047700073570013046, 0.006391881033778191, 0.01302279345691204, -0.0028396062552928925, -0.04614194482564926, -0.025054048746824265, -0.03983859345316887, -0.03629738464951515, 0.03498713672161102, 0.04656688868999481, 0.0009439533459953964, 0.021158719435334206, 0.0026891049928963184, 0.005750036798417568, -0.013624798506498337, 0.018732991069555283, -0.046071119606494904, -0.005754463374614716, 0.046814773231744766, -0.04075930640101433, -0.035341259092092514, 0.0179362203925848, 0.07195734977722168, 0.060129716992378235, 0.008507752791047096, 0.0090123750269413, 0.029214968904852867, -0.0634230375289917, 0.021087894216179848, 0.03256141021847725, 0.037465982139110565, 0.057615458965301514, -0.03803257644176483, 0.018662167713046074, -0.025142578408122063, -0.005683639086782932, 0.0004171986074652523, 0.017537834122776985, 0.011287601664662361, -0.04160919785499573, 0.04592946916818619, 0.009481584653258324, 0.017130594700574875, -0.020308829843997955, 0.00836610421538353, -0.012766055762767792, -0.04189249500632286, 0.029870091006159782, -0.009933088906109333, -0.004807190038263798, -0.006179408170282841, -0.012403082102537155, 0.010119002312421799, 0.007321448065340519, -0.03767845407128334, 0.04483169689774513, -0.09115070104598999, -0.06292726844549179, 0.04787713661789894, -0.05170163884758949, 0.007941159419715405, 0.047345954924821854, -0.02222108095884323, 0.021973196417093277, -0.024151040241122246, 0.014235656708478928, -0.024168746545910835, -0.02016718126833439, 0.02995862253010273, 0.002733370056375861, 0.05464084446430206, 0.013226413168013096, 0.027639130130410194, -0.0013157802168279886, -0.01843198947608471, 0.04780631139874458, 0.06930144876241684, 0.013252971693873405, 0.012881144881248474, -0.009304524399340153, 0.029392028227448463, -0.016333822160959244, 0.04362768679857254, 0.02786930836737156, -0.014704867266118526, -0.030578333884477615, 0.04373392090201378, -0.00008341205102624372, 0.018254928290843964, -0.06583105772733688, -0.0055198585614562035, -0.0008321839268319309, -0.05085175111889839, -0.016590559855103493, 0.01155319157987833, -0.010420004837214947, 0.029763855040073395, -0.03256141021847725, 0.021229542791843414, 0.02351362258195877, 0.022504378110170364, -0.021743018180131912, -0.01542196236550808, 0.04309650510549545, 0.004785057622939348, 0.05874864384531975, 0.017555540427565575, 0.0044840550981462, 0.01965370588004589, -0.0005223281914368272, 0.009508144110441208, 0.0008958150283433497, 0.024699928238987923, -0.03902411460876465, -0.0001871583954198286, -0.024717632681131363, 0.05439295992255211, -0.05913817882537842, -0.01878610998392105, -0.05821746215224266, -0.009393054991960526, -0.06459163874387741, 0.01885693334043026, 0.017537834122776985, 0.02994091622531414, 0.05403883755207062, 0.07783576101064682, 0.07238229364156723 ]
16,363
presidio_analyzer.context_aware_enhancers.lemma_context_aware_enhancer
_add_n_words
Prepare a string of context words. Return a list of words which surrounds a lemma at a given index. The words will be collected only if exist in the filtered array :param index: index of the lemma that its surrounding words we want :param n_words: number of words to take :param lemmas: array of lemmas :param lemmatized_filtered_keywords: the array of filtered lemmas from the original sentence, :param is_backward: if true take the preceeding words, if false, take the successing words
@staticmethod def _add_n_words( index: int, n_words: int, lemmas: List[str], lemmatized_filtered_keywords: List[str], is_backward: bool, ) -> List[str]: """ Prepare a string of context words. Return a list of words which surrounds a lemma at a given index. The words will be collected only if exist in the filtered array :param index: index of the lemma that its surrounding words we want :param n_words: number of words to take :param lemmas: array of lemmas :param lemmatized_filtered_keywords: the array of filtered lemmas from the original sentence, :param is_backward: if true take the preceeding words, if false, take the successing words """ i = index context_words = [] # The entity itself is no interest to us...however we want to # consider it anyway for cases were it is attached with no spaces # to an interesting context word, so we allow it and add 1 to # the number of collected words # collect at most n words (in lower case) remaining = n_words + 1 while 0 <= i < len(lemmas) and remaining > 0: lower_lemma = lemmas[i].lower() if lower_lemma in lemmatized_filtered_keywords: context_words.append(lower_lemma) remaining -= 1 i = i - 1 if is_backward else i + 1 return context_words
(index: int, n_words: int, lemmas: List[str], lemmatized_filtered_keywords: List[str], is_backward: bool) -> List[str]
[ -0.03285235911607742, 0.010142339393496513, -0.04325193539261818, -0.002730806590989232, 0.04666946083307266, 0.0018086712807416916, -0.001119653694331646, -0.029986048117280006, 0.05339427292346954, -0.024529026821255684, -0.02985743060708046, 0.021313611418008804, -0.029306216165423393, -0.01492871530354023, -0.03472648933529854, -0.015930088236927986, 0.008897514082491398, 0.010812983848154545, -0.004476317670196295, -0.04604475200176239, 0.011015094816684723, 0.02006419375538826, -0.008699996396899223, 0.025208858773112297, -0.0004269038327038288, -0.029067358002066612, 0.01997232437133789, -0.012567681260406971, -0.02105637826025486, 0.014809285290539265, -0.019090382382273674, -0.024676017463207245, 0.01925574615597725, -0.04674295708537102, -0.005714253056794405, -0.06489627063274384, 0.011860290542244911, -0.008052319288253784, -0.00524112768471241, -0.031217092648148537, 0.007965044118463993, -0.0062700603157281876, 0.03762954846024513, 0.014386688359081745, -0.03244813531637192, -0.024455532431602478, -0.029655318707227707, 0.07397293299436569, -0.007657282520085573, 0.010381199419498444, 0.002919137943536043, -0.08591590821743011, 0.044795334339141846, -0.05537864565849304, 0.0031419203151017427, -0.004983894061297178, -0.05864918231964111, -0.032246023416519165, 0.07930133491754532, -0.024216672405600548, 0.0172070674598217, 0.012549308128654957, 0.029986048117280006, 0.025521213188767433, -0.03965066745877266, -0.007262245751917362, 0.009719742462038994, 0.017850149422883987, 0.05776723846793175, 0.014028399251401424, -0.014754164032638073, -0.00002969594243040774, 0.01696820743381977, 0.019623221829533577, -0.015103266574442387, 0.027266724035143852, -0.028093544766306877, 0.02057866007089615, 0.022599779069423676, 0.03628826141357422, -0.00995860155671835, 0.003580594900995493, 0.012402317486703396, -0.024694392457604408, 0.05129965767264366, 0.043545912951231, -0.0176021046936512, -0.02276514284312725, 0.016527235507965088, -0.08275561034679413, -0.07246628403663635, 0.044979069381952286, 0.03450600430369377, -0.004122622311115265, -0.01925574615597725, 0.016168946400284767, 0.0016168947331607342, -0.043803147971630096, -0.018511606380343437, -0.00482771685346961, 0.0063389623537659645, 0.06548423320055008, 0.0046646492555737495, 0.004460240714251995, 0.031547822058200836, -0.03051888756453991, -0.07658201456069946, -0.06100102886557579, 0.03028002753853798, 0.0333484522998333, -0.07445064932107925, -0.08856173604726791, 0.06030282378196716, -0.03656386956572533, -0.022030189633369446, 0.014919528737664223, -0.010096404701471329, 0.021331986412405968, 0.016922272741794586, -0.013688483275473118, 0.049756258726119995, -0.0730542466044426, -0.04148804768919945, -0.04997674748301506, 0.0025907063391059637, 0.03432226553559303, -0.001174200908280909, -0.026752257719635963, 0.07863987982273102, -0.04600800573825836, -0.04281096160411835, -0.0029489954467862844, 0.031161971390247345, 0.008038539439439774, -0.002402374753728509, -0.04971951246261597, -0.0325583815574646, 0.017216254025697708, -0.030463766306638718, 0.006917736958712339, 0.00898019690066576, 0.01447855681180954, 0.03571867570281029, 0.018575916066765785, -0.09745465219020844, -0.006453798618167639, -0.004627901595085859, 0.014349940232932568, -0.0013688483741134405, -0.005989859811961651, 0.029085731133818626, -0.02541097067296505, -0.031823426485061646, -0.03638013079762459, -0.00230591231957078, 0.022122059017419815, 0.005002268124371767, -0.06449204683303833, 0.020523538812994957, -0.01390896923840046, 0.01921899802982807, -0.03081286884844303, -0.1109042763710022, 0.07257652282714844, -0.024473905563354492, -0.0008136149845086038, 0.05166713520884514, 0.006146037485450506, -0.03865848109126091, 0.010133152827620506, 0.008157968521118164, 0.03487347811460495, 0.025668203830718994, 0.019329240545630455, -0.02291213348507881, 0.07930133491754532, -0.04869057983160019, 0.015443181619048119, 0.015700414776802063, 0.0017753688152879477, -0.04395013675093651, 0.0008423240506090224, -0.049241792410612106, -0.1056126207113266, -0.0017305826768279076, 0.01784096285700798, -0.023628711700439453, 0.07849288731813431, 0.02039492130279541, 0.04453809931874275, -0.022838637232780457, -0.06813006103038788, 0.06478603184223175, 0.0004966668784618378, -0.06136850267648697, 0.04159829020500183, -0.037886783480644226, 0.01883314922451973, -0.0007257652468979359, -0.02228742279112339, -0.03685785084962845, 0.06757885217666626, 0.008957229554653168, -0.0047725955955684185, 0.04736766591668129, 0.008502477779984474, -0.08687134087085724, 0.04773514345288277, -0.11127175390720367, -0.01762966439127922, 0.03766629844903946, -0.048947811126708984, 0.03540632128715515, 0.037317194044589996, 0.016977393999695778, -0.03294422850012779, 0.030353523790836334, 0.06570471823215485, -0.001909727230668068, -0.04292120411992073, 0.01907200738787651, -0.015461555682122707, 0.013017839752137661, -0.008410608395934105, 0.02564982883632183, -0.016665039584040642, 0.05703228712081909, 0.03898921236395836, -0.008488696999847889, 0.006481359247118235, -0.008819425478577614, -0.012062402442097664, -0.010289330035448074, 0.013495558872818947, 0.035939160734415054, -0.06813006103038788, 0.023830823600292206, 0.01024339534342289, 0.03270537033677101, -0.02778119035065174, -0.04791887849569321, -0.012007280252873898, -0.004937959834933281, 0.03810726851224899, -0.014313193038105965, 0.037023212760686874, 0.027432087808847427, -0.008943448774516582, 0.015314565040171146, 0.030923111364245415, -0.04336217790842056, -0.010665993206202984, -0.03340357542037964, -0.012613615952432156, 0.013082148507237434, 0.015553425066173077, -0.023867571726441383, 0.01016990002244711, -0.023536842316389084, -0.061405252665281296, 0.04214950650930405, -0.011603057384490967, -0.03336682543158531, 0.022746769711375237, -0.024547401815652847, 0.018456485122442245, 0.022691646590828896, 0.021515723317861557, -0.0045475163497030735, -0.01384466141462326, 0.009072065353393555, 0.04964601621031761, 0.018787214532494545, -0.004478614777326584, -0.034616246819496155, 0.01883314922451973, 0.007344928104430437, 0.029232721775770187, -0.08209415525197983, 0.040385618805885315, 0.008415201678872108, 0.009283363819122314, -0.06070704758167267, 0.022636525332927704, 0.023408224806189537, 0.024620896205306053, -0.003624232718721032, 0.013422063551843166, 0.014965463429689407, -0.06063355132937431, 0.013045400381088257, -0.014965463429689407, 0.0930449441075325, -0.005117104388773441, 0.014827659353613853, -0.0088010523468256, -0.0260724276304245, 0.015130827203392982, 0.003895246423780918, -0.006917736958712339, 0.008323333226144314, 0.031014980748295784, 0.03628826141357422, -0.039209697395563126, -0.02162596769630909, -0.03781328722834587, 0.004786375910043716, -0.012191019020974636, 0.044501353055238724, -0.044501353055238724, -0.05515815690159798, -0.0015330641763284802, 0.0026366407983005047, -0.042186252772808075, 0.004161666613072157, 0.0012184128863736987, 0.021093126386404037, -0.00824524462223053, 0.0037229920271784067, 0.07511211186647415, 0.050086989998817444, -0.042516980320215225, 0.010739488527178764, 0.006756966467946768, 0.031492698937654495, -0.045309800654649734, 0.04964601621031761, -0.058465443551540375, 0.03746418654918671, -0.07915434241294861, 0.009885106235742569, -0.012530934065580368, -0.047955628484487534, -0.014331567101180553, -0.08077123761177063, -0.0574365109205246, 0.03310959413647652, -0.02096451073884964, 0.014570426195859909, -0.035939160734415054, -0.014101894572377205, 0.026054052636027336, -0.07614104449748993, 0.027744444087147713, 0.06691738963127136, -0.018419738858938217, 0.018419738858938217, 0.0008325629751197994, 0.023738954216241837, 0.019770212471485138, 0.008093660697340965, -0.044170625507831573, 0.015250257216393948, -0.0016513456357643008, 0.02895711362361908, 0.04387664422392845, -0.02313261851668358, 0.019696718081831932, -0.010206648148596287, -0.019237373024225235, -0.012034840881824493, -0.0004777188878506422, 0.015222696587443352, 0.07187832146883011, -0.002109542256221175, -0.008984790183603764, 0.005172225646674633, 0.008865360170602798, -0.011042656376957893, -0.028148667886853218, 0.024951625615358353, -0.03614127263426781, 0.058134716004133224, 0.05159363895654678, 0.05133640766143799, -0.015838218852877617, -0.04534654691815376, -0.0021026520989835262, -0.042369991540908813, 0.06923249363899231, -0.03231951966881752, 0.019053634256124496, 0.04240673780441284, -0.011575495824217796, 0.015764722600579262, -0.002363330451771617, 0.03432226553559303, -0.008107440546154976, 0.008428982459008694, 0.01639861986041069, -0.01052818913012743, -0.015718789771199226, -0.011603057384490967, -0.003167184302583337, -0.025484465062618256, -0.03564517945051193, -0.05126291140913963, -0.019862081855535507, -0.018245186656713486, 0.009609499014914036, 0.017666412517428398, 0.03209903463721275, -0.05192437022924423, 0.038070522248744965, -0.07224579900503159, 0.04361940920352936, -0.04042236879467964, 0.05886966735124588, -0.05824495851993561, 0.040018144994974136, -0.0340099111199379, 0.0173356831073761, 0.025943810120224953, -0.039246443659067154, -0.02063378132879734, -0.03028002753853798, 0.04339892417192459, 0.018401363864541054, -0.04082659259438515, 0.06184622272849083, 0.04123081639409065, -0.07191506773233414, 0.05258582532405853, 0.04556703194975853, -0.0017076153308153152, -0.014028399251401424, -0.044648341834545135, -0.06533724814653397, -0.03553493693470955, -0.0694897249341011, -0.02081752009689808, -0.016077078878879547, -0.02711973339319229, -0.023059124127030373, -0.027928180992603302, -0.01772153377532959, -0.020321426913142204, 0.01817169226706028, 0.010362825356423855, 0.023647084832191467, 0.031584568321704865, -0.005140071734786034, 0.03562680631875992, 0.08606289327144623, 0.039209697395563126, -0.022801890969276428, -0.02157084457576275, -0.006527293939143419, -0.025851940736174583, -0.010417946614325047, 0.02919597364962101, 0.05394548550248146, -0.012347196228802204, 0.029122479259967804, 0.07665550708770752, 0.013302633538842201, -0.0012505670310929418, -0.0050206417217850685, -0.0050206417217850685, 0.0737157016992569, 0.03909945487976074, 0.05126291140913963, -0.005103324074298143, 0.06787282973527908, 0.008658654987812042, 0.010114778764545918, -0.023959439247846603, -0.027799565345048904, -0.031547822058200836, -0.009949414990842342, 0.024382038041949272, -0.03209903463721275, 0.01736324466764927, -0.07261326909065247, 0.049388784915208817, -0.01315564289689064, -0.05001349374651909, -0.04391339048743248, 0.08944367617368698, -0.013302633538842201, 0.017069263383746147, 0.012172644957900047, 0.03220927715301514, -0.0024551996029913425, -0.07650851458311081, 0.004956333432346582, 0.019182251766324043, -0.0391729474067688, 0.05273281782865524, 0.011162085458636284, 0.008805645629763603, 0.019898829981684685, 0.07856638729572296, 0.01585659198462963, -0.003061535069718957, -0.009480882436037064, -0.012145084328949451, 0.0199172031134367, 0.0680198222398758, 0.05001349374651909, -0.029728814959526062, -0.011015094816684723, -0.012778980657458305, -0.04067960008978844, 0.03876872733235359, 0.036655738949775696, -0.052365340292453766, -0.007464357651770115, -0.012191019020974636, -0.07070239633321762, -0.029563449323177338, -0.04582426697015762, 0.07533259689807892, -0.0270646121352911, -0.0033095814287662506, -0.02261815220117569, -0.044317614287137985, 0.025962185114622116, 0.06331612914800644, 0.0292510949075222, 0.0005825069965794683, 0.020431669428944588, -0.041708532720804214, -0.07650851458311081, 0.02745046280324459, -0.015957647934556007, -0.00853003840893507, -0.0481761135160923, 0.032062288373708725, 0.035332825034856796, -0.02111149951815605, 0.024620896205306053, 0.0209093876183033, 0.002265719696879387, 0.04031212627887726, 0.023408224806189537, 0.0005604010075330734, -0.053725000470876694, 0.104289710521698, 0.03498372063040733, -0.0009663472301326692, -0.06383059173822403, -0.033293332904577255, -0.0244187843054533, -0.005181412678211927, 0.08687134087085724, -0.006095509510487318, -0.0035048029385507107, -0.041047077625989914, 0.015443181619048119, -0.04869057983160019, 0.008121221326291561, -0.05607684701681137, 0.04159829020500183, 0.0693427324295044, -0.04519955813884735, 0.010197460651397705, -0.02015606313943863, -0.004168556537479162, 0.04971951246261597, -0.018006326630711555, -0.03619639202952385, 0.033146340399980545, -0.03715183213353157, -0.011088590137660503, 0.05886966735124588, -0.014864407479763031, -0.02838752605021, -0.026348033919930458, 0.027082987129688263, 0.048580337315797806, -0.03965066745877266, -0.046926695853471756, -0.03171318396925926, -0.0640510767698288, 0.03865848109126091, -0.001203484134748578, -0.046485722064971924, 0.05677505210042, -0.00461182463914156, 0.004228271543979645, 0.05787748098373413, 0.03553493693470955, -0.0004114009498152882, 0.06261792033910751, 0.02745046280324459, 0.005801528692245483, 0.04600800573825836, -0.00349561613984406, 0.018961764872074127, -0.01471741683781147, 0.035700298845767975, 0.057656995952129364, -0.010785422287881374, 0.01883314922451973, 0.010849731042981148, -0.025815194472670555, -0.01817169226706028, -0.013072961010038853, 0.006407863926142454, 0.0036035622470080853, -0.017427552491426468, -0.012319635599851608, 0.1155344769358635, 0.030077915638685226, 0.03364243358373642, -0.011906224302947521, 0.001902837073430419, -0.032246023416519165, -0.0022278237156569958, -0.04295795410871506, -0.0070739141665399075, 0.02730347216129303, -0.019384363666176796, -0.057510003447532654, -0.013091335073113441, -0.01672934740781784, 0.019898829981684685, 0.09796912223100662, -0.005227346904575825, 0.02612754888832569, -0.018603475764393806, -0.009536003693938255, -0.008989383466541767, 0.0010685515590012074, -0.01739080436527729, 0.0092971445992589, -0.023022376000881195, -0.02096451073884964, -0.003656386863440275, -0.0287182554602623, 0.03294422850012779, 0.03744581341743469, -0.05655456706881523, -0.016407806426286697, 0.09194251149892807, 0.028571264818310738, -0.008121221326291561, -0.03647200018167496, 0.02588868886232376, -0.05324728414416313, 0.037556055933237076, -0.024124804884195328, -0.039540424942970276, -0.02772606909275055, 0.06702763587236404, 0.01774909347295761, -0.024492280557751656, 0.021515723317861557, 0.038254257291555405, -0.01485521998256445, -0.0022037080489099026, 0.00049838941777125, -0.018493233248591423, 0.008640280924737453, 0.0013447327073663473, -0.02384919673204422, 0.011759234592318535, 0.004623308312147856, -0.0798158049583435, 0.049903251230716705, -0.024859756231307983, 0.02219555526971817, -0.05559913069009781, -0.0067202188074588776, -0.0009537152363918722, 0.05773049220442772, 0.0019143206300213933, 0.051740631461143494, -0.008778085000813007, 0.02625616453588009, -0.01655479706823826, 0.031639691442251205, 0.03943018242716789, 0.02171783521771431, 0.05232859402894974, -0.01341287698596716, 0.013431250117719173, 0.023261236026883125, -0.04953577369451523, 0.030169785022735596, -0.008176342584192753, 0.029728814959526062, -0.028332404792308807, -0.017978766933083534, 0.025006746873259544, -0.014019211754202843, 0.020505165681242943, 0.008943448774516582, -0.011033468879759312, -0.07059215009212494, 0.008911294862627983, 0.0021795923821628094, 0.008608127012848854, 0.03250325843691826, 0.04130430892109871, -0.028571264818310738, -0.054533448070287704, 0.027615826576948166, -0.020560286939144135, 0.0475146546959877, 0.040385618805885315, 0.00475422153249383, -0.027854686602950096, -0.038878969848155975, -0.024676017463207245, -0.01691308617591858, -0.021368732675909996, -0.05159363895654678, 0.03680272772908211, 0.0024184519425034523, 0.000568152463529259, 0.049425531178712845, 0.004336217418313026, 0.00639867689460516, -0.02853451669216156, 0.010923226363956928, 0.03384454548358917, 0.009591125883162022, -0.029967673122882843, 0.08547493070363998, 0.02711973339319229, 0.0028663133271038532, 0.003888356266543269, -0.06798307597637177, -0.04321518540382385, -0.010427133180201054, 0.009637059643864632, -0.02757907845079899, -0.08812075853347778, -0.04747790843248367, -0.007671062834560871, 0.022177180275321007, 0.032815612852573395, 0.04835985228419304, 0.01817169226706028, -0.0035116930957883596, -0.030592383816838264, -0.05655456706881523, -0.009287958033382893, 0.038254257291555405, 0.049572523683309555, -0.029986048117280006, -0.008837799541652203, -0.002168108709156513, 0.018722906708717346, 0.04766164720058441, 0.0014676075661554933, 0.008718369528651237, -0.04880082234740257, 0.06261792033910751, 0.004483208060264587, 0.011143711395561695, -0.025282353162765503, 0.013174016959965229, 0.035516563802957535, 0.07628802955150604, -0.0574365109205246, -0.030261654406785965, -0.03402828425168991, 0.019182251766324043, -0.05045446380972862, 0.02796492911875248, 0.04262722283601761, 0.0075102923437952995, 0.027082987129688263, 0.04174528270959854, 0.046632714569568634 ]
16,364
presidio_analyzer.context_aware_enhancers.lemma_context_aware_enhancer
_add_n_words_backward
null
def _add_n_words_backward( self, index: int, n_words: int, lemmas: List[str], lemmatized_filtered_keywords: List[str], ) -> List[str]: return self._add_n_words( index, n_words, lemmas, lemmatized_filtered_keywords, True )
(self, index: int, n_words: int, lemmas: List[str], lemmatized_filtered_keywords: List[str]) -> List[str]
[ -0.07135186344385147, 0.04966511204838753, -0.05718693509697914, -0.011106989346444607, -0.012372341938316822, 0.007636054884642363, -0.041756656020879745, -0.0042573860846459866, 0.03458632156252861, -0.048856694251298904, -0.013268633745610714, 0.028400149196386337, -0.002074871677905321, -0.015544512309134007, 0.02100134827196598, 0.011906621977686882, -0.024885280057787895, 0.02347933128476143, 0.0007655826047994196, -0.04762648791074753, -0.007662416435778141, -0.006867177318781614, -0.018453067168593407, 0.011115776374936104, -0.0007672302308492362, -0.02961277961730957, 0.022987250238656998, -0.0013510280987247825, -0.039753179997205734, 0.020175352692604065, -0.03662494570016861, -0.04523637518286705, 0.012600808404386044, -0.05774931237101555, 0.022758783772587776, -0.04263537377119064, 0.005228369031101465, 0.001580593059770763, 0.04140516743063927, -0.0032358772587031126, 0.07289840281009674, 0.008062233217060566, 0.0558512844145298, 0.01664290949702263, -0.0040552811697125435, 0.001042927848175168, -0.046466581523418427, 0.03725762292742729, -0.015236961655318737, 0.028575893491506577, -0.0074251629412174225, -0.08498955518007278, 0.05957704409956932, -0.021387983113527298, 0.019068170338869095, -0.001303797122091055, -0.03103630244731903, -0.028575893491506577, 0.07395286113023758, -0.028786784037947655, 0.018505791202187538, -0.025061022490262985, 0.03511355072259903, 0.0010967492125928402, -0.013136826455593109, -0.0006656285258941352, 0.03209076449275017, -0.0210892204195261, 0.04622054100036621, 0.00660356180742383, 0.007785437162965536, 0.04435765743255615, 0.011994494125247002, -0.005303060170263052, -0.01509636640548706, 0.005478803534060717, 0.015368768945336342, 0.04994630068540573, -0.030122434720396996, 0.03476206213235855, -0.01917361654341221, -0.004048690665513277, -0.04941907152533531, -0.02175704576075077, 0.01660776138305664, 0.00994708202779293, -0.036870986223220825, -0.05117650702595711, -0.018540939316153526, -0.09258167445659637, -0.08513014763593674, -0.02597488835453987, 0.011326668784022331, -0.03342641517519951, -0.004499033559113741, -0.03862842172384262, -0.007073675747960806, -0.05163343995809555, -0.02073773182928562, 0.030245456844568253, 0.016484739258885384, 0.004991115536540747, -0.015544512309134007, 0.0102546326816082, 0.06520083546638489, -0.02650211937725544, -0.08759056031703949, -0.08196676522493362, -0.0328640341758728, 0.009569233283400536, -0.04267052188515663, -0.058276545256376266, 0.0817558765411377, -0.04154576361179352, -0.010764289647340775, 0.04477944225072861, -0.0053162407130002975, -0.007930424995720387, 0.04720470309257507, 0.03237195312976837, 0.062037453055381775, -0.057327527552843094, -0.04456854984164238, -0.02251274138689041, -0.006085118744522333, 0.04527152329683304, -0.0022605007980018854, -0.007398801390081644, 0.0889965072274208, -0.04087793827056885, -0.04738044738769531, 0.010975181125104427, -0.028171682730317116, 0.01957782544195652, -0.008778387680649757, 0.006484935060143471, -0.028663763776421547, 0.02135283499956131, -0.0027943216264247894, -0.009472574107348919, -0.003793862648308277, 0.02446349523961544, 0.0820370614528656, 0.046009648591279984, -0.07163304835557938, 0.005421686917543411, -0.029735799878835678, 0.032600417733192444, -0.023901116102933884, -0.0072713871486485004, 0.024182304739952087, 0.010157974436879158, -0.030263030901551247, -0.052547305822372437, -0.014525200240314007, 0.015588448382914066, -0.036378905177116394, -0.011537560261785984, 0.01309289038181305, 0.006436605472117662, 0.03363730385899544, 0.003760910825803876, -0.07381226867437363, 0.016300208866596222, -0.03337369114160538, 0.0022517135366797447, 0.07507762312889099, 0.015157876536250114, -0.039577435702085495, 0.01572025567293167, 0.004101413767784834, 0.03086055815219879, 0.03521899878978729, 0.019560251384973526, -0.0494542196393013, 0.01735467091202736, -0.032512545585632324, 0.00031249391031451523, 0.023250864818692207, 0.011897834949195385, -0.0523715615272522, -0.01325105968862772, -0.028821934014558792, -0.11388178914785385, 0.02175704576075077, -0.0007661317940801382, -0.06787213683128357, 0.09940052032470703, 0.023690223693847656, 0.007671203464269638, 0.008154498413205147, -0.04892699047923088, 0.09335494786500931, -0.01806643232703209, -0.061193887144327164, -0.013593759387731552, -0.0003295190690550953, 0.049700260162353516, 0.027292964980006218, -0.05219581723213196, -0.0318622961640358, 0.06787213683128357, 0.0014608678175136447, -0.02463923767209053, 0.018751831725239754, -0.018716681748628616, -0.05564039200544357, 0.03129991516470909, -0.04875124618411064, -0.00358956097625196, 0.062494389712810516, 0.0072494191117584705, 0.02432290092110634, 0.009762551635503769, -0.037222471088171005, -0.08217766135931015, 0.0261857807636261, 0.034199684858322144, 0.04931362718343735, -0.03444572538137436, 0.0046967449598014355, -0.009200172498822212, -0.0097449766471982, -0.02827712893486023, 0.016133252531290054, -0.008031478151679039, 0.03432270511984825, 0.016273848712444305, -0.017293160781264305, 0.006256468594074249, -0.014094628393650055, 0.018189452588558197, -0.037011582404375076, -0.013857374899089336, 0.049524515867233276, -0.04224873706698418, -0.03094843029975891, -0.03532444313168526, 0.05564039200544357, -0.01094003301113844, -0.026800883933901787, -0.010518248192965984, -0.017635859549045563, 0.04115912690758705, 0.011221222579479218, 0.06414637714624405, 0.02303997240960598, -0.011686942540109158, 0.0028075024019926786, 0.04021011292934418, -0.01340922899544239, 0.007403194904327393, -0.015588448382914066, 0.023162992671132088, -0.01209993939846754, 0.04811856895685196, -0.021862491965293884, -0.038558121770620346, -0.01748647727072239, -0.06607955694198608, 0.05029778927564621, 0.013470739126205444, -0.05448048561811447, -0.005254730582237244, 0.0048724883235991, 0.008672941476106644, 0.024850130081176758, -0.00011883280967595056, -0.010087676346302032, 0.022706059738993645, 0.03968288004398346, 0.02175704576075077, -0.01624748669564724, 0.003165579866617918, -0.03328581899404526, 0.03583410009741783, 0.02623850479722023, 0.0210892204195261, -0.040069516748189926, 0.031018726527690887, 0.030473923310637474, -0.010263420641422272, -0.021915214136242867, 0.020579563453793526, 0.031809572130441666, 0.05233641341328621, 0.026625139638781548, 0.01824217475950718, -0.005544707179069519, -0.0567300021648407, 0.08224795758724213, -0.031141748651862144, 0.10804710537195206, -0.002488967264071107, -0.004516608081758022, -0.03504325449466705, 0.00436063576489687, 0.024164730682969093, 0.002789928112179041, 0.006203745491802692, -0.023602351546287537, -0.017591923475265503, 0.03680068999528885, -0.021950362250208855, -0.009815274737775326, -0.06811817735433578, 0.00872127152979374, 0.010773076675832272, 0.014744879677891731, -0.028611041605472565, -0.07103551924228668, -0.030649665743112564, -0.04115912690758705, -0.03307492658495903, 0.007034133654087782, -0.025500381365418434, 0.009507723152637482, -0.01376071572303772, -0.010043741203844547, 0.06491965055465698, 0.021985512226819992, -0.07760833203792572, -0.026695437729358673, -0.024885280057787895, -0.014182500541210175, -0.01329499576240778, 0.021335260942578316, -0.04119427502155304, 0.013180762529373169, -0.08534104377031326, 0.04070219397544861, -0.029841246083378792, -0.03165140375494957, -0.011388178914785385, -0.07402316480875015, -0.028488021343946457, 0.06513053923845291, 0.005166858900338411, 0.01054461020976305, -0.008580676279962063, -0.041791804134845734, 0.04017496481537819, -0.05483197048306465, 0.007930424995720387, 0.04122942313551903, 0.024832556024193764, 0.009200172498822212, 0.014112202450633049, 0.00741198193281889, 0.016774717718362808, 0.016484739258885384, -0.0381011888384819, -0.047696784138679504, 0.02411200851202011, 0.024850130081176758, 0.049524515867233276, -0.017969772219657898, 0.04302200675010681, -0.003930063918232918, -0.03581652417778969, -0.06903204321861267, 0.009244107641279697, -0.008084201253950596, 0.08541133999824524, 0.03455117344856262, -0.0159311480820179, 0.002016656566411257, 0.0005417842767201364, -0.01770615763962269, -0.017644647508859634, 0.030210306867957115, -0.04133487120270729, 0.07054343819618225, 0.0825994461774826, 0.010061315260827541, -0.02411200851202011, -0.020983774214982986, 0.009173810482025146, -0.020386245101690292, 0.03725762292742729, -0.06618500500917435, -0.014085841365158558, 0.012495363131165504, 0.0002445305872242898, 0.05564039200544357, 0.05873347818851471, 0.019525103271007538, -0.043478939682245255, 0.016370506957173347, -0.012293257750570774, 0.00017656729323789477, -0.014296733774244785, -0.01963054947555065, 0.022178828716278076, -0.015737829729914665, 0.0017684189369902015, -0.047345299273729324, -0.013180762529373169, -0.012996232137084007, 0.015544512309134007, -0.004753861576318741, 0.026800883933901787, -0.08400539308786392, 0.06934838742017746, -0.07444494217634201, 0.0514928437769413, -0.03202046453952789, 0.07054343819618225, -0.05184433236718178, 0.013233485631644726, -0.04502548277378082, 0.022038234397768974, -0.007833766750991344, -0.025992464274168015, 0.019612973555922508, -0.014955772086977959, 0.01905059441924095, 0.005355783272534609, -0.03086055815219879, 0.0398586243391037, 0.03581652417778969, -0.04070219397544861, 0.0412997230887413, 0.028066236525774002, 0.03467419371008873, -0.005443654954433441, -0.05687059462070465, -0.020087482407689095, -0.034023940563201904, -0.03245982527732849, 0.027064498513936996, -0.007974361069500446, 0.012600808404386044, -0.018365195021033287, -0.030561793595552444, -0.0011928590247407556, -0.005984066054224968, -0.01498213317245245, 0.015922360122203827, 0.019525103271007538, -0.002319814171642065, -0.02699420042335987, 0.010245845653116703, 0.028294702991843224, 0.04966511204838753, 0.003088691970333457, 0.03196774050593376, -0.011669368483126163, -0.009156236425042152, -0.013769502751529217, 0.010280994698405266, 0.0412997230887413, -0.027363263070583344, 0.015280896797776222, 0.06259983032941818, -0.0036488743498921394, -0.003132627811282873, -0.04607994481921196, 0.015658745542168617, 0.0736013799905777, 0.04671262204647064, 0.0462556891143322, -0.021827341988682747, 0.06003398075699806, 0.013136826455593109, 0.031809572130441666, 0.0013806849019601941, -0.05026264116168022, -0.008246763609349728, 0.011845111846923828, -0.0035653961822390556, -0.029366739094257355, 0.008448868989944458, -0.06769639253616333, 0.05363691598176956, -0.0018453067168593407, -0.027714749798178673, -0.04773193225264549, 0.08182617276906967, -0.02437562309205532, 0.014832750894129276, 0.020491691306233406, -0.009261682629585266, 0.021106794476509094, -0.049876004457473755, 0.03014001064002514, 0.01926148682832718, -0.02251274138689041, 0.05803050473332405, 0.028646189719438553, 0.021282536908984184, -0.006735369563102722, 0.04354923963546753, 0.054621078073978424, -0.030966004356741905, -0.021458281204104424, -0.02752143144607544, -0.0009753764024935663, 0.06839936971664429, 0.06558747589588165, -0.01467458251863718, -0.005267911124974489, -0.03576380014419556, -0.03166897967457771, 0.006010427605360746, 0.02929644100368023, -0.04889184236526489, 0.009850422851741314, -0.013549823313951492, -0.0700865089893341, -0.016194762662053108, -0.02175704576075077, 0.04080764204263687, 0.018031282350420952, -0.00013805476191919297, -0.03831208124756813, -0.06586866080760956, 0.010026166215538979, 0.06555232405662537, 0.05100076273083687, 0.00046599487541243434, 0.044990334659814835, -0.031247194856405258, -0.08681728690862656, 0.04063189774751663, -0.04045615345239639, -0.011291519738733768, -0.041756656020879745, 0.05757356807589531, 0.015061217360198498, -0.02233699895441532, 0.025025874376296997, 0.03156353160738945, -0.021511003375053406, 0.02871648781001568, 0.01054461020976305, 0.0006189466221258044, 0.011388178914785385, 0.06832907348871231, 0.004323290195316076, -0.01289957296103239, -0.042143288999795914, -0.023075120523571968, -0.05194977670907974, -0.04674777016043663, 0.07395286113023758, -0.028400149196386337, -0.02330358698964119, -0.02330358698964119, 0.02446349523961544, -0.0881529375910759, 0.012381128966808319, -0.040385857224464417, 0.045658160001039505, 0.03690613433718681, -0.031001152470707893, -0.009498936124145985, -0.009226533584296703, 0.004255189560353756, 0.024270176887512207, -0.04407646879553795, -0.01922633871436119, 0.06337310373783112, -0.020632287487387657, -0.003132627811282873, 0.08400539308786392, 0.0279256422072649, -0.05574583634734154, -0.028698913753032684, 0.016897737979888916, 0.028611041605472565, -0.028646189719438553, -0.03711702674627304, -0.04045615345239639, -0.05194977670907974, -0.001078625675290823, -0.00026141846319660544, -0.07451524585485458, 0.02956005558371544, -0.006840815767645836, 0.0076492358930408955, 0.05437503755092621, 0.0021858096588402987, 0.02268848568201065, 0.05008689686655998, 0.04674777016043663, -0.024674387648701668, 0.04165120795369148, -0.00353024760261178, -0.00004527454439084977, 0.007561364211142063, 0.040385857224464417, 0.04931362718343735, -0.03539473935961723, -0.00865536741912365, 0.011186073534190655, -0.05314483493566513, 0.002510935300961137, -0.012425065040588379, 0.043443791568279266, 0.03845267742872238, -0.0289449542760849, 0.01794341206550598, 0.09159751236438751, 0.010307355783879757, 0.07500732690095901, -0.0051229228265583515, -0.01749526523053646, -0.036027416586875916, -0.015149089507758617, -0.03014001064002514, -0.005237156059592962, 0.004749468062072992, -0.021194666624069214, -0.08316182345151901, -0.012794126756489277, -0.0012313028564676642, -0.0025460838805884123, 0.0692429393529892, 0.024850130081176758, 0.0392610989511013, -0.016484739258885384, 0.019437231123447418, 0.033268243074417114, 0.007609693333506584, 0.009569233283400536, 0.011449689045548439, 0.008462049067020416, -0.007640448398888111, 0.014911836013197899, -0.03732791915535927, 0.024867704138159752, 0.02237214706838131, -0.02277635782957077, -0.05757356807589531, 0.0578899085521698, 0.031124172732234, -0.007491066586226225, 0.01383101288229227, -0.02233699895441532, -0.015395130030810833, 0.019525103271007538, -0.013312569819390774, -0.013505888171494007, -0.0389799065887928, 0.06639589369297028, 0.026695437729358673, -0.03557048365473747, -0.022442445158958435, 0.02548280730843544, -0.020895902067422867, -0.009551659226417542, -0.012688680551946163, -0.009244107641279697, 0.025588253512978554, -0.021827341988682747, -0.01651988923549652, 0.053074534982442856, -0.002317617414519191, -0.09152721613645554, 0.064286969602108, -0.037573959678411484, 0.01811915449798107, -0.039050206542015076, 0.004180498421192169, 0.03574622794985771, 0.05398840084671974, 0.01713499054312706, 0.029314015060663223, -0.011230009607970715, -0.015061217360198498, -0.045833904296159744, 0.02237214706838131, 0.030596943572163582, 0.044322509318590164, 0.054234445095062256, -0.013110465370118618, 0.022987250238656998, 0.025096170604228973, -0.04762648791074753, -0.007605299819260836, -0.027187518775463104, 0.015737829729914665, -0.01646716520190239, -0.024709535762667656, 0.042600225657224655, -0.04520122706890106, 0.06759095191955566, 0.008418113924562931, 0.023936264216899872, -0.05117650702595711, 0.000024181892513297498, -0.011309093795716763, 0.010957607068121433, 0.045833904296159744, 0.05518345907330513, 0.01101033017039299, -0.07957665622234344, 0.04643143340945244, -0.03107145056128502, 0.05096561461687088, 0.01963054947555065, -0.0022308439947664738, -0.04407646879553795, -0.004220040515065193, -0.01218781154602766, 0.019120892509818077, -0.03796059638261795, -0.07019194960594177, 0.029911544173955917, -0.012319618836045265, -0.01829489879310131, 0.0040267230942845345, 0.03750366345047951, -0.00011045753490179777, -0.047345299273729324, 0.010114038363099098, 0.013857374899089336, -0.026748159900307655, -0.016098104417324066, 0.052582453936338425, 0.031194470822811127, 0.027890492230653763, 0.002072674920782447, -0.006937474478036165, -0.07173849642276764, -0.04425221309065819, 0.0015366572188213468, -0.09110543131828308, -0.05328542739152908, -0.0015048036584630609, 0.0014806389808654785, 0.05852258577942848, 0.04231903329491615, 0.0701216533780098, 0.029050400480628014, 0.035095974802970886, -0.0004190384061075747, -0.029665501788258553, 0.005294272676110268, 0.02934916503727436, 0.05279334634542465, -0.029314015060663223, 0.010272207669913769, -0.012662319466471672, 0.02161644957959652, 0.02010505646467209, -0.014235223643481731, -0.00840932596474886, -0.05634336546063423, 0.062353793531656265, 0.009806486777961254, -0.006955049000680447, -0.006660678423941135, 0.02347933128476143, 0.02964792773127556, 0.08520045131444931, -0.05019234120845795, -0.03848782554268837, -0.050051748752593994, 0.03831208124756813, -0.006906719412654638, 0.029015252366662025, -0.008114956319332123, 0.03648434951901436, 0.013286208733916283, 0.044638849794864655, 0.008475230075418949 ]
16,365
presidio_analyzer.context_aware_enhancers.lemma_context_aware_enhancer
_add_n_words_forward
null
def _add_n_words_forward( self, index: int, n_words: int, lemmas: List[str], lemmatized_filtered_keywords: List[str], ) -> List[str]: return self._add_n_words( index, n_words, lemmas, lemmatized_filtered_keywords, False )
(self, index: int, n_words: int, lemmas: List[str], lemmatized_filtered_keywords: List[str]) -> List[str]
[ -0.07162458449602127, 0.05165371298789978, -0.052721671760082245, -0.018689317628741264, 0.020398054271936417, 0.04674109071493149, -0.022053394466638565, -0.025079283863306046, 0.029457923024892807, -0.02061164751648903, -0.008392393589019775, 0.019721679389476776, 0.010074432007968426, -0.006332118529826403, 0.028941743075847626, -0.009433655068278313, -0.01718527264893055, 0.008539238013327122, -0.010955499485135078, -0.03374756500124931, 0.00804530642926693, -0.004142798483371735, -0.01570792682468891, 0.0058203875087201595, -0.0023472891189157963, -0.03369417041540146, 0.01786164753139019, -0.002747774589806795, -0.04642070457339287, 0.0029925156850367785, -0.013554204255342484, -0.027108408510684967, -0.004605581518262625, -0.061621349304914474, 0.022587373852729797, -0.04649190232157707, -0.011533978395164013, -0.019205497577786446, 0.01507604867219925, -0.006430014967918396, 0.07269254326820374, 0.005023866426199675, 0.03283980116248131, 0.0096294479444623, -0.03652426600456238, 0.0015841420972719789, -0.033925559371709824, 0.056103549897670746, 0.010857603512704372, -0.002714400878176093, -0.009389156475663185, -0.07924270629882812, 0.052080895751714706, -0.02801617607474327, 0.020522650331258774, -0.006639157421886921, -0.035812292248010635, -0.04563753306865692, 0.08764399588108063, -0.03773462027311325, 0.02045145258307457, -0.0036733406595885754, 0.0436440035700798, 0.007702668663114309, -0.005655743181705475, -0.009415855631232262, 0.043679602444171906, -0.009602748788893223, 0.0435728095471859, -0.02630743943154812, 0.004000403918325901, 0.03737863525748253, 0.01358090341091156, 0.005896034650504589, -0.03033009171485901, 0.031291257590055466, 0.001150282914750278, 0.05019416660070419, -0.010928800329566002, 0.036453068256378174, -0.02014886401593685, -0.004394214600324631, -0.06774432212114334, -0.011551777832210064, 0.00007182316039688885, 0.00947815366089344, -0.03483332693576813, -0.04606471583247185, -0.016375401988625526, -0.07440128177404404, -0.0770355835556984, 0.01021682657301426, 0.01180986873805523, -0.034815527498722076, -0.01507604867219925, -0.004022653214633465, -0.0028679200913757086, -0.06760192662477493, -0.01860032044351101, 0.044533971697092056, -0.010501616634428501, 0.031077664345502853, -0.018244333565235138, 0.010590612888336182, 0.03823300451040268, -0.025702260434627533, -0.0837993398308754, -0.08614885061979294, -0.019864074885845184, 0.031113263219594955, -0.04563753306865692, -0.09369577467441559, 0.08073785156011581, -0.020665043964982033, 0.004038227256387472, 0.031771838665008545, 0.0075958725064992905, 0.005295306444168091, 0.0402977280318737, 0.03170064091682434, 0.07767636328935623, -0.05275727063417435, -0.015165045857429504, -0.04478316381573677, -0.012005661614239216, 0.05766989290714264, 0.004650080110877752, -0.02751779370009899, 0.08842717111110687, -0.06090937554836273, -0.031059864908456802, 0.014817958697676659, -0.002164845820516348, 0.015147246420383453, -0.012326049618422985, -0.0060117305256426334, -0.02078964002430439, 0.01282443106174469, -0.017478961497545242, -0.01618850789964199, -0.012326049618422985, 0.018867310136556625, 0.06507442146539688, 0.041009701788425446, -0.07180257886648178, 0.001082979142665863, -0.018244333565235138, 0.04371520131826401, -0.015974916517734528, -0.0019946396350860596, 0.046847887337207794, -0.0029858408961445093, -0.01876051537692547, -0.031949833035469055, -0.03476212918758392, 0.03184303641319275, -0.021092228591442108, -0.029600318521261215, 0.023459542542696, 0.0066658565774559975, 0.030775075778365135, -0.027944978326559067, -0.0771779790520668, 0.029974104836583138, -0.043323617428541183, -0.0021815327927470207, 0.04104530066251755, 0.00838349387049675, -0.0352071151137352, 0.02383332885801792, 0.03894497826695442, 0.024242714047431946, 0.051760509610176086, 0.0201310645788908, -0.021893199533224106, 0.021750805899500847, -0.040831707417964935, 0.0018778314115479589, 0.007586972787976265, -0.006443364545702934, -0.05567636713385582, -0.006786001846194267, -0.03752103075385094, -0.12210353463888168, 0.0010234626242890954, 0.014844657853245735, -0.05015856772661209, 0.0905630886554718, 0.022409381344914436, 0.02281876653432846, 0.028941743075847626, -0.045174747705459595, 0.07774756103754044, -0.017950644716620445, -0.06333008408546448, -0.008396843448281288, -0.007061891723424196, 0.020665043964982033, 0.029119735583662987, -0.050550151616334915, -0.045032355934381485, 0.07133979350328445, 0.009620548225939274, -0.03253721073269844, 0.008868525736033916, -0.008196600712835789, -0.07148218899965286, 0.060802578926086426, -0.06931066513061523, -0.013429609127342701, 0.054074425250291824, -0.012201454490423203, 0.02815857157111168, 0.023441743105649948, -0.04581552743911743, -0.055889956653118134, 0.02111002802848816, 0.015378638170659542, 0.04745306447148323, -0.0503365620970726, 0.030223295092582703, 0.012459544464945793, -0.041187696158885956, -0.039478957653045654, 0.03100646659731865, -0.013527506031095982, 0.03374756500124931, 0.004142798483371735, -0.03566989675164223, 0.011053396388888359, 0.0010056633036583662, -0.0012036809930577874, -0.049731381237506866, -0.009762942790985107, 0.04125889390707016, -0.046563100069761276, 0.015165045857429504, -0.03191423416137695, 0.04068931192159653, -0.026699025183916092, -0.018404526636004448, -0.01879611238837242, -0.022231386974453926, 0.031113263219594955, -0.0066658565774559975, 0.059449829161167145, -0.0030659378971904516, -0.016597893089056015, -0.0005687448428943753, 0.049731381237506866, -0.012379447929561138, 0.031433653086423874, -0.036043681204319, 0.016900481656193733, -0.027268603444099426, 0.03752103075385094, -0.02547086961567402, -0.03235921636223793, -0.029440123587846756, -0.07575403153896332, 0.024580901488661766, 0.006220872513949871, -0.03230581805109978, -0.01877831295132637, 0.00703964289277792, 0.007640370633453131, 0.007573623210191727, 0.000016165424312930554, -0.0001838339085225016, 0.00845469068735838, 0.0636860728263855, 0.03235921636223793, 0.005753639619797468, 0.019383491948246956, -0.017719252035021782, 0.003290654858574271, 0.03050808608531952, 0.03655986487865448, -0.04460516944527626, 0.056922320276498795, 0.017238670960068703, -0.013572003692388535, -0.05019416660070419, -0.006728154141455889, 0.03002750314772129, 0.06090937554836273, 0.041650477796792984, 0.06155015155673027, -0.010172327980399132, -0.08166341483592987, 0.07240775227546692, -0.015458734706044197, 0.1139158383011818, -0.024741096422076225, -0.012281551025807858, -0.049233000725507736, -0.02835436351597309, 0.03248381242156029, -0.002943567465990782, 0.0029747162479907274, -0.013020223937928677, -0.01732766628265381, 0.03301779180765152, -0.028461160138249397, 0.002567556221038103, -0.04086730629205704, -0.0008132077637128532, 0.0251682810485363, 0.007929610088467598, -0.03905177116394043, -0.0636504739522934, 0.001071854610927403, -0.055071186274290085, -0.05603235214948654, 0.014577667228877544, -0.01829773187637329, 0.006154125090688467, 0.012014561332762241, 0.0073333322070539, 0.0603397935628891, 0.034281548112630844, -0.05350484326481819, -0.03769902139902115, -0.034334946423769, 0.0000607680922257714, -0.0032239072024822235, 0.041152097284793854, -0.06920386850833893, 0.0063899667002260685, -0.08835597336292267, 0.0285323578864336, -0.017630254849791527, -0.054074425250291824, -0.01091100089251995, -0.09511972218751907, -0.038304198533296585, 0.049197401851415634, 0.006510111968964338, -0.006759303156286478, -0.0064567141234874725, -0.04780905321240425, 0.036809053272008896, -0.04780905321240425, 0.01583252102136612, 0.03777021914720535, 0.0034619735088199377, 0.012477343901991844, 0.017354365438222885, 0.005437701474875212, -0.0031326855532824993, 0.02701941318809986, -0.05250808224081993, -0.01736326515674591, 0.009433655068278313, 0.04424918442964554, 0.04595791921019554, -0.020006468519568443, 0.05503558740019798, -0.013189317658543587, -0.024758895859122276, -0.03705824539065361, 0.0024296112824231386, -0.008810678496956825, 0.07981228083372116, 0.03744983300566673, -0.010617312043905258, 0.005655743181705475, 0.006349917966872454, -0.015796922147274017, 0.011667473241686821, 0.025702260434627533, -0.043999992311000824, 0.024901289492845535, 0.06664076447486877, 0.008815127424895763, -0.005513348616659641, -0.013767796568572521, 0.010350321419537067, -0.04499675706028938, 0.0243317112326622, -0.05051455274224281, 0.010706309229135513, 0.03303559124469757, 0.0013327263295650482, 0.04456957057118416, 0.03442394360899925, 0.035954687744379044, -0.03405015543103218, 0.02160841040313244, -0.012192554771900177, -0.002649878151714802, -0.019223297014832497, -0.027749186381697655, 0.008379044011235237, -0.014720061793923378, -0.005014966707676649, -0.050728145986795425, -0.01149837952107191, -0.03659546375274658, 0.009923137724399567, 0.02381552942097187, 0.01206795871257782, -0.07390289753675461, 0.06845629960298538, -0.07603882253170013, 0.05649513378739357, -0.036292873322963715, 0.05350484326481819, -0.05962781980633736, 0.03499352186918259, -0.03332038223743439, 0.042006466537714005, 0.022017795592546463, -0.024705497547984123, 0.005152911879122257, -0.010252425447106361, 0.024901289492845535, 0.007778315804898739, -0.043359216302633286, 0.036809053272008896, 0.04424918442964554, -0.038482192903757095, 0.020326856523752213, 0.07468607276678085, 0.04994497448205948, -0.006238671950995922, -0.04375080019235611, -0.035954687744379044, -0.023334946483373642, -0.03405015543103218, 0.013874593190848827, 0.00683940015733242, 0.007822814397513866, -0.0015440935967490077, -0.017870547249913216, -0.012548541650176048, -0.022765368223190308, 0.0009633898152969778, -0.008908574469387531, 0.014426372945308685, 0.007880661636590958, -0.03104206547141075, 0.029457923024892807, 0.02534627355635166, 0.05788348615169525, 0.016277505084872246, 0.009371357969939709, 0.012762133963406086, -0.027393199503421783, -0.021377019584178925, 0.005677992478013039, 0.03483332693576813, -0.031967632472515106, 0.02783818356692791, 0.07319092750549316, 0.007618121802806854, -0.008107603527605534, -0.035616498440504074, 0.0016475522425025702, 0.053255654871463776, 0.057420700788497925, 0.03549190238118172, -0.01040371973067522, 0.06140775606036186, 0.016215207055211067, 0.05770549178123474, -0.012192554771900177, -0.027927178889513016, -0.019063103944063187, -0.004145023413002491, 0.015432036481797695, -0.013224916532635689, 0.023904526606202126, -0.07589642703533173, 0.050728145986795425, 0.01074190717190504, -0.029796110466122627, -0.056459538638591766, 0.07682199031114578, -0.01786164753139019, 0.012975726276636124, 0.027624590322375298, 0.032127827405929565, 0.02367313578724861, -0.059449829161167145, 0.04314562305808067, 0.033622972667217255, -0.015538832172751427, 0.0704142302274704, 0.024758895859122276, 0.028799347579479218, 0.01698947884142399, 0.04916180297732353, 0.041828472167253494, -0.021003233268857002, -0.006465613842010498, -0.03136245533823967, 0.02030905708670616, 0.06066018342971802, 0.08486729860305786, -0.02684141881763935, -0.012468444183468819, -0.030775075778365135, -0.03141585364937782, 0.012050159275531769, 0.038161806762218475, -0.052401285618543625, -0.011382684111595154, -0.014817958697676659, -0.059449829161167145, -0.014230580069124699, -0.024082519114017487, 0.03004530258476734, 0.012521842494606972, 0.014328476041555405, -0.023245951160788536, -0.0536828376352787, 0.023067956790328026, 0.04225565493106842, 0.027535593137145042, 0.015458734706044197, 0.021893199533224106, -0.039158567786216736, -0.08301616460084915, 0.033284783363342285, -0.025079283863306046, 0.005121762864291668, -0.05300646275281906, 0.051190927624702454, 0.007764966227114201, -0.013349512591958046, 0.022338183596730232, 0.004294093232601881, -0.02299675904214382, 0.022551776841282845, 0.008832926861941814, 0.01803964003920555, -0.002031350741162896, 0.08614885061979294, 0.018546922132372856, -0.020736241713166237, -0.05920063704252243, -0.03622167557477951, -0.04104530066251755, -0.03104206547141075, 0.0653592124581337, -0.02835436351597309, -0.023245951160788536, -0.02815857157111168, -0.00020246760686859488, -0.10152748972177505, -0.011044496670365334, -0.06115856394171715, 0.04894820973277092, 0.051760509610176086, -0.0352071151137352, 0.007444577757269144, -0.018689317628741264, -0.0077293673530220985, 0.028051774948835373, -0.014844657853245735, -0.03709384426474571, 0.04727507382631302, -0.03556310012936592, -0.007484626490622759, 0.04951779171824455, 0.011765370145440102, -0.05596115440130234, -0.04008413478732109, 0.018867310136556625, 0.049375396221876144, -0.027268603444099426, -0.04844982922077179, -0.014773460105061531, -0.052080895751714706, -0.00011917221127077937, 0.00014698368613608181, -0.05225889012217522, 0.028977341949939728, -0.023263750597834587, 0.015200644731521606, 0.03876698389649391, 0.011320386081933975, 0.018244333565235138, 0.040974102914333344, 0.031237859278917313, -0.025221677497029305, 0.04001293703913689, -0.02249837853014469, -0.01004773285239935, -0.014364074915647507, 0.02648543193936348, 0.03773462027311325, -0.004438712727278471, -0.005482199601829052, 0.019650481641292572, -0.046847887337207794, -0.006292070262134075, 0.005962782073765993, 0.05279286950826645, 0.02548866905272007, -0.011507279239594936, 0.0019223297713324428, 0.09839480370283127, 0.004779125563800335, 0.05549837276339531, 0.004329691641032696, 0.004881471395492554, -0.017354365438222885, -0.014844657853245735, -0.023245951160788536, -0.004930419847369194, 0.001353863044641912, -0.01819983497262001, -0.09455014765262604, -0.008904124610126019, -0.011792069301009178, -0.0011402708478271961, 0.10480257123708725, 0.009745144285261631, 0.04343041405081749, -0.030917469412088394, -0.01945468969643116, 0.0180218406021595, 0.020843038335442543, -0.004587782546877861, 0.009682846255600452, -0.01358090341091156, -0.001297127571888268, 0.00979854166507721, -0.014711162075400352, 0.024919088929891586, 0.03502912074327469, -0.027766985818743706, -0.04474756494164467, 0.05806147679686546, 0.010261325165629387, 0.0007470164564438164, -0.00921116303652525, -0.030258893966674805, -0.03122005984187126, 0.016642391681671143, -0.022177990525960922, -0.02515048161149025, -0.008347894996404648, 0.05464400351047516, 0.011889965273439884, -0.04812944307923317, 0.0013749997597187757, 0.04068931192159653, -0.008089804090559483, -0.013945790007710457, -0.011053396388888359, 0.009602748788893223, 0.034459542483091354, -0.023441743105649948, -0.02417151629924774, 0.030472487211227417, 0.0018032966181635857, -0.0971844494342804, 0.048877015709877014, -0.030775075778365135, 0.041828472167253494, -0.043679602444171906, 0.0032617307733744383, 0.020825238898396492, 0.045174747705459595, -0.0028567956760525703, 0.0192588958889246, 0.006091827526688576, -0.03164724260568619, -0.023851128295063972, 0.034601934254169464, 0.04047572240233421, 0.06414885818958282, 0.07311972975730896, 0.004338591359555721, 0.025435270741581917, 0.020255660638213158, -0.05083494260907173, -0.026218442246317863, -0.029778311029076576, 0.030597081407904625, -0.015885919332504272, -0.0402621291577816, 0.01718527264893055, -0.05311325937509537, 0.0418996699154377, 0.022676371037960052, 0.0360792800784111, -0.033925559371709824, 0.013376210816204548, -0.003430824726819992, -0.003283980069682002, 0.016224106773734093, 0.05756309628486633, 0.008347894996404648, -0.08351454883813858, 0.04962458834052086, -0.03388996049761772, 0.06137215718626976, 0.027410998940467834, -0.0009756268700584769, -0.054430410265922546, -0.016677990555763245, -0.02445630542933941, 0.004961568862199783, -0.020576048642396927, -0.06464723497629166, 0.04122329503297806, -0.009923137724399567, -0.01947248913347721, -0.011970062740147114, 0.058631058782339096, -0.00026949329185299575, -0.04303882643580437, 0.03652426600456238, 0.02313915453851223, -0.019739478826522827, -0.01349190715700388, 0.06272491067647934, 0.020487051457166672, 0.01208575814962387, 0.03301779180765152, -0.007658170070499182, -0.059271834790706635, -0.04058251529932022, 0.001517394557595253, -0.06236892193555832, -0.05937863141298294, 0.018724916502833366, -0.0010568363359197974, 0.045530736446380615, 0.026859218254685402, 0.07618121802806854, 0.02162620984017849, 0.027410998940467834, 0.004167272709310055, -0.027944978326559067, -0.007195387035608292, 0.04157928004860878, 0.02835436351597309, 0.00023834442254155874, -0.019525885581970215, -0.00041439110646024346, -0.003181633772328496, 0.058631058782339096, -0.017559058964252472, -0.009166665375232697, -0.02819417044520378, 0.04464076831936836, 0.00691504729911685, 0.008392393589019775, -0.014212780632078648, 0.012797731906175613, 0.042682841420173645, 0.05549837276339531, -0.05599675327539444, -0.0369158498942852, -0.0655016079545021, 0.02313915453851223, -0.034495141357183456, 0.027588991448283195, -0.0037156143225729465, 0.03130905702710152, 0.01031472347676754, 0.07411649078130722, 0.019686080515384674 ]
16,366
presidio_analyzer.context_aware_enhancers.lemma_context_aware_enhancer
_extract_surrounding_words
Extract words surrounding another given word. The text from which the context is extracted is given in the nlp doc. :param nlp_artifacts: An abstraction layer which holds different items which are the result of a NLP pipeline execution on a given text :param word: The word to look for context around :param start: The start index of the word in the original text
def _extract_surrounding_words( self, nlp_artifacts: NlpArtifacts, word: str, start: int ) -> List[str]: """Extract words surrounding another given word. The text from which the context is extracted is given in the nlp doc. :param nlp_artifacts: An abstraction layer which holds different items which are the result of a NLP pipeline execution on a given text :param word: The word to look for context around :param start: The start index of the word in the original text """ if not nlp_artifacts.tokens: logger.info("Skipping context extraction due to lack of NLP artifacts") # if there are no nlp artifacts, this is ok, we can # extract context and we return a valid, yet empty # context return [""] # Get the already prepared words in the given text, in their # LEMMATIZED version lemmatized_keywords = nlp_artifacts.keywords # since the list of tokens is not necessarily aligned # with the actual index of the match, we look for the # token index which corresponds to the match token_index = self._find_index_of_match_token( word, start, nlp_artifacts.tokens, nlp_artifacts.tokens_indices ) # index i belongs to the PII entity, take the preceding n words # and the successing m words into a context list backward_context = self._add_n_words_backward( token_index, self.context_prefix_count, nlp_artifacts.lemmas, lemmatized_keywords, ) forward_context = self._add_n_words_forward( token_index, self.context_suffix_count, nlp_artifacts.lemmas, lemmatized_keywords, ) context_list = [] context_list.extend(backward_context) context_list.extend(forward_context) context_list = list(set(context_list)) logger.debug("Context list is: %s", " ".join(context_list)) return context_list
(self, nlp_artifacts: presidio_analyzer.nlp_engine.nlp_artifacts.NlpArtifacts, word: str, start: int) -> List[str]
[ 0.0011871873866766691, -0.04189964756369591, -0.0280498955398798, 0.02131865918636322, 0.02609506994485855, -0.00472108693793416, 0.026574555784463882, -0.019124090671539307, 0.07343503087759018, -0.028252754360437393, -0.004313063342124224, 0.007284489460289478, -0.03310293331742287, -0.04215783253312111, -0.06391908973455429, 0.01790693588554859, -0.02508077397942543, 0.015306648798286915, -0.018303433433175087, -0.01242973655462265, -0.015269765630364418, 0.01497469749301672, 0.01689263992011547, 0.011913367547094822, -0.01733524166047573, -0.06030450761318207, -0.01923474110662937, -0.02605818770825863, -0.06543131172657013, -0.040092356503009796, -0.020857615396380424, -0.036735959351062775, -0.01030893623828888, -0.0433381013572216, 0.008423267863690853, -0.022185420617461205, 0.04787477105855942, 0.026205720379948616, 0.02141086757183075, -0.027847036719322205, -0.07476283609867096, -0.027090925723314285, 0.0229046493768692, 0.00012476994015742093, -0.030705507844686508, -0.030373554676771164, 0.004598910454660654, 0.006362402345985174, -0.0028746072202920914, -0.0012217656476423144, 0.03529750183224678, -0.07826676964759827, -0.012531165964901447, -0.02875068224966526, 0.01075153797864914, 0.0194560419768095, -0.07207034528255463, -0.018331095576286316, 0.04706333577632904, 0.011756612919270992, 0.0016067371470853686, 0.02627948857843876, 0.019492926076054573, 0.046952683478593826, -0.020599430426955223, 0.022793997079133987, 0.039834171533584595, 0.006800394039601088, -0.0008742540376260877, 0.02454596385359764, -0.02764417789876461, -0.0366990752518177, -0.019253183156251907, 0.01888434775173664, -0.009976984933018684, -0.007925339974462986, 0.0497189462184906, 0.0023905113339424133, 0.048501793295145035, -0.007289099972695112, -0.06620586663484573, 0.06432481110095978, 0.019529808312654495, 0.007897677831351757, 0.09021702408790588, 0.017823947593569756, -0.0039488389156758785, 0.01749199628829956, -0.008469372056424618, -0.029691211879253387, -0.06214868277311325, 0.05038284882903099, 0.008612295612692833, 0.03976040333509445, 0.03389592841267586, 0.01227298192679882, -0.0112586859613657, 0.011848822236061096, -0.06631651520729065, 0.007588778622448444, -0.0033563978504389524, 0.036735959351062775, -0.01989864371716976, 0.05676369369029999, 0.02821587212383747, -0.022056328132748604, -0.04488721117377281, -0.03391437232494354, 0.03266033157706261, 0.02401115372776985, -0.04499785974621773, -0.06517312675714493, -0.003667602315545082, -0.011378557421267033, -0.019972410053014755, -0.012614154256880283, -0.050972986966371536, 0.010797642171382904, -0.011996355839073658, 0.010991280898451805, 0.03133252635598183, -0.07870937138795853, -0.03620114549994469, -0.029174841940402985, -0.015435741282999516, 0.0039327023550868034, -0.006597534753382206, -0.004822516348212957, 0.014356899075210094, -0.04794853925704956, -0.016597570851445198, 0.004428324289619923, -0.006242530886083841, -0.020912939682602882, -0.0012805487494915724, -0.0005953226354904473, 0.0036583812907338142, 0.03526061773300171, -0.02618727833032608, 0.0024320052471011877, 0.03190422058105469, -0.01660679280757904, 0.007141565904021263, 0.02034124545753002, -0.0938316062092781, 0.02118956670165062, -0.010355040431022644, -0.01491015125066042, -0.005361937452107668, 0.03061329759657383, -0.010954396799206734, -0.06332895904779434, 0.00031667936127632856, -0.046067479997873306, -0.0008402520325034857, -0.008741387166082859, 0.032752539962530136, -0.008639957755804062, 0.028013011440634727, -0.007353646215051413, 0.054919518530368805, -0.06698042154312134, -0.03109278343617916, 0.04396512359380722, 0.008898142725229263, 0.062443751841783524, 0.0366990752518177, -0.011775054968893528, 0.010797642171382904, -0.050272200256586075, -0.040498074144124985, 0.05598914250731468, 0.029801862314343452, -0.002179583767428994, -0.06417727470397949, 0.0740620493888855, -0.027810152620077133, 0.038912083953619, -0.0036929596681147814, 0.05591537430882454, -0.03223617374897003, -0.0008010633173398674, -0.03526061773300171, -0.02384517714381218, -0.011175697669386864, 0.0313694104552269, 0.03087148256599903, 0.04794853925704956, -0.01053023710846901, 0.024472197517752647, -0.036514658480882645, -0.05573095753788948, 0.043411869555711746, 0.017980702221393585, -0.038063764572143555, 0.04658384993672371, -0.036072056740522385, 0.006639028433710337, -0.024582847952842712, -0.01265103742480278, -0.022056328132748604, -0.009912438690662384, 0.012964547611773014, 0.030004721134901047, 0.03957598656415939, 0.030096929520368576, -0.07177527248859406, 0.05215325579047203, -0.11315855383872986, -0.016523804515600204, 0.026924949139356613, -0.04735840484499931, 0.017482774332165718, 0.0014903235714882612, 0.041198860853910446, -0.009211651980876923, -0.005338885355740786, 0.042047180235385895, -0.056026022881269455, -0.03443073853850365, -0.04400200396776199, -0.01798992231488228, 0.02043345384299755, -0.038985852152109146, 0.002294844714924693, 0.006735847797244787, 0.10010179877281189, 0.010760759003460407, 0.034615155309438705, -0.029930952936410904, -0.0009566655498929322, -0.07487349212169647, 0.0016113475430756807, 0.008349500596523285, 0.08815154433250427, -0.041641462594270706, -0.015693925321102142, 0.008266512304544449, 0.03546347841620445, -0.041604578495025635, -0.033324234187603, 0.006698964163661003, -0.003757505677640438, 0.02467505633831024, -0.020470337942242622, 0.006532988511025906, 0.016984848305583, -0.009986205026507378, 0.07937327772378922, 0.008879700675606728, -0.0066528599709272385, -0.002780093112960458, -0.016302503645420074, -0.04311680048704147, 0.037879347801208496, -0.0450347438454628, -0.004257738124579191, -0.045366693288087845, 0.013785204850137234, -0.029211726039648056, 0.04968206211924553, 0.024933241307735443, 0.010760759003460407, 0.044260188937187195, 0.01638549193739891, 0.025007007643580437, -0.007422802969813347, -0.031019017100334167, -0.011009722016751766, 0.01459664199501276, -0.027625735849142075, 0.012134668417274952, 0.027238458395004272, 0.029654327780008316, -0.0472477525472641, 0.0190687645226717, -0.028566263616085052, 0.06694354116916656, -0.044960975646972656, 0.06384532153606415, -0.008197356015443802, 0.028418730944395065, -0.07269736379384995, -0.02618727833032608, 0.02840028889477253, -0.02565246820449829, -0.001078265835531056, -0.010281273163855076, 0.04636254906654358, -0.05041973292827606, -0.013656113296747208, 0.04706333577632904, 0.06996798515319824, -0.026740532368421555, 0.007445855066180229, 0.06037827581167221, -0.02118956670165062, -0.023255040869116783, 0.0021669052075594664, 0.01834953762590885, 0.024841031059622765, 0.036385565996170044, -0.019050324335694313, -0.020802289247512817, -0.03712323307991028, 0.0430799201130867, 0.061337247490882874, -0.03301072493195534, 0.02605818770825863, -0.07077942043542862, -0.023033739998936653, -0.029027307406067848, 0.0051913512870669365, -0.05462445318698883, -0.024564405903220177, -0.052522093057632446, 0.046952683478593826, 0.022462045773863792, 0.015140673145651817, 0.06056269258260727, -0.0038520197849720716, 0.005689278710633516, 0.03671751543879509, 0.03773181140422821, 0.07878313958644867, -0.027681060135364532, 0.045624878257513046, 0.001720845466479659, 0.0994378924369812, -0.04654696583747864, 0.00118027173448354, 0.016422374173998833, -0.03880143165588379, -0.00292532192543149, -0.06034139171242714, -0.0721072256565094, 0.034836459904909134, 0.0053434958681464195, 0.026556113734841347, -0.07929950952529907, 0.024435313418507576, -0.018994998186826706, -0.06782874464988708, 0.029783420264720917, 0.07199657708406448, -0.027533527463674545, 0.02340257540345192, -0.004513617139309645, 0.033729951828718185, -0.016118086874485016, -0.004836347885429859, 0.003501626430079341, 0.0428217351436615, -0.01163674145936966, 0.02539428509771824, 0.05521458759903908, -0.058054614812135696, -0.012687921524047852, 0.005846033338457346, 0.00431075831875205, 0.0006229852442629635, -0.023550109937787056, -0.006058113649487495, 0.05528835579752922, -0.015002360567450523, 0.003854324808344245, -0.00012304102710913867, 0.004384525120258331, -0.05255897715687752, 0.033158257603645325, 0.007422802969813347, -0.03627491369843483, -0.019566692411899567, 0.0025057722814381123, 0.014993139542639256, 0.0050760903395712376, -0.04083002731204033, -0.01650536246597767, -0.018266549333930016, 0.060931529849767685, -0.017980702221393585, 0.042969267815351486, 0.023734526708722115, 0.00788845680654049, -0.029359258711338043, -0.021078916266560555, 0.025062331929802895, -0.03426476567983627, 0.04245289787650108, 0.011553754098713398, -0.026832740753889084, -0.0013185847783461213, -0.011941030621528625, 0.032844748347997665, 0.010954396799206734, -0.07144332677125931, -0.0018983471672981977, -0.033195141702890396, 0.01010607648640871, -0.016818871721625328, 0.02011994458734989, 0.030797716230154037, -0.018736813217401505, -0.002365153981372714, -0.027625735849142075, -0.0010454164585098624, -0.044297073036432266, 0.02884289063513279, -0.01901344023644924, 0.008455540053546429, -0.052706509828567505, -0.013720658607780933, 0.020027736201882362, -0.02533895894885063, -0.06085776165127754, -0.055620305240154266, 0.018958114087581635, 0.08143875002861023, -0.028861332684755325, 0.012973768636584282, 0.00400185864418745, -0.07395140081644058, 0.09191366285085678, 0.005057648755609989, -0.04728463664650917, 0.003284936072304845, -0.01054867822676897, -0.10349507629871368, 0.031424734741449356, -0.04702645167708397, -0.04654696583747864, 0.012263760901987553, -0.05241144075989723, -0.006966369692236185, 0.01732601970434189, -0.04798542335629463, -0.0411250926554203, 0.04765347018837929, 0.0318857803940773, -0.004398356191813946, -0.029912512749433517, 0.040498074144124985, 0.09088092297315598, 0.0713326707482338, 0.0829140916466713, -0.011083489283919334, -0.06255440413951874, 0.006214868277311325, -0.06786562502384186, 0.010585562326014042, 0.011738170869648457, 0.012125448323786259, 0.06480429321527481, -0.024121804162859917, -0.008971909061074257, -0.002191110048443079, -0.0027639567852020264, -0.00029305086354725063, 0.01834031566977501, 0.03909650072455406, 0.04798542335629463, 0.03159071132540703, 0.0016655201325193048, 0.034615155309438705, 0.018994998186826706, -0.04842802509665489, -0.008012938313186169, -0.03531594201922417, -0.05665304511785507, 0.0001091376761905849, 0.0681975781917572, -0.011028164066374302, 0.04551422968506813, -0.0610421784222126, 0.07494725286960602, 0.0075841681100428104, -0.036828167736530304, -0.005643174052238464, 0.12341216206550598, -0.022314513102173805, -0.030115371569991112, -0.038948968052864075, 0.019124090671539307, -0.010889850556850433, -0.09692981839179993, -0.008354110643267632, 0.009326913394033909, -0.037879347801208496, 0.03513152524828911, -0.015094568952918053, -0.042305365204811096, 0.07103760540485382, 0.013388707302510738, -0.022646464407444, -0.012660258449614048, -0.0013105166144669056, 0.014919372275471687, 0.02229607105255127, 0.030244464054703712, 0.018801359459757805, 0.0021692104637622833, -0.0227755568921566, 0.026592997834086418, -0.024214012548327446, 0.0605258084833622, -0.010032310150563717, -0.03502087667584419, 0.005624732468277216, 0.013047534972429276, -0.0029829523991793394, -0.025007007643580437, -0.020673196762800217, 0.09154482930898666, -0.06373467296361923, -0.040756259113550186, -0.0036560760345309973, -0.03802688047289848, 0.04130950942635536, 0.04433395713567734, -0.005283560138195753, -0.021373983472585678, 0.04396512359380722, 0.024619730189442635, -0.013130523264408112, 0.04647320136427879, -0.04820672422647476, -0.04566176235675812, -0.031516943126916885, -0.03647777438163757, 0.013720658607780933, 0.000506571726873517, -0.03424632176756859, 0.03548191860318184, -0.03498399257659912, 0.043153684586286545, 0.03061329759657383, -0.030060045421123505, -0.07878313958644867, 0.02738599292933941, 0.05598914250731468, 0.010152180679142475, -0.04780100658535957, -0.03946533799171448, 0.011876484379172325, 0.02954367734491825, 0.10865876823663712, -0.020193710923194885, 0.02954367734491825, -0.056062906980514526, 0.04665761813521385, 0.03601672872900963, -0.013656113296747208, -0.033416442573070526, 0.06934096664190292, 0.04879685863852501, -0.02242516353726387, 0.02441687136888504, 0.02773638628423214, -0.014163261279463768, 0.017851609736680984, 0.018829023465514183, -0.019566692411899567, -0.0054956404492259026, -0.023697644472122192, -0.006145711988210678, 0.011747391894459724, -0.022591138258576393, 0.02340257540345192, -0.028031453490257263, 0.0007739770226180553, 0.054034315049648285, -0.042711082845926285, -0.03559257090091705, -0.014707292430102825, -0.007823910564184189, 0.04780100658535957, 0.005527913570404053, -0.028381846845149994, 0.027127807959914207, -0.01309363916516304, 0.03437541425228119, 0.0058322022669017315, 0.04374382272362709, -0.01846940815448761, 0.03511308506131172, 0.017796285450458527, -0.011267906986176968, 0.0030820767860859632, 0.04149392992258072, -0.012660258449614048, 0.0280498955398798, 0.026869622990489006, 0.0767914280295372, 0.014624304138123989, 0.006864939816296101, 0.00953438226133585, -0.02937770076096058, -0.004808685276657343, 0.011959472671151161, -0.04544046148657799, 0.03349021077156067, 0.013978843577206135, 0.010889850556850433, 0.08527463674545288, 0.027459759265184402, 0.008570801466703415, 0.00007866557280067354, -0.032807864248752594, -0.03256812319159508, 0.026648322120308876, -0.00034491828409954906, -0.06919343024492264, 0.046731382608413696, -0.030853040516376495, -0.04437084123492241, 0.008386383764445782, 0.003487795125693083, 0.027127807959914207, 0.029875628650188446, -0.007238385267555714, 0.0698942169547081, -0.029119517654180527, -0.029174841940402985, 0.005168299190700054, 0.027256900444626808, 0.032715655863285065, 0.023365691304206848, -0.023513225838541985, -0.0009503262117505074, 0.018921231850981712, -0.014264690689742565, 0.029838744550943375, 0.020138386636972427, -0.024785706773400307, -0.018856685608625412, 0.11913368105888367, 0.05750136449933052, -0.05392366647720337, -0.05373924598097801, 0.03791622817516327, -0.02255425602197647, 0.01881980150938034, -0.024306220933794975, -0.029580559581518173, -0.02260958030819893, -0.007113903295248747, -0.003400197019800544, -0.01802680641412735, -0.012890780344605446, 0.06152166426181793, 0.017095498740673065, -0.011360115371644497, 0.011424661614000797, -0.021558400243520737, -0.010705433785915375, 0.0284371729940176, -0.039834171533584595, 0.02163216844201088, -0.010714654810726643, -0.011848822236061096, 0.021023590117692947, 0.030060045421123505, 0.0012609544210135937, 0.0021150377579033375, -0.030705507844686508, -0.010502574034035206, 0.057132527232170105, 0.0026463905815035105, 0.047173984348773956, 0.01973266899585724, 0.05041973292827606, -0.01739978790283203, 0.019492926076054573, 0.019935527816414833, -0.03972351923584938, 0.016994068399071693, 0.023457901552319527, 0.010493353009223938, 0.02318127453327179, -0.022812439128756523, 0.015177557244896889, -0.0193269494920969, 0.014993139542639256, -0.03400658071041107, 0.0111941397190094, 0.03529750183224678, -0.02061787247657776, -0.026131954044103622, 0.0166621170938015, -0.03716011717915535, -0.07254982739686966, 0.0225173719227314, -0.016173411160707474, -0.009654253721237183, 0.009137884713709354, 0.014744175598025322, -0.04710021987557411, -0.11212581396102905, 0.0753529742360115, -0.03693881630897522, 0.011360115371644497, 0.0141540402546525, 0.022369837388396263, -0.015988994389772415, 0.018008364364504814, -0.006076555233448744, -0.02915639989078045, -0.03325046971440315, -0.017510438337922096, 0.0475059375166893, 0.02340257540345192, -0.03494710847735405, 0.013499357737600803, -0.02229607105255127, 0.05757513269782066, -0.013499357737600803, -0.04935011267662048, 0.022923089563846588, 0.009340744465589523, -0.026574555784463882, 0.026150396093726158, 0.04001858830451965, 0.009764904156327248, -0.02401115372776985, -0.016237957403063774, 0.023236600682139397, -0.02662988193333149, 0.006302466616034508, 0.001177966478280723, -0.021152682602405548, -0.07826676964759827, 0.013536241836845875, -0.01548184547573328, 0.03369307145476341, 0.007588778622448444, 0.014679629355669022, -0.01170128770172596, -0.019824877381324768, -0.03776869550347328, -0.03437541425228119, 0.004156308714300394, -0.004384525120258331, -0.052706509828567505, 0.042084064334630966, -0.017565762624144554, 0.03380372002720833, 0.04101444408297539, -0.028123661875724792, 0.010963617824018002, -0.06366090476512909, 0.029930952936410904, 0.029469909146428108, 0.02207477018237114, -0.04023988917469978, 0.008570801466703415, 0.01768563501536846, 0.07767663151025772, -0.03634868189692497, -0.04418642446398735, -0.041161976754665375, -0.013075198046863079, -0.04237913340330124, -0.017823947593569756, 0.08402059227228165, -0.008118978701531887, 0.03953910246491432, 0.07181216031312943, 0.06506247818470001 ]
16,367
presidio_analyzer.context_aware_enhancers.lemma_context_aware_enhancer
_find_index_of_match_token
null
@staticmethod def _find_index_of_match_token( word: str, start: int, tokens, tokens_indices: List[int] # noqa ANN001 ) -> int: found = False # we use the known start index of the original word to find the actual # token at that index, we are not checking for equivilance since the # token might be just a substring of that word (e.g. for phone number # 555-124564 the first token might be just '555' or for a match like ' # rocket' the actual token will just be 'rocket' hence the misalignment # of indices) # Note: we are iterating over the original tokens (not the lemmatized) i = -1 for i, token in enumerate(tokens, 0): # Either we found a token with the exact location, or # we take a token which its characters indices covers # the index we are looking for. if (tokens_indices[i] == start) or (start < tokens_indices[i] + len(token)): # found the interesting token, the one that around it # we take n words, we save the matching lemma found = True break if not found: raise ValueError( "Did not find word '" + word + "' " "in the list of tokens although it " "is expected to be found" ) return i
(word: str, start: int, tokens, tokens_indices: List[int]) -> int
[ 0.061985500156879425, -0.012110230512917042, 0.0015659780474379659, 0.05283473804593086, 0.013353935442864895, -0.03998010233044624, 0.0026689714286476374, 0.021642271429300308, -0.045681171119213104, -0.04698842018842697, -0.01944536343216896, 0.06587094068527222, -0.0023376194294542074, -0.03197318688035011, 0.003220468061044812, -0.025019336491823196, 0.004947583191096783, 0.04332085698843002, -0.03645778447389603, 0.026471838355064392, -0.0011915051145479083, 0.07683732360601425, -0.0025010257959365845, 0.031047217547893524, -0.010122119449079037, -0.013535497710108757, -0.03406115993857384, -0.007212577387690544, -0.02641736902296543, -0.06696031242609024, 0.008746782317757607, -0.04938504844903946, 0.03235447034239769, 0.011665401980280876, 0.010866526514291763, -0.0736055076122284, 0.036058347672224045, 0.05443249270319939, -0.03407931327819824, -0.05123698711395264, -0.03878178820014, -0.029830748215317726, 0.04673423245549202, 0.000054362419177778065, -0.07444069534540176, -0.0031160693615674973, -0.05664755403995514, 0.025654805824160576, -0.04292141646146774, 0.021914616227149963, 0.04168679192662239, -0.11314985901117325, -0.01919117569923401, -0.06558044254779816, 0.0181744247674942, 0.03148296847939491, -0.04451916739344597, -0.020552895963191986, 0.01506970264017582, -0.013208684511482716, 0.006286607589572668, -0.021478865295648575, 0.019009612500667572, 0.03358909487724304, -0.0003268128202762455, -0.010775744915008545, 0.04785992205142975, 0.0007183073321357369, 0.016712844371795654, 0.020498426631093025, 0.0027688308618962765, -0.016068296507000923, -0.0027393270283937454, -0.010566947981715202, 0.0012312219478189945, 0.023548679426312447, 0.008224789053201675, 0.021297302097082138, 0.0299396850168705, 0.04626217111945152, -0.02636290155351162, -0.02086155116558075, 0.038164474070072174, -0.0333893783390522, -0.004268992692232132, 0.024165991693735123, 0.0073669059202075005, 0.001084837014786899, -0.03348015621304512, -0.09542934596538544, -0.0545051172375679, 0.06503575295209885, 0.04731523245573044, 0.009704525582492352, -0.027307026088237762, 0.012954496778547764, 0.044555481523275375, 0.02322186715900898, -0.05508611723780632, 0.009740837849676609, -0.0250374935567379, 0.07865295559167862, -0.038418661803007126, 0.01846492476761341, 0.00006751862383680418, -0.023548679426312447, -0.061985500156879425, -0.027089152485132217, -0.02131545916199684, -0.032227374613285065, -0.05799112096428871, -0.07727307826280594, 0.010031337849795818, 0.044845983386039734, 0.027089152485132217, -0.0023739319294691086, -0.0019869764801114798, 0.03446059674024582, 0.0007262506987899542, 0.015042467974126339, 0.07142675668001175, -0.04746048524975777, -0.009341400116682053, -0.06133187189698219, 0.030429905280470848, -0.02857796475291252, 0.04382923245429993, 0.006717819254845381, 0.04422866925597191, -0.006604342255741358, -0.0046343873254954815, 0.03845497593283653, -0.012999887578189373, 0.014470545575022697, -0.018918830901384354, 0.04063372686505318, -0.010639572516083717, 0.044156044721603394, -0.11612749099731445, 0.013653513044118881, 0.05512242764234543, 0.00888295378535986, 0.02342158555984497, -0.038019225001335144, -0.05276211351156235, 0.027706464752554893, -0.030720405280590057, 0.05969781056046486, 0.05882630869746208, -0.009296009317040443, 0.010712197981774807, -0.07799932360649109, 0.012700309045612812, 0.032227374613285065, -0.028396403416991234, 0.007557546719908714, 0.0027801785618066788, -0.009777150116860867, -0.0022820159792900085, -0.004520910792052746, 0.07843507826328278, -0.03943541273474693, -0.06318381428718567, 0.004657082725316286, 0.03284468874335289, 0.05603024363517761, -0.007857125252485275, 0.024656211957335472, -0.024674367159605026, -0.04143260419368744, -0.036839067935943604, 0.06035143509507179, -0.009164376184344292, 0.0007767478236928582, -0.05072861164808273, 0.02745227701961994, -0.0711725726723671, 0.028487185016274452, 0.003697070060297847, 0.0198811125010252, 0.0038218942936509848, 0.044845983386039734, -0.03907229006290436, -0.0903455913066864, -0.004815950058400631, 0.06899381428956985, -0.023748397827148438, 0.052943676710128784, 0.022078022360801697, 0.03286284580826759, -0.004679778125137091, -0.060714561492204666, 0.04684317111968994, -0.052362676709890366, -0.05337942764163017, 0.04695210978388786, -0.03157375007867813, 0.023639461025595665, 0.03500528261065483, -0.02469252422451973, 0.009913322515785694, 0.016467735171318054, -0.002655354095622897, 0.05490455403923988, 0.020607363432645798, 0.010122119449079037, -0.005651138257235289, 0.06445474922657013, -0.07030107080936432, -0.06416425108909607, -0.022368522360920906, -0.07538482546806335, 0.04215885326266289, 0.08039595186710358, 0.041069477796554565, -0.0064363968558609486, 0.014624874107539654, 0.03406115993857384, 0.004216792993247509, -0.01634971983730793, 0.07502169907093048, 0.012482434511184692, 0.048731423914432526, -0.010612338781356812, 0.07182619720697403, -0.037873975932598114, 0.006658811122179031, 0.00720349932089448, -0.01133858971297741, 0.012673075310885906, -0.02984890528023243, -0.03998010233044624, 0.047061044722795486, 0.006195826455950737, -0.005065598525106907, 0.0050247469916939735, 0.030956435948610306, 0.004071542993187904, 0.033207815140485764, 0.010185666382312775, -0.03480556607246399, 0.03264496847987175, 0.005873552523553371, 0.002689397195354104, 0.0003724871785379946, 0.038563914597034454, 0.049711860716342926, -0.03231815621256828, -0.009237001650035381, -0.008070461452007294, -0.08707746118307114, 0.0001283704914385453, 0.004752403125166893, -0.005805466789752245, 0.04913086071610451, -0.047061044722795486, -0.030520686879754066, 0.010793901048600674, 0.028886621817946434, -0.00045504147419705987, 0.023730242624878883, 0.0274885892868042, 0.03411562740802765, -0.05748274549841881, -0.056974370032548904, 0.007117256987839937, 0.012455199845135212, 0.044700730592012405, 0.011320432648062706, -0.005605747923254967, 0.04963923618197441, 0.022695334628224373, 0.0020834316965192556, -0.004466441925615072, 0.00007333430403377861, -0.01496984250843525, 0.006903920788317919, 0.03237262740731239, -0.0638374388217926, 0.02999415434896946, -0.057809557765722275, -0.027089152485132217, -0.060750871896743774, 0.014207279309630394, 0.0077254921197891235, 0.04375660419464111, 0.051672738045454025, -0.006599803455173969, 0.006790444254875183, -0.025418775156140327, 0.004675238858908415, -0.020988645032048225, 0.06899381428956985, -0.0013810110976919532, -0.024819618090987206, 0.05806374549865723, 0.050837550312280655, 0.023839179426431656, -0.02322186715900898, -0.02563665062189102, -0.009849775582551956, 0.0441923551261425, 0.008138546720147133, -0.08961933851242065, 0.0012913645477965474, -0.015986593440175056, 0.010930073447525501, 0.0024374788627028465, 0.04963923618197441, -0.038273412734270096, -0.023875491693615913, 0.011211495846509933, 0.007825351320207119, -0.07400494813919067, -0.03725666180253029, -0.015087858773767948, 0.009159836918115616, 0.00942310318350792, 0.050401799380779266, 0.07720045000314713, 0.06561674922704697, 0.02031686343252659, -0.001705554430373013, -0.0017668318469077349, 0.052362676709890366, -0.0878763347864151, 0.014688421040773392, -0.06133187189698219, 0.0019415859133005142, 0.038418661803007126, -0.0071898819878697395, -0.045971669256687164, 0.01674007810652256, -0.03867284953594208, -0.02037133276462555, -0.03407931327819824, -0.015868578106164932, 0.011093479581177235, 0.0077254921197891235, 0.005610286723822355, 0.02028055116534233, -0.02777908928692341, -0.020698145031929016, 0.0032681282609701157, 0.06884856522083282, -0.026199495419859886, -0.0131360599771142, 0.0022411642130464315, 0.0041169337928295135, 0.00888295378535986, -0.009477571584284306, 0.00942310318350792, 0.011792495846748352, -0.04194097965955734, 0.008465359918773174, -0.00321592902764678, 0.02198724076151848, -0.017893001437187195, 0.005850857123732567, 0.005092833191156387, -0.06568937748670578, -0.029376842081546783, -0.016712844371795654, 0.007153569720685482, -0.05468668043613434, -0.03373434394598007, -0.05686543136835098, -0.014425154775381088, 0.030411748215556145, -0.003796929493546486, 0.028850309550762177, -0.029975999146699905, 0.0026485456619411707, 0.017956549301743507, 0.03237262740731239, 0.015932125970721245, -0.05341574177145958, 0.029921529814600945, -0.06027881056070328, -0.00976807251572609, 0.007303358521312475, 0.017548032104969025, 0.064817875623703, 0.04796886071562767, -0.06056930869817734, -0.032717593014240265, 0.008483516052365303, -0.009713603183627129, 0.01475196797400713, 0.05101911351084709, -0.025836369022727013, -0.030030466616153717, -0.031392186880111694, -0.0023466977290809155, -0.03269943967461586, 0.009064516983926296, -0.04114210233092308, -0.011738027445971966, -0.02984890528023243, -0.06855806708335876, 0.019517987966537476, 0.027524901553988457, -0.025346150621771812, 0.01506970264017582, -0.007471304386854172, 0.07287926226854324, -0.010349072515964508, 0.005701068323105574, -0.06884856522083282, -0.002757483161985874, -0.0819937065243721, -0.01713043823838234, 0.038818102329969406, -0.04687948524951935, -0.06463631242513657, -0.06597987562417984, 0.029140809550881386, 0.05443249270319939, -0.026780495420098305, 0.017738673835992813, 0.00795698445290327, -0.05886261910200119, 0.09535671770572662, 0.0049021923914551735, -0.016522204503417015, -0.008601532317698002, -0.023839179426431656, -0.06064193323254585, -0.02106127142906189, -0.0348418764770031, -0.05134592577815056, -0.02420230582356453, -0.0011387384729459882, -0.013871388509869576, 0.005760075990110636, -0.014688421040773392, -0.024710681289434433, 0.014697498641908169, 0.015233108773827553, 0.020698145031929016, 0.06844913214445114, -0.012673075310885906, 0.009804384782910347, 0.09985947608947754, 0.024656211957335472, -0.019699551165103912, 0.004675238858908415, -0.00839727371931076, -0.006631576921790838, 0.006522639188915491, -0.006640654988586903, 0.014788280241191387, -0.04252197965979576, 0.00011652636021608487, 0.061985500156879425, -0.026689713820815086, -0.06601618975400925, 0.03983485326170921, 0.06543518602848053, 0.012028527446091175, 0.026145026087760925, 0.0324089378118515, 0.003953527193516493, 0.010639572516083717, -0.0038695544935762882, -0.03367987647652626, 0.0002461025433149189, -0.012736622244119644, -0.009187071584165096, -0.02970365434885025, 0.06372850388288498, -0.022895053029060364, -0.012046683579683304, -0.06852175295352936, 0.022059865295886993, 0.037583474069833755, -0.002880037995055318, -0.019354581832885742, 0.051418550312519073, -0.0010536309564486146, -0.012636762112379074, -0.00871500838547945, 0.022259583696722984, -0.004729707725346088, -0.019772175699472427, -0.0020754884462803602, -0.0314285010099411, -0.031446654349565506, 0.009246079251170158, -0.01880989409983158, 0.01727568916976452, 0.0074259135872125626, 0.03616728633642197, 0.019844800233840942, 0.0033884134609252214, -0.014570404775440693, -0.00327039766125381, 0.04974817484617233, 0.02115205116569996, 0.005406028591096401, 0.017548032104969025, -0.0016964762471616268, 0.0014286712976172566, -0.02302214689552784, 0.016358796507120132, -0.011910512112081051, -0.025455087423324585, -0.041214726865291595, -0.008015992119908333, -0.053742554038763046, -0.03558628633618355, -0.015214952640235424, 0.07654682546854019, -0.029231591150164604, 0.005937099456787109, 0.07186251133680344, 0.01674007810652256, 0.013526419177651405, 0.052653178572654724, -0.01679454743862152, -0.05199955031275749, -0.005378794390708208, 0.02013530023396015, -0.040924228727817535, 0.005900787189602852, -0.00117788789793849, -0.022568240761756897, -0.022659022361040115, -0.01899145543575287, 0.0037288435269147158, 0.02198724076151848, 0.013335778377950191, 0.009019126184284687, -0.01185604277998209, 0.017321079969406128, 0.038963351398706436, 0.035223159939050674, -0.03736560046672821, 0.05900787189602852, 0.07589320093393326, -0.035713378340005875, -0.05755537003278732, -0.051563799381256104, -0.03295362740755081, 0.021969083696603775, 0.06543518602848053, -0.06986531615257263, -0.017711440101265907, -0.05428723990917206, 0.03783766180276871, 0.016749156638979912, 0.011592777445912361, -0.002696205861866474, 0.02587268128991127, -0.015260343439877033, -0.0034905425272881985, -0.015405593439936638, -0.0014229974476620555, 0.012591371312737465, 0.02509196288883686, 0.015986593440175056, 0.01835598610341549, 0.03805553913116455, -0.008919266983866692, -0.05414199084043503, -0.017248453572392464, -0.022967679426074028, -0.05755537003278732, -0.04491860792040825, 0.015251264907419682, 0.012718466110527515, -0.010448931716382504, -0.019626924768090248, -0.00016539225180167705, -0.012582293711602688, 0.053887803107500076, 0.018038252368569374, -0.026435526087880135, 0.038128163665533066, -0.007730030920356512, 0.05886261910200119, 0.012963575311005116, 0.012164699845016003, 0.0008924940484575927, 0.04437391832470894, 0.030956435948610306, -0.02656261995434761, 0.001895060413517058, -0.03707509860396385, -0.040924228727817535, -0.025545869022607803, 0.015460061840713024, 0.019826645031571388, 0.011138870380818844, 0.011747105047106743, 0.09688184410333633, -0.03524131700396538, 0.01733015850186348, 0.05857212096452713, 0.011320432648062706, 0.01899145543575287, -0.032136593014001846, -0.03353462740778923, -0.005914404056966305, 0.0736055076122284, 0.03284468874335289, 0.01099362038075924, -0.009014586918056011, 0.007080944254994392, -0.004082890693098307, -0.021333614364266396, -0.05178167670965195, 0.014098341576755047, -0.040670040994882584, -0.04629848152399063, 0.0010615743231028318, -0.008311031386256218, 0.05214480310678482, 0.06162237375974655, 0.032572343945503235, 0.02313108555972576, -0.024928554892539978, -0.0011994484812021255, -0.05828161910176277, 0.06082349643111229, 0.07048263400793076, 0.015532687306404114, 0.028160370886325836, -0.017738673835992813, 0.00640462338924408, -0.05174536257982254, 0.04996604844927788, 0.03852760046720505, -0.03364356607198715, -0.019173018634319305, 0.04669792205095291, 0.04255829006433487, -0.04284879192709923, -0.028069589287042618, 0.05283473804593086, -0.09201596677303314, 0.030375435948371887, 0.011756183579564095, -0.011629089713096619, 0.002293363679200411, -0.01031276024878025, 0.01953614503145218, 0.010812057182192802, 0.018682800233364105, 0.035967566072940826, 0.007947905920445919, 0.027161777019500732, -0.004770559258759022, -0.029776278883218765, 0.034787409007549286, -0.07008319348096848, -0.048186734318733215, 0.0020743536297231913, 0.042739853262901306, -0.03377065807580948, -0.007997835986316204, -0.0011341993231326342, -0.010458010248839855, -0.031156156212091446, -0.041359979659318924, -0.0024420181289315224, 0.05853580683469772, -0.025564026087522507, 0.018446767702698708, 0.03186425194144249, -0.0006014263490214944, -0.021279145032167435, 0.020153457298874855, 0.01244612131267786, 0.04012535139918327, 0.05871737003326416, 0.06601618975400925, -0.045136481523513794, 0.00248513906262815, -0.02843271568417549, 0.038128163665533066, 0.010694041848182678, 0.036984317004680634, 0.017112283036112785, 0.00622306065633893, 0.10399910062551498, 0.004734246991574764, 0.011329511180520058, 0.07741832733154297, -0.04571748152375221, -0.018029173836112022, -0.012010371312499046, -0.01821981556713581, 0.0026689714286476374, -0.04339348152279854, 0.07287926226854324, -0.05385148897767067, 0.019917426630854607, -0.007276124320924282, -0.008537985384464264, 0.036603037267923355, -0.008964656852185726, 0.025691119953989983, 0.001213065697811544, -0.07567532360553741, -0.037093255668878555, -0.030466217547655106, -0.009677290916442871, -0.015133249573409557, 0.01875542476773262, 0.0020085370633751154, -0.05239899083971977, 0.041650477796792984, -0.001117745297960937, 0.03264496847987175, -0.06696031242609024, -0.051563799381256104, 0.05199955031275749, 0.04473704472184181, -0.009282391518354416, 0.004884036257863045, -0.019427206367254257, 0.017929313704371452, 0.03587678447365761, -0.016113687306642532, -0.06423687934875488, 0.008392734453082085, -0.00021489645587280393, -0.05091017484664917, -0.049711860716342926, -0.0338795967400074, -0.007040092721581459, -0.011175182648003101, 0.023348961025476456, -0.01063049491494894, 0.03422456607222557, -0.020262394100427628, -0.050002362579107285, 0.0036426011938601732, 0.011093479581177235, -0.005460497457534075, 0.056429680436849594, -0.07396863400936127, 0.0051699974574148655, -0.0009974599815905094, 0.08533445745706558, -0.036748286336660385, 0.014316217042505741, -0.0007114987238310277, 0.012564137578010559, 0.009223383851349354, -0.027179932221770287, 0.009595587849617004, 0.052943676710128784, 0.0016612985637038946, 0.06035143509507179, 0.04139629006385803, -0.04361135512590408, -0.03587678447365761, -0.015986593440175056, 0.004135089926421642, -0.028832152485847473, -0.04869510978460312, 0.0034156478941440582, -0.07182619720697403, 0.006808600388467312, 0.03400668874382973, 0.03417009487748146 ]
16,368
presidio_analyzer.context_aware_enhancers.lemma_context_aware_enhancer
_find_supportive_word_in_context
Find words in the text which are relevant for context evaluation. A word is considered a supportive context word if there's exact match between a keyword in context_text and any keyword in context_list. :param context_list words before and after the matched entity within a specified window size :param recognizer_context_list a list of words considered as context keywords manually specified by the recognizer's author
@staticmethod def _find_supportive_word_in_context( context_list: List[str], recognizer_context_list: List[str] ) -> str: """ Find words in the text which are relevant for context evaluation. A word is considered a supportive context word if there's exact match between a keyword in context_text and any keyword in context_list. :param context_list words before and after the matched entity within a specified window size :param recognizer_context_list a list of words considered as context keywords manually specified by the recognizer's author """ word = "" # If the context list is empty, no need to continue if context_list is None or recognizer_context_list is None: return word for predefined_context_word in recognizer_context_list: # result == true only if any of the predefined context words # is found exactly or as a substring in any of the collected # context words result = next( ( True for keyword in context_list if predefined_context_word in keyword ), False, ) if result: logger.debug("Found context keyword '%s'", predefined_context_word) word = predefined_context_word break return word
(context_list: List[str], recognizer_context_list: List[str]) -> str
[ 0.041562944650650024, -0.06527311354875565, -0.025902308523654938, 0.014152445830404758, 0.04770093411207199, -0.02449933998286724, 0.058924682438373566, -0.025639250874519348, 0.03872193396091461, -0.020518416538834572, -0.022622868418693542, 0.00817667692899704, -0.05187476426362991, -0.06488730013370514, -0.030514568090438843, -0.02293853648006916, 0.0076067205518484116, 0.024727322161197662, -0.016213055700063705, -0.0559784471988678, -0.002575762802734971, 0.0338115431368351, -0.010645024478435516, -0.018291203305125237, -0.008457270450890064, 0.0015618986217305064, -0.009136833250522614, -0.03503914177417755, -0.0347585491836071, 0.015397580340504646, -0.014205057173967361, -0.032268278300762177, 0.0021855621598660946, -0.008878161199390888, 0.004162870813161135, -0.03956371545791626, -0.006050302181392908, 0.07449763268232346, 0.0030317273922264576, -0.0864228680729866, -0.09989136457443237, 0.005204136949032545, 0.01850164867937565, 0.035986144095659256, -0.07695282995700836, 0.0006554494029842317, -0.014126140624284744, 0.03130373731255531, 0.02772616781294346, 0.009461269713938236, 0.04829719662666321, -0.08389752358198166, -0.02165832743048668, -0.04457932710647583, -0.014766245149075985, -0.006418581586331129, -0.06264255195856094, 0.007418196648359299, 0.02716498076915741, 0.004000652581453323, 0.034846231341362, 0.01585354469716549, 0.030426882207393646, 0.057872455567121506, -0.042580097913742065, 0.010574876330792904, 0.030409345403313637, 0.03421489894390106, 0.026288123801350594, 0.04436888173222542, -0.05808290094137192, -0.05959109216928482, -0.01607275940477848, 0.01586231403052807, 0.009408658370375633, -0.024850081652402878, -0.046543482691049576, -0.007567261811345816, 0.06432611495256424, 0.002830050652846694, 0.00022688633180223405, 0.020886695012450218, 0.05250610038638115, -0.038651786744594574, 0.04563155397772789, 0.014126140624284744, -0.007567261811345816, 0.017230208963155746, 0.05411951616406441, -0.05061209201812744, -0.036792851984500885, 0.045245736837387085, 0.012942385859787464, 0.06842979788780212, -0.024166135117411613, 0.012530263513326645, -0.0038691244553774595, -0.005730249918997288, -0.04240472614765167, 0.0005863970145583153, -0.02079900912940502, 0.07463792711496353, 0.026709014549851418, 0.012705634348094463, 0.03377646952867508, 0.002985692583024502, -0.0606783926486969, -0.008764169178903103, 0.04977031052112579, 0.03111082874238491, -0.07562001049518585, -0.1102733314037323, 0.04819197207689285, 0.0044149667955935, -0.03295222669839859, -0.02034304477274418, -0.04349202662706375, 0.009031610563397408, 0.01146926824003458, -0.020676249638199806, 0.03461825102567673, -0.0792677253484726, -0.02800676040351391, -0.06302836537361145, -0.014748707413673401, -0.009847085922956467, -0.029742935672402382, 0.004594722297042608, 0.03875700756907463, -0.005629411432892084, -0.0007573838229291141, 0.02876085601747036, 0.005296206567436457, -0.0016923309303820133, 0.017326662316918373, -0.0039940765127539635, -0.03247872367501259, 0.05243595317006111, -0.01846657507121563, 0.01372278667986393, 0.037108518183231354, -0.010873006656765938, 0.01436289120465517, -0.021412808448076248, -0.09070192277431488, 0.03509175404906273, -0.03349587693810463, 0.005055071320384741, 0.03952864184975624, 0.009443732909858227, 0.006287053227424622, -0.01929081790149212, -0.013266822323203087, -0.03035673312842846, 0.01303883921355009, 0.006300205830484629, 0.011793704703450203, -0.05215535685420036, 0.012626717798411846, -0.014696096070110798, 0.08410796523094177, -0.04552633315324783, -0.09968092292547226, 0.07625134289264679, 0.037318963557481766, 0.03488130867481232, -0.00792238861322403, 0.0013032263377681375, 0.021202363073825836, 0.006374738644808531, 0.0023521645925939083, 0.045771852135658264, -0.0006823030998930335, 0.05436503514647484, -0.024131059646606445, 0.08691390603780746, -0.05941572040319443, 0.02032550796866417, 0.001049486338160932, 0.03058471530675888, -0.018326276913285255, -0.0044851154088974, -0.0792677253484726, -0.06457163393497467, 0.026498569175601006, 0.047350190579891205, 0.02430643141269684, 0.044684551656246185, 0.0032794391736388206, 0.03305744752287865, -0.054505329579114914, -0.057942602783441544, 0.05148894712328911, 0.00008343827357748523, -0.0542948842048645, 0.05534711107611656, -0.026270586997270584, -0.00933851022273302, -0.03135634958744049, -0.04307113587856293, -0.020711325109004974, 0.0038691244553774595, 0.0030361118260771036, 0.04720989242196083, 0.010855469852685928, 0.049454644322395325, -0.011907695792615414, 0.06653578579425812, -0.11890158802270889, -0.04275546967983246, -0.013021302409470081, -0.03516190126538277, 0.030111214146018028, 0.05510159209370613, 0.05776723474264145, 0.020395657047629356, -0.007663716096431017, 0.03509175404906273, -0.06906113028526306, 0.004844625946134329, 0.007229672744870186, -0.01869455724954605, 0.04822704568505287, -0.008623872883617878, 0.022324739024043083, -0.034653324633836746, 0.05941572040319443, 0.017563413828611374, 0.014801318757236004, -0.026428421959280968, -0.006155524868518114, -0.03833611682057381, 0.005489114671945572, 0.02981308288872242, 0.010004919953644276, -0.05468070134520531, 0.0316544808447361, 0.025463880971074104, 0.04015997797250748, -0.024323968216776848, 0.000257439271081239, 0.024060912430286407, 0.011144831776618958, -0.0266739409416914, 0.00712445005774498, 0.008238056674599648, 0.04307113587856293, -0.01685316115617752, 0.053453102707862854, -0.005322512239217758, -0.017186366021633148, -0.04044057056307793, -0.01461717952042818, -0.04440395534038544, -0.014932847581803799, -0.04033534601330757, -0.02691945992410183, 0.02534112147986889, 0.008097759447991848, 0.0028936227317899466, -0.023078834637999535, 0.07547970861196518, -0.009540186263620853, 0.07884683459997177, -0.06457163393497467, 0.014152445830404758, -0.00948757492005825, 0.012197058647871017, -0.05545233562588692, -0.05745156481862068, -0.020465804263949394, -0.003213674994185567, 0.015520340763032436, -0.014696096070110798, -0.03987938165664673, 0.029637712985277176, -0.018659481778740883, 0.06152017414569855, -0.05573292821645737, 0.031058218330144882, 0.031198514625430107, 0.03623166307806969, -0.04938449710607529, 0.04191368818283081, 0.030672401189804077, 0.0020660904701799154, 0.0038691244553774595, 0.006874546408653259, 0.039212971925735474, -0.04612259194254875, -0.04300098866224289, 0.013301895931363106, 0.12268960475921631, 0.02162325382232666, -0.020728861913084984, 0.09182429313659668, 0.01386308390647173, -0.0316544808447361, 0.03766970708966255, -0.020220285281538963, 0.017563413828611374, 0.06064331904053688, 0.006949078757315874, -0.012346124276518822, -0.03200522065162659, -0.021570643410086632, 0.05219043418765068, -0.025411268696188927, 0.0005507747991941869, -0.0633089616894722, -0.038862232118844986, -0.043386805802583694, 0.020921770483255386, -0.0527866929769516, -0.03516190126538277, -0.009014073759317398, 0.025954918935894966, 0.006339664570987225, -0.002275439677760005, 0.0490337535738945, 0.028673171997070312, 0.014590873382985592, 0.051068056374788284, 0.006401044316589832, 0.03219813108444214, -0.06572908163070679, 0.019939690828323364, -0.037108518183231354, 0.041527871042490005, 0.003584146499633789, -0.029602637514472008, -0.03668763116002083, -0.003283823374658823, -0.007519035134464502, -0.0310932919383049, -0.028427651152014732, 0.0011958115501329303, 0.05057701840996742, 0.04440395534038544, -0.039668936282396317, -0.015494034625589848, 0.0160639900714159, -0.049735236912965775, 0.037599559873342514, 0.03928312286734581, -0.006607105489820242, 0.0015684750396758318, 0.02344711311161518, 0.08501990139484406, -0.02237734943628311, -0.0011004535481333733, -0.06629026681184769, 0.03405706211924553, -0.011662176810204983, 0.022570258006453514, 0.008917619474232197, -0.04689422622323036, 0.018308740109205246, 0.02058856375515461, -0.011276360601186752, 0.013222979381680489, 0.016774242743849754, -0.012854699976742268, 0.05092776194214821, -0.041036833077669144, 0.005607490427792072, -0.0017076758667826653, 0.03160186856985092, -0.009636640548706055, -0.04380769655108452, -0.006769323721528053, -0.007470807991921902, 0.011635870672762394, 0.01410860288888216, 0.05461055412888527, -0.034916382282972336, -0.01767740398645401, 0.0025582255329936743, 0.009478806518018246, 0.07337526232004166, -0.0016989073483273387, 0.07379615306854248, 0.03398691490292549, -0.028427651152014732, -0.0029089676681905985, -0.031496644020080566, -0.061870917677879333, -0.0001633143110666424, 0.03728388994932175, 0.03302237391471863, -0.037880152463912964, -0.025481417775154114, -0.03973908722400665, 0.01580093428492546, -0.01637965813279152, -0.018536722287535667, -0.0501561276614666, 0.0011530648916959763, -0.028445187956094742, 0.014073529280722141, 0.017186366021633148, 0.04542110860347748, -0.07653193920850754, -0.006554494146257639, -0.018378889188170433, 0.06944694370031357, 0.02530604600906372, 0.048367343842983246, -0.022833313792943954, 0.037950299680233, -0.05910005420446396, -0.03928312286734581, 0.013012534007430077, -0.018413962796330452, -0.1003122553229332, -0.020413193851709366, 0.0013251476921141148, 0.07604090124368668, -0.024709785357117653, 0.04166816920042038, 0.021237436681985855, -0.0484725646674633, 0.06176569312810898, 0.048121824860572815, -0.030532104894518852, 0.0059889224357903, -0.011478036642074585, -0.05850379168987274, 0.037599559873342514, -0.07772446423768997, -0.10641516745090485, -0.005721481516957283, -0.05352325364947319, -0.050226274877786636, -0.017247745767235756, -0.035214513540267944, -0.022991148754954338, 0.0001933192106662318, 0.0076067205518484116, -0.00612483499571681, -0.015748322010040283, 0.011399120092391968, 0.019080372527241707, 0.11827025562524796, 0.004316320642828941, -0.05005090683698654, -0.0770229771733284, 0.03512682765722275, -0.0606783926486969, -0.028795931488275528, 0.020097525790333748, 0.024727322161197662, -0.006536956876516342, 0.044965144246816635, 0.022324739024043083, 0.019624022766947746, -0.014582104980945587, 0.07583045214414597, 0.027533259242773056, 0.012337354943156242, 0.0036806005518883467, 0.019588949158787727, 0.009452501311898232, -0.009969845414161682, -0.002797168679535389, 0.021482957527041435, -0.012889774516224861, -0.0161078330129385, -0.009873392060399055, -0.013608795590698719, 0.04457932710647583, -0.02346464991569519, 0.01901022531092167, -0.04159801825881004, 0.06064331904053688, 0.009470038115978241, -0.030391808599233627, 0.013021302409470081, 0.0817229226231575, -0.008632641285657883, 0.020886695012450218, -0.03567047789692879, -0.004901621490716934, -0.056820228695869446, -0.0385114885866642, -0.05243595317006111, -0.00017961834964808077, -0.043386805802583694, -0.02002737671136856, 0.0014939423417672515, -0.004511421080678701, 0.069692462682724, 0.043106209486722946, -0.06962231546640396, 0.014818856492638588, -0.022061681374907494, -0.0059889224357903, 0.02218444086611271, 0.032057832926511765, 0.034653324633836746, -0.004178215749561787, -0.010645024478435516, -0.02767355553805828, -0.02372770756483078, 0.051594171673059464, -0.005440887529402971, -0.027357887476682663, -0.010048762895166874, -0.018659481778740883, -0.006098529323935509, -0.027761241421103477, -0.04556140676140785, 0.11034347862005234, -0.05376877263188362, 0.008185445331037045, 0.008159139193594456, 0.004673639312386513, 0.03279438987374306, 0.02748064696788788, -0.007839087396860123, -0.06516788899898529, 0.031040681526064873, -0.006357201375067234, -0.0542948842048645, 0.059485871344804764, -0.03833611682057381, -0.027831390500068665, 0.005782861262559891, 0.022219516336917877, 0.01502053253352642, 0.004642949439585209, 0.011267592199146748, 0.01665148325264454, -0.004307552240788937, 0.033390652388334274, 0.04882330819964409, -0.008246825076639652, -0.060222428292036057, 0.04086146131157875, 0.05566278100013733, 0.017896618694067, -0.050997909158468246, -0.018028147518634796, 0.009987383149564266, 0.013345738872885704, 0.03367124870419502, -0.006409812718629837, -0.019624022766947746, -0.03528466075658798, 0.0268668495118618, 0.03560032695531845, -0.01714252308011055, -0.014687327668070793, 0.02767355553805828, 0.03009367734193802, -0.039177898317575455, 0.031496644020080566, 0.04184354096651077, -0.022324739024043083, 0.03132127597928047, -0.0385114885866642, -0.02004491351544857, 0.04773600772023201, -0.007676868699491024, 0.017309125512838364, -0.0131966732442379, -0.04194876179099083, 0.010022456757724285, -0.015204672701656818, -0.0102855134755373, 0.04272039607167244, -0.029918305575847626, 0.018413962796330452, -0.01850164867937565, -0.0631335899233818, 0.08509004861116409, -0.00020153973309788853, -0.03987938165664673, 0.05503144487738609, 0.006624642293900251, -0.005055071320384741, 0.005638180300593376, 0.057346343994140625, -0.05675008147954941, 0.03140896186232567, -0.011898927390575409, 0.04184354096651077, 0.01901022531092167, -0.029742935672402382, 0.01691454090178013, -0.006313358899205923, 0.0025253435596823692, 0.044439032673835754, 0.0063703544437885284, 0.03728388994932175, -0.005344433709979057, -0.016555029898881912, 0.007602336350828409, 0.03295222669839859, -0.030760087072849274, -0.0003233404131606221, -0.008553724735975266, 0.0016309510683640838, 0.03396937623620033, 0.02448180317878723, 0.018028147518634796, -0.04412336274981499, -0.011539417318999767, -0.03446041792631149, -0.021447882056236267, -0.045245736837387085, -0.01160956546664238, 0.030111214146018028, 0.01279332023113966, -0.008413427509367466, 0.03488130867481232, 0.001683562295511365, 0.04636811465024948, 0.05033149942755699, -0.006589568220078945, 0.0160639900714159, 0.01359125878661871, -0.02371016889810562, -0.02660379186272621, 0.01659010350704193, 0.0005124123417772353, -0.00356222502887249, -0.03595107048749924, -0.04184354096651077, 0.017502034083008766, 0.004879700019955635, 0.008023226633667946, 0.02055349014699459, -0.02134265936911106, -0.014555799774825573, 0.09568245708942413, 0.02770863100886345, -0.014792550355196, -0.05611874535679817, 0.020658712834119797, -0.04345695301890373, 0.03461825102567673, -0.002212963765487075, 0.000772728817537427, -0.03535480797290802, 0.05874931067228317, -0.009399889968335629, -0.011504342779517174, 0.0612395815551281, 0.07302451878786087, -0.03568801283836365, 0.030163824558258057, 0.025270972400903702, 0.005725865717977285, 0.0003011450171470642, 0.014959152787923813, -0.046052444726228714, -0.006177446339279413, -0.004853394348174334, -0.008207366801798344, -0.015748322010040283, 0.04503529146313667, 0.008939540944993496, -0.018256129696965218, -0.06976261734962463, -0.013494804501533508, 0.024043375626206398, -0.02637580968439579, 0.03868686035275459, 0.028147058561444283, 0.05713589861989021, -0.02872578240931034, 0.005980153568089008, 0.018817316740751266, -0.021447882056236267, 0.017738783732056618, -0.014897773042321205, -0.00830820482224226, 0.022991148754954338, -0.04643826186656952, 0.04303606227040291, -0.030917920172214508, 0.0005973577499389648, -0.014441808685660362, -0.009969845414161682, 0.04212413355708122, -0.006839471869170666, -0.003509613685309887, 0.014433039352297783, -0.07365585118532181, -0.07800505310297012, -0.023938152939081192, 0.004647333640605211, 0.011784936301410198, -0.006874546408653259, -0.00964540895074606, -0.03721374273300171, -0.025183286517858505, 0.031496644020080566, -0.025148212909698486, 0.015949999913573265, 0.051032982766628265, 0.024359041824936867, -0.031549256294965744, -0.01356495264917612, 0.004340433981269598, -0.04268531873822212, -0.02218444086611271, -0.01110098883509636, 0.010566106997430325, 0.03270670771598816, -0.029953379184007645, 0.025007914751768112, -0.009654178284108639, 0.016274435445666313, -0.009592797607183456, -0.025937382131814957, 0.011188674718141556, 0.048647936433553696, -0.015932463109493256, 0.07049917429685593, 0.026498569175601006, -0.020500879734754562, -0.0025056141894310713, -0.02428889460861683, 0.013503572903573513, 0.02739296294748783, 0.006028380710631609, 0.019080372527241707, -0.04766586050391197, -0.04044057056307793, -0.03142649680376053, -0.0037090983241796494, 0.032320890575647354, 0.00366306328214705, -0.0005211809184402227, 0.01895761303603649, -0.05383891984820366, -0.043597251176834106, 0.0006198271294124424, 0.00521290535107255, 0.048718083649873734, -0.07393644750118256, 0.030391808599233627, -0.00976816937327385, 0.025253435596823692, 0.0030448802281171083, -0.034846231341362, 0.030812697485089302, -0.024201208725571632, 0.04086146131157875, 0.024095986038446426, 0.014301511459052563, -0.018659481778740883, 0.042334578931331635, 0.024218745529651642, 0.020115062594413757, -0.03197014704346657, -0.014590873382985592, 0.009557723999023438, -0.02113221399486065, -0.027848927304148674, 0.02748064696788788, 0.05745156481862068, -0.048683010041713715, 0.017063606530427933, 0.02004491351544857, 0.06464178115129471 ]
16,369
presidio_analyzer.context_aware_enhancers.lemma_context_aware_enhancer
enhance_using_context
Update results in case the lemmas of surrounding words or input context words are identical to the context words. Using the surrounding words of the actual word matches, look for specific strings that if found contribute to the score of the result, improving the confidence that the match is indeed of that PII entity type :param text: The actual text that was analyzed :param raw_results: Recognizer results which didn't take context into consideration :param nlp_artifacts: The nlp artifacts contains elements such as lemmatized tokens for better accuracy of the context enhancement process :param recognizers: the list of recognizers :param context: list of context words
def enhance_using_context( self, text: str, raw_results: List[RecognizerResult], nlp_artifacts: NlpArtifacts, recognizers: List[EntityRecognizer], context: Optional[List[str]] = None, ) -> List[RecognizerResult]: """ Update results in case the lemmas of surrounding words or input context words are identical to the context words. Using the surrounding words of the actual word matches, look for specific strings that if found contribute to the score of the result, improving the confidence that the match is indeed of that PII entity type :param text: The actual text that was analyzed :param raw_results: Recognizer results which didn't take context into consideration :param nlp_artifacts: The nlp artifacts contains elements such as lemmatized tokens for better accuracy of the context enhancement process :param recognizers: the list of recognizers :param context: list of context words """ # noqa D205 D400 # create a deep copy of the results object, so we can manipulate it results = copy.deepcopy(raw_results) # create recognizer context dictionary recognizers_dict = {recognizer.id: recognizer for recognizer in recognizers} # Create empty list in None or lowercase all context words in the list if not context: context = [] else: context = [word.lower() for word in context] # Sanity if nlp_artifacts is None: logger.warning("NLP artifacts were not provided") return results for result in results: recognizer = None # get recognizer matching the result, if found. if ( result.recognition_metadata and RecognizerResult.RECOGNIZER_IDENTIFIER_KEY in result.recognition_metadata.keys() ): recognizer = recognizers_dict.get( result.recognition_metadata[ RecognizerResult.RECOGNIZER_IDENTIFIER_KEY ] ) if not recognizer: logger.debug( "Recognizer name not found as part of the " "recognition_metadata dict in the RecognizerResult. " ) continue # skip recognizer result if the recognizer doesn't support # context enhancement if not recognizer.context: logger.debug( "recognizer '%s' does not support context enhancement", recognizer.name, ) continue # skip context enhancement if already boosted by recognizer level if result.recognition_metadata.get( RecognizerResult.IS_SCORE_ENHANCED_BY_CONTEXT_KEY ): logger.debug("result score already boosted, skipping") continue # extract lemmatized context from the surrounding of the match word = text[result.start : result.end] surrounding_words = self._extract_surrounding_words( nlp_artifacts=nlp_artifacts, word=word, start=result.start ) # combine other sources of context with surrounding words surrounding_words.extend(context) supportive_context_word = self._find_supportive_word_in_context( surrounding_words, recognizer.context ) if supportive_context_word != "": result.score += self.context_similarity_factor result.score = max(result.score, self.min_score_with_context_similarity) result.score = min(result.score, ContextAwareEnhancer.MAX_SCORE) # Update the explainability object with context information # helped to improve the score result.analysis_explanation.set_supportive_context_word( supportive_context_word ) result.analysis_explanation.set_improved_score(result.score) return results
(self, text: str, raw_results: List[presidio_analyzer.recognizer_result.RecognizerResult], nlp_artifacts: presidio_analyzer.nlp_engine.nlp_artifacts.NlpArtifacts, recognizers: List[presidio_analyzer.entity_recognizer.EntityRecognizer], context: Optional[List[str]] = None) -> List[presidio_analyzer.recognizer_result.RecognizerResult]
[ 0.03023875318467617, -0.07401669025421143, -0.01733538880944252, -0.0002270361001137644, 0.04921979084610939, -0.05920587107539177, 0.012763109989464283, -0.05049142614006996, 0.09133338183164597, 0.008022526279091835, -0.017017479985952377, -0.026853958144783974, -0.04181437939405441, 0.02101939357817173, -0.02561972290277481, 0.0003716729988809675, -0.0394207127392292, 0.009789726696908474, 0.014231101609766483, -0.055054355412721634, -0.006297403015196323, -0.0029827342368662357, -0.023880574852228165, -0.014848219230771065, 0.0070921750739216805, -0.01583934761583805, 0.022440632805228233, -0.050229620188474655, -0.02417978271842003, 0.001654996769502759, 0.0004318653082009405, -0.021468205377459526, 0.00419359328225255, -0.01160367764532566, -0.05711141228675842, -0.05901886522769928, -0.05258588492870331, 0.03482038155198097, 0.03848568722605705, -0.05067843198776245, -0.10045924037694931, -0.0024871702771633863, -0.015334432944655418, 0.009191309101879597, -0.04188918322324753, -0.02305775135755539, -0.035867612808942795, 0.02691005915403366, 0.052099671214818954, -0.044544659554958344, 0.0012389100156724453, -0.08475079387426376, -0.010453594848513603, 0.015783246606588364, 0.005778463091701269, 0.032333213835954666, -0.08879010379314423, 0.02670435421168804, 0.04364703223109245, -0.0586448572576046, 0.05239887908101082, 0.008265633136034012, 0.020533179864287376, 0.08340435475111008, -0.03463337942957878, -0.0039013975765556097, 0.012407800182700157, 0.06444201618432999, 0.001205015229061246, 0.007793445140123367, -0.04963120073080063, -0.04514307528734207, -0.018672477453947067, -0.011500825174152851, 0.0010080753127112985, 0.0375506617128849, -0.030332256108522415, 0.014866920188069344, 0.08325475454330444, 0.022908147424459457, -0.004041651729494333, 0.042113590985536575, 0.029060620814561844, -0.05729841813445091, 0.024086279794573784, -0.02509610913693905, -0.05363311618566513, -0.03336174041032791, 0.02249673567712307, -0.056138984858989716, -0.015063275583088398, 0.04349742829799652, 0.007746693678200245, 0.05094023793935776, -0.020177869126200676, 0.02748977579176426, 0.0018174576107412577, -0.04368443414568901, -0.006021569948643446, -0.0060402704402804375, 0.0058626155368983746, 0.0825815349817276, -0.009322213008999825, 0.004824736155569553, 0.045255277305841446, -0.005226797424256802, -0.0497434064745903, 0.006072996649891138, 0.0751013234257698, 0.030650164932012558, -0.05482994765043259, -0.0710994079709053, 0.016727622598409653, -0.024609895423054695, -0.029434630647301674, -0.014324604533612728, -0.035306595265865326, -0.016073103994131088, 0.0005914042121730745, 0.03276332467794418, 0.022982949391007423, -0.07454030215740204, -0.003221165854483843, -0.061113324016332626, -0.04185178130865097, 0.004013600759208202, -0.02565712481737137, -0.02784508652985096, 0.017830953001976013, -0.04331042245030403, -0.03558710590004921, 0.010537747293710709, -0.007059449329972267, 0.015455986373126507, 0.050042614340782166, 0.0036723162047564983, -0.03076236881315708, 0.049331992864608765, 0.02818169631063938, 0.01751304417848587, 0.017110982909798622, -0.006325453519821167, 0.028480904176831245, -0.012940765358507633, -0.06735929846763611, -0.014698615297675133, 0.005741062108427286, 0.0003012538072653115, -0.02565712481737137, 0.010079585015773773, 0.03003304824233055, -0.028443502262234688, 0.029752539470791817, -0.024198483675718307, 0.0012459226418286562, 0.012136642821133137, 0.0066480375826358795, -0.057971637696027756, 0.031080277636647224, -0.0014352655271068215, 0.05666260048747063, -0.09469947218894958, -0.0060402704402804375, 0.06597546488046646, 0.03756936267018318, 0.01024788897484541, -0.012089891359210014, -0.012155342847108841, -0.03700834512710571, -0.012856612913310528, 0.029098020866513252, 0.009948681108653545, 0.025956332683563232, 0.0007988631841726601, -0.013604634441435337, 0.10060884058475494, -0.039906926453113556, -0.008588217198848724, -0.008041227236390114, 0.058196041733026505, -0.015577539801597595, -0.0033216814044862986, -0.06444201618432999, -0.04873357713222504, 0.014249802567064762, 0.020701484754681587, 0.017456943169236183, 0.05550316721200943, -0.005245497915893793, 0.02691005915403366, -0.012080540880560875, -0.07540053129196167, 0.02195441909134388, -0.015736494213342667, -0.02251543663442135, 0.04806035757064819, -0.03487648442387581, -0.031061576679348946, -0.0014820168726146221, -0.003169739618897438, -0.04652691259980202, 0.0036933543160557747, 0.017466293647885323, 0.04798555374145508, -0.006713489536195993, 0.046938326209783554, -0.043983642011880875, 0.029172824695706367, -0.07158561795949936, -0.06661128252744675, -0.0010992403840646148, -0.007849547080695629, 0.02934112772345543, 0.0497434064745903, 0.04035573825240135, 0.051725659519433975, 0.022253628820180893, 0.04035573825240135, -0.033268239349126816, -0.013716837391257286, -0.023338258266448975, -0.06459162384271622, -0.015184829011559486, -0.014165650121867657, 0.017045531421899796, 0.001506561296992004, 0.03727015107870102, 0.015418585389852524, 0.006512458901852369, -0.018382618203759193, 0.004083727952092886, -0.033099934458732605, 0.0028892315458506346, 0.019037136808037758, 0.0008403550018556416, -0.02137470431625843, 0.06182394549250603, 0.04331042245030403, -0.027527177706360817, -0.0167743731290102, 0.0016561654629185796, 0.0445820577442646, 0.00038686717743985355, -0.03266982361674309, -0.028293898329138756, -0.035119593143463135, 0.04346002638339996, -0.015474687330424786, 0.08033747225999832, -0.008377837017178535, -0.009111831896007061, -0.004104766063392162, -0.05382011830806732, -0.006021569948643446, -0.027377573773264885, -0.04940679669380188, -0.017110982909798622, -0.003209478221833706, 0.00580183882266283, -0.033997561782598495, -0.005731711629778147, 0.038055576384067535, -0.069229356944561, 0.08003825694322586, -0.017410190775990486, 0.00493693957105279, 0.008826648816466331, 0.013436329551041126, -0.018663126975297928, -0.024254584684967995, 0.01549338735640049, 0.023095151409506798, 0.023113852366805077, -0.01218339428305626, -0.0059280674904584885, 0.07771939784288406, -0.03373575210571289, 0.053371306508779526, -0.04043054208159447, 0.027227967977523804, 0.0144835589453578, 0.022421933710575104, -0.06231015920639038, -0.02081368863582611, 0.05774722993373871, 0.0028284548316150904, -0.007045424077659845, 0.017064232379198074, 0.010902407579123974, -0.043983642011880875, -0.01791510544717312, 0.05015481635928154, 0.07659736275672913, 0.01972905732691288, 0.014081497676670551, 0.05295989662408829, -0.025357916951179504, -0.015970250591635704, 0.009270787239074707, -0.009565319865942001, -0.0289671178907156, 0.03859788924455643, 0.021673912182450294, -0.013483081012964249, -0.012828562408685684, -0.0012821549316868186, 0.07371748238801956, -0.06298337876796722, 0.008303034119307995, -0.035661906003952026, 0.002900919411331415, -0.010360092855989933, -0.02470339834690094, -0.0438714399933815, -0.01657801866531372, -0.04547968506813049, 0.051538653671741486, 0.02283334545791149, 0.022459333762526512, 0.024086279794573784, -0.02158040925860405, 0.016521915793418884, 0.041402969509363174, -0.008298358879983425, 0.061487335711717606, -0.028686609119176865, 0.04847176745533943, -0.0027583278715610504, 0.04024353623390198, -0.04518047720193863, -0.02524571307003498, -0.022534135729074478, -0.005161345936357975, -0.03627902269363403, -0.05602678284049034, -0.04559188708662987, 0.014296554028987885, -0.0016456465236842632, 0.02947203256189823, -0.03583021089434624, -0.0023889923468232155, -0.027059664949774742, -0.0314168855547905, 0.03564320504665375, 0.05647559463977814, -0.008055252023041248, 0.04705052822828293, 0.017438242211937904, 0.040804553776979446, -0.023712269961833954, -0.03669043630361557, -0.0840027704834938, 0.04607810080051422, 0.005572757218033075, -0.0331934355199337, -0.001930829486809671, -0.04256240278482437, -0.009714924730360508, 0.0197103563696146, -0.03022005409002304, -0.05460554361343384, 0.01657801866531372, 0.00902300514280796, 0.051912665367126465, -0.05737321823835373, 0.01492302119731903, -0.027919888496398926, -0.004490464460104704, -0.0005440684617497027, -0.0072184037417173386, 0.00465175649151206, -0.011725231073796749, -0.011304468847811222, 0.045292679220438004, 0.057261016219854355, -0.03547490015625954, -0.047312334179878235, -0.0031557141337543726, -0.004691495094448328, 0.06032790243625641, 0.0021306914277374744, 0.060215700417757034, 0.00895287748426199, -0.0343528687953949, 0.00552600622177124, -0.010360092855989933, 0.002206662204116583, -0.013688786886632442, 0.005563407205045223, -0.015549489296972752, -0.07195962965488434, -0.026087237522006035, -0.01133252028375864, -0.0004163789562880993, -0.03115507960319519, -0.006713489536195993, -0.04910758510231972, -0.027022263035178185, -0.04218839108943939, -0.019093239679932594, 0.02251543663442135, 0.03339914232492447, 0.003071561688557267, -0.0335487462580204, -0.012491952627897263, 0.04536747932434082, 0.01937374658882618, 0.06231015920639038, -0.030201353132724762, 0.0199347622692585, -0.06088891997933388, 0.04162737727165222, 0.0008175637340173125, -0.011538226157426834, -0.09095937013626099, -0.01825171522796154, -0.012089891359210014, 0.04499347135424614, 0.0064984336495399475, 0.07854221761226654, 0.047873351722955704, -0.02805079147219658, 0.05610158294439316, -0.003885034704580903, -0.04465686157345772, 0.00811602920293808, -0.0068771191872656345, -0.05756022408604622, -0.000999309471808374, -0.10262849926948547, -0.044731661677360535, 0.003375445259734988, 0.0030294854659587145, -0.027209268882870674, -0.021150296553969383, -0.04043054208159447, -0.03059406392276287, 0.03149168938398361, -0.007386708632111549, -0.01768134906888008, 0.018373269587755203, -0.0065358346328139305, 0.0694163590669632, 0.056325990706682205, 0.054680343717336655, -0.04705052822828293, -0.06466642767190933, 0.0010454764124006033, -0.0844515860080719, -0.006470382679253817, 0.03908410295844078, 0.04375923424959183, 0.038971900939941406, 0.07839260995388031, -0.02141210436820984, 0.028630508109927177, 0.0045559159480035305, 0.038971900939941406, -0.011575627140700817, 0.05239887908101082, -0.022403232753276825, -0.0035928389988839626, 0.0024380814284086227, 0.02582542970776558, 0.03022005409002304, 0.01492302119731903, -0.020233971998095512, -0.04099155589938164, -0.04772374778985977, -0.012398449704051018, 0.028368700295686722, 0.000770812388509512, 0.05718621611595154, 0.002566647483035922, 0.027396272867918015, 0.032520219683647156, -0.009322213008999825, -0.01538118440657854, 0.08482559770345688, 0.022534135729074478, 0.062085751444101334, -0.04110376164317131, 0.03022005409002304, -0.040467943996191025, -0.016288159415125847, -0.05082803592085838, 0.02930372767150402, -0.03231451287865639, -0.0013452692655846477, 0.032557617872953415, -0.03341784328222275, 0.03412846475839615, 0.04596589878201485, -0.003167401999235153, -0.036035917699337006, -0.023282157257199287, 0.01465186383575201, -0.020383575931191444, 0.014436807483434677, 0.0038686718326061964, 0.012856612913310528, -0.02324475720524788, -0.022066622972488403, -0.05972948670387268, 0.07506392151117325, 0.02786378748714924, -0.02158040925860405, 0.005778463091701269, -0.038635291159152985, 0.01954205147922039, -0.09828997403383255, -0.05359571427106857, 0.13786029815673828, -0.07764459401369095, -0.0008047071169130504, 0.002660150174051523, 0.0003675822517834604, 0.051501255482435226, 0.01972905732691288, -0.050416622310876846, -0.035661906003952026, 0.018878182396292686, 0.01659671775996685, -0.0309680737555027, 0.06025310233235359, -0.013959944248199463, 0.0017110983608290553, -0.003447909839451313, 0.02653604932129383, 0.010182437486946583, -0.007737343665212393, -0.005722361616790295, 0.029434630647301674, -0.0016433089040219784, 0.016082454472780228, 0.03424066677689552, -0.007456835359334946, -0.05969208478927612, 0.017578495666384697, 0.040841951966285706, 0.015268981456756592, -0.0546429418027401, -0.01827976666390896, 0.012968815863132477, 0.0316786952316761, -0.014642513357102871, -0.00968687329441309, -0.0002923418360296637, -0.02745237573981285, -0.004908888600766659, 0.0031627267599105835, -0.004181905649602413, -0.04757414385676384, 0.07450290024280548, 0.024946505203843117, -0.01097720954567194, 0.05643819272518158, 0.015081975609064102, -0.004749934189021587, 0.029789941385388374, 0.00958402082324028, 0.0059374175034463406, 0.026087237522006035, -0.04686352238059044, 0.05999129265546799, 0.032333213835954666, -0.042150989174842834, 0.06234756112098694, -0.04589109495282173, -0.02823779731988907, 0.04734973609447479, -0.04099155589938164, -0.00016070767014753073, 0.004922913853079081, -0.0675463080406189, 0.06216055527329445, -0.013847741298377514, -0.010453594848513603, 0.05445593595504761, -0.004340860061347485, -0.02378707192838192, 0.015063275583088398, 0.03147298842668533, -0.04117856174707413, 0.05213707312941551, -0.037868570536375046, 0.023188654333353043, 0.03266982361674309, 0.041739579290151596, 0.05165085941553116, -0.04734973609447479, -0.0005426075076684356, 0.03540010005235672, 0.004553578794002533, 0.06590066105127335, 0.011912235990166664, -0.05999129265546799, -0.003006109967827797, 0.009546619839966297, -0.02857440710067749, -0.012510653585195541, -0.02560102380812168, -0.02376837097108364, 0.02709706500172615, 0.0029640337452292442, -0.012258196249604225, -0.03631642460823059, -0.018167562782764435, -0.01736344024538994, 0.01785900443792343, -0.01675567403435707, -0.04125336557626724, 0.03685874119400978, -0.007110875565558672, 0.021692613139748573, -0.007872922345995903, -0.010126335546374321, 0.07031398266553879, 0.06605026870965958, -0.0033637573942542076, 0.02195441909134388, 0.004345535300672054, -0.03444637358188629, -0.0069425711408257484, -0.008260957896709442, 0.0013779951259493828, -0.016849175095558167, -0.06343219429254532, -0.05509175732731819, -0.008321735076606274, -0.007082825060933828, 0.0018197951139882207, 0.033866655081510544, 0.0009806089801713824, 0.021991821005940437, 0.0729694589972496, 0.0607767179608345, -0.017232537269592285, 0.0024544443003833294, 0.019672956317663193, -0.06859353929758072, 0.01785900443792343, -0.0015778570668771863, -0.0004230994381941855, -0.04308601841330528, 0.031061576679348946, -0.039158906787633896, -0.025040006265044212, 0.05823344364762306, 0.08534920960664749, -0.0002502656716387719, -0.0006048451759852469, -0.011276418343186378, 0.005264198873192072, -0.004308134317398071, 0.0769713744521141, -0.02619943954050541, 0.007433460094034672, -0.028293898329138756, 0.021075494587421417, -0.021804815158247948, 0.05718621611595154, 0.06305818259716034, 0.00397152453660965, -0.018148861825466156, 0.008317059837281704, 0.03796207159757614, -0.014595761895179749, 0.07958944886922836, 0.02971513941884041, 0.04016873612999916, -0.030163951218128204, 0.0027910538483411074, 0.05546576529741287, -0.003955161664634943, 0.027714181691408157, -0.004546565935015678, -0.0021961431484669447, 0.012211444787681103, -0.03712054714560509, 0.02266504056751728, -0.007456835359334946, 0.017615897580981255, -0.007770069409161806, 0.015166128054261208, 0.007723317947238684, -0.0025502846110612154, 0.0031603891402482986, 0.003882697084918618, -0.07023918628692627, -0.06212315335869789, 0.018952984362840652, -0.0228707455098629, -0.032370615750551224, -0.0039013975765556097, -0.028350001201033592, -0.04559188708662987, -0.10113245248794556, 0.03968251869082451, -0.02158040925860405, 0.01273505948483944, 0.025862829759716988, 0.01622270792722702, -0.04944419488310814, -0.01600765250623226, 0.013819689862430096, -0.014352655038237572, -0.026461247354745865, -0.014072147198021412, -0.03482038155198097, 0.039158906787633896, -0.003719067433848977, 0.04753674194216728, 0.0141937006264925, 0.043048616498708725, 0.017746800556778908, 0.0009899592259898782, 0.0010893057333305478, 0.04495606943964958, -0.039869524538517, 0.07192222774028778, 0.039944328367710114, 0.0016468152171000838, 0.00304351095110178, -0.025937631726264954, -0.0202900730073452, 0.026592150330543518, 0.0011407322017475963, 0.08198311179876328, -0.03315603733062744, -0.019139990210533142, -0.03867269307374954, -0.03452117368578911, -0.03837348520755768, -0.04402104392647743, -0.01245455164462328, 0.009752325713634491, -0.02158040925860405, -0.01625075936317444, 0.006166499108076096, -0.0091211823746562, 0.03979472443461418, -0.057822033762931824, 0.01625075936317444, -0.000863730616401881, 0.02455379255115986, 0.038092974573373795, -0.008892101235687733, 0.017830953001976013, -0.012192744761705399, 0.07162301987409592, 0.022739842534065247, 0.029397230595350266, 0.004525527823716402, 0.05655039846897125, 0.029004519805312157, 0.04607810080051422, -0.03005174919962883, -0.018401319161057472, 0.01825171522796154, 0.019139990210533142, -0.0394207127392292, 0.03397886082530022, 0.007634490728378296, -0.03784986957907677, -0.0006615311722271144, 0.049518998712301254, 0.07734538614749908 ]
16,370
presidio_analyzer.local_recognizer
LocalRecognizer
PII entity recognizer which runs on the same process as the AnalyzerEngine.
class LocalRecognizer(ABC, EntityRecognizer): """PII entity recognizer which runs on the same process as the AnalyzerEngine."""
(supported_entities: List[str], name: str = None, supported_language: str = 'en', version: str = '0.0.1', context: Optional[List[str]] = None)
[ 0.05376727506518364, -0.06010102480649948, -0.07224651426076889, 0.0863756462931633, -0.0010162928374484181, -0.027318647131323814, 0.021976720541715622, -0.004689411260187626, 0.0007835623109713197, 0.002067386405542493, 0.0298417080193758, -0.011640875600278378, -0.04868635535240173, 0.04788593575358391, -0.0434662289917469, -0.023525357246398926, -0.0253175999969244, 0.04252660647034645, -0.020410683006048203, -0.05853498727083206, -0.05268844962120056, 0.05244484171271324, -0.003939018119126558, -0.04708551615476608, 0.008556652814149857, 0.06674797832965851, 0.008726307190954685, -0.0422482006251812, -0.0103967459872365, -0.0012376043014228344, 0.0014583721058443189, -0.04952157288789749, 0.011980184353888035, 0.012702301144599915, 0.010483748279511929, -0.005237523932009935, -0.017974626272916794, 0.06546035408973694, -0.10899618268013, -0.021472109481692314, -0.06566915661096573, -0.04200459644198418, 0.05891779810190201, 0.02432577684521675, -0.04924316704273224, 0.014598946087062359, 0.0442318469285965, -0.03239956870675087, 0.04614589363336563, -0.012641399167478085, -0.04301381856203079, -0.05032199248671532, 0.01823563128709793, 0.05122681334614754, -0.03848971053957939, 0.07621380686759949, -0.0012919806176796556, 0.04795553535223007, -0.06643477082252502, -0.027109842747449875, -0.004149998538196087, -0.008117292076349258, 0.054532893002033234, 0.0019477586029097438, 0.04409264400601387, 0.002266403753310442, -0.004728562198579311, 0.07697942107915878, -0.0020423734094947577, 0.02001047506928444, -0.035636045038700104, -0.08094672113656998, 0.020027874037623405, 0.03619285672903061, 0.06726999580860138, 0.017269909381866455, -0.012902406044304371, 0.055924925953149796, 0.06967125087976456, 0.022429130971431732, 0.032625772058963776, 0.010240142233669758, -0.010596850886940956, -0.03935973346233368, 0.0036867123562842607, -0.04792073741555214, 0.01639118790626526, -0.03845491260290146, 0.006068393588066101, -0.03112933784723282, -0.029859106987714767, 0.04906916245818138, 0.009265719912946224, 0.0961894765496254, 0.0006671970477327704, 0.04029935598373413, 0.007129819132387638, -0.01728731021285057, -0.028223467990756035, -0.04910396412014961, -0.06573875993490219, 0.12124607712030411, -0.04409264400601387, -0.0028906434308737516, -0.012789303436875343, 0.009396222420036793, -0.018618442118167877, -0.011144964024424553, 0.011136263608932495, 0.046876709908246994, -0.057908572256565094, 0.03226036578416824, -0.029911309480667114, 0.02853667549788952, -0.052340440452098846, -0.02034108154475689, -0.053454067558050156, 0.016330286860466003, 0.00129415572155267, 0.06580836325883865, -0.06549515575170517, 0.02935449592769146, -0.057699766010046005, -0.01169307716190815, -0.012406494468450546, -0.001306118443608284, 0.05056559666991234, 0.016808798536658287, -0.023890765383839607, -0.06820961833000183, 0.008735006675124168, -0.00193253334145993, -0.01593007706105709, 0.03366979956626892, 0.015703871846199036, 0.05039159581065178, 0.024917390197515488, 0.012597898952662945, -0.038802918046712875, 0.0057247355580329895, 0.002740564988926053, 0.015616870485246181, 0.023125147446990013, -0.03029411844909191, -0.030311519280076027, 0.041552186012268066, -0.055924925953149796, -0.04861675202846527, -0.04022975265979767, -0.022898942232131958, 0.024482380598783493, -0.048721153289079666, 0.02239433117210865, 0.0006323962588794529, 0.0184792373329401, 0.020288880914449692, -0.010657752864062786, -0.03403520584106445, -0.01134506892412901, -0.009526725858449936, -0.03619285672903061, -0.05167922377586365, -0.003745438763871789, -0.006251098122447729, -0.012101986445486546, -0.02483038790524006, -0.0038781168404966593, -0.026135418564081192, -0.012737101875245571, 0.05738655850291252, -0.00294284475967288, -0.012867605313658714, -0.05077440291643143, 0.0013441818300634623, 0.02206372283399105, 0.06521674245595932, 0.014016032218933105, 0.02133290469646454, 0.014494543895125389, 0.09110856056213379, 0.010501149110496044, 0.02709244191646576, -0.06615636497735977, -0.039255328476428986, 0.02091529592871666, 0.03800250217318535, 0.03278237581253052, 0.02827567048370838, 0.010857857763767242, 0.011910581961274147, 0.020863095298409462, 0.018009426072239876, 0.0377240926027298, -0.044023044407367706, 0.001524711144156754, 0.014259638264775276, -0.027231644839048386, 0.007856286130845547, -0.06820961833000183, 0.03466162085533142, -0.00878720823675394, 0.045554280281066895, -0.0066034565679728985, 0.05039159581065178, -0.05519410967826843, 0.05324526131153107, -0.006368550937622786, 0.05783896893262863, -0.08143392950296402, -0.03561864420771599, -0.009439723566174507, -0.06709598749876022, -0.005759536288678646, 0.057943373918533325, 0.0725945234298706, -0.002966770203784108, -0.02058468759059906, 0.06452073156833649, 0.02510879561305046, 0.039255328476428986, 0.03360019624233246, 0.007264672312885523, -0.005102670751512051, -0.0396033376455307, -0.022411732003092766, -0.010892658494412899, 0.0030189715325832367, 0.0188098456710577, -0.005816088058054447, -0.05850018560886383, 0.004819914232939482, -0.04990438371896744, 0.004637209698557854, 0.04315302148461342, 0.052549246698617935, -0.004680710844695568, 0.02639642544090748, 0.03800250217318535, -0.06271108984947205, -0.010361945256590843, -0.006255448330193758, 0.016930600628256798, -0.027527451515197754, -0.04089096933603287, -0.06319829821586609, 0.014477143064141273, 0.04966077581048012, -0.015790874138474464, 0.045345474034547806, 0.0018237807089462876, 0.022985944524407387, -0.05425448715686798, -0.07308173179626465, 0.026605229824781418, -0.015007855370640755, -0.011519072577357292, -0.06493833661079407, -0.018583640456199646, 0.04729432240128517, -0.004360978491604328, -0.052270837128162384, 0.06800080835819244, -0.004104322288185358, 0.06758320331573486, -0.021141501143574715, 0.03984694555401802, 0.005376727320253849, -0.03226036578416824, 0.0107012540102005, -0.041482582688331604, 0.0765618160367012, 0.04301381856203079, -0.01125806663185358, 0.016443390399217606, -0.02827567048370838, -0.007617030292749405, -0.08143392950296402, 0.049625977873802185, -0.025578606873750687, 0.014746849425137043, 0.059509411454200745, 0.023020746186375618, -0.008900310844182968, -0.040821366012096405, 0.007351674139499664, -0.03513143211603165, 0.003343054326251149, 0.004204374738037586, -0.02432577684521675, -0.07113288342952728, -0.026953238993883133, 0.05467209592461586, 0.010753454640507698, -0.012467395514249802, 0.020271480083465576, 0.029754705727100372, -0.06786160916090012, -0.0008047690498642623, -0.001982559449970722, -0.06260668486356735, -0.0007748621283099055, -0.009631128050386906, -0.04906916245818138, 0.007212470751255751, -0.060205426067113876, 0.0362972617149353, 0.02684883587062359, 0.017800621688365936, -0.022081123664975166, -0.04075176641345024, -0.01840963587164879, 0.041726190596818924, -0.03189495578408241, 0.02697063982486725, -0.0037889399100095034, 0.02152431011199951, 0.04012535139918327, 0.03661046922206879, 0.026866236701607704, 0.04524107277393341, -0.044893063604831696, 0.0728033259510994, 0.0017530915793031454, -0.009796432219445705, 0.021541710942983627, 0.004719861783087254, 0.040403757244348526, 0.019053451716899872, -0.03306078165769577, -0.008239095099270344, -0.027892861515283585, 0.023768963292241096, -0.001981471898034215, -0.0068818628787994385, -0.059231001883745193, -0.04162178561091423, -0.00536367716267705, -0.001883594668470323, 0.04022975265979767, -0.029163090512156487, 0.025300199165940285, -0.00040401582373306155, -0.05575092136859894, 0.05171402543783188, 0.02009747549891472, -0.004458855837583542, -0.017852822318673134, -0.04538027569651604, 0.08136432617902756, -0.08066831529140472, -0.026170220226049423, -0.001449671806767583, -0.023020746186375618, 0.012728401459753513, 0.0072472719475626945, -0.0019423210760578513, -0.03688887506723404, -0.01971466653048992, -0.017939824610948563, -0.06448592990636826, -0.03288678079843521, -0.012563097290694714, -0.0454498752951622, -0.005663834046572447, -0.06138865649700165, -0.060414232313632965, 0.02787546068429947, -0.01609538123011589, 0.06361591070890427, 0.04746832326054573, -0.03232996538281441, -0.0370628796517849, -0.030850932002067566, 0.026326823979616165, -0.010248842649161816, 0.017600517719984055, 0.0047981636598706245, -0.015503767877817154, -0.022655336186289787, 0.06831401586532593, -0.012615298852324486, 0.0999479666352272, -0.010683853179216385, -0.022985944524407387, 0.00005141957808518782, -0.020393284037709236, -0.030120113864541054, 0.07266411930322647, 0.013563621789216995, 0.011414670385420322, 0.018374836072325706, -0.02684883587062359, -0.0551593080163002, -0.06709598749876022, 0.011031861416995525, -0.019175253808498383, -0.06782680749893188, 0.015512467361986637, -0.025456802919507027, -0.034522417932748795, 0.010709953494369984, 0.0014072583289816976, 0.015860475599765778, 0.007982439361512661, 0.004113022703677416, 0.04019495099782944, 0.07252492010593414, 0.022081123664975166, 0.00967462919652462, 0.006742659956216812, -0.00006824223964940757, 0.007917187176644802, -0.02416917309165001, -0.06093624234199524, -0.08268675953149796, -0.026935838162899017, 0.04819914326071739, -0.020271480083465576, 0.024186573922634125, 0.028188668191432953, 0.0073734247125685215, 0.08331317454576492, 0.014372740872204304, 0.02601361647248268, -0.006251098122447729, 0.01593877747654915, 0.016243284568190575, -0.020445484668016434, 0.038141705095767975, -0.022081123664975166, -0.05035679414868355, 0.031146738678216934, -0.013720225542783737, -0.010736054740846157, 0.016930600628256798, 0.000015514235201408155, -0.010988360270857811, -0.010266243480145931, 0.019210055470466614, 0.021837517619132996, -0.011884481646120548, -0.013581021688878536, 0.058152176439762115, 0.022376930341124535, 0.05042639374732971, -0.023403555154800415, -0.051888030022382736, 0.0033974305260926485, -0.01593007706105709, -0.028345271944999695, 0.0015856125392019749, 0.011840980499982834, 0.03661046922206879, 0.005067870020866394, 0.012223789468407631, -0.02136770635843277, -0.010544650256633759, 0.016704395413398743, 0.01753091625869274, 0.022985944524407387, -0.0369584746658802, 0.03720208257436752, -0.015181859955191612, -0.04506706818938255, 0.023942967876791954, 0.04047336056828499, 0.00607274379581213, 0.00967462919652462, -0.02902388758957386, -0.018514038994908333, 0.045763082802295685, 0.019244855269789696, 0.058604590594768524, -0.05314086005091667, -0.0214547086507082, 0.049417171627283096, 0.04162178561091423, -0.0013659324031323195, 0.018844647333025932, 0.006116244941949844, 0.04405784234404564, -0.02893688529729843, -0.005207073409110308, 0.06532114744186401, -0.030659526586532593, 0.0039237928576767445, 0.024360576644539833, -0.03326958790421486, 0.0022555284667760134, -0.03935973346233368, -0.0024730334989726543, 0.051609624177217484, 0.03481822460889816, -0.003012446453794837, 0.03304338455200195, -0.006203247234225273, 0.04673750698566437, 0.008935111574828625, 0.026326823979616165, -0.032538771629333496, 0.007034116890281439, -0.014085633680224419, -0.01992347277700901, -0.07503058016300201, 0.060414232313632965, -0.001301768352277577, -0.033948205411434174, -0.013389617204666138, -0.0611102469265461, 0.06051863357424736, -0.017383011057972908, -0.020967496559023857, 0.024882590398192406, -0.0733601376414299, 0.014016032218933105, 0.0172090083360672, -0.00773883331567049, -0.011980184353888035, -0.027649255469441414, -0.01523406058549881, 0.009248319081962109, -0.029754705727100372, 0.02519579790532589, -0.05080920457839966, 0.04607629030942917, -0.022951144725084305, -0.03304338455200195, 0.04169138893485069, 0.030363719910383224, 0.0052636247128248215, 0.02630942314863205, -0.03413961082696915, 0.0028819432482123375, 0.008987313136458397, 0.07753624022006989, 0.04524107277393341, -0.017652718350291252, -0.03029411844909191, 0.03532283753156662, 0.012815403752028942, -0.0188620463013649, -0.0015105733182281256, -0.04461465775966644, -0.006555605214089155, 0.07572659105062485, -0.04927796870470047, -0.03248656913638115, -0.0069906157441437244, -0.02622242085635662, 0.03212116286158562, -0.002518709748983383, -0.023368753492832184, -0.035305436700582504, 0.012919805943965912, 0.039464134722948074, 0.015782173722982407, 0.04457985609769821, -0.007486527319997549, 0.0004238631809130311, 0.023368753492832184, -0.009622427634894848, -0.014912153594195843, 0.027231644839048386, 0.0008743707439862192, 0.008565353229641914, -0.0029515449423342943, -0.037410885095596313, 0.04708551615476608, -0.012302091345191002, -0.03626246005296707, 0.045763082802295685, -0.039951346814632416, 0.029650302603840828, 0.006581705994904041, -0.055020105093717575, 0.03807210177183151, 0.018392235040664673, 0.014581545256078243, -0.007769284304231405, -0.04764232784509659, -0.003358279587700963, 0.010092238895595074, -0.03326958790421486, -0.04339662939310074, -0.030398519709706306, -0.017835423350334167, 0.013119910843670368, 0.02317734993994236, -0.016399888321757317, -0.013102510944008827, -0.031842753291130066, -0.001768316957168281, 0.03560124337673187, 0.02004527486860752, -0.012876304797828197, -0.018548838794231415, 0.0021891894284635782, -0.019418859854340553, 0.03427881374955177, -0.033774200826883316, -0.025596005842089653, -0.0012376043014228344, 0.018635841086506844, -0.029876507818698883, 0.05021759122610092, -0.01553856860846281, -0.0903429388999939, -0.027962462976574898, -0.006181496661156416, 0.01371152512729168, -0.01622588373720646, -0.013328716158866882, 0.004136947914958, 0.02293374389410019, 0.018427036702632904, 0.008756757713854313, -0.025874413549900055, 0.030763929709792137, 0.08080751448869705, 0.041552186012268066, 0.019749468192458153, -0.011449471116065979, -0.008634954690933228, -0.04297901690006256, 0.012006284669041634, 0.023786364123225212, 0.006507754325866699, -0.08519241958856583, 0.015843074768781662, -0.021298104897141457, -0.004163048695772886, 0.01010963972657919, -0.011432071216404438, -0.002681838581338525, 0.04203939810395241, -0.035096630454063416, -0.014398841187357903, 0.006325049791485071, -0.01898385025560856, 0.0069906157441437244, -0.04416224732995033, 0.016643494367599487, 0.0013539695646613836, -0.04318782314658165, 0.0020173604134470224, -0.056342534720897675, -0.03915092721581459, 0.0012952431570738554, 0.07628341019153595, 0.054985303431749344, 0.013937730342149734, 0.03325218707323074, -0.008865510113537312, 0.007238571532070637, -0.004282676614820957, 0.03681927174329758, -0.02704024128615856, 0.003897692309692502, 0.011292867362499237, 0.004832964390516281, -0.05213163420557976, 0.057525765150785446, 0.044649459421634674, 0.0014409716241061687, 0.021193701773881912, 0.002459983341395855, 0.025004392489790916, -0.0467723086476326, 0.0170437041670084, 0.04899956285953522, 0.01317211240530014, 0.01362452283501625, 0.009396222420036793, -0.001941233524121344, -0.0030167964287102222, 0.004119547549635172, 0.04739872366189957, -0.01662609353661537, 0.03688887506723404, 0.0011734403669834137, -0.027057642117142677, -0.017713619396090508, 0.008569703437387943, -0.03107713721692562, 0.013067709282040596, 0.03384380042552948, -0.0013256939128041267, -0.018131230026483536, 0.05738655850291252, -0.050078388303518295, -0.039011724293231964, 0.046006690710783005, 0.03615805506706238, -0.02157651074230671, 0.037236884236335754, -0.0012191163841634989, -0.02157651074230671, -0.10092239081859589, -0.02651822753250599, -0.014459742233157158, 0.03643646463751793, -0.03527063503861427, -0.05355846881866455, -0.04391863942146301, 0.0011212390381842852, 0.06236307695508003, -0.04652870446443558, 0.028049465268850327, 0.02350795641541481, -0.046493902802467346, 0.0295110996812582, -0.013206913135945797, 0.048929959535598755, 0.02103709802031517, 0.08115552365779877, 0.051192011684179306, -0.04068216308951378, 0.07061087340116501, -0.008408749476075172, -0.02115890197455883, 0.009587626904249191, 0.0003594272711779922, 0.0350792296230793, 0.0036606118083000183, -0.00298417080193758, -0.03734128549695015, -0.04245700687170029, -0.008212994784116745, 0.08366118371486664, 0.05408048257231712, -0.02911088988184929, -0.045345474034547806, -0.11414670199155807, -0.016269385814666748, -0.04294421896338463, -0.03984694555401802, -0.0025317599065601826, -0.045554280281066895, -0.023734161630272865, -0.017513515427708626, 0.005346276797354221, -0.044197048991918564, -0.02676183357834816, 0.0007150481687858701, 0.0461110919713974, 0.03453981876373291, 0.028501875698566437, -0.00528102507814765, 0.002060861326754093, 0.006207596976310015, 0.056133728474378586, 0.04454505443572998, -0.002575261052697897, 0.02926749363541603, 0.009291820228099823, -0.01606058143079281, 0.09382302314043045, 0.03681927174329758, -0.01496435422450304, -0.037863295525312424, -0.004702461417764425, -0.08707166463136673, 0.015147059224545956, -0.030363719910383224, -0.01934925839304924, -0.020288880914449692, 0.04906916245818138, 0.011545173823833466 ]
16,380
presidio_analyzer.pattern
Pattern
A class that represents a regex pattern. :param name: the name of the pattern :param regex: the regex pattern to detect :param score: the pattern's strength (values varies 0-1)
class Pattern: """ A class that represents a regex pattern. :param name: the name of the pattern :param regex: the regex pattern to detect :param score: the pattern's strength (values varies 0-1) """ def __init__(self, name: str, regex: str, score: float): self.name = name self.regex = regex self.score = score self.compiled_regex = None self.compiled_with_flags = None def to_dict(self) -> Dict: """ Turn this instance into a dictionary. :return: a dictionary """ return_dict = {"name": self.name, "score": self.score, "regex": self.regex} return return_dict @classmethod def from_dict(cls, pattern_dict: Dict) -> "Pattern": """ Load an instance from a dictionary. :param pattern_dict: a dictionary holding the pattern's parameters :return: a Pattern instance """ return cls(**pattern_dict) def __repr__(self): """Return string representation of instance.""" return json.dumps(self.to_dict()) def __str__(self): """Return string representation of instance.""" return json.dumps(self.to_dict())
(name: str, regex: str, score: float)
[ 0.10366785526275635, -0.055082377046346664, 0.02492830529808998, -0.013885349035263062, -0.01417664997279644, -0.0531756766140461, -0.028441572561860085, 0.012084579095244408, 0.035997744649648666, 0.010274981148540974, 0.014423814602196217, 0.08622509986162186, 0.0014896075008437037, 0.028494536876678467, -0.014397332444787025, -0.03138989210128784, 0.029695048928260803, 0.04042905196547508, -0.060908395797014236, -0.003376443637534976, -0.02042638137936592, 0.06260323524475098, 0.03170767426490784, 0.09138024598360062, 0.020567618310451508, 0.009356942027807236, -0.000990313128568232, -0.0013627150328829885, -0.03410870209336281, -0.030771980062127113, -0.030789636075496674, -0.022439006716012955, -0.03756900504231453, 0.03562699630856514, -0.05751870945096016, -0.07542048394680023, -0.02642894722521305, 0.057695258408784866, -0.10790496319532394, -0.011272466741502285, 0.03968755900859833, 0.042017966508865356, -0.04505455866456032, -0.008076982572674751, -0.0026261229068040848, -0.007048602215945721, -0.014944625087082386, 0.020479343831539154, -0.029288994148373604, -0.09215705096721649, 0.03052481636404991, -0.05868391692638397, -0.02923602983355522, 0.01763695292174816, 0.019367104396224022, 0.0292007215321064, -0.019066976383328438, 0.125630185008049, 0.0549764484167099, -0.03760431334376335, -0.03239620476961136, 0.0051727998070418835, -0.012190506793558598, 0.02086774632334709, -0.04141771048307419, -0.016683604568243027, -0.07838645577430725, -0.033402517437934875, 0.015324199572205544, -0.017301514744758606, 0.00330141163431108, -0.008650757372379303, 0.033402517437934875, 0.018749192357063293, 0.011740313842892647, 0.0011034129420295358, -0.04311254993081093, -0.05282258614897728, 0.03375560790300369, 0.007101566065102816, 0.0257757268846035, 0.01956130564212799, 0.01994970627129078, -0.07157178223133087, 0.02531670778989792, -0.03135458379983902, -0.0033278935588896275, -0.07143054157495499, 0.005490582901984453, -0.017681090161204338, -0.06616947054862976, 0.0097894798964262, -0.026799693703651428, 0.05878984183073044, 0.013558738864958286, 0.005093354266136885, 0.052469491958618164, -0.043253786861896515, 0.020567618310451508, 0.008001950569450855, 0.011457839980721474, 0.05045686662197113, -0.08636634051799774, -0.015315371565520763, -0.010583937168121338, 0.0036743651144206524, -0.0010085194371640682, 0.015491917729377747, -0.01683366857469082, 0.01994970627129078, -0.03460302948951721, 0.03629787266254425, -0.003605953650549054, 0.02514016069471836, 0.04724372923374176, -0.02042638137936592, -0.0709715187549591, -0.014026585966348648, -0.001712496974505484, 0.005327277816832066, 0.0296067763119936, 0.060449376702308655, -0.02662314847111702, 0.11101216822862625, 0.002612881828099489, -0.0029659741558134556, 0.006413036026060581, -0.024116193875670433, 0.05582387000322342, -0.02558152563869953, -0.01236705295741558, 0.07118337601423264, -0.019420068711042404, 0.01950834132730961, 0.0008799718343652785, 0.03372029960155487, -0.016401130706071854, -0.02514016069471836, -0.05045686662197113, 0.046290379017591476, 0.04021719470620155, 0.007529689930379391, 0.005927534308284521, -0.05345815047621727, -0.03006579726934433, -0.04960944876074791, 0.024998923763632774, 0.03675689175724983, 0.009710034355521202, -0.0003765396832022816, 0.01673656702041626, -0.032519787549972534, 0.03756900504231453, 0.074714295566082, 0.061967670917510986, -0.014547396451234818, 0.008911163546144962, -0.01602155715227127, -0.009153913706541061, 0.003989941440522671, 0.020938364788889885, 0.005053631495684385, -0.047102492302656174, -0.038098644465208054, 0.04685532674193382, 0.03643910959362984, 0.07181894034147263, -0.032113730907440186, -0.04678471013903618, 0.005053631495684385, -0.005111008882522583, -0.04265353083610535, -0.06373313069343567, 0.06638132035732269, 0.04978599399328232, 0.07577357441186905, -0.0037052608095109463, 0.07245451211929321, 0.0378514789044857, 0.009356942027807236, 0.04689063876867294, 0.028282681480050087, -0.07549110054969788, 0.012296434491872787, 0.06934729963541031, -0.015235926024615765, 0.0159068014472723, 0.030666053295135498, 0.043465644121170044, 0.03243151307106018, -0.000316127814585343, -0.00666461419314146, 0.026287710294127464, 0.02127380110323429, 0.00472260732203722, -0.04102930799126625, -0.03629787266254425, 0.008911163546144962, -0.012561253271996975, 0.04395997151732445, -0.05070403218269348, 0.004190762527287006, 0.027223404496908188, 0.015385990031063557, -0.01214636955410242, -0.03070136159658432, 0.0006223249365575612, 0.03778085857629776, -0.026923276484012604, -0.04505455866456032, -0.04494863003492355, -0.05130428820848465, 0.05910762399435043, 0.034444138407707214, 0.04272415116429329, -0.0752086266875267, 0.07965759187936783, 0.037286531180143356, -0.018855120986700058, 0.0035706444177776575, 0.028000207617878914, 0.01619810238480568, -0.058966390788555145, 0.03749838471412659, -0.010928202420473099, -0.020903054624795914, -0.009436387568712234, 0.024628177285194397, -0.05331691354513168, -0.054623354226350784, 0.047561511397361755, -0.0905328243970871, 0.040711525827646255, -0.010566283017396927, 0.00040909036761149764, -0.009683552198112011, 0.06701689213514328, 0.017116142436861992, 0.020885400474071503, -0.02277444303035736, 0.010689864866435528, 0.019225867465138435, -0.009983680211007595, -0.008306493051350117, 0.019455377012491226, 0.016515884548425674, 0.02983628585934639, -0.01459153275936842, 0.008831717073917389, -0.02595227211713791, 0.008761098608374596, -0.006589582189917564, -0.016321685165166855, 0.02402792125940323, -0.0455135777592659, -0.05158676207065582, -0.03710998594760895, 0.006108494009822607, 0.054199643433094025, 0.025016577914357185, 0.009683552198112011, 0.0255285631865263, 0.014026585966348648, 0.03308473527431488, 0.0206382367759943, -0.020726509392261505, 0.0035397487226873636, 0.015315371565520763, -0.04099399968981743, -0.04706718400120735, -0.016577675938606262, -0.03823988139629364, 0.011908032931387424, -0.0023458560463041067, -0.09971322119235992, -0.004855017177760601, -0.03543279692530632, -0.004184141755104065, 0.03502674028277397, -0.0636272057890892, 0.03110741823911667, -0.04664347320795059, 0.012623044662177563, -0.044595539569854736, 0.0926513820886612, 0.04505455866456032, 0.02279209904372692, 0.04247698560357094, -0.0024848859757184982, -0.015827355906367302, 0.010018989443778992, -0.06112024933099747, 0.03643910959362984, 0.012093406170606613, 0.03264337033033371, 0.006598409730941057, -0.0006140493205748498, -0.04424244537949562, -0.001507262117229402, -0.04230044037103653, 0.006638132501393557, -0.018978703767061234, 0.10726939141750336, 0.021379729732871056, -0.09116839617490768, 0.004947703797370195, -0.05501175671815872, -0.005640646908432245, 0.022050604224205017, 0.0334378257393837, 0.027099821716547012, 0.004104696214199066, -0.006368899717926979, 0.028194408863782883, -0.0442071370780468, 0.02000267058610916, 0.013443983159959316, 0.007564999163150787, 0.016877803951501846, 0.04855016991496086, 0.013302747160196304, -0.014123685657978058, -0.00997485313564539, -0.012834900058805943, 0.03243151307106018, -0.05126897990703583, 0.01646292209625244, -0.008699308149516582, 0.046678781509399414, -0.027841316536068916, -0.0014377471525222063, -0.018166590481996536, 0.024133848026394844, 0.034073393791913986, 0.031690020114183426, 0.00910977739840746, 0.003886220511049032, -0.0644393190741539, -0.03933446481823921, -0.03396746516227722, 0.06599292159080505, -0.0018007699400186539, -0.058966390788555145, -0.00934811495244503, 0.010478009469807148, -0.017116142436861992, -0.01779584400355816, -0.00008268700912594795, 0.02256258763372898, -0.028088480234146118, 0.007105979602783918, -0.04212389513850212, 0.004757916554808617, 0.023904338479042053, 0.0030763153918087482, -0.033843882381916046, 0.004265794530510902, -0.034708958119153976, 0.01490931585431099, -0.06461586058139801, 0.018343137577176094, 0.014158994890749454, -0.040464360266923904, -0.048197079449892044, -0.025493253022432327, -0.03259040415287018, 0.00718983868137002, -0.012728972360491753, 0.04770274832844734, -0.033632028847932816, 0.012428843416273594, 0.04463084787130356, -0.028265027329325676, -0.08912045508623123, -0.015474263578653336, -0.02985394187271595, 0.03954632207751274, 0.03394981101155281, -0.021838748827576637, 0.021556274965405464, 0.02771773375570774, 0.027647115290164948, 0.008341802284121513, -0.007653272245079279, -0.0028225304558873177, -0.02750587835907936, 0.005993739236146212, 0.036580346524715424, 0.026993894949555397, 0.04353626072406769, -0.04120585322380066, 0.0053007956594228745, 0.002513574669137597, -0.06094370409846306, -0.03110741823911667, -0.003791326889768243, -0.011316603049635887, 0.05088057741522789, -0.07986944168806076, 0.08092872053384781, 0.003881806740537286, -0.03929915651679039, -0.008641930297017097, -0.013082063756883144, 0.04480739310383797, 0.008611034601926804, 0.09307508915662766, 0.036615654826164246, -0.016895459964871407, 0.0111753661185503, -0.0230039544403553, -0.06585168838500977, -0.004912394564598799, -0.04537234082818031, -0.03283756971359253, -0.06638132035732269, 0.0528578944504261, -0.02536967024207115, -0.03031296096742153, 0.037251222878694534, 0.016321685165166855, 0.022597897797822952, 0.022827407345175743, 0.04332440719008446, 0.014406159520149231, 0.026499565690755844, 0.027011549100279808, -0.022880371659994125, 0.009330459870398045, 0.05412902683019638, -0.06645194441080093, 0.01170500461012125, -0.06825271248817444, -0.05133960023522377, 0.023268772289156914, -0.0592135526239872, 0.012093406170606613, -0.051657382398843765, 0.00639096787199378, 0.021979985758662224, 0.010910547338426113, 0.04014657810330391, 0.043712809681892395, 0.05349345877766609, -0.02596992813050747, -0.018201900646090508, 0.017301514744758606, 0.010583937168121338, 0.0060996669344604015, -0.04170018434524536, -0.00799312349408865, 0.0510571263730526, -0.0071501159109175205, 0.009966026060283184, 0.022403696551918983, 0.00681026466190815, 0.03375560790300369, -0.0029792150016874075, -0.0011321017518639565, -0.027170440182089806, 0.027841316536068916, 0.01844906434416771, 0.0007679754053242505, 0.008390352129936218, -0.10013693571090698, 0.0009599693003110588, 0.07393749803304672, 0.0026592251379042864, -0.06203829124569893, -0.02145034819841385, 0.006346831563860178, -0.003482371335849166, -0.02618178352713585, -0.04689063876867294, -0.014026585966348648, 0.06984163075685501, 0.004691712092608213, -0.05275196582078934, -0.03336720913648605, 0.004850603174418211, 0.008549243211746216, -0.025846345350146294, -0.0017764949006959796, -0.007375212386250496, 0.014874006621539593, -0.036227256059646606, 0.017778189852833748, -0.03094852715730667, -0.013443983159959316, -0.02616412751376629, -0.04770274832844734, 0.01709848642349243, -0.0011199641739949584, 0.04406590014696121, -0.016939595341682434, 0.036615654826164246, -0.04982130229473114, 0.052469491958618164, 0.01608334667980671, -0.04148832708597183, -0.008681653067469597, 0.01212871540337801, -0.07118337601423264, -0.014653324149549007, 0.0368628203868866, 0.0005765332607552409, -0.003513266798108816, 0.001052655978128314, -0.010018989443778992, 0.037710241973400116, -0.010539800859987736, 0.013232128694653511, 0.00127664883621037, 0.024169158190488815, 0.005362587049603462, 0.023568900302052498, 0.01254359818994999, -0.016030384227633476, -0.07605604827404022, -0.02536967024207115, -0.034673649817705154, 0.04466615617275238, 0.020779473707079887, -0.05490582808852196, -0.002800462068989873, 0.015747910365462303, -0.0009505902417004108, -0.017937080934643745, 0.07054781168699265, 0.0056891972199082375, 0.0784570723772049, -0.030771980062127113, 0.013602875173091888, 0.016860149800777435, 0.04173549264669418, -0.015421299263834953, 0.0846714973449707, -0.010928202420473099, -0.057200927287340164, 0.035326868295669556, 0.022068260237574577, 0.026287710294127464, -0.012746626511216164, -0.03689812868833542, 0.008341802284121513, 0.035750579088926315, 0.008341802284121513, -0.01654236763715744, -0.03571527078747749, -0.008169669657945633, -0.00462109362706542, -0.009639415889978409, -0.06006097421050072, 0.007251630071550608, 0.0012391327181831002, 0.027982553467154503, -0.0017323583597317338, -0.0027739801444113255, 0.024169158190488815, 0.0029748014640063047, -0.007348730228841305, -0.005750988610088825, -0.012155197560787201, -0.019843779504299164, -0.11037660390138626, -0.008085810579359531, -0.0008722479688003659, 0.06648725271224976, -0.0494328998029232, 0.04876202717423439, 0.028423918411135674, 0.024539904668927193, 0.07563234120607376, -0.00913625955581665, -0.023145189508795738, 0.015933282673358917, -0.03331424295902252, 0.04162956401705742, 0.015315371565520763, 0.009913061745464802, 0.010098435916006565, 0.018148936331272125, -0.00579953845590353, -0.055294230580329895, -0.0061526307836174965, -0.0029019759967923164, -0.016842495650053024, 0.04385404661297798, -0.024610523134469986, -0.001404644688591361, 0.015174135565757751, 0.032466821372509, 0.04007595777511597, -0.014035413041710854, -0.01972019672393799, 0.021008983254432678, -0.0005914293578825891, -0.0014929177705198526, 0.012164024636149406, 0.01525358110666275, -0.05483521148562431, 0.012834900058805943, -0.030842598527669907, -0.026358328759670258, 0.0350797064602375, 0.007101566065102816, 0.025687454268336296, -0.036156635731458664, -0.006421863567084074, -0.013894176110625267, 0.0011663074837997556, 0.018148936331272125, 0.023039262741804123, -0.0255285631865263, 0.028053171932697296, 0.005331691354513168, -0.05384655296802521, 0.04791460558772087, -0.01871388405561447, -0.01665712147951126, 0.01956130564212799, 0.0484442412853241, -0.0019762127194553614, 0.009074468165636063, 0.034073393791913986, 0.033826228231191635, -0.03753369674086571, -0.004674057476222515, -0.05942540988326073, -0.06758183985948563, 0.04074683412909508, -0.002074416261166334, -0.023092227056622505, -0.05190454423427582, -0.061508651822805405, 0.005781883839517832, -0.024610523134469986, -0.011863896623253822, -0.026976240798830986, 0.05600041523575783, -0.07527924329042435, -0.08742561936378479, -0.027346987277269363, 0.02575807273387909, -0.08177614212036133, -0.0020269695669412613, -0.010663382709026337, -0.06327411532402039, 0.038133952766656876, -0.017937080934643745, -0.003142520086839795, 0.052469491958618164, -0.012164024636149406, 0.02190936729311943, 0.019243521615862846, 0.02252727933228016, -0.021768130362033844, -0.0021891712676733732, 0.016356993466615677, 0.008081396110355854, -0.08912045508623123, 0.00903033185750246, 0.029712704941630363, -0.043677497655153275, 0.006964742671698332, 0.027806006371974945, 0.0549764484167099, -0.017937080934643745, 0.03154878318309784, 0.04791460558772087, -0.028017861768603325, 0.015721427276730537, 0.023127535358071327, 0.011908032931387424, -0.04226513206958771, 0.037463076412677765, -0.020726509392261505, 0.004704952705651522, 0.041523635387420654, 0.001946420525200665, 0.030012832954525948, 0.010928202420473099, 0.02086774632334709, 0.01619810238480568, 0.015200616791844368, 0.04526641219854355, -0.03502674028277397, -0.004965358413755894, 0.05388186126947403, -0.014626841992139816, -0.05020970478653908, 0.03668627515435219, 0.020355762913823128, -0.05536484718322754, 0.015474263578653336, 0.0023789582774043083, 0.002392199356108904, -0.008288837969303131, 0.04166487231850624, -0.04572543501853943, -0.0015193996950984001, 0.000428124243626371, 0.01126363966614008, -0.030983835458755493, -0.0048417760990560055, 0.015862664207816124, -0.048161767423152924, 0.01267600804567337, 0.03287287801504135, -0.03163705766201019, -0.011740313842892647, 0.07888078689575195, 0.025193125009536743, -0.00836828351020813, -0.03778085857629776, 0.009392251260578632, 0.03025999665260315, 0.024310395121574402, 0.017557507380843163, -0.010760483331978321, 0.03732183948159218, 0.013558738864958286, 0.018078317865729332, 0.03629787266254425, 0.0018173211719840765, 0.027841316536068916, -0.05575324967503548, -0.05469397455453873, 0.01535068079829216, -0.04512517526745796, -0.025599181652069092, 0.052469491958618164, -0.08975602686405182, -0.025228433310985565, -0.02725871466100216, -0.0353974886238575, -0.015271235257387161, -0.09780652821063995, 0.02402792125940323, 0.06775838136672974, -0.028812319040298462, 0.034479446709156036, -0.026058200746774673, 0.007251630071550608, 0.006576341111212969, 0.03435586765408516, 0.019843779504299164, 0.0588957704603672, -0.026323020458221436, -0.029077138751745224, 0.008037259802222252, -0.003142520086839795, -0.02123849280178547, 0.03432055562734604, 0.019155248999595642, -0.002890941919758916, 0.04343033581972122, -0.0024208880495280027, 0.02171516790986061, -0.02492830529808998, -0.03264337033033371, -0.0076444451697170734, 0.033632028847932816, -0.0033080321736633778, 0.005234591197222471, 0.010433873161673546, -0.005667129065841436, 0.01493579801172018 ]
16,381
presidio_analyzer.pattern
__init__
null
def __init__(self, name: str, regex: str, score: float): self.name = name self.regex = regex self.score = score self.compiled_regex = None self.compiled_with_flags = None
(self, name: str, regex: str, score: float)
[ 0.037723395973443985, 0.0028522463981062174, 0.0015595172299072146, 0.0024531488306820393, -0.0414714440703392, -0.04657295346260071, -0.04525419697165489, -0.005661112256348133, 0.027850070968270302, -0.001881615025922656, 0.011374280788004398, 0.08113827556371689, -0.008979695849120617, 0.06569493561983109, 0.0077086566016077995, -0.03220544010400772, 0.055734846740961075, 0.03574526309967041, -0.06229392811655998, -0.013005375862121582, -0.009699806571006775, 0.05198679864406586, 0.006546068005263805, 0.08669093251228333, 0.02318236418068409, 0.05486724153161049, 0.02529931627213955, -0.008702063001692295, -0.03664756938815117, -0.018601417541503906, -0.015564805828034878, -0.0031949495896697044, -0.04771818965673447, 0.013135516084730625, -0.02233211323618889, -0.05438138544559479, -0.015478045679628849, 0.0162675641477108, -0.06572964042425156, 0.004498523660004139, 0.07739022374153137, 0.02594134211540222, -0.08016655594110489, 0.004455143585801125, -0.04143673926591873, 0.0012309123994782567, 0.010645493865013123, -0.03041817620396614, 0.011981603689491749, -0.039632126688957214, 0.0086803724989295, 0.0134391775354743, 0.01720457710325718, 0.019017867743968964, 0.016788126900792122, 0.05635951831936836, 0.03328126668930054, 0.13326388597488403, 0.05490194633603096, -0.013335064984858036, -0.018375840038061142, -0.0007249911432154477, -0.02309560403227806, 0.0024661628995090723, -0.02333853207528591, -0.0059300693683326244, -0.01830643229186535, -0.027069227769970894, 0.004285960923880339, -0.0009744270937517285, 0.015347904525697231, -0.004954015836119652, 0.005782576743513346, -0.020180456340312958, 0.016527846455574036, 0.050737448036670685, -0.050008662045001984, -0.024622585624456406, 0.03768869489431381, -0.007088320329785347, 0.04948810115456581, 0.023737629875540733, -0.026132214814424515, -0.04587886855006218, 0.00917056854814291, -0.06340446323156357, 0.007717332802712917, -0.07607147097587585, 0.003626582445576787, 0.0368557944893837, -0.03980564698576927, 0.0062380689196288586, -0.008632654324173927, 0.055040761828422546, -0.003951933700591326, -0.021655382588505745, 0.056671857833862305, -0.047440554946660995, 0.01598125509917736, 0.04442129656672478, 0.006281448993831873, 0.028457393869757652, -0.05944818630814552, -0.012675686739385128, -0.01712649129331112, 0.027225395664572716, 0.002294811187312007, -0.027190692722797394, 0.016163451597094536, -0.01028977707028389, -0.026913058012723923, -0.0003947595541831106, -0.01175602711737156, 0.03716813027858734, -0.011087971739470959, -0.02693041041493416, -0.08870377391576767, -0.01741280034184456, 0.007413671351969242, 0.019937526434659958, 0.03553703799843788, 0.042234934866428375, -0.04192259907722473, 0.11230258643627167, -0.0013469543773680925, -0.014289428479969501, 0.012909939512610435, -0.0017373758601024747, 0.038452185690402985, -0.011790730990469456, 0.05531839653849602, 0.03295157849788666, -0.01154780201613903, -0.008294289000332355, 0.001987896393984556, -0.0023794025182724, 0.05104978755116463, 0.026704834774136543, -0.032188087701797485, 0.010992535389959812, 0.02415408007800579, -0.024553177878260612, 0.003387991338968277, -0.08564981073141098, 0.0200069360435009, -0.017907334491610527, 0.020319271832704544, 0.015183060429990292, -0.03166752681136131, -0.018774937838315964, 0.02554224617779255, -0.04327606037259102, 0.00010567138815531507, 0.010498001240193844, 0.06277978420257568, -0.011886167339980602, 0.021412452682852745, -0.06222451850771904, 0.015573482029139996, 0.012068363837897778, 0.04348428547382355, 0.0009093568660318851, -0.06541729718446732, -0.07627969235181808, 0.027225395664572716, -0.0008497091475874186, -0.00876713264733553, -0.023442644625902176, -0.04730173945426941, 0.012207180261611938, -0.0063161528669297695, -0.04803052544593811, -0.08058300614356995, 0.0918271467089653, 0.010402564890682697, 0.031337834894657135, -0.00010994162585120648, 0.07961129397153854, -0.0014402216766029596, -0.030643753707408905, 0.06107928231358528, 0.023564109578728676, -0.03741106018424034, 0.031337834894657135, 0.03945860639214516, -0.025629006326198578, 0.009812595322728157, 0.05445079132914543, 0.020961299538612366, 0.04077736288309097, 0.04452540725469589, -0.041263218969106674, -0.02221064828336239, -0.013925035484135151, 0.012207180261611938, -0.01171264611184597, -0.01199895516037941, -0.004370552487671375, 0.019052572548389435, 0.01441956963390112, -0.03980564698576927, 0.035519685596227646, 0.003483427921310067, -0.016284916549921036, -0.02748567797243595, 0.0003622244403231889, 0.005747872870415449, 0.03111225925385952, -0.035814668983221054, -0.017117815092206, -0.0033489493653178215, -0.0086803724989295, 0.02732950821518898, 0.059031739830970764, 0.00398446898907423, -0.05292380973696709, 0.035207346081733704, 0.030730513855814934, 0.042200230062007904, 0.06357797980308533, 0.04574005305767059, -0.006771645043045282, -0.00819451455026865, 0.01719590090215206, 0.007253164891153574, 0.01071490254253149, 0.03886863589286804, 0.03376712650060654, -0.03378447890281677, -0.03841748088598251, 0.0035723571199923754, -0.08398400992155075, 0.020180456340312958, -0.027919478714466095, -0.03395799919962883, -0.020839834585785866, 0.03668227419257164, 0.053583189845085144, -0.05681067332625389, -0.07391981035470963, 0.01919138804078102, 0.015590833500027657, -0.022175943478941917, 0.01094047911465168, 0.0009039343567565084, -0.013309036381542683, -0.011365605518221855, 0.02248828113079071, 0.0044898479245603085, -0.00048585791955702007, 0.01882699504494667, -0.017603673040866852, -0.019416965544223785, 0.011365605518221855, -0.04803052544593811, -0.00026245004846714437, -0.03411416709423065, -0.011565153487026691, 0.03664756938815117, -0.0008155472460202873, 0.010506677441298962, 0.0020442905370146036, -0.012649658136069775, -0.01199895516037941, 0.03123372420668602, 0.0020887553691864014, 0.020527496933937073, -0.011322224512696266, -0.006480997893959284, -0.023130306974053383, 0.0400138720870018, -0.015478045679628849, 0.02403261512517929, 0.02696511521935463, -0.08363696932792664, -0.03494706749916077, -0.047926414757966995, 0.003932412713766098, 0.020319271832704544, -0.010081551969051361, 0.08349815756082535, -0.012033659964799881, 0.0031927807722240686, -0.03265659511089325, 0.06291860342025757, -0.0023316843435168266, 0.01631094515323639, 0.02871767431497574, -0.056914787739515305, -0.02611486427485943, -0.028682969510555267, 0.00018870375060942024, 0.048585791140794754, 0.00006324015703285113, 0.04771818965673447, 0.013517261482775211, -0.006585109978914261, -0.016536520794034004, 0.01486204657703638, 0.0073182350024580956, 0.006003815680742264, -0.05087626725435257, 0.07253164798021317, -0.004407425411045551, -0.10147489607334137, 0.012771123088896275, -0.05396493524312973, 0.03001907840371132, 0.017872631549835205, 0.024882866069674492, 0.058580584824085236, 0.0339927040040493, -0.04497656226158142, 0.015339229255914688, 0.01437618862837553, 0.029047362506389618, 0.032066624611616135, -0.06111398711800575, 0.013387121260166168, 0.020058991387486458, -0.006012491881847382, -0.05292380973696709, 0.013109488412737846, -0.05091096833348274, 0.015833763405680656, -0.05393023043870926, -0.016094043850898743, -0.02981085516512394, 0.01423737220466137, -0.01622418500483036, 0.000040872255340218544, -0.014315457083284855, 0.03456532210111618, -0.012693038210272789, 0.017256632447242737, 0.007691304665058851, 0.0036374274641275406, -0.010498001240193844, -0.04726703464984894, -0.034513264894485474, 0.042755499482154846, 0.013283008709549904, -0.03744576498866081, 0.01915668323636055, -0.008997047320008278, -0.047683484852313995, -0.02594134211540222, -0.05590836703777313, 0.054103750735521317, -0.07745963335037231, 0.017221927642822266, -0.08086064457893372, -0.008814850822091103, 0.02639249712228775, 0.05729653313755989, -0.02923823520541191, 0.0025876271538436413, -0.029047362506389618, 0.014393541030585766, -0.07655733078718185, -0.022505633533000946, 0.02351205423474312, -0.011877491138875484, -0.005999477580189705, -0.028682969510555267, -0.050529222935438156, 0.023824390023946762, 0.00033592520048841834, 0.007140376139432192, -0.013447853736579418, -0.009283357299864292, 0.006454969756305218, -0.04084676876664162, -0.061634548008441925, -0.039180971682071686, -0.04022209718823433, 0.04608709365129471, 0.003897708375006914, -0.04161025956273079, -0.050737448036670685, 0.001491193426772952, 0.050286296755075455, 0.006580772344022989, 0.010897099040448666, -0.032153382897377014, 0.0007884346414357424, -0.006606800016015768, 0.07593265175819397, 0.07537738978862762, 0.03966682776808739, -0.013734162785112858, -0.007869163528084755, 0.03911156207323074, -0.0414714440703392, -0.013126839883625507, 0.03602289408445358, 0.003275203052908182, 0.022713858634233475, -0.10008673369884491, 0.03484295308589935, 0.004667706321924925, -0.023321179673075676, -0.006381223443895578, -0.008875583298504353, 0.011478393338620663, -0.00482821324840188, 0.07530798017978668, 0.04313724488019943, -0.024952275678515434, 0.06781188398599625, -0.042269639670848846, -0.03810514509677887, -0.013794894330203533, -0.06711780279874802, -0.08231821656227112, -0.032916873693466187, 0.09869857132434845, -0.025958694517612457, 0.004303312860429287, 0.011660589836537838, -0.0058519854210317135, 0.0027828379534184933, -0.0019835582934319973, 0.05726182833313942, 0.037272244691848755, 0.03126842901110649, 0.035363517701625824, -0.05993404611945152, 0.011009887792170048, -0.017681758850812912, -0.0908554345369339, 0.03189310431480408, -0.05417316034436226, -0.03107755444943905, 0.053340259939432144, -0.04442129656672478, -0.033853884786367416, -0.00953496154397726, -0.03014054335653782, 0.005262014921754599, 0.023980559781193733, -0.006411589216440916, 0.06534789502620697, 0.028353281319141388, -0.012927290983498096, 0.003587540239095688, -0.001255856011994183, 0.012658334337174892, -0.03187575191259384, -0.04421307146549225, 0.02070101723074913, 0.04285961017012596, 0.013508585281670094, 0.030227303504943848, 0.02212388813495636, -0.014341484755277634, -0.04619120806455612, -0.011183408088982105, 0.019087275490164757, -0.04351899027824402, -0.030834626406431198, 0.055526621639728546, 0.03862570598721504, 0.013335064984858036, -0.09071661531925201, 0.0756550207734108, 0.05445079132914543, 0.02424084022641182, -0.01716119609773159, -0.037237539887428284, -0.009344088844954967, -0.013421825133264065, -0.008749781176447868, -0.028127703815698624, -0.030713161453604698, 0.015885818749666214, -0.040117982774972916, -0.0409855879843235, -0.007804092951118946, 0.012562897987663746, 0.015955226495862007, -0.027988886460661888, 0.002490021986886859, 0.03107755444943905, 0.03201456740498543, -0.02354675717651844, 0.007804092951118946, -0.044143661856651306, -0.030678458511829376, 0.005756549071520567, -0.05438138544559479, 0.04515008255839348, 0.011816758662462234, 0.0190352201461792, -0.028353281319141388, 0.045809462666511536, 0.02363351732492447, 0.05299321934580803, 0.004541904199868441, 0.006420265417546034, -0.01967724598944187, -0.020770426839590073, -0.08641330152750015, -0.03779280558228493, 0.04726703464984894, -0.0007477657054550946, -0.02817975915968418, -0.027520380914211273, -0.028492096811532974, 0.01593787595629692, -0.025403428822755814, -0.027103930711746216, -0.03616171330213547, 0.008185838349163532, 0.015972578898072243, 0.03470413759350777, -0.013716810382902622, 0.0009619553457014263, -0.11049797385931015, -0.009222624823451042, -0.012571574188768864, 0.045774757862091064, -0.007335586939007044, -0.07801490277051926, 0.027624493464827538, 0.009751862846314907, 0.013699457980692387, 0.015226440504193306, 0.10813809186220169, -0.003387991338968277, 0.0660419762134552, -0.05889292061328888, -0.02233211323618889, 0.012632305733859539, 0.03364565968513489, 0.036335233598947525, 0.04039561748504639, 0.0015866297762840986, -0.012146447785198689, 0.02378968708217144, 0.03197986260056496, 0.06323093920946121, 0.06257156282663345, -0.037723395973443985, -0.020301921293139458, 0.061842773109674454, -0.05042511224746704, 0.03567585349082947, -0.03001907840371132, -0.016501817852258682, 0.011912195011973381, -0.046711768954992294, -0.08217939734458923, -0.050737448036670685, 0.012632305733859539, 0.02024986408650875, 0.0010091311996802688, -0.01566024124622345, 0.019087275490164757, 0.025923991575837135, 0.030574345961213112, -0.023980559781193733, 0.03078257106244564, 0.01570362225174904, -0.06885300576686859, -0.011808082461357117, 0.013283008709549904, -0.010012143291532993, -0.028578856959939003, 0.03284746780991554, 0.029706742614507675, -0.013473881408572197, 0.06080164760351181, 0.04521949216723442, -0.05757416412234306, 0.009144539944827557, -0.01834113709628582, 0.02118687517940998, -0.03147665411233902, 0.0066284905187785625, 0.031042851507663727, 0.009699806571006775, -0.04358839616179466, -0.0417143739759922, -0.022627098485827446, -0.024466417729854584, -0.016041988506913185, 0.03557174280285835, -0.029342347756028175, 0.013335064984858036, 0.026323089376091957, 0.02070101723074913, 0.016250211745500565, 0.009179244749248028, -0.061148691922426224, -0.0026483593974262476, -0.021568622440099716, -0.01939961314201355, 0.042200230062007904, 0.03331597149372101, -0.055457212030887604, 0.023963207378983498, -0.04445600137114525, 0.03086933121085167, 0.015035567805171013, 0.000950025743804872, -0.0017525589792057872, 0.01212042011320591, -0.027433620765805244, 0.009873326867818832, 0.02260974608361721, 0.0198854710906744, 0.016666661947965622, -0.002223233925178647, 0.007309558801352978, -0.020440736785531044, 0.010159635916352272, 0.051258012652397156, -0.004576608072966337, -0.02415408007800579, -0.024535825476050377, 0.054520200937986374, 0.01154780201613903, 0.041020289063453674, 0.023720277473330498, -0.0033706394024193287, 0.017343392595648766, -0.05014747753739357, -0.009934059344232082, -0.02842268906533718, 0.007595868315547705, -0.01700502820312977, -0.009187920019030571, -0.07461389899253845, -0.03838277608156204, 0.017499562352895737, 0.0006582941277883947, 0.012988023459911346, -0.0036591175012290478, 0.013872979208827019, -0.03322921320796013, -0.026548665016889572, 0.03883393108844757, 0.001957530155777931, -0.06055872142314911, -0.01642373390495777, -0.029064714908599854, -0.06003815680742264, 0.08453927934169769, 0.018532009795308113, -0.0060168299823999405, 0.033125098794698715, -0.0011886167339980602, 0.020926594734191895, -0.002811035141348839, 0.06437617540359497, -0.04306783527135849, 0.007010235916823149, 0.028370631858706474, -0.023078251630067825, -0.10938744246959686, -0.030799921602010727, 0.09224359691143036, -0.0061209420673549175, 0.008437443524599075, 0.014879398979246616, 0.05417316034436226, -0.04452540725469589, -0.04685058444738388, 0.047926414757966995, -0.061634548008441925, 0.06597256660461426, 0.005075480323284864, 0.014306780882179737, -0.013933711685240269, 0.00381745514459908, -0.01699635200202465, 0.00392590556293726, 0.011955575086176395, 0.00587801355868578, 0.01415061205625534, 0.030400823801755905, 0.024830810725688934, -0.06586845219135284, 0.022297408431768417, 0.056671857833862305, -0.06552141159772873, 0.03411416709423065, 0.07600206136703491, -0.003485596738755703, -0.07149052619934082, 0.046468839049339294, 0.03026200830936432, -0.041263218969106674, 0.0020269386004656553, 0.032517775893211365, 0.0001527795393485576, -0.052403248846530914, 0.03090403415262699, -0.011651914566755295, -0.009873326867818832, 0.02871767431497574, -0.02281797118484974, 0.013395797461271286, -0.024171432480216026, -0.018271729350090027, -0.020197808742523193, 0.0207357220351696, 0.018601417541503906, -0.05726182833313942, 0.0207357220351696, -0.00015440629795193672, -0.008615301921963692, 0.015521425753831863, -0.005713168531656265, 0.02252298593521118, 0.036127008497714996, 0.019833413884043694, -0.002273120917379856, -0.01000346802175045, 0.061877477914094925, 0.0161460991948843, 0.04681588336825371, 0.034547969698905945, 0.0095176100730896, 0.0022275717929005623, -0.06541729718446732, -0.07027588039636612, 0.07096996158361435, -0.011304873041808605, -0.02545548416674137, 0.05087626725435257, -0.022158591076731682, -0.0653131902217865, -0.035641148686409, -0.0518132783472538, 0.01478396262973547, -0.09210478514432907, 0.05129271373152733, 0.047961119562387466, -0.003928074613213539, 0.012328645214438438, 0.0072618406265974045, -0.0005400831578299403, -0.03053964115679264, 0.05462431162595749, 0.007192432414740324, 0.039423901587724686, -0.009187920019030571, 0.0010877578752115369, -0.016397705301642418, -0.013829599134624004, 0.0032079636584967375, 0.04449070617556572, -0.01395106315612793, -0.02326912432909012, 0.06979002058506012, -0.0165104940533638, 0.008446119725704193, -0.0178205743432045, -0.0019857273437082767, -0.011087971739470959, -0.00630313903093338, -0.00707530602812767, 0.02240152098238468, -0.021343044936656952, 0.016441084444522858, 0.013456529006361961 ]
16,382
presidio_analyzer.pattern
__repr__
Return string representation of instance.
def __repr__(self): """Return string representation of instance.""" return json.dumps(self.to_dict())
(self)
[ -0.00630822591483593, -0.06547488272190094, 0.04386181756854057, -0.026151107624173164, 0.013543483801186085, -0.02216045930981636, -0.03123653493821621, 0.018646569922566414, 0.07550448179244995, -0.013967269100248814, -0.004003891721367836, -0.007076337467879057, -0.010850679129362106, 0.04403839260339737, -0.020430000498890877, 0.025709662586450577, 0.010312117636203766, -0.07056031376123428, 0.004895607475191355, 0.01877017319202423, 0.010232658125460148, -0.018072692677378654, 0.03123653493821621, 0.04749931022524834, -0.023484788835048676, 0.0012106584617868066, -0.0148236695677042, 0.015830161049962044, -0.0065775066614151, 0.020147476345300674, -0.06137828901410103, -0.0709487795829773, 0.029506076127290726, 0.038882333785295486, -0.011910142377018929, 0.024314701557159424, -0.046863630414009094, 0.03679872304201126, -0.08659353852272034, -0.007297059521079063, -0.009508690796792507, 0.027175255119800568, -0.07649330794811249, -0.04089531674981117, 0.03146608546376228, 0.0004811733087990433, 0.03874107077717781, 0.02673381194472313, 0.008126973174512386, -0.07564573734998703, 0.02104802057147026, 0.02065955102443695, -0.015538807958364487, 0.05011265352368355, -0.049406345933675766, 0.0021641761995851994, 0.034079428762197495, 0.05332636088132858, -0.013472852297127247, 0.018628912046551704, -0.07444501668214798, 0.015353401191532612, 0.025056326761841774, -0.03317888453602791, -0.014214477501809597, -0.015944935381412506, -0.09287969022989273, 0.037469714879989624, 0.013472852297127247, -0.009349770843982697, 0.04693426191806793, 0.005116329062730074, -0.0027523995377123356, 0.058835577219724655, -0.001233834307640791, -0.004120874218642712, -0.017993232235312462, -0.014611775986850262, -0.016739534214138985, -0.027987511828541756, 0.012598794884979725, -0.00921733770519495, -0.02110099419951439, -0.002948841778561473, -0.033249516040086746, -0.04954760521650314, -0.022072169929742813, -0.027298860251903534, -0.07543385028839111, 0.01409970223903656, -0.0275107529014349, 0.050642386078834534, -0.03282573074102402, 0.0548449270427227, -0.02968265302479267, -0.03764629364013672, -0.002067058812826872, -0.05675196275115013, 0.055480606853961945, 0.0001536774798296392, 0.0020405719988048077, 0.05177248269319534, -0.05311447009444237, -0.006895345635712147, -0.034414928406476974, -0.03497997298836708, -0.014982588589191437, 0.0034432585816830397, -0.0248267762362957, 0.02025342360138893, 0.0008668844820931554, 0.08758237212896347, -0.027298860251903534, -0.005977143533527851, 0.06812354177236557, -0.02141883410513401, 0.00817994587123394, 0.014187990687787533, 0.06194333732128143, -0.02855255827307701, -0.00957932136952877, 0.021136309951543808, -0.012801858596503735, 0.021701358258724213, -0.0038251071237027645, 0.04781714826822281, -0.02560371719300747, 0.011186175979673862, 0.014858984388411045, -0.043826501816511154, 0.02742246352136135, -0.023502446711063385, -0.058941520750522614, 0.0217719879001379, 0.07176104187965393, 0.010780047625303268, 0.019335221499204636, -0.009120220318436623, 0.0376109778881073, 0.09853016585111618, 0.021242255344986916, 0.009093733504414558, 0.01808152161538601, 0.044991910457611084, -0.0011256806319579482, -0.04018900543451309, -0.01846999116241932, 0.06194333732128143, -0.018664225935935974, -0.05346762388944626, 0.05936530604958534, 0.03789350017905235, 0.08037801086902618, -0.019246932119131088, -0.004001684486865997, -0.0007377622532658279, -0.023837942630052567, -0.04153099283576012, 0.03722250834107399, -0.031360138207674026, -0.02299037203192711, -0.026839759200811386, 0.033726274967193604, -0.0435439758002758, -0.018187467008829117, 0.04439154639840126, 0.05078364908695221, -0.046016059815883636, -0.0026310025714337826, 0.027528410777449608, -0.04100126400589943, -0.07013652473688126, -0.051737166941165924, 0.019811980426311493, -0.0029333913698792458, 0.04813498631119728, 0.03641024976968765, 0.0993071049451828, -0.005575430113822222, 0.0077473316341638565, 0.019794322550296783, -0.058482419699430466, -0.04220198839902878, 0.028305349871516228, 0.06981869041919708, -0.07246734946966171, 0.03980053588747978, 0.006175793241709471, 0.035209525376558304, 0.0350152887403965, 0.032878704369068146, 0.032525550574064255, -0.02555074356496334, -0.01960008591413498, -0.008842111565172672, -0.043120190501213074, -0.0037125388626009226, -0.05177248269319534, -0.05629286170005798, 0.036233674734830856, -0.0550215058028698, -0.010930138640105724, -0.03300230950117111, -0.01106257177889347, 0.019441166892647743, -0.004719030112028122, -0.017030885443091393, -0.03423834964632988, 0.07861223816871643, -0.06600461900234222, -0.022831453010439873, 0.004198126494884491, -0.007804719265550375, 0.0006704421830363572, 0.058835577219724655, -0.05092490836977959, -0.023784970864653587, -0.03602178022265434, -0.019811980426311493, -0.002361722057685256, 0.026186421513557434, -0.009155536070466042, -0.03264915198087692, -0.025126958265900612, -0.08567533642053604, -0.0019246932351961732, 0.002014085417613387, -0.024632541462779045, -0.009967791847884655, -0.038529179990291595, 0.0011764466762542725, -0.02740480564534664, 0.005787322763353586, 0.012386901304125786, 0.012386901304125786, 0.044921278953552246, -0.02599218674004078, -0.029576707631349564, -0.004372496623545885, -0.008369767107069492, 0.03206644952297211, -0.006736426148563623, -0.012484019622206688, -0.0376109778881073, 0.011839511804282665, 0.019547114148736, 0.03725782409310341, 0.06875922530889511, -0.02186027728021145, -0.035597994923591614, 0.032207708805799484, -0.04848814383149147, -0.016430523246526718, 0.01951179839670658, 0.0248267762362957, -0.09761196374893188, -0.00621552299708128, 0.03395582735538483, 0.04015368968248367, 0.04061279073357582, -0.0017922602128237486, -0.0020869236905127764, -0.030618513002991676, 0.05456240475177765, 0.018346387892961502, 0.0021365860011428595, -0.05272600054740906, 0.03536844626069069, 0.00007249328336911276, 0.03976522013545036, 0.1352582573890686, -0.03473276644945145, -0.023219922557473183, 0.007676700595766306, -0.02929418347775936, -0.045662906020879745, -0.038564495742321014, -0.03725782409310341, -0.04301424324512482, -0.047993727028369904, -0.010947796516120434, -0.03754034638404846, 0.03874107077717781, -0.027687329798936844, 0.012289783917367458, -0.047640569508075714, 0.024173440411686897, 0.061872705817222595, 0.012987264432013035, 0.0032534378115087748, 0.06840606778860092, 0.00015685035032220185, -0.016147999092936516, 0.006211108528077602, 0.024915065616369247, -0.018611254170536995, -0.015273941680788994, 0.004546866752207279, 0.0002681768673937768, 0.030212385579943657, 0.011954287067055702, -0.020412342622876167, 0.04961823672056198, 0.053185101598501205, -0.03526249900460243, -0.007742917165160179, -0.00980004295706749, 0.039094228297472, -0.010894822888076305, 0.007336789276450872, -0.0017194220563396811, 0.012422217056155205, 0.03549204766750336, 0.10891291499137878, -0.026892730966210365, 0.03010644018650055, -0.013984926976263523, -0.00779589032754302, 0.044532809406518936, 0.070030577480793, -0.05643412470817566, 0.00305258110165596, 0.011345095001161098, 0.014602947980165482, 0.05565718188881874, -0.046863630414009094, -0.010444550774991512, 0.07056031376123428, 0.04778183251619339, 0.031783923506736755, 0.019299905747175217, -0.05085428059101105, 0.036268990486860275, 0.0503951795399189, -0.009084905497729778, -0.005610745400190353, 0.021330544725060463, -0.010815363377332687, -0.05050112307071686, -0.033355463296175, 0.047993727028369904, 0.021595411002635956, -0.008202018216252327, -0.017781339585781097, -0.046828314661979675, 0.03845854848623276, -0.0019500761991366744, 0.02221343107521534, -0.003800827544182539, -0.042731720954179764, -0.05685791000723839, 0.01764007844030857, 0.05417393520474434, 0.051313381642103195, -0.0761401578783989, -0.04672236740589142, 0.00008559863636037335, 0.005500384606420994, -0.03561565279960632, -0.01447934377938509, 0.04054216295480728, 0.005478312727063894, -0.01669538952410221, -0.007623727433383465, -0.0027766788844019175, 0.01951179839670658, 0.014691236428916454, -0.039623960852622986, 0.06999526172876358, -0.02099504880607128, -0.037045929580926895, 0.0017150075873360038, -0.03229599818587303, -0.0014777317410334945, -0.0277932770550251, 0.03452087193727493, -0.02447362244129181, 0.04022432118654251, -0.04696957767009735, -0.029541391879320145, 0.012872489169239998, -0.02334352768957615, -0.0133404191583395, 0.03374393284320831, 0.031413111835718155, -0.015265112742781639, 0.041566308587789536, -0.018187467008829117, -0.005999215878546238, -0.010365091264247894, -0.0820731595158577, -0.03540376201272011, -0.028128772974014282, 0.020853785797953606, -0.05742295831441879, -0.058517735451459885, 0.014876642264425755, 0.00942923128604889, -0.042661089450120926, 0.03683403879404068, 0.015379888005554676, -0.028658505529165268, 0.04894724488258362, -0.01593610644340515, 0.0017481158720329404, 0.01409970223903656, 0.032172393053770065, 0.0048293909057974815, 0.0180638637393713, -0.03206644952297211, -0.01635989174246788, -0.030759776011109352, -0.08186126500368118, -0.08638164401054382, 0.05148995667695999, -0.012784200720489025, -0.007870935834944248, -0.0026133449282497168, -0.017754852771759033, 0.027175255119800568, -0.015203310176730156, 0.08157873898744583, 0.02855255827307701, 0.039306119084358215, -0.007663457188755274, 0.008625803515315056, 0.0018286792328581214, 0.03679872304201126, 0.06120171397924423, 0.03132482245564461, 0.00025589921278879046, 0.0003004574100486934, 0.01540637481957674, -0.06882985681295395, 0.048382196575403214, -0.0046660564839839935, 0.05456240475177765, -0.0698540061712265, -0.010647614486515522, 0.09422168135643005, 0.01678367704153061, -0.020235765725374222, -0.014452856965363026, -0.00874499324709177, 0.03301996737718582, -0.02892337180674076, -0.04919445142149925, 0.0044298842549324036, 0.07868286967277527, -0.03388519585132599, 0.03867044299840927, 0.00612282007932663, 0.046439845114946365, -0.06805291026830673, -0.01297843549400568, -0.04922976717352867, 0.01706620119512081, -0.0459454283118248, 0.0073897624388337135, 0.0009104770142585039, -0.0342736653983593, 0.00892157107591629, -0.015088534913957119, 0.0008475712966173887, -0.014249793253839016, -0.012510505504906178, 0.005094256717711687, 0.03902359679341316, -0.08588722348213196, 0.020182792097330093, 0.06547488272190094, 0.043473344296216965, -0.049088504165410995, -0.04813498631119728, -0.022089827805757523, 0.06282622367143631, 0.021613068878650665, -0.007305887993425131, -0.04749931022524834, -0.04711084067821503, -0.06950084865093231, -0.06155486777424812, -0.013993755914270878, 0.02744012139737606, -0.01110671553760767, 0.020853785797953606, 0.01782548427581787, 0.02106567844748497, 0.02221343107521534, 0.022778479382395744, -0.018346387892961502, 0.04880598187446594, -0.06953616440296173, 0.018187467008829117, 0.0014026863500475883, 0.019123326987028122, -0.023837942630052567, -0.01088599395006895, -0.025850925594568253, -0.022654874250292778, 0.026168763637542725, 0.009720583446323872, -0.007734088227152824, 0.021577753126621246, -0.02101270481944084, -0.016624758020043373, 0.04439154639840126, 0.041601624339818954, -0.01961774379014969, -0.0020769911352545023, 0.012837174348533154, 0.003957540262490511, 0.04403839260339737, -0.0074294921942055225, -0.019388193264603615, 0.013684744946658611, -0.003913395572453737, 0.021224599331617355, -0.03732845187187195, -0.02440299093723297, 0.0035999708343297243, 0.01960008591413498, 0.0026773542631417513, -0.005169302225112915, -0.05417393520474434, 0.0398358516395092, -0.01728692278265953, 0.016050882637500763, -0.02099504880607128, 0.09386852383613586, 0.027175255119800568, -0.009340941905975342, 0.005557772237807512, 0.004520380403846502, -0.038529179990291595, 0.06639308482408524, -0.03081274963915348, 0.04135441780090332, -0.0244559645652771, 0.012528163380920887, 0.032914020121097565, -0.00012974296987522393, 0.010797705501317978, -0.03377924859523773, 0.0020096709486097097, -0.0199179258197546, 0.0019423509947955608, 0.013587627559900284, -0.009455717168748379, -0.00527083408087492, 0.01750764437019825, -0.021348202601075172, 0.0442856028676033, -0.018611254170536995, -0.030530225485563278, 0.018240440636873245, 0.00572552066296339, -0.003182806773111224, 0.02526821941137314, 0.027351832017302513, 0.010409235022962093, 0.030247701331973076, 0.03386753797531128, -0.01671304740011692, -0.0263983141630888, 0.06741723418235779, 0.00846688449382782, 0.08588722348213196, -0.047534625977277756, -0.017869628965854645, 0.010259144939482212, 0.009252653457224369, 0.051384009420871735, 0.027563726529479027, 0.0005683583440259099, 0.026221737265586853, 0.03540376201272011, 0.04615732282400131, 0.01521213911473751, -0.023979205638170242, -0.03194284439086914, 0.030388962477445602, -0.02334352768957615, -0.04096594825387001, -0.023043345659971237, 0.011892485432326794, -0.043791186064481735, 0.027669671922922134, 0.02786390669643879, -0.04552164301276207, -0.027969853952527046, 0.016818992793560028, -0.030636170879006386, -0.007888593710958958, 0.0904076099395752, -0.04283766821026802, -0.013411050662398338, -0.0263983141630888, -0.005729935131967068, 0.009314456023275852, 0.03693998232483864, 0.024720830842852592, 0.013693573884665966, -0.011751223355531693, 0.05046580731868744, -0.006718768272548914, -0.03750503063201904, 0.018311072140932083, -0.03081274963915348, 0.010373920202255249, -0.04093063250184059, 0.005884440615773201, -0.011071400716900826, -0.08398019522428513, 0.001091468846425414, -0.02712228149175644, -0.026680838316679, 0.02864084765315056, -0.031819239258766174, 0.026786785572767258, 0.06957148015499115, 0.022089827805757523, -0.02103036269545555, 0.037787552922964096, -0.02666318044066429, -0.04432091861963272, 0.0053414651192724705, -0.00942923128604889, -0.0004717926203738898, -0.032507892698049545, 0.039623960852622986, -0.005164887756109238, 0.011883656494319439, -0.04997139424085617, -0.024350017309188843, -0.02977094240486622, 0.008833282627165318, 0.012060233391821384, 0.0001482973893871531, 0.055445291101932526, 0.015318085439503193, -0.03321420028805733, -0.08518091589212418, 0.006815886124968529, -0.052090320736169815, -0.011389239691197872, -0.011751223355531693, -0.0526200532913208, 0.015115021727979183, -0.06268496066331863, -0.03310825303196907, 0.013790691271424294, -0.002277847845107317, 0.010532839223742485, -0.02138351835310459, 0.007990125566720963, 0.0007962535019032657, 0.04488596320152283, -0.025374166667461395, 0.03547438979148865, -0.04739336296916008, 0.02706930972635746, -0.0791066586971283, -0.05311447009444237, 0.0572463795542717, 0.03494466096162796, -0.061095766723155975, -0.015918448567390442, 0.015070877969264984, 0.00648921774700284, -0.01224564015865326, 0.0308480653911829, -0.016501154750585556, 0.011927800253033638, -0.0691123753786087, 0.016642415896058083, -0.017754852771759033, 0.01884080469608307, 0.020871443673968315, -0.02145414985716343, -0.023449473083019257, 0.0013750961516052485, -0.04481533169746399, 0.031360138207674026, -0.013349248096346855, 0.04135441780090332, -0.011274464428424835, 0.01995324157178402, 0.005782908294349909, -0.047216784209012985, -0.03543907403945923, -0.04439154639840126, -0.06819417327642441, 0.01922927424311638, 0.02560371719300747, -0.021189283579587936, 0.011954287067055702, -0.06413289904594421, 0.02555074356496334, 0.010197342373430729, 0.041213154792785645, -0.00027769547887146473, 0.04213135689496994, -0.024597225710749626, 0.07642268389463425, 0.015000246465206146, -0.005363537464290857, -0.003710331628099084, 0.05491555854678154, -0.042307935655117035, -0.005760836414992809, 0.11463402211666107, 0.011495186015963554, -0.03362032771110535, -0.03905891254544258, 0.01877017319202423, 0.0296473391354084, 0.023855600506067276, -0.027157597243785858, 0.011821853928267956, -0.04033026844263077, 0.0054694837890565395, 0.0376109778881073, -0.0009314455674029887, 0.03655151277780533, 0.05943593755364418, -0.031413111835718155, -0.04301424324512482, -0.03582754731178284, -0.02517993189394474, -0.017684223130345345, 0.01922927424311638, -0.06007161736488342, -0.025427140295505524, -0.00801219791173935, -0.03233131393790245, 0.015282770618796349, -0.024155782535672188, 0.023626049980521202, 0.03561565279960632, -0.0007532127783633769, 0.016924940049648285, 0.010479866527020931, 0.020924417302012444, 0.02147180587053299, -0.002036157762631774, 0.048346880823373795, 0.04615732282400131, -0.027263544499874115, -0.001103608519770205, 0.032190050929784775, 0.059224046766757965, -0.04809967055916786, 0.04990076273679733, 0.063355952501297, 0.012148521840572357, -0.01990026794373989, 0.07179635018110275, 0.03466213494539261, -0.030989326536655426, -0.08645227551460266, -0.02712228149175644, 0.004209162667393684, -0.01038274820894003, -0.008842111565172672, 0.07253798097372055, 0.019317563623189926, -0.023908574134111404 ]
16,383
presidio_analyzer.pattern
__str__
Return string representation of instance.
def __str__(self): """Return string representation of instance.""" return json.dumps(self.to_dict())
(self)
[ -0.026818735525012016, -0.05510552227497101, 0.040281813591718674, -0.04060406610369682, 0.01682884618639946, -0.033693499863147736, -0.018851889297366142, 0.009846665896475315, 0.07404692471027374, -0.04411306232213974, -0.02268313616514206, -0.019532203674316406, -0.015459264628589153, 0.014635725878179073, 0.0022266891319304705, 0.01332880463451147, -0.014125489629805088, -0.0830700471997261, 0.023667803034186363, 0.021053960546851158, 0.012612683698534966, -0.016972070559859276, 0.03734571486711502, 0.05528455227613449, -0.026603899896144867, 0.017258519306778908, -0.018833985552191734, -0.0014535021036863327, -0.013248240575194359, 0.025798263028264046, -0.03705926984548569, -0.07297274470329285, 0.03551960736513138, 0.0457601398229599, -0.03120497800409794, 0.016336513683199883, -0.04830237105488777, 0.029110323637723923, -0.09531572461128235, -0.005643929820507765, -0.018493827432394028, 0.04042503610253334, -0.10140275210142136, -0.034749776124954224, 0.025923585519194603, -0.0062750112265348434, 0.010446417145431042, 0.06176544725894928, 0.018601246178150177, -0.04590336233377457, 0.018816081807017326, 0.005661832634359598, -0.024455536156892776, 0.025100044906139374, -0.05091621354222298, -0.008517365902662277, 0.03741732984781265, 0.026210032403469086, -0.011010361835360527, 0.020481064915657043, -0.055678416043519974, 0.011457937769591808, 0.03648637235164642, -0.03927924484014511, -0.028913389891386032, -0.014707337133586407, -0.07014406472444534, 0.03521525487303734, 0.025476008653640747, 0.01446564681828022, 0.05385230854153633, -0.027015669271349907, 0.010876089334487915, 0.06903407722711563, 0.004422048106789589, 0.003992375452071428, -0.053780697286129, -0.017267471179366112, -0.014295567758381367, -0.018601246178150177, 0.02196701616048813, -0.008530792780220509, -0.035770248621702194, -0.010813429020345211, -0.05510552227497101, -0.05242006480693817, -0.03705926984548569, -0.03845570608973503, -0.05757613852620125, 0.010070453397929668, -0.01687360368669033, 0.046333037316799164, -0.028501620516180992, 0.0726504847407341, -0.030954334884881973, -0.03406946361064911, 0.008853047154843807, -0.05557100102305412, 0.039959557354450226, 0.0182163305580616, -0.00326954061165452, 0.05152491480112076, -0.04336113482713699, 0.003862578421831131, -0.039243437349796295, -0.05274232104420662, -0.01288122870028019, -0.0053351023234426975, -0.010688107460737228, 0.023524578660726547, 0.002058848273009062, 0.060691263526678085, -0.02166266366839409, -0.004099793266505003, 0.059545472264289856, -0.037918612360954285, 0.006006465759128332, 0.00823986902832985, 0.04772947356104851, -0.04819495230913162, 0.01606796681880951, 0.014394034631550312, -0.022897973656654358, 0.02207443304359913, 0.013248240575194359, 0.05148910731077194, -0.02925354801118374, -0.004231828264892101, 0.05528455227613449, -0.031742069870233536, 0.026603899896144867, -0.024885209277272224, -0.05138169229030609, 0.014796853065490723, 0.09452798962593079, 0.0009566930821165442, -0.0039050979539752007, 0.0036634071730077267, 0.05424617603421211, 0.11522389203310013, 0.019675428047776222, 0.013668961822986603, 0.026747124269604683, 0.030399341136217117, 0.025296978652477264, -0.023864736780524254, -0.011771241202950478, 0.05306457355618477, -0.03920762985944748, -0.0355733186006546, 0.06885504722595215, 0.027212603017687798, 0.05578583478927612, -0.007371571846306324, -0.01226357463747263, -0.005276917479932308, -0.034212686121463776, -0.05191878229379654, 0.04676270857453346, -0.03435591235756874, -0.008060838095843792, -0.04379080608487129, 0.0207138042896986, -0.028698554262518883, -0.004258682951331139, 0.0529213510453701, 0.04013858735561371, -0.019048821181058884, 0.002038707258179784, 0.007792293094098568, -0.05818483978509903, -0.05102362856268883, -0.052670709788799286, 0.02841210551559925, -0.006082553882151842, 0.04053245484828949, 0.03304899111390114, 0.08901385217905045, 0.0057871537283062935, 0.0032919193617999554, -0.0009891423396766186, -0.04389822483062744, -0.024473439902067184, 0.027033573016524315, 0.09015964716672897, -0.05861451476812363, 0.02533278428018093, 0.025905681774020195, 0.024903113022446632, 0.03541218861937523, 0.03910021483898163, 0.02134040929377079, -0.030399341136217117, -0.012979695573449135, -0.009090262465178967, -0.032780446112155914, -0.00011972650099778548, -0.07855848968029022, -0.04669109731912613, 0.03867053985595703, -0.04697754606604576, -0.0014490262838080525, -0.04074729233980179, -0.01072391401976347, 0.040997933596372604, -0.006619644816964865, 0.006127311382442713, -0.02678292989730835, 0.07268629223108292, -0.06330510973930359, 0.000031557585316477343, 0.006923995912075043, -0.03346075862646103, 0.0055051809176802635, 0.07143308222293854, -0.07014406472444534, 0.007161211222410202, -0.03856312111020088, -0.007872856222093105, 0.0034843769390136003, 0.040568262338638306, 0.011529549956321716, -0.023470869287848473, -0.018708664923906326, -0.0722208172082901, 0.017688192427158356, 0.013507834635674953, -0.04074729233980179, -0.0058632418513298035, -0.022110240533947945, -0.012702198699116707, -0.04178566858172417, -0.001327061909250915, 0.032368674874305725, 0.008042935281991959, 0.06531024724245071, -0.028161462396383286, -0.05664518103003502, -0.0230949055403471, -0.03877795860171318, 0.03870634734630585, -0.015817325562238693, -0.025887778028845787, -0.024867305532097816, 0.010509077459573746, 0.0053306263871490955, 0.02361409366130829, 0.054210368543863297, -0.026299547404050827, -0.035143643617630005, 0.059044186025857925, -0.03414107486605644, -0.013525737449526787, 0.0210360586643219, 0.00439071748405695, -0.1073465570807457, -0.005254538729786873, 0.041928891092538834, 0.03367559611797333, 0.017929881811141968, -0.029987571761012077, -0.00009392096399096772, -0.03741732984781265, 0.05353005230426788, -0.007666972000151873, -0.025672942399978638, -0.039673108607530594, 0.034427523612976074, 0.005321674980223179, 0.039136018604040146, 0.1420784294605255, -0.052384261041879654, -0.03680862486362457, 0.021519439294934273, -0.032064322382211685, -0.05209781229496002, -0.03650427609682083, -0.03917182609438896, -0.059259023517370224, -0.03784700110554695, -0.02973693050444126, -0.035340577363967896, 0.044578541070222855, -0.02995176613330841, 0.02433021552860737, -0.06269640475511551, 0.036880236119031906, 0.05560680478811264, 0.0123083321377635, 0.015378701500594616, 0.057504527270793915, -0.017034731805324554, -0.02390054240822792, 0.000930398004129529, 0.006919520441442728, -0.009211108088493347, -0.003144219284877181, 0.008763532154262066, -0.003354579908773303, -0.0010881684720516205, -0.0036096980329602957, 0.004806963261216879, 0.026639705523848534, 0.020964445546269417, -0.02533278428018093, -0.029629511758685112, -0.03127659112215042, 0.004175881389528513, -0.010052550584077835, 0.006637547630816698, -0.013812186196446419, 0.01195027120411396, 0.025905681774020195, 0.10276338458061218, -0.014322422444820404, 0.05868612602353096, -0.0355733186006546, 0.0008140283171087503, 0.03048885613679886, 0.07755591720342636, -0.04547369107604027, -0.00918425340205431, -0.0009203275549225509, -0.004238541703671217, 0.05195458605885506, -0.03834828734397888, -0.01847592554986477, 0.08027717471122742, 0.055678416043519974, 0.019514299929142, 0.010759719647467136, -0.05635873228311539, 0.046118199825286865, 0.04350435733795166, -0.008512889966368675, -0.012702198699116707, 0.02637116052210331, -0.018851889297366142, -0.04547369107604027, -0.007993701845407486, 0.05929482728242874, 0.012397847138345242, -0.004560796543955803, -0.0024728558491915464, -0.043146297335624695, 0.04679851606488228, -0.011717531830072403, 0.022933779284358025, -0.004207211546599865, -0.041284382343292236, -0.040281813591718674, -0.004663738887757063, 0.04830237105488777, 0.03566283360123634, -0.05517713353037834, -0.03526896610856056, 0.01365105900913477, 0.029593706130981445, -0.03496461361646652, -0.030811110511422157, 0.017876174300909042, -0.02882387489080429, -0.012836471199989319, -0.009220059029757977, 0.02062428928911686, 0.03931504860520363, 0.03016660176217556, -0.04328952357172966, 0.0672437772154808, -0.041284382343292236, -0.021787984296679497, 0.00980190746486187, -0.02595939114689827, -0.0030121845193207264, -0.039673108607530594, 0.06957116723060608, 0.0008582263835705817, 0.04690593481063843, -0.06301865726709366, -0.029468383640050888, 0.014295567758381367, -0.03952988609671593, -0.004712972324341536, 0.056680988520383835, 0.02359619177877903, -0.004771157167851925, 0.039637304842472076, -0.020051391795277596, 0.0023833406157791615, -0.0057200174778699875, -0.07043050974607468, -0.036772821098566055, -0.028358396142721176, 0.01620224118232727, -0.043253716081380844, -0.06044062227010727, 0.004592126701027155, 0.006650974974036217, -0.028071947395801544, 0.049233328551054, 0.0051292176358401775, -0.046010781079530716, 0.04289565607905388, -0.016032161191105843, -0.021770082414150238, 0.038026031106710434, 0.020373646169900894, 0.0038648161571472883, 0.006709159817546606, -0.012729053385555744, -0.00934538058936596, -0.05037911981344223, -0.06795989722013474, -0.08629259467124939, 0.05492648854851723, -0.0012610445264726877, -0.020445257425308228, -0.0025623708497732878, -0.022199755534529686, 0.025476008653640747, -0.030757403001189232, 0.08221070468425751, 0.021465729922056198, 0.04561691731214523, 0.0011737672612071037, 0.00808769278228283, 0.006718111224472523, 0.04114115983247757, 0.07913138717412949, 0.01699892431497574, 0.007796768564730883, 0.012084543704986572, -0.0056886873207986355, -0.06627701222896576, 0.04758624732494354, -0.0001787505461834371, 0.055964864790439606, -0.054747458547353745, -0.01609482243657112, 0.07705463469028473, 0.006888190284371376, -0.039028599858284, -0.017204809933900833, 0.012326234951615334, 0.024186991155147552, -0.03856312111020088, -0.05209781229496002, 0.01958591304719448, 0.06606217473745346, -0.010177871212363243, 0.03942246735095978, 0.008580026216804981, 0.00862030778080225, -0.0759088397026062, 0.004292251076549292, -0.04429209232330322, 0.039852142333984375, -0.03589557111263275, 0.017249567434191704, 0.008141402155160904, -0.047049157321453094, 0.01971123367547989, -0.005903523415327072, 0.02194911241531372, -0.0010618733940646052, -0.0003191774303559214, -0.02288006991147995, 0.0453304685652256, -0.08213908970355988, 0.01867285743355751, 0.055248744785785675, 0.04096212983131409, -0.05625131353735924, -0.04081890359520912, -0.030023377388715744, 0.06520282477140427, 0.013006550259888172, -0.018923500552773476, -0.03763216361403465, -0.0418572798371315, -0.05406714603304863, -0.06738699972629547, -0.009408040903508663, 0.05045073479413986, -0.0004363862972240895, 0.01576361618936062, 0.027982432395219803, 0.023667803034186363, -0.00011993630323559046, 0.022199755534529686, -0.002410195069387555, 0.028483718633651733, -0.06394961476325989, -0.0031151268631219864, -0.007447659503668547, 0.017518112435936928, -0.04729979857802391, -0.007890759967267513, -0.05435359477996826, 0.0031531709246337414, 0.0373099111020565, 0.00797132309526205, -0.0018854126101359725, 0.029486287385225296, -0.002263614209368825, -0.028394201770424843, 0.04239436984062195, 0.03378301486372948, -0.026729220524430275, -0.004392955452203751, 0.0035850813146680593, 0.0016672194469720125, 0.031974807381629944, -0.011198343709111214, -0.006991132628172636, 0.01641707681119442, -0.006789723411202431, 0.008244344033300877, -0.038849569857120514, -0.009166350588202477, -0.022342979907989502, 0.01938897930085659, -0.004500373732298613, -0.007425280753523111, -0.029933862388134003, 0.027964530512690544, -0.023059099912643433, 0.02893129363656044, -0.01878027617931366, 0.10892201960086823, 0.026747124269604683, 0.0008375260513275862, 0.014044925570487976, 0.01801939867436886, -0.022933779284358025, 0.08085007220506668, -0.03654007986187935, 0.03738152235746384, -0.0052008298225700855, 0.004753253888338804, 0.025314882397651672, 0.0034687116276472807, 0.01750021055340767, -0.033389147371053696, 0.0021550769452005625, -0.029110323637723923, 0.000288686336716637, 0.01888769492506981, -0.013991216197609901, -0.0004210009064991027, 0.007411853410303593, -0.020857028663158417, 0.02144782803952694, -0.019424784928560257, -0.04937655106186867, 0.014295567758381367, -0.001231952104717493, 0.004292251076549292, 0.03260141238570213, 0.01410758588463068, -0.0013527976116165519, 0.023882638663053513, 0.03467816486954689, 0.013364610262215137, -0.03168835863471031, 0.06924891471862793, 0.006915044505149126, 0.06720796972513199, -0.02073170617222786, -0.012290428392589092, 0.011977125890552998, -0.014778949320316315, 0.021787984296679497, 0.04200050234794617, -0.013221385888755322, 0.027463244274258614, 0.05109524354338646, 0.039637304842472076, 0.0004951306036673486, 0.0030972238164395094, -0.03738152235746384, 0.04808753356337547, -0.01353468932211399, -0.03322802111506462, -0.016972070559859276, 0.011511647142469883, -0.029593706130981445, 0.016390223056077957, 0.027875015512108803, -0.052169423550367355, -0.02586987614631653, 0.016282804310321808, -0.03363978862762451, -0.007210444658994675, 0.08464551717042923, -0.04873204231262207, -0.006610692944377661, -0.04063987359404564, -0.004663738887757063, -0.012021883390843868, 0.0416424423456192, 0.01827899180352688, 0.008915708400309086, 0.0057558235712349415, 0.058650318533182144, 0.02092863991856575, -0.03734571486711502, 0.03007708676159382, -0.028358396142721176, 0.0286269411444664, -0.03960149735212326, -0.0054067145101726055, -0.014394034631550312, -0.05929482728242874, -0.005254538729786873, -0.021716373041272163, 0.0008638211293146014, -0.0008017199579626322, -0.02544020302593708, 0.0008979487465694547, 0.07039470970630646, 0.04604658856987953, -0.007631165906786919, 0.05353005230426788, -0.03942246735095978, -0.04003117233514786, 0.002759304130449891, -0.010455368086695671, -0.0008095525554381311, -0.07164791971445084, 0.017142148688435555, -0.009882471524178982, 0.004563034512102604, -0.04167824983596802, -0.030703693628311157, -0.0249389186501503, 0.022110240533947945, 0.005728968884795904, -0.004345959983766079, 0.034713972359895706, 0.004063987173140049, -0.02173427678644657, -0.08213908970355988, 0.02001558616757393, -0.055857446044683456, 0.0024728558491915464, -0.030614178627729416, -0.06018998101353645, 0.007662496063858271, -0.0722208172082901, -0.02912822738289833, 0.006704683881253004, -0.015298137441277504, 0.013409367762506008, -0.010473271831870079, 0.004325819201767445, 0.010509077459573746, 0.03938666358590126, -0.0007569623994641006, 0.04268081858754158, -0.028394201770424843, 0.01906672492623329, -0.058328066021203995, -0.05961708351969719, 0.0529213510453701, 0.02706937864422798, -0.05897257477045059, -0.02368570677936077, 0.01949639804661274, 0.004842768888920546, -0.007631165906786919, 0.024455536156892776, -0.002120389835909009, 0.001088727847672999, -0.06817473471164703, 0.027212603017687798, -0.006185496225953102, 0.028680650517344475, 0.03609250485897064, -0.034821391105651855, -0.019872361794114113, -0.01661401055753231, -0.0283046867698431, 0.03938666358590126, -0.010070453397929668, 0.059867724776268005, -0.014940076507627964, 0.01251421682536602, 0.03265512362122536, -0.03260141238570213, -0.046333037316799164, -0.05345844104886055, -0.08708032965660095, 0.014698386192321777, 0.047657862305641174, -0.014340325258672237, 0.009622877463698387, -0.037703778594732285, 0.012988646514713764, 0.0032247828785330057, 0.0379544198513031, 0.006767344661056995, 0.04450692608952522, -0.031133366748690605, 0.0654892772436142, -0.021716373041272163, -0.018923500552773476, -0.0022501868661493063, 0.05797000601887703, -0.05625131353735924, 0.01929946430027485, 0.08443067967891693, -0.004276585765182972, -0.013982265256345272, -0.0266755111515522, -0.004240779671818018, 0.032977376133203506, 0.018601246178150177, -0.0006892665987834334, 0.01519071962684393, -0.019926071166992188, 0.001122855581343174, 0.0038021556101739407, -0.0090544568374753, 0.053601667284965515, 0.05471165478229523, -0.021608954295516014, -0.028877584263682365, -0.046118199825286865, -0.037918612360954285, -0.0010378161678090692, 0.018287943676114082, -0.05327941104769707, -0.009613926522433758, -0.00293609662912786, -0.03394414111971855, 0.018180524930357933, -0.021591052412986755, 0.04117696359753609, 0.04507982358336449, -0.0007564029656350613, 0.0385989286005497, 0.018959306180477142, 0.026013100519776344, 0.022289270535111427, 0.000179030277649872, 0.07426176220178604, 0.0329594761133194, -0.029504191130399704, -0.002763780066743493, 0.03603879734873772, 0.04604658856987953, -0.031849488615989685, 0.05173975229263306, 0.050522346049547195, 0.005464899353682995, -0.026639705523848534, 0.0724356546998024, 0.031742069870233536, -0.011269955895841122, -0.07300855219364166, -0.03917182609438896, 0.004905429668724537, -0.010142065584659576, 0.003021135926246643, 0.074619822204113, 0.011968174017965794, -0.024401826784014702 ]
16,384
presidio_analyzer.pattern
to_dict
Turn this instance into a dictionary. :return: a dictionary
def to_dict(self) -> Dict: """ Turn this instance into a dictionary. :return: a dictionary """ return_dict = {"name": self.name, "score": self.score, "regex": self.regex} return return_dict
(self) -> Dict
[ 0.02010565809905529, -0.024058697745203972, -0.004284036811441183, -0.0484200194478035, -0.044221095740795135, -0.030640793964266777, -0.05057622492313385, 0.02907092683017254, 0.04626381769776344, 0.009050383232533932, 0.0017259089509025216, -0.023964127525687218, 0.03024359978735447, 0.043729331344366074, 0.025552909821271896, -0.023037338629364967, 0.02769020013511181, -0.0036456871312111616, -0.059957604855298996, -0.00830327719449997, 0.02629055827856064, -0.0484200194478035, 0.020862219855189323, 0.06638839095830917, -0.023793900385499, 0.013306048698723316, 0.01558519434183836, -0.013192564249038696, -0.0011596690164878964, 0.04081656411290169, -0.035180170089006424, -0.03446143865585327, 0.013306048698723316, 0.0714951902627945, -0.027765855193138123, -0.018838414922356606, -0.047663457691669464, 0.029184410348534584, -0.09646175801753998, 0.03319419547915459, -0.012057719752192497, 0.017845425754785538, -0.07289482653141022, -0.0034281753469258547, 0.026857979595661163, -0.006955649703741074, 0.010639164596796036, -0.028276536613702774, 0.04410761222243309, -0.056023478507995605, 0.015991846099495888, -0.02587444894015789, 0.005816076882183552, 0.04993314668536186, -0.012379258871078491, -0.030773192644119263, 0.014573291875422001, 0.06722060590982437, 0.013116908259689808, 0.013135822489857674, -0.029468122869729996, -0.0014741154154762626, 0.02173226699233055, -0.017523886635899544, -0.004988586064428091, 0.01141464151442051, -0.0679771676659584, -0.007140061818063259, 0.005381053313612938, -0.014251752756536007, 0.018989726901054382, -0.03395075723528862, 0.0323430597782135, 0.04384281486272812, 0.0208054780960083, 0.03574759513139725, -0.020635250955820084, -0.04198923707008362, 0.04153529927134514, -0.025496168062090874, -0.0038277350831776857, 0.021410727873444557, -0.07134387642145157, -0.010374368168413639, -0.00992043036967516, -0.037260718643665314, 0.013466818258166313, -0.031964778900146484, -0.025250284001231194, 0.017713027074933052, -0.05466166511178017, 0.03629610314965248, -0.007844611071050167, 0.08231403678655624, -0.0015675036702305079, -0.05503994598984718, 0.006757051683962345, -0.0249287448823452, 0.005905918776988983, 0.006875264924019575, -0.0453181117773056, 0.09562954306602478, -0.035879991948604584, 0.015055600553750992, -0.02055959403514862, -0.08571857213973999, -0.003298141062259674, -0.06071416661143303, 0.025363769382238388, 0.0025013857521116734, -0.07047382742166519, 0.029846403747797012, -0.04270797222852707, 0.04255665838718414, 0.040022172033786774, -0.06854458898305893, -0.036125876009464264, 0.00577824842184782, -0.013476275838911533, -0.031094731763005257, -0.015954019501805305, 0.08299494534730911, -0.023907385766506195, 0.07698027044534683, -0.0029576877132058144, 0.0168902650475502, -0.003886841470375657, 0.011178215965628624, 0.06351345032453537, 0.010752649046480656, -0.006227457895874977, -0.017845425754785538, -0.038225337862968445, -0.006165986880660057, 0.04713386297225952, 0.014166639186441898, 0.07452143728733063, 0.020956790074706078, 0.02952486462891102, 0.057650089263916016, 0.05451035127043724, 0.008738300763070583, 0.02057850919663906, -0.02727409079670906, 0.009892058558762074, -0.0747862383723259, 0.0008452225592918694, 0.041951410472393036, -0.04452372342348099, -0.04248100146651268, 0.03347790613770485, 0.006837436463683844, 0.0657074823975563, -0.0029860588256269693, -0.004168188199400902, -0.02767128497362137, -0.014176095835864544, -0.058330994099378586, 0.023926299065351486, -0.028068481013178825, -0.0024730146396905184, -0.007783140055835247, 0.017580628395080566, -0.06423218548297882, 0.024758517742156982, 0.040551766753196716, 0.07860688120126724, -0.022091634571552277, 0.011093102395534515, -0.04592336341738701, -0.05730963498353958, -0.041497472673654556, -0.09139279276132584, 0.0232832208275795, -0.06869590282440186, 0.02980857528746128, 0.04441023990511894, 0.08284363150596619, 0.02008674293756485, 0.018299363553524017, 0.06990640610456467, -0.0521271787583828, -0.06271906197071075, 0.05814185366034508, 0.06566965579986572, -0.06445915251970291, 0.028295449912548065, 0.07531583309173584, -0.0033430620096623898, 0.04596119374036789, 0.07081428170204163, -0.03599347546696663, -0.052543289959430695, -0.009192238561809063, 0.0014528370229527354, -0.03001663088798523, -0.02105136029422283, 0.0016195173375308514, -0.04441023990511894, 0.05927669629454613, -0.026177074760198593, -0.026158159598708153, -0.017646828666329384, 0.0022176748607307673, -0.006270014680922031, -0.012341431342065334, -0.002728354651480913, -0.013722158037126064, -0.008965269662439823, -0.022942768409848213, -0.020881135016679764, -0.02608250454068184, -0.0001227198081323877, -0.00022800320584792644, 0.06332430988550186, -0.0803469717502594, 0.05473732203245163, 0.006397684570401907, 0.035180170089006424, 0.017968367785215378, 0.009244251996278763, -0.016266100108623505, -0.03211609274148941, -0.02103244699537754, 0.0014528370229527354, -0.04452372342348099, -0.03228631988167763, -0.020502852275967598, -0.042821455746889114, -0.07244089245796204, 0.03215391933917999, -0.07145735621452332, -0.020162399858236313, -0.0062321862205863, 0.01851687580347061, 0.01814805157482624, -0.01821424998342991, 0.001194541808217764, 0.001972974045202136, -0.0275010596960783, 0.09963932633399963, 0.024172183126211166, -0.01938692294061184, 0.04441023990511894, -0.02538268268108368, -0.027595629915595055, 0.05333767831325531, 0.0379037968814373, 0.007489971816539764, -0.025798792019486427, 0.046755582094192505, -0.023718245327472687, -0.003333604894578457, 0.05084102228283882, -0.021372899413108826, 0.0018713108729571104, -0.04452372342348099, 0.025477252900600433, 0.02515571378171444, -0.02634730003774166, 0.053262025117874146, 0.006653024349361658, -0.015414968132972717, -0.0005866317078471184, 0.02842784859240055, -0.0022354067768901587, -0.006591553799808025, 0.04550725594162941, -0.020710907876491547, 0.008123593404889107, 0.13686221837997437, -0.024872003123164177, -0.004879830405116081, -0.02125941589474678, -0.03145410120487213, -0.0076554701663553715, -0.005040599964559078, -0.036825694143772125, -0.022318603470921516, 0.016455242410302162, 0.014403064735233784, -0.04142181575298309, -0.009206423535943031, -0.05568302422761917, 0.06809065490961075, 0.03926561027765274, 0.0021822110284119844, 0.04887395724654198, 0.018081851303577423, -0.0019587883725762367, 0.008615359663963318, -0.045355942100286484, -0.03514234349131584, 0.002917495323345065, 0.023737158626317978, 0.003222484840080142, -0.0613950751721859, -0.044448066502809525, 0.041951410472393036, 0.048382192850112915, 0.028503505513072014, 0.014147724956274033, 0.0374876894056797, 0.0405895970761776, -0.07448361068964005, 0.03930344060063362, 0.00980694591999054, 0.03741203248500824, -0.0247206911444664, -0.01693755015730858, -0.028806129470467567, 0.041005704551935196, 0.02421000972390175, 0.09154409915208817, -0.04062742367386818, -0.01567976549267769, -0.013230392709374428, -0.007806782610714436, 0.0027425403241068125, 0.06389173120260239, -0.050916679203510284, -0.005702592432498932, 0.027066035196185112, -0.05292157083749771, 0.08753432333469391, -0.08064959943294525, -0.01479080319404602, 0.021618783473968506, 0.10955029726028442, 0.0235858466476202, -0.00442352844402194, -0.03900081291794777, 0.05791488289833069, 0.01790216751396656, -0.02105136029422283, 0.02375607378780842, 0.023377791047096252, 0.003364340402185917, -0.02496657334268093, 0.0004663500585593283, 0.00028223340632393956, -0.026177074760198593, -0.015377139672636986, -0.01590673439204693, -0.03601239249110222, -0.006946192588657141, -0.04826870933175087, -0.01989760249853134, 0.026158159598708153, -0.07013337314128876, -0.0181291364133358, 0.005641121417284012, 0.041194844990968704, 0.07667764276266098, -0.012076633982360363, -0.05311071127653122, 0.01800619624555111, -0.040022172033786774, -0.0038277350831776857, -0.06986857950687408, 0.011168758384883404, 0.029922060668468475, -0.020843306556344032, 0.004884558729827404, 0.00833164807409048, 0.01386401429772377, -0.01884787157177925, -0.010345996357500553, 0.05742311850190163, -0.03190803900361061, -0.0028867600485682487, 0.03219174966216087, -0.03421555459499359, -0.02655535563826561, -0.007593999616801739, 0.010166313499212265, 0.013107450678944588, 0.04947920888662338, -0.05057622492313385, -0.008549160324037075, 0.012142833322286606, 0.019339637830853462, -0.025080058723688126, 0.031302787363529205, 0.0293546374887228, -0.0457342229783535, 0.07467275112867355, 0.008369476534426212, 0.0277091134339571, 0.0004784668853972107, -0.07153301686048508, 0.0019741561263799667, -0.039416924118995667, 0.0275010596960783, -0.03209717944264412, -0.03179455175995827, -0.03841447830200195, 0.005371596198529005, -0.057612258940935135, 0.02519354224205017, 0.017618456855416298, -0.06521571427583694, 0.0151407141238451, -0.02264014258980751, -0.003967226482927799, 0.001775558339431882, 0.03650415688753128, 0.00853024609386921, 0.04754997417330742, -0.017486058175563812, -0.041951410472393036, -0.04138398543000221, -0.037790313363075256, -0.050878848880529404, 0.010109570808708668, 0.01625664345920086, 0.06801500171422958, 0.030130114406347275, -0.02610141783952713, 0.03215391933917999, 0.020918961614370346, 0.023642588406801224, 0.004761617165058851, 0.06339996308088303, 0.017334746196866035, 0.01294668111950159, -0.00946649257093668, 0.003640958573669195, 0.022224033251404762, -0.024077612906694412, -0.037771400064229965, -0.0062605575658380985, -0.024796346202492714, -0.06869590282440186, 0.05503994598984718, -0.012710255570709705, 0.022507743909955025, -0.02982749044895172, 0.005556008312851191, 0.0789095014333725, 0.021145930513739586, -0.004515734501183033, 0.027538886293768883, -0.0013334419345483184, 0.051181476563215256, -0.03979520499706268, -0.04849567636847496, -0.004555926658213139, 0.04062742367386818, -0.04966834932565689, 0.05008446052670479, 0.03190803900361061, 0.0706629678606987, -0.031056905165314674, 0.03232414647936821, 0.008109407499432564, -0.026612097397446632, -0.060827650129795074, 0.052770256996154785, -0.013003423810005188, 0.0034234467893838882, 0.021864665672183037, -0.007877710275352001, 0.0430484265089035, -0.05984412133693695, 0.03204043582081795, 0.0012028167257085443, -0.000030292067094706, -0.0434645339846611, 0.003574759466573596, 0.04993314668536186, -0.010572965256869793, -0.021410727873444557, -0.07300831377506256, -0.03117038868367672, 0.047663457691669464, 0.004806538112461567, -0.015764877200126648, -0.02517462894320488, -0.012218489311635494, 0.006827979348599911, -0.020975705236196518, -0.0151407141238451, 0.026649925857782364, 0.004603211767971516, 0.0002175118133891374, 0.017278004437685013, -0.011055273935198784, -0.06457263976335526, 0.011291700415313244, -0.05420772731304169, 0.011216044425964355, 0.006544268690049648, 0.02057850919663906, -0.003418718231841922, 0.03733637556433678, 0.015121799893677235, 0.05133278667926788, -0.04319973662495613, -0.017003750428557396, 0.026006847620010376, -0.023926299065351486, -0.040513940155506134, 0.03642849996685982, -0.002681069541722536, -0.00040960783371701837, -0.04452372342348099, 0.02004891447722912, -0.008880156092345715, 0.019131582230329514, -0.06752323359251022, 0.006147073116153479, 0.02333996258676052, 0.0029789661057293415, 0.003924669697880745, 0.009825860150158405, -0.061092447489500046, 0.011386270634829998, -0.07123038917779922, -0.010582422837615013, -0.0057735200971364975, 0.07036034017801285, 0.027822598814964294, -0.020446110516786575, -0.02608250454068184, 0.06903635710477829, 0.014403064735233784, 0.004307679831981659, 0.06400521844625473, 0.01963280513882637, 0.027066035196185112, -0.044712863862514496, -0.010052829049527645, 0.021562039852142334, -0.01851687580347061, 0.023188650608062744, 0.018734386190772057, 0.018942441791296005, -0.05220283567905426, 0.035444967448711395, 0.062454260885715485, -0.004388064611703157, 0.012757540680468082, -0.028238708153367043, 0.040060002356767654, 0.05587216466665268, -0.008728844113647938, 0.008969997987151146, -0.0696416050195694, -0.008194521069526672, -0.039833031594753265, -0.02769020013511181, -0.013542474247515202, -0.041648782789707184, -0.025779878720641136, 0.012530571781098843, 0.012218489311635494, -0.03701483830809593, 0.05454818159341812, 0.00019283486471977085, 0.009523234330117702, -0.034726232290267944, -0.017968367785215378, 0.008005380630493164, -0.09025794267654419, 0.021391814574599266, 0.0033525191247463226, 0.08201140910387039, -0.0885935053229332, -0.004071253817528486, 0.015897275879979134, 0.02332104928791523, 0.03990868851542473, 0.03434795141220093, 0.003659872803837061, 0.032872654497623444, 0.008520788513123989, 0.018649274483323097, -0.022564485669136047, -0.04403195530176163, 0.009055111557245255, 0.041686613112688065, 0.0015344040002673864, -0.016691667959094048, -0.04940355196595192, -0.03215391933917999, -0.06729626655578613, 0.02127832919359207, 0.008875427767634392, 0.0020119843538850546, -0.014526006765663624, 0.031132560223340988, 0.008005380630493164, -0.0014906652504578233, 0.0265742689371109, -0.039379093796014786, -0.02237534523010254, -0.02144855633378029, -0.01375052984803915, -0.02008674293756485, -0.029014185070991516, 0.020483938977122307, -0.024626120924949646, 0.03147301450371742, 0.03432903811335564, -0.012161747552454472, 0.014459807425737381, 0.01051622349768877, -0.017722483724355698, -0.02103244699537754, -0.032910484820604324, -0.038036197423934937, 0.0011046999134123325, -0.04093004763126373, 0.034045327454805374, -0.030432740226387978, -0.004683596547693014, -0.017580628395080566, -0.025061143562197685, -0.0024375508073717356, 0.05742311850190163, -0.0033194194547832012, 0.006965106353163719, 0.06862024962902069, -0.0035605737939476967, -0.03067862242460251, 0.022356431931257248, -0.014289580285549164, 0.0019032283453270793, -0.06264340132474899, -0.005522908642888069, -0.03183238208293915, 0.03884950280189514, -0.073348768055439, -0.02352910488843918, 0.04830653592944145, 0.041686613112688065, 0.0015367682790383697, -0.00458902632817626, 0.013996412046253681, 0.003903391305357218, -0.0035345670767128468, -0.016672752797603607, 0.01835610531270504, -0.04970617964863777, -0.005385781638324261, 0.002690526656806469, -0.05488863214850426, 0.04732300341129303, -0.05477514863014221, -0.025704221799969673, 0.027349745854735374, -0.03264568746089935, -0.016285015270113945, -0.03722289204597473, -0.007206261157989502, -0.024872003123164177, 0.022356431931257248, -0.03239980340003967, 0.012965595349669456, -0.07898516207933426, 0.027576714754104614, -0.027293004095554352, -0.06597227603197098, 0.04823087900876999, 0.0397573783993721, -0.048609163612127304, 0.027368661016225815, -0.009471220895648003, -0.004912930075079203, 0.014053154736757278, 0.09305723011493683, 0.02793608233332634, 0.038017284125089645, -0.05632610246539116, 0.015424424782395363, -0.007078590802848339, -0.009892058558762074, 0.014592205174267292, -0.0323430597782135, -0.014138268306851387, 0.06722060590982437, -0.04047610983252525, 0.057196151465177536, -0.006752323359251022, 0.02171335369348526, -0.04403195530176163, -0.02381281554698944, 0.023850644007325172, -0.012114462442696095, -0.02144855633378029, -0.013457361608743668, -0.03627718612551689, -0.01728746108710766, 0.017523886635899544, -0.000186037621460855, -0.0007819785969331861, -0.033818360418081284, 0.03166215494275093, -0.0011419369839131832, -0.013712701387703419, 0.0016041495837271214, 0.035879991948604584, 0.017486058175563812, 0.03881167247891426, -0.04599902033805847, -0.035842165350914, 0.023415619507431984, 0.046528615057468414, -0.05239197611808777, -0.018573617562651634, 0.046074677258729935, -0.0038348278030753136, 0.02220511995255947, 0.00617544399574399, 0.02125941589474678, 0.06498874723911285, 0.03071645088493824, 0.0021171937696635723, -0.012048263102769852, 0.018696559593081474, 0.010582422837615013, 0.046490784734487534, 0.02402086928486824, -0.0235858466476202, 0.011112016625702381, -0.03069753758609295, -0.07085210829973221, -0.011594325304031372, -0.0063645849004387856, -0.03495320305228233, -0.016880808398127556, -0.07800162583589554, -0.0018594895955175161, -0.038925155997276306, -0.05197586491703987, 0.030357083305716515, -0.042405348271131516, 0.03417772427201271, 0.04898744449019432, 0.03285374119877815, 0.04789042845368385, 0.014847545884549618, 0.016162073239684105, 0.020881135016679764, -0.009395564906299114, 0.06472395360469818, 0.022129463031888008, -0.011055273935198784, -0.030092285946011543, 0.04176227003335953, 0.02772802859544754, 0.01847904734313488, 0.024796346202492714, 0.018081851303577423, 0.01619044505059719, 0.043767161667346954, -0.0024375508073717356, 0.04301059618592262, 0.00634567067027092, -0.007915538735687733, -0.01814805157482624, -0.026914723217487335, -0.009381379000842571, -0.01942475140094757, 0.00994880124926567, 0.0696416050195694, 0.00125305715482682 ]
16,385
presidio_analyzer.pattern_recognizer
PatternRecognizer
PII entity recognizer using regular expressions or deny-lists. :param patterns: A list of patterns to detect :param deny_list: A list of words to detect, in case our recognizer uses a predefined list of words (deny list) :param context: list of context words :param deny_list_score: confidence score for a term identified using a deny-list :param global_regex_flags: regex flags to be used in regex matching, including deny-lists.
class PatternRecognizer(LocalRecognizer): """ PII entity recognizer using regular expressions or deny-lists. :param patterns: A list of patterns to detect :param deny_list: A list of words to detect, in case our recognizer uses a predefined list of words (deny list) :param context: list of context words :param deny_list_score: confidence score for a term identified using a deny-list :param global_regex_flags: regex flags to be used in regex matching, including deny-lists. """ def __init__( self, supported_entity: str, name: str = None, supported_language: str = "en", patterns: List[Pattern] = None, deny_list: List[str] = None, context: List[str] = None, deny_list_score: float = 1.0, global_regex_flags: Optional[int] = re.DOTALL | re.MULTILINE | re.IGNORECASE, version: str = "0.0.1", ): if not supported_entity: raise ValueError("Pattern recognizer should be initialized with entity") if not patterns and not deny_list: raise ValueError( "Pattern recognizer should be initialized with patterns" " or with deny list" ) super().__init__( supported_entities=[supported_entity], supported_language=supported_language, name=name, version=version, ) if patterns is None: self.patterns = [] else: self.patterns = patterns self.context = context self.deny_list_score = deny_list_score self.global_regex_flags = global_regex_flags if deny_list: deny_list_pattern = self._deny_list_to_regex(deny_list) self.patterns.append(deny_list_pattern) self.deny_list = deny_list else: self.deny_list = [] def load(self): # noqa D102 pass def analyze( self, text: str, entities: List[str], nlp_artifacts: Optional[NlpArtifacts] = None, regex_flags: Optional[int] = None, ) -> List[RecognizerResult]: """ Analyzes text to detect PII using regular expressions or deny-lists. :param text: Text to be analyzed :param entities: Entities this recognizer can detect :param nlp_artifacts: Output values from the NLP engine :param regex_flags: regex flags to be used in regex matching :return: """ results = [] if self.patterns: pattern_result = self.__analyze_patterns(text, regex_flags) results.extend(pattern_result) return results def _deny_list_to_regex(self, deny_list: List[str]) -> Pattern: """ Convert a list of words to a matching regex. To be analyzed by the analyze method as any other regex patterns. :param deny_list: the list of words to detect :return:the regex of the words for detection """ # Escape deny list elements as preparation for regex escaped_deny_list = [re.escape(element) for element in deny_list] regex = r"(?:^|(?<=\W))(" + "|".join(escaped_deny_list) + r")(?:(?=\W)|$)" return Pattern(name="deny_list", regex=regex, score=self.deny_list_score) def validate_result(self, pattern_text: str) -> Optional[bool]: """ Validate the pattern logic e.g., by running checksum on a detected pattern. :param pattern_text: the text to validated. Only the part in text that was detected by the regex engine :return: A bool indicating whether the validation was successful. """ return None def invalidate_result(self, pattern_text: str) -> Optional[bool]: """ Logic to check for result invalidation by running pruning logic. For example, each SSN number group should not consist of all the same digits. :param pattern_text: the text to validated. Only the part in text that was detected by the regex engine :return: A bool indicating whether the result is invalidated """ return None @staticmethod def build_regex_explanation( recognizer_name: str, pattern_name: str, pattern: str, original_score: float, validation_result: bool, regex_flags: int, ) -> AnalysisExplanation: """ Construct an explanation for why this entity was detected. :param recognizer_name: Name of recognizer detecting the entity :param pattern_name: Regex pattern name which detected the entity :param pattern: Regex pattern logic :param original_score: Score given by the recognizer :param validation_result: Whether validation was used and its result :param regex_flags: Regex flags used in the regex matching :return: Analysis explanation """ explanation = AnalysisExplanation( recognizer=recognizer_name, original_score=original_score, pattern_name=pattern_name, pattern=pattern, validation_result=validation_result, regex_flags=regex_flags, ) return explanation def __analyze_patterns( self, text: str, flags: int = None ) -> List[RecognizerResult]: """ Evaluate all patterns in the provided text. Including words in the provided deny-list :param text: text to analyze :param flags: regex flags :return: A list of RecognizerResult """ flags = flags if flags else self.global_regex_flags results = [] for pattern in self.patterns: match_start_time = datetime.datetime.now() # Compile regex if flags differ from flags the regex was compiled with if not pattern.compiled_regex or pattern.compiled_with_flags != flags: pattern.compiled_with_flags = flags pattern.compiled_regex = re.compile(pattern.regex, flags=flags) matches = pattern.compiled_regex.finditer(text) match_time = datetime.datetime.now() - match_start_time logger.debug( "--- match_time[%s]: %s.%s seconds", pattern.name, match_time.seconds, match_time.microseconds, ) for match in matches: start, end = match.span() current_match = text[start:end] # Skip empty results if current_match == "": continue score = pattern.score validation_result = self.validate_result(current_match) description = self.build_regex_explanation( self.name, pattern.name, pattern.regex, score, validation_result, flags, ) pattern_result = RecognizerResult( entity_type=self.supported_entities[0], start=start, end=end, score=score, analysis_explanation=description, recognition_metadata={ RecognizerResult.RECOGNIZER_NAME_KEY: self.name, RecognizerResult.RECOGNIZER_IDENTIFIER_KEY: self.id, }, ) if validation_result is not None: if validation_result: pattern_result.score = EntityRecognizer.MAX_SCORE else: pattern_result.score = EntityRecognizer.MIN_SCORE invalidation_result = self.invalidate_result(current_match) if invalidation_result is not None and invalidation_result: pattern_result.score = EntityRecognizer.MIN_SCORE if pattern_result.score > EntityRecognizer.MIN_SCORE: results.append(pattern_result) # Update analysis
(supported_entity: str, name: str = None, supported_language: str = 'en', patterns: List[presidio_analyzer.pattern.Pattern] = None, deny_list: List[str] = None, context: List[str] = None, deny_list_score: float = 1.0, global_regex_flags: Optional[int] = regex.I|regex.M|regex.S, version: str = '0.0.1')
[ 0.06492477655410767, -0.057732515037059784, -0.006924985907971859, 0.03841058909893036, 0.015609160996973515, -0.04587499424815178, 0.0196426622569561, -0.07421641051769257, 0.009860208258032799, 0.0028404591139405966, -0.008120456710457802, 0.055283255875110626, -0.020099468529224396, -0.03081011213362217, -0.032656773924827576, -0.013179341331124306, 0.01046766247600317, 0.03914925456047058, -0.012149098329246044, -0.0037589308340102434, -0.06154247000813484, 0.020721500739455223, -0.017864033579826355, 0.008985472843050957, 0.0055642868392169476, -0.020954763516783714, -0.024881351739168167, -0.03471726179122925, -0.05928759649395943, 0.013869410380721092, 0.010905030183494091, -0.03609739989042282, -0.006171741988509893, 0.008504368364810944, -0.045991625636816025, -0.06593558192253113, -0.021499043330550194, 0.07355549931526184, -0.05524437874555588, -0.01761133223772049, -0.022723672911524773, -0.006988161243498325, 0.03609739989042282, 0.0065264953300356865, -0.05831567198038101, -0.0030445640441030264, -0.0018733908655121922, 0.013791656121611595, -0.008727911859750748, -0.05260073393583298, 0.01488021481782198, -0.051045648753643036, -0.03250126540660858, 0.025522824376821518, 0.03393971920013428, 0.036758311092853546, -0.03477557748556137, 0.10178028047084808, 0.06243664398789406, -0.09804808348417282, 0.021421289071440697, -0.00019271507335361093, -0.0022901049815118313, 0.051900945603847504, -0.016163159161806107, 0.024570336565375328, -0.015871580690145493, -0.015609160996973515, 0.009471436962485313, 0.010856433771550655, -0.03559199720621109, -0.05781026929616928, 0.010351031087338924, 0.01733919233083725, 0.032384634017944336, -0.014190146699547768, -0.01226572971791029, 0.0053747608326375484, 0.05306725949048996, 0.02785545215010643, 0.03325936943292618, 0.045680608600378036, 0.0747218132019043, -0.06601333618164062, 0.05019035190343857, -0.061736855655908585, -0.0002511825878173113, -0.031023936346173286, 0.03244294971227646, -0.07631577551364899, -0.0398879200220108, 0.02147960476577282, 0.008518947288393974, 0.0731278508901596, -0.030557410791516304, 0.03932420164346695, 0.009291630238294601, -0.04338685795664787, -0.02052711509168148, -0.007969807833433151, -0.0182819627225399, 0.08988388627767563, -0.03946027159690857, -0.016027089208364487, 0.0016000361647456884, 0.0023885127156972885, -0.04937393590807915, 0.03508659452199936, -0.0005069210892543197, 0.0453307144343853, -0.06904575228691101, 0.001434808480553329, 0.03508659452199936, -0.00790663342922926, -0.02184893749654293, -0.012780850753188133, -0.08910634368658066, -0.03778855502605438, 0.0007587111904285848, 0.048129867762327194, 0.017329473048448563, 0.005316445138305426, -0.05676058679819107, 0.02188781462609768, -0.033881403505802155, -0.013169622048735619, -0.028419170528650284, -0.017193403095006943, 0.051045648753643036, -0.027524996548891068, -0.06539130210876465, 0.06025952473282814, -0.031237760558724403, 0.015064881183207035, -0.0035742647014558315, 0.012149098329246044, 0.021013079211115837, -0.008319701999425888, -0.0380023792386055, 0.005583725403994322, 0.026047665625810623, 0.02215995453298092, 0.034658946096897125, -0.03778855502605438, -0.036388978362083435, -0.01144930999726057, 0.029196713119745255, 0.029935376718640327, 0.007070775143802166, -0.01950659230351448, 0.015929896384477615, -0.058199040591716766, 0.007095073349773884, -0.00011146797623950988, 0.07942594587802887, 0.0339202806353569, 0.010545416735112667, -0.02276255004107952, -0.025639455765485764, -0.005277568008750677, 0.010632890276610851, -0.06057054176926613, -0.04016005992889404, 0.04610825702548027, 0.023967741057276726, 0.04311471804976463, 0.041443001478910446, -0.0003535387513693422, -0.03094618208706379, 0.02762218937277794, -0.009558910503983498, 0.011964431963860989, -0.06368070840835571, 0.032015301287174225, -0.023870548233389854, 0.10154701769351959, -0.017922349274158478, 0.04501969739794731, -0.00043524143984541297, 0.0667131245136261, 0.027563873678445816, 0.01649361476302147, -0.05100677162408829, -0.03621403127908707, 0.04700243100523949, 0.023870548233389854, -0.003698185319080949, 0.02025497704744339, -0.005782970692962408, 0.05015147477388382, -0.026864085346460342, -0.03963521867990494, 0.05435020476579666, -0.025406192988157272, -0.016260351985692978, -0.006696582771837711, -0.03767192363739014, 0.003919299226254225, 0.01212965976446867, -0.03959634155035019, -0.03539761155843735, 0.014627514407038689, 0.013354288414120674, 0.02021609991788864, -0.02816646918654442, 0.02280142717063427, -0.04952944442629814, 0.06348632276058197, -0.061970118433237076, -0.03232631832361221, -0.04987933486700058, 0.0025513104628771544, 0.05015147477388382, 0.034522876143455505, 0.04937393590807915, -0.03605852276086807, 0.04801323637366295, 0.047041308134794235, -0.04179289564490318, 0.003532957751303911, 0.017183683812618256, -0.021226903423666954, -0.06364183127880096, -0.022237708792090416, 0.015298143960535526, 0.01019552256911993, 0.0293133445084095, 0.044397663325071335, 0.03644729405641556, -0.028652433305978775, 0.008382877334952354, -0.05975412204861641, 0.041170861572027206, 0.007051336579024792, 0.002304683905094862, -0.0169990174472332, 0.07196153700351715, 0.01784459501504898, -0.01418042741715908, 0.002633924363180995, -0.04327022656798363, 0.03341487795114517, -0.010594013147056103, -0.028652433305978775, -0.018612418323755264, 0.029507728293538094, 0.03763304650783539, -0.020332731306552887, 0.053183890879154205, -0.017416946589946747, -0.00555456755682826, -0.027699943631887436, -0.05228971689939499, -0.012771131470799446, -0.03522266447544098, -0.06881248950958252, -0.04478643462061882, 0.00785317737609148, 0.053728170692920685, 0.01408323459327221, 0.029877061024308205, 0.05092901736497879, -0.04564173147082329, 0.0010029079858213663, -0.025406192988157272, 0.044669803231954575, -0.005768391769379377, -0.010137207806110382, -0.05170655995607376, -0.04249268397688866, 0.013665305450558662, -0.0053747608326375484, -0.008727911859750748, -0.020643746480345726, -0.05889882519841194, 0.05644956976175308, -0.04766334220767021, 0.029915938153862953, -0.025697771459817886, 0.003447914030402899, 0.047546710819005966, 0.02822478488087654, 0.001186359440907836, -0.02239321731030941, 0.09571545571088791, 0.0413263700902462, -0.022743111476302147, 0.002292534802109003, -0.05621630698442459, -0.042298298329114914, -0.021129710599780083, -0.02775825932621956, 0.10543473064899445, 0.012256010435521603, 0.009306209161877632, 0.053183890879154205, 0.04190952703356743, -0.050034843385219574, -0.04851863905787468, -0.046808045357465744, -0.021596236154437065, 0.03318161517381668, 0.11818642169237137, -0.015900738537311554, -0.05633293837308884, -0.033103860914707184, 0.00945199839770794, -0.008980613201856613, 0.04700243100523949, -0.042803701013326645, 0.006842372007668018, 0.008596701547503471, 0.006016233470290899, 0.004636095836758614, -0.03312329947948456, -0.012508710846304893, 0.049762703478336334, 0.023462338373064995, 0.0327150896191597, -0.0011165020987391472, 0.008018404245376587, 0.005433076526969671, 0.021810060366988182, -0.04455317184329033, 0.07732658088207245, -0.043347980827093124, 0.03780799359083176, 0.00041519541991874576, -0.00013903123908676207, -0.004932533949613571, 0.008956314995884895, -0.02622261270880699, -0.028788503259420395, 0.024609213694930077, -0.008314842358231544, -0.02744724228978157, 0.004376105032861233, -0.03430905193090439, 0.03232631832361221, -0.061425838619470596, 0.014889934100210667, 0.010487101040780544, -0.05419469624757767, 0.01642557978630066, 0.0426093153655529, -0.03605852276086807, 0.009257612749934196, 0.012693377211689949, 0.010895310901105404, -0.00013736073742620647, 0.01984676718711853, -0.027427803725004196, -0.011527064256370068, 0.02008002996444702, 0.011342397890985012, -0.024317635223269463, -0.04443654045462608, -0.011565941385924816, 0.015239828266203403, -0.04844088479876518, -0.047080185264348984, 0.020507676526904106, -0.024881351739168167, -0.00304942368529737, -0.04109310731291771, -0.018942873924970627, -0.003132037352770567, 0.010088611394166946, 0.033609263598918915, -0.04956832155585289, -0.02235434018075466, 0.015298143960535526, 0.00011374593304935843, -0.033881403505802155, 0.028691310435533524, -0.017222560942173004, 0.023598408326506615, 0.017669647932052612, -0.020818693563342094, 0.06002626195549965, 0.006900687702000141, 0.05955973640084267, 0.0169990174472332, -0.026922401040792465, -0.0013959313509985805, -0.027388926595449448, -0.00021033125813119113, 0.054505713284015656, 0.0014372383011505008, 0.013121025636792183, 0.003358010668307543, -0.019088663160800934, -0.004514604806900024, -0.05866556614637375, -0.005753812845796347, 0.004956832155585289, -0.05594416707754135, 0.06780168414115906, -0.053494907915592194, 0.025658894330263138, -0.013626428321003914, 0.022548725828528404, -0.016075685620307922, -0.02097420208156109, -0.001706948271021247, 0.039032623171806335, 0.09190549701452255, 0.042531561106443405, -0.027602750808000565, 0.05100677162408829, -0.035436488687992096, -0.010224680416285992, 0.020779816433787346, -0.03650560975074768, -0.0731278508901596, -0.03261789679527283, 0.016668561846017838, 0.03290947526693344, -0.000022798541976953857, 0.040393322706222534, 0.0359613299369812, 0.0012270589359104633, 0.09112795442342758, 0.039810165762901306, 0.012693377211689949, 0.025658894330263138, -0.02070206217467785, -0.013694463297724724, -0.028846818953752518, -0.030926743522286415, -0.035980768501758575, 0.025153491646051407, -0.05928759649395943, -0.04529183730483055, -0.015541126020252705, -0.05547764152288437, 0.015580003149807453, -0.03959634155035019, -0.023384584113955498, -0.004602078348398209, 0.019759293645620346, 0.031743161380290985, 0.06682975590229034, 0.07476069033145905, 0.057460375130176544, -0.022587602958083153, -0.024006618186831474, 0.012955797836184502, -0.046613659709692, -0.04746895655989647, 0.01151734497398138, 0.0372442752122879, 0.024861915037035942, 0.0339202806353569, -0.024434266611933708, 0.06395284831523895, 0.04746895655989647, 0.01080783735960722, 0.010214961133897305, -0.005593444686383009, 0.0479743592441082, 0.035339295864105225, -0.007537300232797861, 0.019448276609182358, -0.03207361698150635, -0.008562684059143066, 0.010866153053939342, -0.03454231470823288, -0.0585489347577095, 0.008436333388090134, -0.01635754480957985, -0.03246238827705383, -0.00016932805010583252, -0.05788802355527878, -0.007250581867992878, 0.026203174144029617, 0.03887711465358734, -0.02130465768277645, 0.011546502821147442, 0.023093005642294884, 0.060415033251047134, -0.012314326129853725, -0.02103251777589321, -0.008951455354690552, -0.03555312007665634, -0.05489448457956314, 0.022918058559298515, -0.050306983292102814, -0.04451429471373558, -0.031334955245256424, -0.03621403127908707, -0.022587602958083153, 0.037924624979496, 0.007513002026826143, -0.03094618208706379, -0.0044465698301792145, -0.026883523911237717, 0.01138127502053976, 0.06426386535167694, -0.05217308551073074, -0.013393165543675423, -0.031023936346173286, -0.07122287154197693, -0.03154877945780754, 0.06154247000813484, 0.012635061517357826, -0.006890968419611454, -0.006152303423732519, -0.026689138263463974, 0.03250126540660858, -0.04459204897284508, -0.01397632248699665, 0.05524437874555588, -0.0123337646946311, -0.0039022902492433786, 0.023870548233389854, 0.024317635223269463, -0.020138345658779144, -0.020138345658779144, -0.0013291112845763564, -0.043309103697538376, 0.016551930457353592, -0.030868427827954292, -0.052095331251621246, 0.055049993097782135, 0.010749521665275097, -0.024375950917601585, -0.009529752656817436, 0.05256185680627823, -0.026047665625810623, 0.04723569378256798, -0.03302610665559769, 0.041443001478910446, -0.011565941385924816, 0.05182319134473801, 0.01538561750203371, 0.045952748507261276, -0.02904120460152626, -0.029546605423092842, 0.04696355387568474, -0.035203225910663605, 0.01818476989865303, -0.04136524721980095, -0.03275396674871445, 0.031471025198698044, 0.005578865762799978, -0.020468799397349358, -0.021907253190875053, -0.039168693125247955, 0.002646073466166854, 0.016435299068689346, -0.0014092953642830253, -0.022198831662535667, 0.00505402497947216, 0.048129867762327194, 0.019253890961408615, 0.032928913831710815, 0.02503686025738716, 0.02235434018075466, 0.0340757891535759, -0.012275449000298977, -0.04638039693236351, 0.0014615365071222186, -0.05648844689130783, -0.014472005888819695, 0.008912578225135803, -0.025056298822164536, 0.05567202717065811, -0.07122287154197693, 0.011342397890985012, 0.03541705012321472, -0.030829550698399544, 0.02507573738694191, -0.026980716735124588, -0.08055338263511658, 0.019924521446228027, -0.018923435360193253, -0.0010041228961199522, 0.012664219364523888, 0.012090782634913921, 0.03446456044912338, 0.03565031290054321, 0.024920228868722916, -0.053183890879154205, 0.022179393097758293, 0.01019552256911993, 0.033103860914707184, 0.050773508846759796, -0.029818745329976082, 0.027466680854558945, -0.020779816433787346, 0.05287287384271622, 0.07028982043266296, 0.0015805975999683142, -0.018515225499868393, 0.052134208381175995, -0.001911053084768355, -0.003046993864700198, 0.037574730813503265, -0.01815561205148697, 0.008373158052563667, -0.0008789872517809272, -0.01940939947962761, -0.026183735579252243, 0.05602192133665085, 0.008086439222097397, -0.02225714735686779, -0.07452742755413055, 0.010730083100497723, -0.000503276358358562, -0.026416998356580734, 0.027388926595449448, 0.029643798246979713, -0.02571721002459526, -0.006361267529428005, 0.0005020614480599761, -0.04478643462061882, 0.08755125850439072, 0.0359613299369812, -0.007333195768296719, 0.02608654275536537, 0.051317788660526276, 0.00988936610519886, -0.015900738537311554, 0.03248182684183121, 0.02657250687479973, -0.06694638729095459, -0.04078209027647972, -0.03454231470823288, 0.018544383347034454, 0.0067840563133358955, 0.019866205751895905, -0.02008002996444702, 0.027602750808000565, -0.01971069723367691, 0.04606937989592552, 0.00695414375513792, -0.023928863927721977, -0.0044684382155537605, 0.01869017258286476, -0.05310613662004471, -0.06045391038060188, -0.017553016543388367, 0.008275965228676796, -0.06317531317472458, 0.02147960476577282, -0.043347980827093124, -0.04641927406191826, 0.07654903829097748, 0.06422498822212219, -0.000711329688783735, 0.0439700148999691, -0.0327150896191597, -0.009160419926047325, -0.02853580191731453, 0.08428557962179184, -0.04054883122444153, 0.014724706299602985, -0.003532957751303911, -0.010662048123776913, -0.06651873886585236, 0.027233418077230453, 0.037846870720386505, -0.013305692002177238, -0.013636147603392601, 0.008932016789913177, 0.06993992626667023, -0.016581088304519653, 0.04529183730483055, 0.0733611136674881, 0.02385110966861248, -0.03121832199394703, 0.042803701013326645, 0.06523579359054565, 0.038896553218364716, 0.04350348934531212, -0.017601612955331802, -0.03172372281551361, 0.00639528501778841, 0.00023660367878619581, 0.04373675212264061, -0.014792741276323795, 0.015395336784422398, -0.042803701013326645, -0.00987478718161583, 0.051589928567409515, -0.014229023829102516, -0.00960264727473259, 0.04163738712668419, -0.03914925456047058, -0.0639139711856842, 0.048907410353422165, 0.023462338373064995, -0.025678332895040512, 0.022509848698973656, 0.029779868200421333, -0.023462338373064995, -0.03430905193090439, 0.011021661572158337, -0.022509848698973656, -0.008232228457927704, -0.0005801194347441196, -0.01279057003557682, -0.01777656003832817, -0.04482531175017357, 0.05808240920305252, -0.05244522541761398, -0.01882624253630638, -0.0004200550611130893, -0.05038473755121231, 0.028458047658205032, 0.032384634017944336, 0.03145158663392067, -0.011099415831267834, 0.0012464975006878376, -0.018213927745819092, 0.035747505724430084, 0.01353895477950573, 0.016192317008972168, -0.027058470994234085, 0.042803701013326645, 0.03090730495750904, -0.004184149205684662, 0.016240913420915604, -0.04381450638175011, 0.021907253190875053, -0.0398879200220108, -0.060376156121492386, 0.08343028277158737, -0.04241492971777916, -0.014724706299602985, 0.052367471158504486, -0.03539761155843735, -0.04657478258013725, -0.032928913831710815, -0.028788503259420395, -0.0023350566625595093, -0.07577149569988251, -0.03176259994506836, 0.0123337646946311, -0.0069298455491662025, -0.00987478718161583, -0.0984368547797203, 0.018544383347034454, -0.0156771969050169, 0.07273907959461212, 0.014821899123489857, 0.02035216987133026, 0.00032863309024833143, -0.021265780553221703, 0.026416998356580734, -0.032831721007823944, 0.0050637442618608475, 0.022820865735411644, -0.0031806337647140026, 0.03277340531349182, 0.10831163823604584, 0.00575867248699069, -0.02771938219666481, 0.01832083985209465, 0.029663236811757088, -0.0055983043275773525, 0.0359613299369812, 0.0022087059915065765, -0.009728997945785522, -0.005544848274439573, 0.0015417205868288875, 0.039712972939014435 ]
16,386
presidio_analyzer.pattern_recognizer
__analyze_patterns
Evaluate all patterns in the provided text. Including words in the provided deny-list :param text: text to analyze :param flags: regex flags :return: A list of RecognizerResult
def __analyze_patterns( self, text: str, flags: int = None ) -> List[RecognizerResult]: """ Evaluate all patterns in the provided text. Including words in the provided deny-list :param text: text to analyze :param flags: regex flags :return: A list of RecognizerResult """ flags = flags if flags else self.global_regex_flags results = [] for pattern in self.patterns: match_start_time = datetime.datetime.now() # Compile regex if flags differ from flags the regex was compiled with if not pattern.compiled_regex or pattern.compiled_with_flags != flags: pattern.compiled_with_flags = flags pattern.compiled_regex = re.compile(pattern.regex, flags=flags) matches = pattern.compiled_regex.finditer(text) match_time = datetime.datetime.now() - match_start_time logger.debug( "--- match_time[%s]: %s.%s seconds", pattern.name, match_time.seconds, match_time.microseconds, ) for match in matches: start, end = match.span() current_match = text[start:end] # Skip empty results if current_match == "": continue score = pattern.score validation_result = self.validate_result(current_match) description = self.build_regex_explanation( self.name, pattern.name, pattern.regex, score, validation_result, flags, ) pattern_result = RecognizerResult( entity_type=self.supported_entities[0], start=start, end=end, score=score, analysis_explanation=description, recognition_metadata={ RecognizerResult.RECOGNIZER_NAME_KEY: self.name, RecognizerResult.RECOGNIZER_IDENTIFIER_KEY: self.id, }, ) if validation_result is not None: if validation_result: pattern_result.score = EntityRecognizer.MAX_SCORE else: pattern_result.score = EntityRecognizer.MIN_SCORE invalidation_result = self.invalidate_result(current_match) if invalidation_result is not None and invalidation_result: pattern_result.score = EntityRecognizer.MIN_SCORE if pattern_result.score > EntityRecognizer.MIN_SCORE: results.append(pattern_result) # Update analysis explanation score following validation or invalidation description.score = pattern_result.score results = EntityRecognizer.remove_duplicates(results) return results
(self, text: str, flags: Optional[int] = None) -> List[presidio_analyzer.recognizer_result.RecognizerResult]
[ 0.0449741929769516, -0.05834287405014038, -0.017216389998793602, 0.01054141204804182, 0.020596008747816086, -0.019229182973504066, 0.015559348277747631, -0.06130121275782585, 0.007133708335459232, 0.005537517834454775, -0.014950829558074474, 0.06560765206813812, -0.026250548660755157, -0.03046336956322193, -0.002037366619333625, -0.013668260537087917, -0.009272884577512741, 0.03151189163327217, -0.032710205763578415, -0.031661681830883026, -0.05197683721780777, 0.02108282409608364, -0.01272271666675806, 0.02643778547644615, 0.019528761506080627, 0.0139397531747818, -0.01560615748167038, -0.057856060564517975, -0.05493517220020294, 0.03950688987970352, -0.0012533139670267701, -0.028291426599025726, -0.039057523012161255, -0.003028549486771226, -0.07789035886526108, -0.08200956135988235, -0.04317672550678253, 0.06523317843675613, -0.011608659289777279, 0.013471662066876888, -0.006553275510668755, -0.023217318579554558, 0.03080039471387863, -0.0001925024698721245, -0.05029170960187912, -0.006698383949697018, -0.015531263314187527, -0.0024013074580579996, -0.023591792210936546, -0.08582918345928192, 0.005069426726549864, -0.05201428383588791, -0.035425134003162384, 0.02377902902662754, 0.039806466549634933, 0.047108687460422516, -0.03746601194143295, 0.08777644485235214, 0.03720388188958168, -0.09901063144207001, 0.01628020778298378, -0.012769524939358234, -0.009226075373589993, 0.06927748024463654, -0.02040877193212509, 0.0061039081774652, -0.052501097321510315, -0.03409575670957565, 0.023030081763863564, 0.022861570119857788, -0.018892157822847366, -0.022356031462550163, 0.02546415664255619, -0.008945221081376076, 0.01357464212924242, 0.0022175817284733057, -0.026400338858366013, 0.01041034609079361, 0.043064381927251816, 0.03508811071515083, 0.04059286043047905, 0.06062715873122215, 0.05467304214835167, -0.05407388508319855, 0.04422524943947792, -0.04493674635887146, -0.02984548918902874, -0.04171627759933472, 0.0308191180229187, -0.07575586438179016, -0.006548594683408737, -0.016345741227269173, 0.010635029524564743, 0.06871577352285385, -0.06448423117399216, 0.035050660371780396, -0.03250424563884735, -0.06171313300728798, -0.007250731345266104, -0.017843633890151978, -0.010157576762139797, 0.09781231731176376, -0.019921956583857536, -0.03229828551411629, 0.024209672585129738, -0.0033000423572957516, -0.05598369613289833, -0.02074579708278179, 0.017675120383501053, 0.06729277968406677, -0.01971599832177162, 0.02317987196147442, 0.029433568939566612, -0.025089683011174202, -0.0023229022044688463, -0.024565421044826508, -0.065195731818676, -0.01624276116490364, -0.010092044249176979, 0.02784205973148346, 0.012638459913432598, 0.024902446195483208, -0.019397694617509842, 0.029433568939566612, -0.012320158071815968, -0.008828198537230492, -0.014978915452957153, -0.021663255989551544, 0.05141512677073479, -0.025239473208785057, -0.029059095308184624, 0.08530492335557938, -0.02347945049405098, 0.02347945049405098, -0.002033855766057968, 0.02950846403837204, 0.042427778244018555, 0.003232169197872281, -0.04220309481024742, 0.00009998133464250714, 0.012703992426395416, 0.022374754771590233, 0.02381647564470768, -0.012694630771875381, -0.03387107327580452, -0.010503964498639107, 0.03630514442920685, 0.03748473525047302, 0.0030964226461946964, -0.005411133170127869, 0.040742650628089905, -0.04467461630702019, 0.0218130461871624, 0.02447180263698101, 0.055459436029195786, 0.021607086062431335, 0.014735507778823376, 0.0037681334652006626, -0.0591292679309845, -0.010466516949236393, 0.0015833182260394096, -0.026662468910217285, -0.06070205569267273, 0.02449052594602108, 0.015465729869902134, 0.05875479429960251, 0.00728817842900753, 0.043101828545331955, -0.03248552232980728, 0.00711966585367918, -0.0006951153045520186, 0.00577156338840723, -0.08238403499126434, 0.02141984924674034, -0.02452797442674637, 0.07624267786741257, -0.03591195121407509, 0.06205015629529953, 0.008182232268154621, 0.061226315796375275, 0.028253979980945587, 0.005251982249319553, -0.0638476237654686, -0.04928063228726387, 0.045760586857795715, -0.004989851266145706, -0.005036660470068455, 0.010157576762139797, -0.005757520440965891, 0.03722260519862175, -0.04602271690964699, -0.02353562042117119, 0.03295361250638962, -0.010326090268790722, -0.029976554214954376, -0.021176442503929138, -0.05089086666703224, 0.0014639549190178514, 0.021681979298591614, -0.019584931433200836, -0.05253854766488075, 0.00453112181276083, 0.021251335740089417, -0.0057856058701872826, 0.0076439278200268745, -0.007709460332989693, -0.03016379103064537, 0.03325319290161133, -0.04351374879479408, -0.009886084124445915, -0.03965668007731438, -0.012451223097741604, 0.014913382939994335, 0.03898262605071068, 0.02851611003279686, -0.004760486539453268, 0.05456069856882095, 0.03145572170615196, -0.039394546300172806, -0.0028436535503715277, 0.010382261127233505, -0.04122946411371231, -0.06336081027984619, -0.018021507188677788, 0.019107479602098465, 0.009338418021798134, 0.0228241216391325, 0.028722070157527924, 0.01107503566890955, -0.05257599428296089, 0.013733793050050735, -0.03984391316771507, 0.025070959702134132, -0.01576530933380127, 0.029995277523994446, -0.0070400903932750225, 0.09234501421451569, 0.017085324972867966, 0.008823517709970474, -0.023310936987400055, -0.0281229130923748, 0.03778431564569473, -0.011702277697622776, -0.03591195121407509, -0.03400213643908501, 0.01344357617199421, 0.016551701352000237, -0.04033073037862778, 0.026362890377640724, -0.019697273150086403, 0.004294735845178366, -0.02885313518345356, -0.03928220644593239, -0.02278667502105236, -0.051789600402116776, -0.05976587161421776, -0.028291426599025726, 0.007924782112240791, 0.050179366022348404, 0.03214849904179573, 0.056208379566669464, 0.046097613871097565, -0.032054878771305084, 0.00031742427381686866, -0.03508811071515083, 0.030088895931839943, -0.006763916462659836, -0.009422673843801022, -0.04066775366663933, -0.039806466549634933, 0.007849887944757938, -0.017562778666615486, -0.023591792210936546, -0.029789317399263382, -0.08949901908636093, 0.07347158342599869, -0.05265088751912117, 0.028647175058722496, -0.036698341369628906, -0.034077033400535583, 0.030725499615073204, 0.028591005131602287, -0.0017705545760691166, -0.049130842089653015, 0.05942884832620621, 0.042727354913949966, -0.011571211740374565, 0.0449741929769516, -0.06253696978092194, -0.034657467156648636, 0.008903092704713345, -0.03287871927022934, 0.09841147065162659, -0.017328733578324318, 0.028909306973218918, 0.061226315796375275, 0.04014349356293678, -0.0705881416797638, -0.02211262471973896, -0.02344200201332569, -0.03422682359814644, 0.018545769155025482, 0.09893573820590973, 0.003297701943665743, -0.04894360527396202, -0.014464015141129494, -0.009249480441212654, -0.008004358038306236, 0.04838189855217934, -0.02814163826406002, -0.009371183812618256, -0.023591792210936546, 0.02853483334183693, -0.00778903579339385, -0.017497245222330093, -0.024078605696558952, 0.03355276957154274, 0.02409733086824417, 0.002214070875197649, -0.0030589753296226263, 0.020596008747816086, 0.02080196887254715, 0.029733147472143173, -0.03495704382658005, 0.08448108285665512, -0.024078605696558952, 0.017852995544672012, -0.009904807433485985, 0.006951152812689543, -0.017525330185890198, 0.028010571375489235, -0.0352940708398819, 0.002836632076650858, 0.039020076394081116, 0.0017635332187637687, -0.031961262226104736, 0.0332719162106514, -0.014613804407417774, 0.021625809371471405, -0.025969695299863815, 0.01739426515996456, 0.03018251433968544, -0.059466294944286346, 0.01743171364068985, 0.04598527029156685, -0.012198454700410366, -0.008093295618891716, -0.000023898244762676768, 0.028328873217105865, -0.034732360392808914, 0.024340737611055374, -0.06043992191553116, -0.020258983597159386, 0.03053826466202736, 0.027954401448369026, -0.0009683634852990508, -0.03252296894788742, -0.02713056094944477, 0.021588362753391266, -0.029639529064297676, -0.05141512677073479, 0.026419062167406082, -0.008018400520086288, -0.007349030580371618, -0.02986421249806881, -0.04081754386425018, 0.022000281140208244, 0.03357149288058281, 0.038683049380779266, -0.05669519305229187, -0.0109065230935812, 0.04549845680594444, 0.016870003193616867, -0.023741580545902252, 0.027654822915792465, -0.027916952967643738, 0.02615693025290966, 0.024228395894169807, -0.03400213643908501, 0.08200956135988235, -0.0038266447372734547, 0.050778523087501526, 0.02050239033997059, -0.04280225187540054, 0.034432779997587204, -0.016055524349212646, -0.014220607466995716, 0.0463222973048687, -0.0021274741739034653, 0.020015574991703033, -0.009792465716600418, -0.038008999079465866, -0.03924475982785225, -0.052126627415418625, -0.023554343730211258, 0.027598651126027107, -0.04501163959503174, 0.0825338214635849, -0.09354332834482193, 0.044112905859947205, -0.020184088498353958, 0.0002751497959252447, -0.010372898541390896, -0.007171155884861946, 0.0017600225983187556, 0.04433758929371834, 0.07953803986310959, 0.02274922840297222, -0.0218130461871624, 0.03935709968209267, -0.020652180537581444, -0.029583357274532318, 0.032335732132196426, -0.03660472482442856, -0.06965195387601852, -0.04819466173648834, -0.012357605621218681, 0.05025426298379898, 0.017478521913290024, 0.06800427287817001, 0.034039586782455444, -0.012966123409569263, 0.06358549743890762, 0.04871892184019089, 0.02411605417728424, 0.019884509965777397, -0.009020115248858929, -0.0029045052360743284, -0.02917143702507019, -0.031006354838609695, -0.0224870964884758, 0.007854568772017956, -0.0661693587899208, -0.03020123764872551, 0.009829913266003132, -0.02643778547644615, 0.026924600824713707, -0.03849581256508827, -0.01741298846900463, 0.007503500673919916, 0.03246679902076721, 0.011280995793640614, 0.030744224786758423, 0.06931493431329727, 0.05002957582473755, -0.03548130765557289, -0.006946471985429525, -0.009717571549117565, -0.03021996095776558, -0.03183019533753395, 0.0008958093822002411, 0.038121338933706284, 0.028946753591299057, 0.003040251787751913, 0.001867683487944305, 0.06294889003038406, 0.04819466173648834, 0.04658442735671997, -0.02617565542459488, 0.0038851562421768904, 0.04853168502449989, 0.016645319759845734, -0.013172083534300327, -0.00772818410769105, -0.04958020895719528, -0.014080180786550045, 0.016177229583263397, -0.009052881971001625, -0.04433758929371834, -0.012675907462835312, -0.001263845944777131, -0.03151189163327217, -0.031661681830883026, -0.06658127903938293, -0.0032508927397429943, 0.03834602236747742, 0.007480096071958542, 0.005991565994918346, -0.00173895840998739, 0.02548287995159626, 0.03564981743693352, -0.019210459664463997, -0.005237939301878214, 0.019322801381349564, -0.02647523209452629, -0.05265088751912117, 0.0348634272813797, -0.06497104465961456, -0.026587575674057007, -0.06414720416069031, 0.009904807433485985, -0.060889292508363724, 0.022393478080630302, 0.0015470411162823439, -0.004952403716742992, 0.004582611843943596, -0.033028509467840195, 0.00857542920857668, 0.044749509543180466, -0.0029466336127370596, 0.018611302599310875, -0.034077033400535583, -0.06036502867937088, -0.0037494096904993057, 0.060215238481760025, 0.032335732132196426, 0.0317365787923336, -0.026681192219257355, -0.04793252795934677, 0.043775878846645355, -0.0476703979074955, 0.0009648528066463768, 0.0122078163549304, 0.013546556234359741, -0.0032251477241516113, -0.0010736839612945914, 0.024977341294288635, -0.06467146426439285, -0.017319370061159134, 0.02520202472805977, -0.056133486330509186, 0.03557492420077324, -0.03594939783215523, -0.04321417212486267, 0.04422524943947792, 0.0041940961964428425, -0.020895587280392647, 0.010812904685735703, 0.05875479429960251, -0.009698847308754921, 0.0557590126991272, -0.013640174642205238, 0.022224966436624527, 0.00989544577896595, 0.0805116668343544, -0.011000140570104122, 0.06470891833305359, -0.05388664826750755, -0.02611948363482952, 0.06571999192237854, -0.004840061999857426, 0.014716784469783306, -0.02817908488214016, -0.04085499048233032, 0.019996851682662964, -0.015166152268648148, -0.01808704063296318, -0.038757942616939545, 0.010316727682948112, 0.0024247118271887302, 0.020596008747816086, -0.0025768415071070194, -0.011983131989836693, 0.03460129350423813, 0.02643778547644615, 0.04224054142832756, 0.04665932059288025, 0.030294856056571007, 0.016514254733920097, 0.011327804997563362, -0.00413558492437005, -0.05261344090104103, -0.04081754386425018, -0.03928220644593239, -0.041454147547483444, -0.01056013535708189, -0.004816657397896051, 0.07141198217868805, -0.0650084912776947, 0.011795896105468273, 0.003620684612542391, -0.0038336662109941244, 0.014473376795649529, -0.07751588523387909, -0.05336238443851471, 0.036380041390657425, -0.04280225187540054, -0.017525330185890198, 0.0058043296448886395, 0.004952403716742992, 0.016785746440291405, 0.010438431985676289, 0.02085813879966736, -0.04658442735671997, 0.02514585480093956, 0.0052847485058009624, 0.033384256064891815, 0.02477138116955757, -0.03357149288058281, 0.030051449313759804, -0.0010543751996010542, 0.053512174636125565, 0.049505315721035004, 0.012526118196547031, -0.022224966436624527, 0.03420809656381607, -0.010400984436273575, -0.028104189783334732, -0.004563888069242239, -0.01792788878083229, 0.008706494234502316, 0.0122078163549304, 0.00023229021462611854, -0.03499449044466019, 0.03651110455393791, 0.014950829558074474, -0.011964408680796623, -0.04856913164258003, 0.005209853872656822, 0.016767023131251335, -0.014960192143917084, 0.02342327870428562, 0.06879066675901413, -0.034077033400535583, 0.011206100694835186, -0.00023258276632986963, -0.045049089938402176, 0.10170683264732361, 0.026400338858366013, 0.0013211871264502406, 0.02520202472805977, 0.06938982754945755, -0.0017506607109680772, -0.024958617985248566, 0.03954433649778366, 0.04051796719431877, -0.06920258700847626, -0.039020076394081116, -0.030088895931839943, -0.002383753890171647, 0.020277706906199455, 0.011206100694835186, 0.0012439520796760917, -0.011440146714448929, -0.02113899402320385, 0.028010571375489235, -0.018414704129099846, 0.0013691665371879935, -0.031099973246455193, -0.019528761506080627, -0.028703346848487854, -0.05396154150366783, -0.017515968531370163, -0.013172083534300327, -0.05493517220020294, 0.0013539534993469715, -0.04868147522211075, -0.039094969630241394, 0.06871577352285385, 0.053811755031347275, -0.0054532615467906, 0.06474636495113373, -0.03051953949034214, 0.018058955669403076, -0.016710853204131126, 0.07564352452754974, -0.01808704063296318, -0.00018416460079606622, -0.005514113232493401, -0.01812448725104332, -0.057519033551216125, 0.03954433649778366, 0.03598684445023537, -0.019397694617509842, -0.033009786158800125, 0.0027430139016360044, 0.04954276233911514, 0.01812448725104332, 0.054448358714580536, 0.07399584352970123, 0.036997921764850616, -0.028684623539447784, 0.0562458261847496, 0.07998740673065186, 0.036735791712999344, 0.0919705405831337, -0.039769019931554794, -0.026400338858366013, -0.0019613017793744802, -0.02683098241686821, 0.01760958693921566, -0.03287871927022934, 0.012956761755049229, -0.020727073773741722, -0.014014647342264652, 0.04194096475839615, -0.00009683634561952204, -0.0010268748737871647, 0.07818993926048279, -0.02085813879966736, -0.07478223741054535, 0.02847866341471672, 0.03508811071515083, -0.03246679902076721, 0.0422779880464077, 0.07998740673065186, -0.007672013249248266, -0.027055665850639343, 0.03965668007731438, -0.025595221668481827, -0.008219679817557335, 0.019107479602098465, -0.01137461420148611, -0.02816036157310009, -0.03212977200746536, 0.05763137713074684, -0.04250267148017883, -0.006127312779426575, -0.02851611003279686, -0.03476980701088905, 0.010625667870044708, 0.02948973886668682, 0.013218892738223076, 0.029676975682377815, -0.024265842512249947, -0.05471048876643181, 0.05291301757097244, 0.015737222507596016, 0.02655012719333172, 0.008369469083845615, 0.037054091691970825, 0.03557492420077324, 0.006735831033438444, 0.023984989151358604, -0.06321102380752563, 0.026287997141480446, -0.057182010263204575, -0.038757942616939545, 0.07077537477016449, -0.03716643527150154, -0.009315012954175472, 0.03525662049651146, 0.0007460201741196215, -0.04763295128941536, -0.04489929974079132, -0.002810887061059475, 0.03325319290161133, -0.10245577991008759, -0.006146036088466644, 0.00797159131616354, 0.009642676450312138, -0.006005608942359686, -0.09241990745067596, 0.01239505223929882, -0.0162053145468235, 0.03916986286640167, 0.01741298846900463, 0.02346072718501091, -0.03516300395131111, -0.012984847649931908, 0.012301433831453323, -0.03916986286640167, 0.0008753303554840386, -0.000038068970752647147, -0.004549845587462187, 0.0645216777920723, 0.07856441289186478, -0.032747652381658554, -0.018864070996642113, 0.04568569362163544, 0.019023222848773003, 0.0006845832685939968, 0.029957830905914307, 0.009272884577512741, -0.025988418608903885, -0.005851138848811388, 0.0014978914987295866, 0.044449932873249054 ]
16,387
presidio_analyzer.pattern_recognizer
__init__
null
def __init__( self, supported_entity: str, name: str = None, supported_language: str = "en", patterns: List[Pattern] = None, deny_list: List[str] = None, context: List[str] = None, deny_list_score: float = 1.0, global_regex_flags: Optional[int] = re.DOTALL | re.MULTILINE | re.IGNORECASE, version: str = "0.0.1", ): if not supported_entity: raise ValueError("Pattern recognizer should be initialized with entity") if not patterns and not deny_list: raise ValueError( "Pattern recognizer should be initialized with patterns" " or with deny list" ) super().__init__( supported_entities=[supported_entity], supported_language=supported_language, name=name, version=version, ) if patterns is None: self.patterns = [] else: self.patterns = patterns self.context = context self.deny_list_score = deny_list_score self.global_regex_flags = global_regex_flags if deny_list: deny_list_pattern = self._deny_list_to_regex(deny_list) self.patterns.append(deny_list_pattern) self.deny_list = deny_list else: self.deny_list = []
(self, supported_entity: str, name: Optional[str] = None, supported_language: str = 'en', patterns: Optional[List[presidio_analyzer.pattern.Pattern]] = None, deny_list: Optional[List[str]] = None, context: Optional[List[str]] = None, deny_list_score: float = 1.0, global_regex_flags: Optional[int] = regex.I|regex.M|regex.S, version: str = '0.0.1')
[ 0.056788697838783264, -0.10398830473423004, -0.0025348926428705454, 0.002319582039490342, -0.014507931657135487, -0.03603010252118111, 0.028696227818727493, -0.01306068990379572, -0.0374329499900341, 0.030969195067882538, 0.003096475498750806, 0.05891960486769676, -0.0431508868932724, 0.0074404203332960606, -0.020030533894896507, -0.007271723356097937, 0.002319582039490342, 0.03620767593383789, 0.007582480553537607, -0.01914265565574169, -0.03842737153172493, 0.047199610620737076, 0.0009294975898228586, -0.010254994034767151, 0.023333441466093063, 0.04304433986544609, -0.02262313850224018, 0.0039088842459023, -0.04336397722363472, -0.008141844533383846, -0.009961994364857674, 0.008652374148368835, 0.012297114357352257, 0.04336397722363472, -0.01468550693243742, -0.07522104680538177, -0.0636076033115387, 0.08964019268751144, -0.11031000316143036, -0.004241838585585356, -0.014143901877105236, 0.00117199937812984, 0.028678469359874725, 0.0050165122374892235, -0.04261815920472145, 0.023724108934402466, 0.019817443564534187, 0.025393320247530937, -0.0018057224806398153, -0.026369985193014145, 0.004015429876744747, -0.029424287378787994, -0.01926695927977562, -0.018396839499473572, -0.014010719954967499, 0.0686507523059845, 0.0040531642735004425, 0.1208224818110466, 0.04620518907904625, 0.002583725843578577, -0.008350495249032974, -0.010033024474978447, -0.017189323902130127, 0.023511016741394997, -0.029228953644633293, -0.007946510799229145, -0.020918412134051323, -0.025180228054523468, 0.01853889971971512, 0.06019815057516098, 0.005589194130152464, -0.027613015845417976, -0.009500297717750072, 0.034378647804260254, 0.06119257211685181, -0.012554598972201347, -0.03981246426701546, 0.03244307264685631, 0.05313063785433769, 0.046169672161340714, 0.01326490193605423, 0.023919440805912018, 0.04524627700448036, -0.06701705604791641, 0.05398300290107727, -0.022800715640187263, -0.03285149857401848, -0.05977196618914604, 0.013984083198010921, -0.025126956403255463, -0.08580455929040909, -0.00483893696218729, -0.055829789489507675, 0.01467662863433361, -0.015093930996954441, 0.03301131725311279, 0.019213685765862465, -0.009589085355401039, 0.022498836740851402, 0.02789713628590107, -0.0036092253867536783, 0.06659087538719177, -0.07031996548175812, -0.02274744212627411, -0.0009894294198602438, -0.016558930277824402, -0.03466276824474335, 0.020776351913809776, -0.016656596213579178, 0.02304932102560997, -0.0078177684918046, 0.04091343283653259, 0.07213123142719269, 0.06261318176984787, -0.046063125133514404, 0.00720957200974226, -0.06076639145612717, -0.034573979675769806, 0.053627848625183105, -0.003684694878757, 0.009775539860129356, 0.019000595435500145, -0.05000530555844307, 0.053308214992284775, 0.010175085626542568, -0.010219478979706764, -0.030241135507822037, -0.04009658470749855, 0.030667316168546677, -0.004612527787685394, -0.019337989389896393, 0.07287704944610596, -0.02052774652838707, -0.006224026903510094, 0.006570299621671438, -0.015857506543397903, -0.005296193994581699, -0.001746900612488389, -0.04687997326254845, 0.010441448539495468, -0.004550376441329718, -0.012803205288946629, 0.04620518907904625, -0.04957912489771843, -0.0852363184094429, -0.012084024026989937, 0.018876293674111366, 0.0016237074742093682, 0.0038334145210683346, 0.014809810556471348, 0.013602295890450478, 0.011320448480546474, -0.006166314706206322, 0.015049537643790245, 0.050253912806510925, 0.011178388260304928, -0.002160873729735613, -0.041410643607378006, 0.0004400546895340085, 0.023546533659100533, 0.019213685765862465, -0.019107140600681305, -0.03528428450226784, 0.04897536709904671, 0.017020627856254578, 0.009331600740551949, 0.021806292235851288, -0.04734167084097862, 0.0057090576738119125, 0.015502355061471462, -0.016647718846797943, 0.005535921081900597, -0.018015051260590553, 0.03020562045276165, 0.019870717078447342, 0.10235460847616196, -0.002461642725393176, 0.043506037443876266, 0.0026991500053554773, 0.032247740775346756, 0.033845920115709305, 0.011595690622925758, -0.01341584138572216, -0.060375723987817764, 0.0675852969288826, 0.02010156586766243, -0.013193871825933456, 0.059629905968904495, -0.032052405178546906, 0.04201440140604973, -0.03514222428202629, -0.022054897621273994, 0.05433815345168114, -0.005198527593165636, -0.050573550164699554, -0.010805479250848293, -0.029548591002821922, -0.01219944842159748, -0.012625630013644695, 0.015120567753911018, -0.03533755615353584, 0.024239078164100647, 0.007218450773507357, 0.02439889684319496, -0.007888798601925373, 0.04645379260182381, 0.039315249770879745, 0.05423160642385483, -0.06989377737045288, -0.05998506024479866, -0.052775487303733826, -0.02608586475253105, 0.0030809377785772085, 0.027968166396021843, 0.03402349725365639, -0.03494688868522644, 0.0165322944521904, 0.039741434156894684, -0.02494938112795353, 0.02526901662349701, 0.05220724642276764, 0.008457041345536709, -0.025943804532289505, -0.0282167736440897, 0.03864046558737755, -0.008448162116110325, 0.01410838682204485, -0.01558226440101862, -0.031857073307037354, -0.006161875557154417, -0.07337426394224167, -0.06769184023141861, 0.038782525807619095, 0.022374533116817474, -0.004235179629176855, -0.017402414232492447, 0.0924103781580925, 0.018086081370711327, -0.05273997038602829, 0.02283623069524765, 0.007649071514606476, 0.016159385442733765, 0.010068540461361408, -0.032247740775346756, 0.016674354672431946, 0.03718434274196625, 0.03906664624810219, -0.04474906623363495, 0.0492594875395298, -0.03611889109015465, -0.029211197048425674, 0.0014072870835661888, -0.05842239409685135, 0.004670239984989166, -0.059629905968904495, -0.053201667964458466, -0.03672264516353607, -0.02168198861181736, 0.05607839301228523, -0.008057495579123497, -0.01774868741631508, 0.022179199382662773, -0.03139537572860718, 0.04002555459737778, -0.0323898009955883, -0.010015266947448254, -0.002572627505287528, -0.0015548969386145473, -0.029122408479452133, -0.05554566532373428, -0.00017868551367428154, -0.015138325281441212, 0.02851865068078041, 0.007142981048673391, -0.036687131971120834, -0.007839965634047985, -0.017278112471103668, 0.003926641773432493, -0.011560175567865372, 0.031324345618486404, 0.056895241141319275, -0.012643387541174889, 0.01694071851670742, 0.025748470798134804, 0.08303438127040863, 0.020865140482783318, -0.009935358539223671, 0.04283124953508377, -0.06488614529371262, -0.04347052052617073, -0.04790991544723511, 0.03707779943943024, 0.06726565957069397, 0.04329294711351395, 0.03549737483263016, 0.010077418759465218, 0.01694071851670742, -0.02727562189102173, 0.024878351017832756, -0.05831584706902504, 0.0029344377107918262, -0.01436587143689394, 0.08687001466751099, -0.0025903850328177214, -0.05870651453733444, -0.07706783711910248, 0.0005538141122087836, 0.013327053748071194, 0.038249798119068146, 0.016070596873760223, 0.040061067789793015, 0.03949282690882683, -0.02043895795941353, -0.02114926092326641, -0.007706783711910248, 0.01640799082815647, 0.01616826467216015, 0.020048292353749275, 0.03750398010015488, 0.03482258692383766, 0.01336256880313158, 0.03967040404677391, -0.028358833864331245, -0.02704477310180664, 0.045850034803152084, -0.0019200368551537395, 0.021628715097904205, -0.011036327108740807, -0.017082778736948967, 0.02526901662349701, -0.02473628893494606, -0.020652050152420998, -0.025712955743074417, -0.014516809955239296, -0.061831846833229065, -0.04474906623363495, 0.006801147945225239, -0.007928753271698952, -0.0077689350582659245, -0.017162688076496124, 0.024025987833738327, 0.002193059539422393, -0.06055330112576485, 0.01871647499501705, 0.0170650202780962, -0.03349076956510544, 0.03977694734930992, -0.017144929617643356, 0.05007633566856384, 0.01689632423222065, -0.00043256321805529296, -0.06563196331262589, 0.0019056088058277965, -0.01587526500225067, 0.019178170710802078, -0.026867197826504707, -0.05444469675421715, 0.016674354672431946, -0.007169617339968681, -0.04684446007013321, 0.004630285315215588, -0.018183747306466103, -0.010352660901844501, -0.023830654099583626, -0.05948784574866295, -0.0345207080245018, 0.0334019809961319, 0.015102810226380825, 0.011586812324821949, -0.03775258734822273, 0.005096421577036381, 0.0287494994699955, -0.00009551628318149596, -0.0262279249727726, 0.03775258734822273, -0.03693573921918869, 0.007897677831351757, 0.025961561128497124, -0.020066048949956894, 0.04165925085544586, -0.02377738058567047, 0.1104520633816719, 0.05579427257180214, -0.022889502346515656, -0.013176114298403263, -0.006064208690077066, -0.024558713659644127, 0.0643889382481575, 0.023741865530610085, 0.02367083542048931, -0.007511450443416834, -0.021735260263085365, -0.011054084636271, -0.07422662526369095, -0.056895241141319275, -0.022232472896575928, -0.03242531418800354, 0.032372042536735535, -0.02356429025530815, 0.0341300405561924, 0.02063429169356823, 0.023013805970549583, 0.006552542094141245, -0.01426820456981659, 0.012510205619037151, 0.03579925373196602, 0.09439922124147415, 0.055829789489507675, -0.02148665487766266, 0.06474408507347107, -0.014507931657135487, -0.014871961437165737, -0.012741053476929665, -0.03336646780371666, -0.043825674802064896, -0.043541550636291504, 0.043115369975566864, 0.012696660123765469, -0.021504413336515427, 0.002301824511960149, -0.022232472896575928, 0.00655698124319315, 0.041410643607378006, 0.04212094843387604, 0.04329294711351395, 0.028181256726384163, -0.007826647721230984, -0.03775258734822273, -0.011240539140999317, -0.06517026573419571, -0.05902615189552307, 0.02159320004284382, -0.045743491500616074, -0.0359768308699131, 0.03555064648389816, -0.06105051189661026, 0.02074083685874939, -0.05618494004011154, -0.054160576313734055, -0.021646473556756973, -0.0013484652154147625, -0.03169725462794304, 0.0881485566496849, 0.08395777642726898, -0.0026858318597078323, -0.06527681648731232, -0.017571112141013145, 0.015972930938005447, -0.035000164061784744, -0.05281100049614906, -0.00022183085093274713, 0.07387147843837738, 0.0010071869473904371, 0.009313843213021755, -0.03295804187655449, 0.024469926953315735, 0.0673011764883995, 0.015964051708579063, -0.0036336418706923723, -0.017313627526164055, 0.038889069110155106, 0.0179617777466774, 0.01875199005007744, -0.00968675222247839, -0.028039196506142616, 0.024292349815368652, 0.044997673481702805, -0.030880408361554146, -0.004381679464131594, -0.04915294423699379, -0.012927507981657982, 0.0027413242496550083, 0.0013440258335322142, -0.03579925373196602, -0.04979221522808075, 0.0316617414355278, 0.06261318176984787, -0.025020411238074303, 0.003436089027673006, 0.0005452127661556005, 0.028820529580116272, -0.006716799456626177, 0.023830654099583626, 0.00612636050209403, -0.027417682111263275, -0.07720989733934402, -0.007156298961490393, -0.05149694159626961, -0.02610362321138382, 0.003895566100254655, -0.03714882954955101, -0.008967570960521698, 0.004319528117775917, 0.019551079720258713, 0.005664663854986429, 0.005766769405454397, -0.0004245168238412589, 0.017144929617643356, 0.058351363986730576, -0.04013209789991379, 0.00006114568532211706, -0.02608586475253105, -0.040061067789793015, -0.03853391855955124, 0.03325992077589035, -0.03814325109124184, -0.010148448869585991, -0.03082713484764099, -0.012474690563976765, 0.011267175897955894, -0.011391478590667248, 0.0098909642547369, 0.03285149857401848, -0.006192950997501612, 0.01219944842159748, 0.029015863314270973, -0.007804450578987598, -0.0033006875310093164, -0.007205132395029068, 0.015440204180777073, -0.003194142132997513, 0.028358833864331245, 0.042689189314842224, -0.05746348574757576, 0.0636076033115387, -0.017970656976103783, -0.011915327049791813, 0.001088205841369927, 0.10320697724819183, 0.007253965828567743, 0.03789464756846428, -0.04996979236602783, -0.011746630072593689, -0.006184072233736515, 0.010459206067025661, 0.0549774244427681, -0.007875480689108372, -0.010139570571482182, -0.03750398010015488, 0.04901088401675224, 0.0033561799209564924, 0.012527963146567345, -0.04691549018025398, -0.05316615477204323, -0.013859780505299568, -0.04996979236602783, -0.035017918795347214, -0.006117481738328934, 0.00148053711745888, -0.011613448150455952, 0.05661112070083618, -0.03301131725311279, -0.0730191096663475, 0.017819717526435852, 0.0402386449277401, -0.0038600510451942682, -0.0028278923127800226, 0.014774295501410961, -0.015413567423820496, 0.03180380165576935, -0.03601234406232834, 0.006960966158658266, -0.008900980465114117, 0.010823236778378487, -0.0014760977355763316, -0.01674538478255272, 0.0013373667607083917, 0.02022586762905121, -0.038036707788705826, 0.039741434156894684, 0.028234530240297318, -0.03423658758401871, 0.05923924222588539, 0.019923988729715347, -0.05444469675421715, 0.034573979675769806, 0.005091981962323189, -0.0016303665470331907, 0.01410838682204485, -0.026813924312591553, 0.007338314317166805, -0.0018512263195589185, -0.04492664337158203, -0.07202468812465668, -0.00006430181383620948, -0.01764214225113392, 0.023297926411032677, 0.05096421390771866, -0.025659684091806412, 0.034769315272569656, -0.011746630072593689, 0.029228953644633293, 0.06804699450731277, 0.020652050152420998, -0.0478033684194088, 0.0033717178739607334, -0.02546435035765171, -0.03718434274196625, 0.03428985923528671, 0.0074404203332960606, -0.020598776638507843, 0.012092902325093746, -0.00225854036398232, -0.005655784625560045, 0.0783463791012764, -0.002272968413308263, -0.0262279249727726, -0.07337426394224167, -0.008985328488051891, -0.0057578906416893005, 0.01483644638210535, 0.030915923416614532, 0.025109197944402695, 0.012066266499459743, 0.005340587813407183, -0.00821287464350462, -0.0402386449277401, 0.05355681851506233, 0.03999003767967224, -0.007427101954817772, 0.017340263351798058, 0.04517524689435959, -0.01852114126086235, -0.006250663194805384, -0.035834766924381256, -0.024185804650187492, -0.04176579415798187, -0.04940154775977135, -0.05874202772974968, 0.014348113909363747, 0.04503318667411804, -0.050040822476148605, -0.06232905760407448, -0.01189756952226162, -0.014543446712195873, 0.019817443564534187, 0.007853283546864986, -0.0246297437697649, 0.03228325396776199, 0.029122408479452133, -0.047945428639650345, -0.02757750079035759, 0.00676119327545166, 0.007595798932015896, -0.11109133064746857, 0.019728656858205795, -0.052775487303733826, -0.03180380165576935, 0.057214878499507904, 0.06886383891105652, 0.00852363184094429, 0.07017790526151657, 0.006068648304790258, -0.0007896567694842815, 0.009855449199676514, 0.06176081672310829, -0.02473628893494606, 0.018911808729171753, 0.042902279645204544, -0.00474127009510994, -0.07870153337717056, 0.04844263941049576, 0.09233934432268143, 0.018485626205801964, -0.030791619792580605, 0.004228520672768354, 0.03217671066522598, -0.06609366089105606, 0.003991012927144766, 0.0852363184094429, 0.010041903704404831, -0.018290292471647263, -0.00486557325348258, 0.0636076033115387, 0.030241135507822037, 0.0381077378988266, -0.028074711561203003, -0.024789562448859215, 0.03789464756846428, -0.004419414326548576, 0.0406293123960495, -0.021646473556756973, 0.004954360891133547, -0.0319991335272789, -0.031111255288124084, 0.059097182005643845, -0.05515500158071518, 0.0296728927642107, 0.03286925330758095, -0.04368361458182335, -0.006317254155874252, 0.02738216705620289, -0.01421493198722601, -0.017278112471103668, 0.000531062192749232, 0.05348578840494156, -0.04897536709904671, -0.06580954045057297, 0.013193871825933456, 0.011515781283378601, 0.0059043909423053265, 0.03324216231703758, -0.024665258824825287, -0.010920903645455837, -0.03432537615299225, 0.019213685765862465, -0.0179617777466774, 0.0005441029206849635, -0.01821926236152649, -0.04602761194109917, 0.02146889828145504, 0.05092870071530342, 0.07983801513910294, -0.050147365778684616, -0.02148665487766266, 0.008545828983187675, 0.05881305783987045, 0.030241135507822037, 0.01257235649973154, -0.0539119727909565, 0.0416947640478611, -0.006969844922423363, -0.0000021893483790336177, -0.008812191896140575, 0.011293811723589897, -0.03402349725365639, -0.06264869123697281, -0.0048256185837090015, 0.07241535186767578, -0.05874202772974968, 0.013797628693282604, 0.04648930951952934, -0.040061067789793015, -0.05774760618805885, 0.00017438485519960523, -0.05039597302675247, 0.027311136946082115, -0.03721985965967178, 0.0028856045100837946, 0.058955118060112, 0.025943804532289505, 0.030773861333727837, -0.06712359935045242, 0.019337989389896393, 0.016070596873760223, 0.0831054076552391, -0.02095392905175686, 0.012075144797563553, 0.004199664574116468, -0.001537139294669032, -0.021238049492239952, -0.04680894315242767, 0.00608196621760726, 0.03219446912407875, -0.0165322944521904, -0.0694320872426033, 0.07642856240272522, 0.005180770065635443, -0.0431508868932724, 0.016603324562311172, -0.011133993975818157, 0.013309296220541, 0.03370385989546776, -0.012838720344007015, -0.04560143128037453, 0.005660224240273237, 0.05398300290107727, 0.001087650889530778 ]
16,388
presidio_analyzer.pattern_recognizer
_deny_list_to_regex
Convert a list of words to a matching regex. To be analyzed by the analyze method as any other regex patterns. :param deny_list: the list of words to detect :return:the regex of the words for detection
def _deny_list_to_regex(self, deny_list: List[str]) -> Pattern: """ Convert a list of words to a matching regex. To be analyzed by the analyze method as any other regex patterns. :param deny_list: the list of words to detect :return:the regex of the words for detection """ # Escape deny list elements as preparation for regex escaped_deny_list = [re.escape(element) for element in deny_list] regex = r"(?:^|(?<=\W))(" + "|".join(escaped_deny_list) + r")(?:(?=\W)|$)" return Pattern(name="deny_list", regex=regex, score=self.deny_list_score)
(self, deny_list: List[str]) -> presidio_analyzer.pattern.Pattern
[ 0.032024066895246506, -0.04600200057029724, 0.03155466169118881, -0.016307586804032326, -0.007766966708004475, -0.025539280846714973, 0.047914404422044754, -0.04322032257914543, -0.024583078920841217, 0.04395051300525665, -0.015142759308218956, 0.0788605734705925, -0.021418919786810875, -0.025556666776537895, -0.014821127988398075, -0.03998662158846855, 0.026286857202649117, 0.03810898959636688, -0.03313674032688141, 0.01821999065577984, -0.0544513463973999, 0.009214308112859726, 0.01903710886836052, 0.011118018999695778, -0.016203274950385094, -0.03134603425860405, -0.02479170449078083, -0.007449681404978037, -0.07670477032661438, 0.027451684698462486, -0.0015157972229644656, -0.002890337258577347, -0.0014169171918183565, 0.024287525564432144, 0.05372115597128868, -0.04659310728311539, -0.036613836884498596, 0.07350584119558334, -0.07767836004495621, -0.05386023968458176, 0.05991039052605629, -0.03591841831803322, 0.039743226021528244, 0.017098626121878624, -0.028512200340628624, 0.010100968182086945, -0.005419925786554813, 0.00023945792054291815, -0.002022149506956339, -0.03464927524328232, -0.009318620897829533, -0.012117684818804264, -0.02927716076374054, -0.0062196580693125725, 0.052851881831884384, 0.038839180022478104, -0.01903710886836052, 0.09061316400766373, 0.09283850342035294, -0.03720494359731674, -0.034788358956575394, -0.014942826703190804, 0.020514875650405884, -0.021627547219395638, 0.03367568925023079, 0.05949313938617706, -0.06745569407939911, -0.025261113420128822, 0.02847742848098278, 0.02327916771173477, -0.01428217813372612, -0.08087728917598724, -0.001686392235569656, 0.03414509817957878, 0.0397084541618824, -0.04023001715540886, -0.019697757437825203, -0.010865929536521435, 0.0007991891470737755, 0.000774740765336901, 0.003203276079148054, 0.03134603425860405, 0.08386759459972382, -0.030129048973321915, 0.0436723455786705, -0.04356802999973297, -0.025626208633184433, -0.014038781635463238, -0.013612836599349976, -0.0777479037642479, -0.04888799041509628, -0.0025556667242199183, -0.014169172383844852, 0.043776657432317734, -0.06634301692247391, 0.011326645500957966, 0.004741891752928495, -0.011848209425807, -0.008979604579508305, 0.02828618884086609, -0.009283849969506264, 0.07155866920948029, -0.02307054214179516, -0.00435506459325552, -0.03160681575536728, -0.022948844358325005, -0.018080906942486763, 0.01778535358607769, -0.05918020009994507, -0.005997993052005768, -0.0655432865023613, -0.01966298557817936, 0.08838781714439392, -0.003433633828535676, -0.005585087928920984, 0.030841855332255363, -0.07607889175415039, -0.07879102975130081, 0.05257371440529823, 0.025261113420128822, 0.04554997757077217, 0.035188227891922, -0.029085921123623848, 0.009996655397117138, 0.0019721663556993008, 0.025348041206598282, -0.03901303559541702, -0.05156535655260086, 0.02964225597679615, 0.04614108428359032, -0.041899025440216064, 0.05949313938617706, -0.0533386766910553, 0.020706115290522575, 0.01069207489490509, 0.0032858571503311396, -0.0012213304871693254, -0.0252437274903059, 0.01230892539024353, -0.05041791498661041, 0.03428418189287186, 0.01651621237397194, 0.061127375811338425, -0.010918086394667625, -0.05410363897681236, -0.003785689827054739, -0.03856101259589195, 0.04725375398993492, 0.0513567291200161, 0.0004900534404441714, -0.017376795411109924, -0.05490336939692497, -0.012465394102036953, -0.007710463833063841, 0.04822734370827675, 0.05765027552843094, -0.016133733093738556, -0.015925105661153793, -0.013534601777791977, -0.0024774319026619196, 0.022218653932213783, 0.0020069372840225697, -0.12315879017114639, 0.053130049258470535, 0.03530992567539215, 0.009648945182561874, 0.04221196472644806, 0.01230892539024353, 0.009388163685798645, 0.015064524486660957, -0.00648913299664855, -0.03703108802437782, -0.06352657079696655, 0.06536943465471268, -0.024861246347427368, 0.06453493237495422, -0.0652303472161293, 0.0621357336640358, -0.027364756911993027, 0.06502172350883484, 0.04162085801362991, 0.04457639157772064, -0.006684720050543547, -0.044228680431842804, 0.058693405240774155, 0.03266733139753342, 0.009266464971005917, 0.04878367856144905, -0.015368770807981491, 0.057441651821136475, -0.03555332124233246, -0.022844530642032623, 0.03485790267586708, -0.06060580909252167, -0.044437307864427567, -0.05685054510831833, -0.03977799415588379, 0.04089066758751869, -0.029781339690089226, -0.038943491876125336, -0.01114409789443016, 0.028981607407331467, 0.00952724739909172, 0.013682378455996513, 0.05462520197033882, 0.005389501340687275, -0.046766962856054306, 0.03779605031013489, -0.0010442158672958612, -0.03796990588307381, 0.02327916771173477, 0.043533261865377426, -0.009761950932443142, 0.0259565319865942, 0.022601133212447166, -0.00018499245925340801, 0.006297892890870571, 0.03637044131755829, -0.0626920685172081, -0.019541287794709206, 0.0018798058154061437, 0.043428946286439896, -0.04356802999973297, -0.00988364964723587, 0.03564025089144707, -0.00880140345543623, 0.007371446583420038, 0.030389832332730293, -0.0003322258125990629, -0.0011919925455003977, -0.02039317600429058, -0.051252417266368866, 0.013804077170789242, 0.014212636277079582, -0.016203274950385094, -0.0002868605370167643, 0.036961548030376434, 0.002127549145370722, -0.018463388085365295, 0.038839180022478104, -0.017011700198054314, 0.047010358422994614, 0.018098292872309685, -0.017993979156017303, 0.06717752665281296, 0.04134269058704376, -0.02505248785018921, -0.01303042285144329, 0.042003337293863297, 0.028512200340628624, -0.011848209425807, -0.0014864591648802161, -0.02263590507209301, -0.04412436857819557, -0.00916215218603611, 0.014160479418933392, -0.0385957807302475, -0.009953191503882408, -0.002028668997809291, -0.0072801727801561356, 0.036057502031326294, 0.031763285398483276, 0.01598595641553402, -0.05469474196434021, -0.040994979441165924, 0.033015042543411255, 0.0010561683448031545, 0.013013037852942944, -0.07155866920948029, -0.029242390766739845, -0.008562352508306503, -0.031206950545310974, 0.034996986389160156, -0.02828618884086609, -0.07190637290477753, 0.0070150443352758884, 0.02406151406466961, 0.017446337267756462, -0.038213301450014114, -0.0011246236972510815, 0.0031750246416777372, 0.041551314294338226, -0.0026664992328733206, 0.021349377930164337, 0.06759477406740189, 0.05055699869990349, -0.02289668656885624, 0.017229018732905388, -0.05271279811859131, -0.014942826703190804, 0.00827114563435316, -0.018359074369072914, 0.1021571233868599, -0.024478767067193985, -0.012004679068922997, 0.05441657453775406, 0.06655164808034897, -0.04238582029938698, 0.0000093379085228662, 0.007258440833538771, -0.019628215581178665, 0.05490336939692497, 0.11043261736631393, -0.008827481418848038, -0.03800467401742935, -0.05153058469295502, -0.01545569859445095, 0.01589902862906456, 0.04245536029338837, -0.013951853848993778, 0.022740216925740242, 0.033015042543411255, -0.01643797755241394, 0.012282846495509148, 0.005393847357481718, -0.00047429781989194453, 0.0030381139367818832, 0.019610829651355743, 0.004702774342149496, 0.0018591606058180332, 0.056641917675733566, 0.003238047007471323, 0.05935405567288399, -0.04572383314371109, 0.02371380478143692, -0.038317613303661346, 0.0074105639941990376, -0.03303242474794388, 0.01860247179865837, 0.012282846495509148, -0.005793713498860598, -0.03433633968234062, -0.020323634147644043, -0.0058024064637720585, 0.028234031051397324, 0.026286857202649117, 0.017220325767993927, 0.012821797281503677, -0.0006074054981581867, -0.047740548849105835, -0.040542956441640854, 0.025174185633659363, -0.020167166367173195, 0.029677027836441994, -0.050974249839782715, -0.014316949062049389, -0.04787963256239891, 0.06394382566213608, 0.012639249674975872, 0.039847537875175476, 0.04600200057029724, -0.0037248407024890184, 0.018028751015663147, 0.0191414225846529, 0.026356399059295654, -0.022670675069093704, -0.06446538865566254, 0.05107856169342995, -0.017376795411109924, -0.03221530839800835, 0.016133733093738556, -0.0074236029759049416, -0.011778667569160461, 0.00014084961730986834, -0.015872949734330177, 0.02812971919775009, -0.0074453349225223064, -0.00648913299664855, 0.029068535193800926, -0.0476362369954586, -0.03181544318795204, 0.022114340215921402, -0.009535940364003181, -0.052782341837882996, 0.03699631616473198, -0.00734536862000823, 0.008749246597290039, -0.007362754084169865, 0.02846004255115986, 0.09749781340360641, -0.06707321107387543, 0.039465054869651794, 0.0867883563041687, -0.029677027836441994, 0.009987962432205677, -0.00960548222064972, -0.003605315461754799, 0.05838046595454216, -0.006875960156321526, 0.0025143760722130537, -0.018428616225719452, -0.02522634156048298, -0.040090933442115784, -0.023105312138795853, -0.018480774015188217, -0.012195919640362263, -0.022618519142270088, 0.07385355234146118, -0.016385821625590324, 0.020897356793284416, -0.016133733093738556, 0.010248744860291481, -0.05521630868315697, -0.000567744835279882, -0.04339417815208435, 0.044680703431367874, 0.06335271894931793, 0.057267796248197556, -0.0032576057128608227, -0.006428284104913473, -0.0025991303846240044, -0.02919023297727108, 0.04415913671255112, -0.025852220132946968, -0.044332992285490036, 0.03967368230223656, 0.014082244597375393, 0.009188230149447918, -0.015073217451572418, -0.005889333784580231, 0.04158608615398407, -0.02974656969308853, 0.07447943091392517, 0.02856435626745224, 0.01959344372153282, 0.00227749883197248, 0.05111333355307579, -0.03277164325118065, -0.012022064998745918, -0.024200597777962685, -0.059145428240299225, 0.02129722200334072, -0.06199664995074272, -0.10403475910425186, 0.03341490775346756, -0.05173921212553978, 0.024113671854138374, -0.04412436857819557, -0.017620190978050232, -0.0008806835976429284, -0.04016047716140747, 0.018446002155542374, 0.03689200431108475, 0.07976461946964264, 0.00821898877620697, -0.039117347449064255, -0.04812302812933922, -0.013986624777317047, -0.01378669124096632, -0.0601537860929966, 0.016820458695292473, 0.047566693276166916, 0.022392507642507553, 0.009753258898854256, 0.04589768871665001, 0.08358942717313766, 0.024287525564432144, -0.015620860271155834, 0.05299096554517746, -0.01029220875352621, 0.10361750423908234, -0.0022318619303405285, 0.025174185633659363, -0.013212970457971096, -0.057789359241724014, -0.010474756360054016, -0.01966298557817936, -0.012917417101562023, 0.04106452316045761, 0.008614509366452694, -0.002510029822587967, -0.07427079975605011, 0.01572517305612564, -0.05459043011069298, 0.028529584407806396, 0.02183617278933525, 0.023331323638558388, -0.022149110212922096, 0.03045937418937683, -0.0022090435959398746, -0.017802739515900612, -0.023661648854613304, -0.016568370163440704, 0.016507521271705627, -0.04857505112886429, -0.07357538491487503, -0.018098292872309685, -0.059075888246297836, -0.04888799041509628, -0.009214308112859726, 0.009622867219150066, 0.004876629449427128, 0.016568370163440704, -0.03155466169118881, -0.008436308242380619, 0.022879302501678467, -0.02974656969308853, 0.025730522349476814, 0.031676359474658966, -0.02308792807161808, 0.0033445332664996386, -0.04624539613723755, -0.07920828461647034, -0.03494482859969139, 0.008331994526088238, -0.009640253148972988, -0.03332797810435295, -0.05379069969058037, -0.03529253974556923, -0.0018080907175317407, -0.010613840073347092, -0.007523569744080305, -0.011570041999220848, 0.03529253974556923, -0.007893010973930359, 0.04228150472044945, -0.0025013370905071497, 0.006432630587369204, -0.023870274424552917, 0.027816779911518097, -0.05570310354232788, 0.013812770135700703, -0.061475083231925964, -0.057163484394550323, 0.021331993862986565, -0.02567836456000805, -0.0031685051508247852, -0.009101302362978458, 0.05146104469895363, 0.0031924101058393717, 0.028964221477508545, -0.015829486772418022, -0.023122698068618774, -0.013499830849468708, 0.009336006827652454, 0.04499364271759987, 0.029694411903619766, -0.0005221079336479306, -0.030129048973321915, 0.02684319205582142, -0.023296553641557693, 0.0008676444995217025, -0.0316242016851902, -0.026912733912467957, -0.02317485399544239, 0.057441651821136475, -0.02207956835627556, -0.03430156782269478, -0.027103975415229797, 0.015925105661153793, 0.012734869495034218, -0.0026860579382628202, -0.01769842579960823, -0.009153459221124649, 0.05997993052005768, -0.02343563735485077, 0.06484787166118622, -0.0002969115157611668, -0.013195585459470749, 0.04770577698945999, -0.06203141808509827, -0.06248344108462334, 0.01905449479818344, -0.006975926924496889, -0.06321363151073456, 0.026356399059295654, -0.025174185633659363, 0.0416903980076313, -0.01867201365530491, 0.021175524219870567, 0.03412771224975586, -0.04951386898756027, 0.0691942423582077, -0.022166496142745018, -0.058971572667360306, 0.02513941563665867, 0.02666933834552765, -0.011891673319041729, 0.023313939571380615, 0.0019319623243063688, 0.010613840073347092, 0.041099291294813156, -0.02630424313247204, -0.05858909338712692, -0.0015657804906368256, 0.0007155214552767575, 0.035605479031801224, 0.02873820997774601, -0.030389832332730293, 0.02567836456000805, 0.014169172383844852, 0.05813707038760185, 0.03734402731060982, 0.02489601820707321, -0.02110598236322403, -0.013352054171264172, -0.019263120368123055, 0.03598795831203461, 0.021053824573755264, 0.009414241649210453, 0.032928112894296646, 0.005193914286792278, 0.019784685224294662, -0.019645601511001587, 0.05111333355307579, -0.002920761937275529, -0.004066030960530043, -0.09506384283304214, -0.041899025440216064, -0.03343229368329048, -0.03179805725812912, 0.06613439321517944, 0.06171848252415657, -0.023053156211972237, 0.012239383533596992, 0.025278499349951744, -0.08219858258962631, 0.07454896718263626, -0.02265329100191593, -0.0027034434024244547, 0.02856435626745224, -0.006058842409402132, 0.04673219099640846, -0.022496821358799934, 0.042246732860803604, -0.03063322976231575, -0.0042181541211903095, 0.00495921028777957, -0.016281509771943092, 0.027173517271876335, 0.011969908140599728, -0.017820125445723534, 0.0022275156807154417, 0.006415245123207569, -0.027608154341578484, 0.09235171228647232, 0.00714108906686306, -0.025991303846240044, 0.006641256157308817, 0.009309928864240646, -0.042003337293863297, -0.01938481815159321, 0.013630222529172897, 0.018793711438775063, -0.043428946286439896, 0.02884252369403839, -0.041447002440690994, -0.04151654243469238, -0.008179872296750546, 0.00984018575400114, -0.02352256514132023, 0.049444325268268585, -0.030233362689614296, 0.04134269058704376, -0.009805414825677872, 0.0851193442940712, -0.045237038284540176, -0.0072671337984502316, -0.012517550960183144, -0.04012570530176163, -0.045132726430892944, 0.010926779359579086, 0.017854895442724228, -0.03876963630318642, -0.032580405473709106, 0.03099832497537136, 0.027347370982170105, 0.011204946786165237, -0.00012489028449635953, 0.04346371814608574, 0.05431226268410683, -0.012074220925569534, -0.00043463718611747026, 0.04568906128406525, 0.04328986257314682, 0.017176860943436623, -0.018028751015663147, -0.028964221477508545, 0.014925440773367882, 0.00015728433209005743, 0.03922165930271149, -0.03388431668281555, 0.029068535193800926, -0.021714473143219948, 0.03334536403417587, 0.05838046595454216, -0.018272146582603455, 0.023852888494729996, 0.01311735063791275, 0.005532931536436081, -0.08616247773170471, -0.005332998465746641, 0.009231694042682648, -0.0038769636303186417, 0.01643797755241394, 0.03035506047308445, 0.022931458428502083, -0.019993310794234276, -0.005641590803861618, 0.02190571464598179, -0.0436723455786705, 0.014847205951809883, -0.00011137578258058056, 0.004537612199783325, 0.0041138408705592155, -0.02811233326792717, -0.009892342612147331, -0.019436975941061974, -0.007688731886446476, -0.02021932229399681, 0.021888328716158867, 0.0008518889080733061, 0.031676359474658966, 0.007393178530037403, 0.0033293208107352257, -0.05552924796938896, 0.03664860874414444, -0.02560882270336151, 0.03654429316520691, -0.07733064889907837, 0.04867936670780182, -0.0008442827383987606, -0.01903710886836052, 0.017820125445723534, -0.033380135893821716, -0.013491137884557247, -0.06804680079221725, -0.05605081096291542, 0.017568035051226616, -0.07733064889907837, 0.006775993853807449, 0.02541758306324482, 0.015577396377921104, -0.05093947798013687, -0.002142761368304491, -0.002000417560338974, -0.018654627725481987, -0.05705916881561279, -0.04735806956887245, 0.05257371440529823, 0.022688060998916626, 0.010300901718437672, -0.030841855332255363, 0.02677365019917488, -0.05076562240719795, 0.012169841676950455, 0.0036748573184013367, 0.007358407601714134, 0.023574721068143845, -0.03699631616473198, 0.004898360930383205, 0.018637241795659065, -0.0048505510203540325, 0.012161148712038994, 0.03423202410340309, -0.0014603809686377645, 0.09165628999471664, -0.024756934493780136, -0.052226003259420395, -0.0014625540934503078, 0.07593981176614761, 0.044228680431842804, 0.010379135608673096, -0.0015049312496557832, -0.02998996526002884, -0.021436305716633797, 0.03550116717815399, 0.011361416429281235 ]
16,389
presidio_analyzer.pattern_recognizer
analyze
Analyzes text to detect PII using regular expressions or deny-lists. :param text: Text to be analyzed :param entities: Entities this recognizer can detect :param nlp_artifacts: Output values from the NLP engine :param regex_flags: regex flags to be used in regex matching :return:
def analyze( self, text: str, entities: List[str], nlp_artifacts: Optional[NlpArtifacts] = None, regex_flags: Optional[int] = None, ) -> List[RecognizerResult]: """ Analyzes text to detect PII using regular expressions or deny-lists. :param text: Text to be analyzed :param entities: Entities this recognizer can detect :param nlp_artifacts: Output values from the NLP engine :param regex_flags: regex flags to be used in regex matching :return: """ results = [] if self.patterns: pattern_result = self.__analyze_patterns(text, regex_flags) results.extend(pattern_result) return results
(self, text: str, entities: List[str], nlp_artifacts: Optional[presidio_analyzer.nlp_engine.nlp_artifacts.NlpArtifacts] = None, regex_flags: Optional[int] = None) -> List[presidio_analyzer.recognizer_result.RecognizerResult]
[ 0.02912699244916439, -0.11860006302595139, 0.03924478963017464, 0.011019561439752579, -0.010586714372038841, -0.0071870628744363785, 0.040471188724040985, -0.1097988411784172, 0.02882039174437523, -0.006005751434713602, -0.031669966876506805, 0.03529506176710129, -0.04595391824841499, -0.008904923684895039, -0.04065154120326042, -0.03711662441492081, -0.04342897608876228, 0.000803133996669203, -0.0038122092373669147, -0.010749032720923424, -0.0622938871383667, 0.016376042738556862, -0.017322896048426628, -0.010253061540424824, 0.017304860055446625, -0.005090460181236267, 0.028495756909251213, -0.02665615826845169, -0.034230977296829224, 0.02580849826335907, 0.013490396551787853, -0.019207583740353584, -0.024996910244226456, -0.010767067782580853, -0.07430539280176163, -0.02660205215215683, -0.019261687994003296, 0.04631462320685387, 0.0179180596023798, 0.034934356808662415, -0.04014655202627182, -0.018828842788934708, 0.05857861787080765, 0.013607625849545002, -0.0800766870379448, 0.00008975374657893553, -0.007971597835421562, -0.0252133347094059, 0.014599566347897053, -0.08577583730220795, -0.042996130883693695, 0.012200873345136642, -0.0052482690662145615, -0.0048830546438694, 0.04075975343585014, 0.06943586468696594, -0.0074936626479029655, 0.051544856280088425, 0.022021088749170303, -0.05973287671804428, 0.009243085980415344, -0.012399260886013508, 0.0031764653977006674, -0.008778677321970463, -0.008593815378844738, 0.021083252504467964, -0.027521850541234016, -0.018702594563364983, 0.012381225824356079, -0.010649838484823704, -0.014734831638634205, -0.039425142109394073, 0.014031454920768738, 0.018233677372336388, 0.02422139421105385, -0.018955089151859283, 0.02418532222509384, 0.02907288633286953, 0.03343742713332176, 0.0484427884221077, 0.03711662441492081, 0.031110873445868492, 0.04703603312373161, -0.03460972011089325, 0.04476358741521835, -0.05771292373538017, -0.03798231855034828, -0.05096772685647011, 0.01490616612136364, -0.05266304314136505, 0.011587672866880894, -0.01958632469177246, 0.010541626252233982, 0.03776589408516884, -0.03589022532105446, 0.0622938871383667, -0.014085561037063599, -0.04523250460624695, -0.02571832202374935, -0.012074626050889492, -0.01493321917951107, 0.08765150606632233, -0.060201793909072876, -0.016024354845285416, -0.010244044475257397, -0.007191571407020092, -0.026079028844833374, 0.006736180279403925, 0.05850647762417793, 0.07156402617692947, -0.005410586949437857, 0.05796542018651962, 0.040218695998191833, -0.0252133347094059, 0.0009169817203655839, 0.014437248930335045, -0.047937799245119095, -0.050859514623880386, -0.018973123282194138, 0.03199460357427597, -0.04815422371029854, 0.018955089151859283, -0.02328355796635151, 0.01973060704767704, 0.023770511150360107, -0.0037130152340978384, -0.04216650500893593, -0.04342897608876228, -0.0010877533350139856, -0.04057940095663071, -0.04346504807472229, 0.021425923332571983, -0.016502289101481438, 0.030786238610744476, 0.010992508381605148, -0.009017644450068474, 0.07444967329502106, -0.005608974955976009, -0.00561348395422101, -0.03617879003286362, 0.020091312006115913, -0.0062717716209590435, -0.012381225824356079, 0.016132565215229988, -0.06124784052371979, 0.0035213902592658997, 0.03168800473213196, -0.04479965940117836, 0.004177423659712076, -0.026493839919567108, 0.03570987284183502, -0.06802911311388016, -0.008517165668308735, -0.012318102642893791, 0.04176972806453705, 0.03352760151028633, 0.04205829277634621, -0.025483863428235054, -0.035078637301921844, 0.04920027032494545, -0.0003215353935956955, -0.02234572358429432, -0.015050448477268219, 0.08577583730220795, -0.008945503272116184, 0.031579792499542236, 0.059011466801166534, 0.010216991417109966, -0.017611460760235786, -0.009197997860610485, 0.014617601409554482, -0.022976959124207497, -0.052194125950336456, 0.012814072892069817, 0.02057826519012451, 0.07524322718381882, -0.013183796778321266, 0.05533226579427719, 0.004486278165131807, 0.09868910163640976, -0.012453367002308369, 0.04613427072763443, -0.04360932856798172, -0.032120849937200546, 0.05230233818292618, -0.012678808532655239, -0.012318102642893791, 0.02882039174437523, -0.01490616612136364, 0.02037987671792507, -0.010316185653209686, -0.025970816612243652, 0.015609542839229107, 0.02606099285185337, -0.03630503639578819, -0.03812660276889801, -0.04158937558531761, -0.02180466428399086, -0.040471188724040985, -0.037008412182331085, 0.002592572709545493, 0.004982248414307833, 0.011948378756642342, 0.04963311553001404, -0.021876806393265724, 0.036070577800273895, -0.04411431774497032, 0.03549344837665558, -0.013977348804473877, -0.04310433939099312, -0.01933383010327816, 0.019045265391469002, -0.004021869506686926, 0.01250747311860323, 0.024023005738854408, 0.04173365980386734, 0.028008803725242615, 0.009901373647153378, -0.049524903297424316, 0.0040804841555655, 0.02077665366232395, -0.04115653038024902, -0.06453026086091995, -0.005672098603099585, 0.021498065441846848, 0.02918109856545925, 0.02952376753091812, 0.056053679436445236, 0.056991513818502426, -0.028658075258135796, -0.017268789932131767, -0.0031561756040900946, 0.003909148741513491, 0.026079028844833374, 0.05677508935332298, 0.021624311804771423, 0.052735187113285065, -0.014058507978916168, -0.02333766408264637, -0.012498455122113228, -0.035926297307014465, 0.007854368537664413, -0.030046790838241577, -0.002122528152540326, -0.05987716093659401, 0.03046160377562046, 0.014482337050139904, -0.025249404832720757, 0.04469144716858864, -0.03677395358681679, -0.00743053900077939, -0.02651187591254711, -0.0395694226026535, -0.010604750365018845, -0.044078245759010315, 0.010505556128919125, -0.011885255575180054, -0.017277806997299194, 0.04191401228308678, 0.03026321530342102, 0.04223864898085594, 0.014437248930335045, -0.02092093601822853, 0.017106471583247185, 0.005140057299286127, 0.036124683916568756, 0.003922675270587206, 0.0006751961191184819, -0.035132743418216705, -0.054322291165590286, 0.008345830254256725, 0.013778961263597012, 0.06189711391925812, -0.04173365980386734, -0.019514182582497597, 0.0608149953186512, -0.04562928155064583, 0.038234811276197433, 0.004964213352650404, 0.030930520966649055, 0.02600688673555851, 0.028441650792956352, -0.03747732937335968, -0.0647466853260994, 0.08440515398979187, -0.017440125346183777, -0.015681684017181396, 0.04555714130401611, -0.06572059541940689, -0.079138845205307, -0.019099371507763863, 0.002428000792860985, 0.038198743015527725, 0.007398977410048246, 0.025934746488928795, 0.07282649725675583, 0.03318493068218231, -0.03421294316649437, -0.0400383435189724, -0.060490358620882034, 0.015636594966053963, 0.016529342159628868, 0.05161699652671814, -0.051148079335689545, -0.05237447842955589, -0.029235202819108963, 0.0039948164485394955, 0.01513160765171051, 0.05655866861343384, -0.03426704928278923, 0.01349941361695528, -0.0026106080040335655, -0.007412503939121962, 0.03242744877934456, -0.032066743820905685, -0.06590094417333603, 0.013337096199393272, 0.016682641580700874, -0.008115880191326141, -0.02773827500641346, 0.03538523614406586, -0.009721021167933941, 0.04090403392910957, -0.008593815378844738, 0.033689919859170914, -0.0017280061729252338, 0.041264742612838745, -0.005374516360461712, 0.02611509896814823, -0.03471793234348297, 0.03762161359190941, 0.0059651718474924564, 0.01973060704767704, -0.012597649358212948, -0.05522405356168747, -0.06705520302057266, 0.004296907689422369, -0.002149580977857113, -0.012083644047379494, -0.015357048250734806, -0.016087478026747704, -0.004247310571372509, -0.021624311804771423, 0.03837909549474716, 0.0425272099673748, -0.0024595626164227724, 0.004865019116550684, -0.03511470928788185, 0.007299783173948526, -0.005460183601826429, 0.0385594479739666, -0.04342897608876228, -0.0017381509533151984, -0.0504266694188118, -0.012038555927574635, -0.00445697084069252, -0.005987715907394886, -0.011443390510976315, -0.03046160377562046, -0.04970525577664375, -0.0065197572112083435, -0.028910567983984947, -0.019514182582497597, -0.019568288698792458, -0.06103141978383064, -0.020902900025248528, 0.052085913717746735, 0.021480029448866844, 0.060851067304611206, -0.0024843611754477024, 0.011037596501410007, 0.021227534860372543, -0.06124784052371979, -0.007286256644874811, 0.034140802919864655, 0.007101395167410374, 0.02620527520775795, 0.010685908608138561, -0.006591898389160633, 0.11001526564359665, -0.061139632016420364, 0.01671871356666088, -0.0000720707030268386, -0.055801182985305786, 0.014797954820096493, 0.02120950073003769, -0.007295274641364813, 0.0524105504155159, -0.006050839554518461, 0.036900199949741364, -0.012146767228841782, -0.03614271804690361, -0.037946246564388275, -0.07188866287469864, 0.006204139441251755, -0.020830759778618813, -0.023229451850056648, 0.053781233727931976, -0.043140411376953125, 0.019063301384449005, -0.028694145381450653, 0.0018846876919269562, 0.030984627082943916, -0.007737139239907265, 0.007123939227312803, 0.07185259461402893, 0.029595909640192986, 0.015573471784591675, 0.0008837291970849037, 0.03307671844959259, 0.05829005315899849, 0.02901878021657467, 0.006889480631798506, -0.046999964863061905, -0.06817339360713959, -0.025483863428235054, -0.011163843795657158, 0.006262754090130329, -0.019351866096258163, 0.04328469559550285, 0.004389338660985231, 0.0012275269255042076, 0.026980793103575706, 0.021083252504467964, 0.0028653566259890795, 0.009351297281682491, 0.015284908004105091, -0.04429467022418976, 0.014202790334820747, -0.03307671844959259, -0.025429757311940193, 0.048587068915367126, -0.047793515026569366, -0.026331521570682526, 0.023499982431530952, -0.048478856682777405, -0.008057265542447567, -0.03183228522539139, -0.03935300186276436, 0.015438207425177097, 0.027810415253043175, 0.03026321530342102, 0.04656711593270302, 0.05385337397456169, 0.06514346599578857, -0.02041594684123993, -0.016881030052900314, -0.014518408104777336, -0.030425533652305603, -0.016394078731536865, 0.011948378756642342, 0.04176972806453705, 0.06301529705524445, 0.01104661449790001, -0.007308800704777241, 0.0410483181476593, 0.08866148442029953, 0.024762451648712158, 0.006001242436468601, 0.02061433531343937, 0.01745815947651863, 0.019658464938402176, -0.031417474150657654, -0.0304074976593256, 0.01490616612136364, -0.01899115927517414, -0.013075584545731544, 0.0005134421517141163, -0.022021088749170303, 0.011867220513522625, 0.007971597835421562, -0.0037829019129276276, 0.004896581172943115, -0.04342897608876228, -0.006073383614420891, 0.03442936763167381, 0.048983845859766006, 0.009982532821595669, 0.02912699244916439, 0.018955089151859283, 0.036359142512083054, -0.020740581676363945, -0.01129910908639431, 0.013535484671592712, -0.03168800473213196, -0.024347640573978424, 0.03682805970311165, -0.04891170561313629, -0.015411154367029667, -0.04490787163376808, 0.01836894266307354, -0.05616189166903496, 0.040218695998191833, 0.016935136169195175, -0.003113341750577092, -0.02892860397696495, -0.02106521837413311, -0.006524265743792057, 0.03551148250699043, -0.022670358419418335, 0.024437816813588142, -0.01270586159080267, 0.008900415152311325, -0.025682251900434494, 0.05533226579427719, -0.01070394366979599, 0.039425142109394073, -0.015465260483324528, -0.025032982230186462, 0.043501116335392, -0.034934356808662415, 0.008422479964792728, 0.034537579864263535, -0.015447225421667099, -0.0124894380569458, 0.03055178001523018, 0.019910959526896477, -0.0060914186760783195, -0.025195298716425896, 0.0415533073246479, -0.002969059394672513, 0.00020825123647227883, -0.018179571256041527, -0.059011466801166534, 0.06052643060684204, -0.0333833210170269, -0.04710817709565163, 0.0036769446451216936, 0.028441650792956352, -0.00682184798642993, 0.007818297483026981, -0.06146426498889923, -0.00302316527813673, -0.02097504213452339, 0.024059075862169266, -0.008030212484300137, 0.030082862824201584, -0.038884084671735764, -0.008864345028996468, 0.0736561194062233, -0.02748578041791916, 0.04162544757127762, -0.05691937357187271, 0.005081442650407553, 0.05893932655453682, 0.00606887461617589, -0.037801966071128845, -0.010379308834671974, 0.001248943735845387, 0.04689175263047218, 0.028658075258135796, -0.032355308532714844, -0.05774899572134018, 0.026493839919567108, 0.07311506569385529, 0.04577356204390526, 0.047685302793979645, 0.008115880191326141, -0.034393295645713806, 0.026439733803272247, -0.022976959124207497, -0.06590094417333603, -0.0529155395925045, -0.037657685577869415, 0.0026466785930097103, -0.014283948577940464, -0.00911233015358448, 0.06539595872163773, -0.04083189368247986, -0.03736912086606026, 0.05414193868637085, -0.009784144349396229, 0.003967763390392065, -0.053781233727931976, -0.06550417095422745, -0.007606383413076401, -0.016709694638848305, 0.0017392782028764486, 0.022381793707609177, 0.0220030527561903, -0.020506123080849648, 0.020235594362020493, -0.029884474352002144, -0.012570596300065517, 0.04162544757127762, 0.01671871356666088, 0.0395694226026535, 0.006059857085347176, -0.03381616622209549, 0.035132743418216705, -0.010126815177500248, 0.03307671844959259, 0.06835374236106873, 0.029361451044678688, -0.017611460760235786, 0.022039122879505157, -0.002908190479502082, -0.022832676768302917, -0.007561294827610254, -0.0558733269572258, -0.013301026076078415, 0.010280114598572254, 0.01240827888250351, -0.04133688285946846, 0.04025476425886154, 0.02032577060163021, -0.02387872338294983, -0.02452799305319786, 0.013057549484074116, -0.014752866700291634, -0.010812155902385712, 0.013075584545731544, 0.04494393989443779, -0.019315794110298157, -0.0019928994588553905, -0.004402865190058947, -0.002093220828101039, 0.1038111224770546, 0.04346504807472229, 0.014888131059706211, 0.03679199144244194, 0.029776262119412422, -0.011921325698494911, -0.031525686383247375, 0.04090403392910957, 0.00684890104457736, -0.07632534205913544, -0.06900301575660706, -0.011786061339080334, 0.0021856515668332577, -0.005748748313635588, -0.0005472582997754216, -0.005406077951192856, 0.024149252101778984, 0.018558312207460403, 0.025357617065310478, -0.034086696803569794, -0.011398302391171455, 0.0013458834728226066, 0.0005793836899101734, -0.0712033212184906, -0.022273581475019455, -0.05103986710309982, -0.01962239481508732, 0.029235202819108963, 0.022778570652008057, -0.11001526564359665, -0.030840344727039337, 0.06976050138473511, 0.023121241480112076, 0.03426704928278923, 0.009558702819049358, -0.027125075459480286, 0.021876806393265724, -0.03401455655694008, 0.11997074633836746, -0.009621826931834221, 0.009585755877196789, 0.012011502869427204, -0.01406752597540617, -0.06135605275630951, 0.037008412182331085, 0.07134760171175003, 0.026187239214777946, 0.019063301384449005, -0.008481094613671303, 0.03480810672044754, -0.017322896048426628, 0.03845123574137688, 0.07214115560054779, 0.046999964863061905, -0.00227808253839612, 0.07250186055898666, 0.08707437664270401, 0.0563783124089241, 0.06846195459365845, -0.02220144122838974, -0.03199460357427597, -0.015916142612695694, 0.009775126352906227, 0.004747789818793535, -0.08317875117063522, -0.005874995607882738, -0.03253566101193428, -0.02654794603586197, 0.014401178807020187, -0.01933383010327816, -0.0092115243896842, 0.029235202819108963, 0.009360315278172493, -0.05702758580446243, 0.05457478389143944, 0.030732132494449615, -0.006479177623987198, 0.10842815786600113, 0.04869528114795685, 0.0030321830417960882, -0.059660736471414566, 0.03150764852762222, 0.003501100465655327, -0.04094010591506958, 0.01213774923235178, -0.026024922728538513, -0.01097447331994772, -0.04671140015125275, 0.02615116909146309, -0.04988560825586319, 0.0239869337528944, -0.016628537327051163, -0.05118415132164955, -0.027359534054994583, 0.0044502075761556625, 0.03188639134168625, -0.004551656078547239, 0.0524105504155159, -0.007876912131905556, 0.038739800453186035, 0.009243085980415344, -0.019965065643191338, -0.05028238520026207, 0.0786338597536087, 0.01349941361695528, 0.019063301384449005, 0.02115539461374283, -0.06041821837425232, -0.012227926403284073, -0.04306827113032341, -0.008426988497376442, 0.10965456068515778, -0.014202790334820747, 0.016529342159628868, 0.026493839919567108, -0.03188639134168625, -0.10936599224805832, -0.0697244256734848, -0.008995100855827332, -0.0016051407437771559, -0.0835394561290741, -0.03455561399459839, -0.03269797936081886, 0.07545965164899826, -0.01595221273601055, -0.08289019018411636, -0.02492476999759674, 0.019838817417621613, 0.012922285124659538, 0.01780083030462265, 0.026097062975168228, -0.022670358419418335, -0.030136968940496445, -0.012778002768754959, 0.017160577699542046, -0.006993183400481939, -0.016105514019727707, 0.009387368336319923, 0.060057513415813446, 0.10193545371294022, -0.00616806885227561, -0.0415172353386879, -0.0074936626479029655, -0.01789100654423237, 0.023950863629579544, 0.028405580669641495, -0.011010544374585152, -0.035926297307014465, -0.02541172318160534, 0.012300067581236362, 0.02892860397696495 ]
16,390
presidio_analyzer.pattern_recognizer
build_regex_explanation
Construct an explanation for why this entity was detected. :param recognizer_name: Name of recognizer detecting the entity :param pattern_name: Regex pattern name which detected the entity :param pattern: Regex pattern logic :param original_score: Score given by the recognizer :param validation_result: Whether validation was used and its result :param regex_flags: Regex flags used in the regex matching :return: Analysis explanation
@staticmethod def build_regex_explanation( recognizer_name: str, pattern_name: str, pattern: str, original_score: float, validation_result: bool, regex_flags: int, ) -> AnalysisExplanation: """ Construct an explanation for why this entity was detected. :param recognizer_name: Name of recognizer detecting the entity :param pattern_name: Regex pattern name which detected the entity :param pattern: Regex pattern logic :param original_score: Score given by the recognizer :param validation_result: Whether validation was used and its result :param regex_flags: Regex flags used in the regex matching :return: Analysis explanation """ explanation = AnalysisExplanation( recognizer=recognizer_name, original_score=original_score, pattern_name=pattern_name, pattern=pattern, validation_result=validation_result, regex_flags=regex_flags, ) return explanation
(recognizer_name: str, pattern_name: str, pattern: str, original_score: float, validation_result: bool, regex_flags: int) -> presidio_analyzer.analysis_explanation.AnalysisExplanation
[ 0.0400780513882637, -0.10169464349746704, 0.04709852486848831, 0.013555310666561127, 0.02167486399412155, -0.05452796071767807, 0.004083206877112389, -0.05933323875069618, 0.03140469640493393, 0.03765837103128433, 0.0037125872913748026, 0.061309874057769775, -0.015157069079577923, -0.004600796848535538, 0.00047685339814051986, -0.02252686396241188, 0.02036278508603573, 0.008852273225784302, -0.017346708104014397, 0.02888277918100357, -0.023804862052202225, 0.0553799606859684, -0.043213408440351486, -0.014407309703528881, 0.04747340455651283, 0.053471483290195465, -0.016256147995591164, -0.03534093499183655, -0.018863266333937645, 0.012140991166234016, -0.05084732174873352, -0.07293114811182022, -0.01809646748006344, 0.02828637883067131, -0.051460761576890945, -0.05371003970503807, -0.051460761576890945, 0.050676923245191574, -0.07620282471179962, -0.006590215023607016, -0.018778067082166672, 0.010010993108153343, -0.008085474371910095, 0.005929915700107813, -0.056027479469776154, -0.0488366037607193, -0.006628555245697498, -0.04062332957983017, -0.02322550304234028, -0.08172377943992615, 0.034403733909130096, -0.040861889719963074, -0.009857633151113987, 0.0463828481733799, 0.0015644838567823172, 0.006100315600633621, -0.01721038669347763, 0.11594007909297943, 0.051494844257831573, -0.022884704172611237, -0.006931014824658632, 0.0431111678481102, -0.0063303555361926556, 0.032427094876766205, -0.029240619391202927, 0.015020749531686306, -0.028167100623250008, 0.008609454147517681, 0.013018550351262093, -0.030620858073234558, -0.04362236708402634, -0.018522467464208603, 0.010096192359924316, 0.01928926631808281, 0.0031268377788364887, -0.006730795372277498, -0.03765837103128433, -0.052108284085989, 0.10264888405799866, 0.008732994087040424, 0.022629104554653168, 0.028576059266924858, 0.04754156619310379, -0.07129530608654022, 0.051869723945856094, -0.08267802000045776, -0.016639547422528267, -0.048598043620586395, 0.04426988959312439, -0.03210333734750748, -0.024844301864504814, -0.0013269890332594514, -0.024690942838788033, 0.05732251703739166, -0.052108284085989, 0.03898749127984047, 0.031387656927108765, -0.03125133737921715, 0.058890197426080704, 0.0026497181970626116, -0.013504190370440483, 0.10333048552274704, -0.028388619422912598, 0.03315981477499008, -0.007241994608193636, 0.016775868833065033, -0.011016352102160454, -0.014526589773595333, 0.033466536551713943, 0.033398374915122986, -0.03379029408097267, -0.01657138764858246, -0.0020692935213446617, 0.02545774169266224, -0.004592276643961668, -0.03646557405591011, -0.02256094291806221, -0.029751818627119064, -0.024435343220829964, 0.004438916686922312, 0.04212284833192825, 0.0028094679582864046, -0.05452796071767807, 0.012958910316228867, 0.004093857016414404, 0.002958567813038826, -0.01096523180603981, -0.005559295881539583, 0.03126837685704231, -0.05776555836200714, -0.046076126396656036, 0.05217644199728966, -0.029632538557052612, 0.014552149921655655, 0.01947670616209507, 0.060560114681720734, 0.08601785451173782, -0.028780538588762283, -0.02951325848698616, 0.035818055272102356, -0.006053455639630556, 0.005124776158481836, 0.02063542604446411, -0.04110044986009598, -0.050233885645866394, -0.05606155842542648, 0.021913424134254456, 0.03908973187208176, 0.011791671626269817, -0.02794557996094227, 0.03438669443130493, -0.031200217083096504, 0.005457056220620871, -0.013631990179419518, 0.07518042623996735, 0.004426136612892151, 0.035818055272102356, -0.027792219072580338, -0.011237871833145618, 0.0136405099183321, 0.03857853263616562, -0.04024844989180565, -0.02583262138068676, -0.007753194309771061, 0.04921148344874382, 0.020601345226168633, 0.031643256545066833, -0.02746845968067646, -0.03241005539894104, 0.017909027636051178, -0.02029462531208992, -0.012490310706198215, -0.057697396725416183, 0.04795052483677864, -0.03663597255945206, 0.11287287622690201, -0.019647106528282166, 0.06908010691404343, 0.011689431965351105, 0.051085881888866425, 0.008051394484937191, 0.039975810796022415, -0.0627412348985672, -0.05289212241768837, 0.051017723977565765, -0.045667167752981186, 0.009440152905881405, 0.006888415198773146, 0.010181392543017864, 0.022680222988128662, 0.01903366670012474, -0.016034629195928574, 0.018948465585708618, -0.0034079975448548794, -0.010675552301108837, -0.0627412348985672, -0.049450043588876724, 0.00006007261254126206, 0.03823773190379143, -0.02731510065495968, -0.04481516778469086, 0.04542860761284828, -0.017074067145586014, 0.06546763330698013, -0.029837017878890038, 0.03741981461644173, 0.013802389614284039, 0.04018029198050499, -0.09147065132856369, -0.047780126333236694, -0.017704546451568604, 0.00098246184643358, 0.02780926041305065, 0.0433497279882431, 0.03891933336853981, -0.03731757402420044, 0.041577570140361786, 0.06925050914287567, -0.033551737666130066, 0.042463649064302444, 0.0006022570887580514, -0.039191972464323044, -0.009653152897953987, 0.0011448741424828768, -0.003546447493135929, 0.007135495077818632, 0.018232787027955055, 0.02129998430609703, -0.004279166925698519, -0.082950659096241, -0.04747340455651283, -0.07463514804840088, 0.042770370841026306, 0.018709907308220863, -0.003491067560389638, 0.03290421515703201, 0.04795052483677864, 0.008554073981940746, 0.038714852184057236, -0.009738353081047535, -0.027076540514826775, 0.018266865983605385, 0.010113232769072056, -0.009891713038086891, -0.006462415214627981, -0.035852134227752686, 0.046587325632572174, -0.005452795885503292, 0.01025807298719883, -0.03946461156010628, -0.014731069095432758, -0.026735741645097733, -0.017193347215652466, 0.0249465424567461, -0.0041556269861757755, -0.018965506926178932, -0.025133982300758362, -0.0031715678051114082, 0.0657743513584137, -0.019527826458215714, 0.027962619438767433, 0.06751243025064468, 0.018726946786046028, -0.004984196275472641, -0.05779963731765747, 0.0020139135885983706, -0.018488386645913124, 0.01799422688782215, -0.007224954664707184, -0.06938683241605759, 0.01765342801809311, 0.02925765886902809, -0.013802389614284039, -0.027076540514826775, -0.06812587380409241, 0.01799422688782215, -0.044099487364292145, 0.02794557996094227, -0.013776830397546291, 0.011340111494064331, 0.031080937013030052, -0.014339149929583073, 0.0036401674151420593, 0.016971828415989876, 0.08240538090467453, 0.03021189756691456, 0.0031481378246098757, 0.04048701003193855, -0.020720625296235085, -0.047814205288887024, -0.028269339352846146, -0.005661536008119583, 0.06901194900274277, -0.011544591747224331, -0.0269913412630558, 0.023685583844780922, 0.018999585881829262, -0.044508449733257294, -0.044883329421281815, -0.0013259240658953786, 0.010249552316963673, 0.025917820632457733, 0.05405084043741226, -0.016409508883953094, -0.1087832823395729, -0.007817094214260578, -0.004040607251226902, -0.008639274165034294, 0.014637349173426628, -0.033210936933755875, -0.012209150940179825, 0.028644219040870667, 0.012140991166234016, -0.0007300569559447467, -0.04546268656849861, 0.004843616392463446, 0.022237183526158333, 0.0028094679582864046, 0.050233885645866394, 0.02709357999265194, 0.016554348170757294, 0.009678713046014309, -0.005214236211031675, -0.04805276542901993, 0.04675772786140442, -0.06137803569436073, 0.02055022493004799, -0.020584305748343468, 0.02218606323003769, -0.0007146144635044038, -0.005883055739104748, -0.07715706527233124, -0.005512435920536518, 0.00645815534517169, -0.04764380678534508, -0.03379029408097267, 0.006402775179594755, -0.023106222972273827, -0.011323072016239166, 0.01126343198120594, 0.03203517571091652, 0.021095504984259605, -0.06417259573936462, 0.008434793911874294, 0.05698172003030777, -0.021197745576500893, 0.006360175553709269, -0.03310869634151459, 0.0417138896882534, -0.03314277529716492, -0.011195272207260132, -0.082950659096241, -0.006739315111190081, -0.0134956706315279, 0.04191837087273598, 0.015779027715325356, -0.07177242636680603, -0.017977187409996986, 0.014347669668495655, -0.020601345226168633, -0.023242542520165443, -0.013810910284519196, 0.0023408683482557535, -0.025116942822933197, -0.04764380678534508, -0.034062936902046204, -0.019084786996245384, 0.028610140085220337, 0.04127085208892822, -0.022731343284249306, -0.01824982650578022, 0.01669066771864891, -0.003056547837331891, -0.014458429999649525, 0.02007310464978218, -0.006965095177292824, 0.0047669364139437675, -0.014049469493329525, -0.035068295896053314, 0.018829185515642166, -0.005776555743068457, 0.104216568171978, -0.03684045374393463, -0.0195107851177454, 0.013163390569388866, -0.03312573581933975, -0.04835948348045349, 0.08738105744123459, -0.009542393498122692, 0.03140469640493393, -0.016622507944703102, -0.03409701585769653, -0.009269753471016884, -0.0586516372859478, -0.007399614900350571, -0.031728457659482956, -0.051494844257831573, 0.05302844196557999, -0.07892922312021255, 0.020311664789915085, 0.004115156829357147, 0.00012353991041891277, -0.0175852682441473, -0.050267964601516724, 0.012907790951430798, 0.04706444591283798, 0.03690861165523529, 0.04519004747271538, -0.027349179610610008, 0.012609590776264668, 0.0072632948867976665, -0.029973339289426804, -0.011672391556203365, -0.010215472429990768, -0.07633914798498154, 0.0017891987226903439, 0.07020474970340729, -0.0037466674111783504, -0.03609069436788559, 0.04628060758113861, 0.03029709868133068, 0.04839356616139412, 0.04018029198050499, 0.07572570443153381, 0.02520214207470417, 0.06935275346040726, -0.03806733340024948, -0.029036138206720352, 0.01664806716144085, -0.015250789001584053, -0.05912875756621361, -0.010667032562196255, -0.05111996456980705, -0.022049743682146072, -0.010028032585978508, -0.052278682589530945, -0.014339149929583073, -0.022884704172611237, -0.03922605141997337, 0.014782189391553402, 0.019953826442360878, -0.0072036548517644405, 0.06938683241605759, 0.062093716114759445, -0.014577709138393402, -0.04212284833192825, 0.0005958670517429709, -0.022765424102544785, -0.014688469469547272, -0.06280939280986786, 0.042395491153001785, 0.06185515597462654, -0.0013472239952534437, 0.06079867482185364, 0.019647106528282166, 0.013683110475540161, 0.039635010063648224, -0.017891986295580864, -0.00021393172210082412, -0.03423333540558815, 0.023038063198328018, 0.00858815386891365, -0.026667580008506775, 0.026309741660952568, -0.011476431973278522, -0.017448946833610535, 0.0629797950387001, -0.00858815386891365, -0.07845210283994675, -0.025355501100420952, 0.028848698362708092, -0.047848284244537354, 0.028678299859166145, -0.011306031607091427, 0.01799422688782215, 0.014449909329414368, 0.015233748592436314, 0.0120046716183424, 0.008954513818025589, 0.03946461156010628, 0.03145581856369972, -0.012166551314294338, -0.04222508892416954, -0.00879263412207365, 0.006257935427129269, 0.00003800716149271466, -0.02211790345609188, -0.04665548726916313, -0.06100315600633621, 0.0043579768389463425, -0.01572790928184986, 0.025747422128915787, 0.018369106575846672, 0.008694653399288654, 0.026565341278910637, -0.004204616881906986, 0.024997662752866745, 0.03334725648164749, 0.01840318739414215, -0.002679537981748581, -0.004626356530934572, -0.09331097453832626, -0.06604699045419693, -0.019561905413866043, 0.04723484441637993, -0.025951901450753212, 0.011714991182088852, -0.015625668689608574, 0.006206815596669912, 0.034625254571437836, -0.047814205288887024, 0.018778067082166672, 0.0359884537756443, 0.011374191381037235, 0.006850074976682663, 0.0018722686218097806, 0.017252987250685692, -0.01683550700545311, -0.008085474371910095, 0.01280555035918951, -0.025491822510957718, 0.029121339321136475, -0.030041499063372612, -0.06328651309013367, 0.040316611528396606, 0.019050706177949905, -0.009644633159041405, 0.03051861748099327, 0.0433497279882431, -0.005090696271508932, 0.024333102628588676, -0.06843259185552597, 0.04829132556915283, 0.04788236692547798, 0.032648615539073944, 0.0357498936355114, 0.03564765304327011, -0.02003902569413185, -0.030791258439421654, 0.042054690420627594, 0.014449909329414368, 0.00563171599060297, -0.10033144801855087, -0.05258540064096451, 0.014092070050537586, 0.034284453839063644, 0.008191973902285099, 0.011945031583309174, -0.005129036493599415, -0.034437816590070724, 0.00012813271314371377, 0.020379824563860893, -0.040009889751672745, 0.027741100639104843, 0.03409701585769653, 0.055584438145160675, 0.005542255938053131, 0.009116393513977528, 0.009482753463089466, 0.0017742887139320374, -0.0019212586339563131, -0.051835641264915466, 0.040350690484046936, -0.010556272231042385, -0.03823773190379143, 0.019936785101890564, -0.008954513818025589, 0.06444523483514786, -0.07449882477521896, 0.0017050637397915125, -0.0014739589532837272, 0.00682025495916605, 0.04955228418111801, 0.007557234726846218, -0.08908505737781525, 0.010718151926994324, -0.00035917098284699023, -0.00802583433687687, 0.04559900611639023, 0.03310869634151459, 0.004430396948009729, -0.019936785101890564, -0.004954376257956028, -0.0422932505607605, -0.007357014808803797, -0.00710993492975831, 0.021470384672284126, 0.030433418229222298, -0.038374051451683044, 0.019783426076173782, -0.031949978321790695, 0.011101552285254002, 0.03724941238760948, 0.001320598996244371, 0.007493334822356701, 0.014518069103360176, 0.009738353081047535, -0.025628142058849335, 0.047371167689561844, 0.006049195770174265, -0.016409508883953094, -0.01126343198120594, -0.024486461654305458, 0.0015719388611614704, 0.013896109536290169, -0.00599381560459733, 0.023958222940564156, -0.03360285609960556, -0.011127112433314323, -0.006266455631703138, -0.011476431973278522, 0.015974989160895348, 0.02029462531208992, 0.007131234742701054, 0.0076978146098554134, -0.008724473416805267, -0.016562867909669876, 0.04181613028049469, 0.010121752507984638, 0.029717737808823586, 0.04457660764455795, 0.033841416239738464, -0.017014427110552788, -0.030893497169017792, 0.01947670616209507, 0.009968392550945282, -0.020652465522289276, -0.042770370841026306, -0.05077916383743286, -0.057629238814115524, 0.01796014793217182, 0.02784333936870098, -0.006130135618150234, -0.04382684826850891, 0.008643534034490585, 0.022032704204320908, 0.023651503026485443, 0.06427483260631561, -0.02602006122469902, -0.008264394477009773, -0.056811317801475525, -0.022884704172611237, -0.04808684438467026, -0.0062536755576729774, -0.04760972410440445, 0.02780926041305065, -0.03646557405591011, -0.09344729036092758, 0.04457660764455795, 0.05241500213742256, 0.0026539780665189028, 0.0997861698269844, -0.01847134716808796, 0.028047820553183556, 0.03530685603618622, 0.06021931767463684, -0.025116942822933197, 0.02111254446208477, -0.015157069079577923, 0.01263515092432499, -0.08574521541595459, 0.03203517571091652, 0.06100315600633621, -0.03486381471157074, 0.025082862004637718, 0.03254637494683266, 0.05745884031057358, -0.01963006518781185, 0.04062332957983017, 0.03334725648164749, -0.0071440148167312145, 0.035034213215112686, 0.01643506810069084, 0.029871098697185516, 0.026514220982789993, 0.018369106575846672, 0.00205864361487329, -0.013384910300374031, 0.03649965301156044, -0.026156380772590637, 0.03183069825172424, 0.00655187526717782, 0.009022673591971397, -0.043758686631917953, 0.019749345257878304, 0.0001602823904249817, -0.012720351107418537, 0.004732856526970863, 0.0272810198366642, -0.022680222988128662, -0.06263899803161621, 0.019953826442360878, 0.03312573581933975, -0.027775179594755173, 0.024213822558522224, 0.025372542440891266, -0.027042459696531296, -0.03643149510025978, 0.01761934719979763, -0.048120927065610886, 0.010939671657979488, 0.037999171763658524, -0.024622783064842224, -0.02561110071837902, -0.03230781853199005, 0.05851531773805618, -0.005146076437085867, -0.018778067082166672, -0.012745911255478859, -0.03881709277629852, 0.033841416239738464, 0.06018523499369621, 0.004685996565967798, -0.008609454147517681, 0.008997113443911076, -0.022765424102544785, 0.03520461544394493, 0.04215693101286888, 0.005912875756621361, -0.02780926041305065, 0.04259996861219406, 0.04225916787981987, 0.02145334519445896, 0.01940854638814926, -0.0711589902639389, 0.012277310714125633, -0.03663597255945206, -0.06556987017393112, 0.07163611054420471, -0.04624652490019798, -0.011689431965351105, 0.020601345226168633, -0.02683798037469387, -0.04788236692547798, -0.03840813413262367, 0.0022428883239626884, -0.0063133155927062035, -0.07245402783155441, 0.012754430994391441, 0.012669230811297894, 0.020942144095897675, 0.035102374851703644, -0.06710347533226013, 0.042838528752326965, 0.02668462134897709, 0.04672364518046379, 0.02107846550643444, 0.05793595686554909, -0.04457660764455795, -0.053096603602170944, 0.013563830405473709, -0.020771745592355728, 0.01312079094350338, 0.02850789949297905, -0.00031097978353500366, -0.019902706146240234, 0.1197570338845253, 0.009278273209929466, 0.02598598040640354, 0.018011266365647316, 0.0373857319355011, -0.026752781122922897, 0.03159213811159134, 0.006918235216289759, -0.0695231482386589, 0.0007843719213269651, 0.0021875083912163973, 0.013759789988398552 ]
16,395
presidio_analyzer.pattern_recognizer
invalidate_result
Logic to check for result invalidation by running pruning logic. For example, each SSN number group should not consist of all the same digits. :param pattern_text: the text to validated. Only the part in text that was detected by the regex engine :return: A bool indicating whether the result is invalidated
def invalidate_result(self, pattern_text: str) -> Optional[bool]: """ Logic to check for result invalidation by running pruning logic. For example, each SSN number group should not consist of all the same digits. :param pattern_text: the text to validated. Only the part in text that was detected by the regex engine :return: A bool indicating whether the result is invalidated """ return None
(self, pattern_text: str) -> Optional[bool]
[ 0.08415624499320984, 0.010606830008327961, 0.034081533551216125, 0.028773752972483635, 0.030729250982403755, -0.055277734994888306, -0.024915138259530067, -0.0526936836540699, 0.06837258487939835, 0.012248051352798939, 0.03935439512133598, 0.019886715337634087, 0.03987818956375122, -0.04944615811109543, -0.015565413981676102, -0.014517825096845627, 0.013295639306306839, 0.01993909478187561, -0.022942179813981056, 0.00249020429328084, -0.060690272599458694, 0.04979535564780235, -0.020253369584679604, 0.06676628440618515, -0.0018190931295976043, 0.01993909478187561, 0.04169400781393051, -0.026556359604001045, -0.05433490499854088, 0.017870107665657997, 0.0333307608962059, 0.01204726379364729, 0.011942504905164242, 0.026835715398192406, -0.03275458887219429, -0.018018515780568123, 0.0039459154941141605, 0.011959964409470558, -0.006783132907003164, -0.016560621559619904, 0.023483432829380035, 0.052728600800037384, 0.004888744559139013, 0.025456391274929047, -0.008332690224051476, -0.030729250982403755, 0.013959111645817757, 0.036735422909259796, -0.05297303944826126, -0.01316469069570303, 0.013644834980368614, -0.005591501481831074, -0.033243462443351746, 0.019310541450977325, 0.053182557225227356, 0.023081857711076736, 0.011488549411296844, 0.08813708275556564, 0.04263683781027794, -0.08108332008123398, -0.014360686764121056, 0.020026393234729767, -0.008419989608228207, 0.04934139922261238, -0.006739483680576086, 0.0016215791692957282, -0.027761084958910942, -0.03235301375389099, -0.02398976869881153, 0.011820285581052303, -0.05541741102933884, 0.0025294888764619827, -0.03263236954808235, -0.001060682930983603, 0.012003613635897636, -0.013601185753941536, 0.03502436354756355, 0.020166071131825447, 0.014247198589146137, 0.018437551334500313, 0.04113529250025749, 0.060271237045526505, 0.06282036751508713, -0.06145850196480751, 0.01772169955074787, -0.05625548213720322, -0.0068442425690591335, -0.029926100745797157, -0.0014906305586919188, -0.015582873485982418, 0.036002110689878464, 0.008511653169989586, -0.0013171237660571933, -0.013478967361152172, 0.03579259291291237, 0.05091278254985809, 0.0716550275683403, -0.04794461652636528, -0.027080152183771133, -0.03446564823389053, 0.015818580985069275, 0.07361052185297012, 0.012248051352798939, -0.04501137137413025, 0.050388988107442856, 0.007621203549206257, -0.00313403457403183, -0.03223079442977905, -0.001893297303467989, 0.06051567569375038, -0.0016215791692957282, 0.01156711857765913, -0.009026717394590378, -0.022627903148531914, 0.011121894232928753, -0.023361215367913246, -0.07780087739229202, -0.03998294845223427, -0.041868604719638824, 0.02606748417019844, 0.03621162846684456, 0.02439134381711483, -0.018472470343112946, 0.057931624352931976, 0.015067809261381626, -0.012352810241281986, 0.010929835960268974, -0.012806764803826809, 0.06173786148428917, -0.016482053324580193, -0.01490194071084261, 0.04357966408133507, -0.033400602638721466, -0.008511653169989586, -0.03917979449033737, 0.04777001962065697, 0.03244031220674515, -0.05171593278646469, 0.013994031585752964, -0.002782655879855156, 0.0043671331368386745, 0.04263683781027794, -0.0005909051978960633, 0.01726774498820305, 0.0042863814160227776, 0.0027280941139906645, -0.0002482565469108522, 0.057198312133550644, 0.03579259291291237, -0.023780250921845436, 0.04337015002965927, -0.02185967192053795, 0.05339207500219345, 0.00861204694956541, -0.0013302186271175742, 0.03221333399415016, 0.040087707340717316, -0.008197377435863018, -0.0009051816305145621, -0.022121569141745567, 0.060969628393650055, -0.03079909086227417, 0.06411239504814148, 0.032981567084789276, 0.02049780823290348, 0.016412213444709778, 0.03722429648041725, -0.018297873437404633, -0.03065941296517849, 0.01678759977221489, 0.013880542479455471, 0.054404743015766144, -0.03263236954808235, 0.025281792506575584, -0.06313464790582657, 0.08066428452730179, -0.007773976773023605, 0.0463033951818943, 0.011401250958442688, 0.05807130038738251, -0.0064513967372477055, 0.0037669523153454065, -0.05800146237015724, 0.027988063171505928, 0.027376970276236534, -0.02564844861626625, -0.047176383435726166, 0.01950259879231453, 0.018874045461416245, -0.009506862610578537, -0.012352810241281986, 0.0023854454047977924, 0.034622788429260254, -0.0073942262679338455, -0.0006132755661383271, -0.04378918185830116, -0.06205213814973831, 0.0031929612159729004, 0.019066104665398598, -0.039948027580976486, -0.031165746971964836, -0.054404743015766144, -0.021004142239689827, 0.037538573145866394, 0.005403808783739805, -0.04808429628610611, -0.0429161936044693, 0.05147149786353111, -0.013679754920303822, 0.02103906124830246, -0.03397677466273308, 0.018594689667224884, 0.06149342283606529, 0.1167711541056633, 0.005975617095828056, -0.033941853791475296, 0.0802452489733696, 0.03303394466638565, -0.030624492093920708, -0.008594587445259094, -0.01316469069570303, -0.047176383435726166, 0.037992529571056366, -0.01470115315169096, -0.034937065094709396, 0.016770139336586, 0.014090060256421566, 0.041449569165706635, 0.014692423865199089, -0.0632743239402771, 0.019886715337634087, -0.0393194742500782, 0.008070793934166431, -0.04099561646580696, 0.021702533587813377, -0.03977343067526817, 0.0003145492519252002, -0.0037516748998314142, 0.03161970153450966, 0.025456391274929047, -0.03263236954808235, -0.0048843794502317905, 0.0069882855750620365, -0.012798034586012363, 0.010694128461182117, 0.023046938702464104, -0.01938037946820259, 0.0204628873616457, 0.01660427264869213, -0.005495472811162472, -0.020183531567454338, -0.01850738935172558, -0.023483432829380035, -0.0031318520195782185, -0.0031798663549125195, -0.019310541450977325, -0.06795354932546616, 0.02552623115479946, 0.06690596044063568, 0.04612879827618599, 0.05223972722887993, 0.017774078994989395, -0.03621162846684456, 0.027673786506056786, 0.009646540507674217, 0.008926323615014553, -0.03844648227095604, 0.051785774528980255, 0.006761308293789625, -0.01810581423342228, -0.027953142300248146, -0.043265391141176224, -0.00028917795862071216, -0.020096231251955032, -0.017171714454889297, 0.055138055235147476, -0.021772373467683792, -0.002605875488370657, -0.006473221816122532, 0.014221008867025375, 0.04281143471598625, 0.02578812837600708, 0.035617996007204056, -0.038376644253730774, 0.0702582448720932, 0.02552623115479946, 0.02091684192419052, -0.04445265606045723, -0.03242285177111626, -0.01658681221306324, -0.04417330026626587, -0.06502030044794083, 0.028773752972483635, -0.02089938335120678, -0.02550877071917057, 0.025962725281715393, 0.04822397232055664, -0.06065535172820091, -0.07640409469604492, 0.01656935177743435, -0.019345460459589958, 0.00776961212977767, 0.00046132071292959154, 0.0028524950612336397, 0.00934099406003952, 0.027953142300248146, -0.019624818116426468, 0.02091684192419052, 0.026818256825208664, 0.011575848795473576, 0.0005789015558548272, -0.008668791502714157, -0.01908356323838234, -0.04375426471233368, -0.003022728255018592, -0.051192138344049454, 0.09987007081508636, -0.008703711442649364, -0.011060784570872784, -0.019607357680797577, -0.015399545431137085, -0.04504628852009773, 0.016857439652085304, -0.012029803358018398, 0.0009864788735285401, -0.02131841890513897, 0.02199934981763363, -0.020829543471336365, -0.019205782562494278, -0.00022684101713821292, -0.006639089901000261, -0.031026069074869156, 0.03596719354391098, 0.0016204878920689225, 0.02339613437652588, -0.06044583395123482, 0.009847328066825867, -0.10664447396993637, 0.05856017768383026, -0.019345460459589958, 0.03284188732504845, 0.03109590709209442, -0.0379226915538311, -0.005429998505860567, 0.029873721301555634, 0.022610444575548172, -0.00568316550925374, 0.015102729201316833, 0.03343551978468895, 0.004679226782172918, -0.010641749016940594, 0.022261247038841248, -0.0345354899764061, -0.0019260344561189413, 0.0676741898059845, 0.041309893131256104, -0.0008375248871743679, 0.020567646250128746, -0.005744274705648422, -0.022366005927324295, -0.015530494041740894, -0.00003778410246013664, -0.022523144260048866, -0.0295419842004776, -0.056639596819877625, -0.028389638289809227, -0.03750365599989891, 0.02171999402344227, 0.030327675864100456, -0.0069402712397277355, -0.056395161896944046, -0.0008331599528901279, -0.015233676880598068, -0.04874776676297188, 0.05143657699227333, -0.007363671436905861, -0.008022778667509556, -0.014456716366112232, -0.015836039558053017, 0.037678252905607224, 0.01894388534128666, -0.023518353700637817, -0.024775458499789238, -0.03914487734436989, 0.011287761852145195, 0.05175085365772247, -0.04330030828714371, 0.0019991472363471985, -0.03621162846684456, -0.03415137156844139, 0.008398164995014668, -0.0021159097086638212, 0.054858699440956116, -0.01967719756066799, -0.017075685784220695, 0.06309972703456879, 0.005997442174702883, 0.021510476246476173, -0.08485464006662369, 0.03306886553764343, 0.010240173898637295, 0.028965812176465988, -0.05894429236650467, -0.007852545939385891, 0.024705620482563972, -0.008708076551556587, 0.030467353761196136, -0.04888744652271271, -0.015923339873552322, 0.018350251019001007, -0.007437875494360924, -0.08764820545911789, -0.02077716402709484, -0.03701477870345116, -0.04127497225999832, 0.001511364127509296, -0.029053110629320145, -0.0061938646249473095, 0.019747035577893257, 0.01810581423342228, 0.018629608675837517, -0.0068573374301195145, 0.04811921343207359, 0.037294138222932816, 0.023500893265008926, 0.023064399138092995, 0.024443723261356354, -0.030013399198651314, -0.025142114609479904, 0.047036707401275635, -0.05936332792043686, -0.001992599805817008, -0.04106545448303223, 0.03418629243969917, 0.013609915971755981, -0.03188159689307213, 0.010310012847185135, -0.030746711418032646, -0.0634838417172432, -0.002455284586176276, 0.01457020454108715, 0.041030533611774445, 0.05367143079638481, 0.0666615217924118, 0.06456635147333145, 0.01574874110519886, 0.02770870551466942, -0.03264982998371124, -0.03897027671337128, -0.0035639822017401457, -0.007682312745600939, 0.03167207911610603, -0.08213090896606445, -0.04176384583115578, -0.029786422848701477, 0.01588841900229454, 0.02201681025326252, -0.0011970876948907971, -0.02674841694533825, 0.0401226244866848, -0.01964227668941021, 0.015347165986895561, -0.10510800778865814, 0.05251908302307129, 0.007010110653936863, -0.037259217351675034, 0.0006165492814034224, -0.023448513820767403, 0.0013684119330719113, 0.016551893204450607, -0.04874776676297188, -0.0534968338906765, 0.001309485174715519, -0.012623436748981476, 0.010624289512634277, 0.0137234041467309, -0.07423907518386841, 0.024705620482563972, 0.020166071131825447, 0.03488468378782272, -0.05171593278646469, 0.06837258487939835, 0.03188159689307213, 0.01352261658757925, -0.02688809484243393, -0.08241026848554611, 0.012361539527773857, -0.07815007120370865, -0.019415300339460373, -0.07416924089193344, -0.04455741494894028, -0.06093470752239227, 0.023343754932284355, 0.012588517740368843, -0.030135618522763252, -0.025892887264490128, -0.044382818043231964, 0.03928455337882042, 0.027673786506056786, -0.02594526670873165, 0.0047403364442288876, 0.045360565185546875, -0.04626847431063652, -0.004375862888991833, 0.06844242662191391, -0.005761734675616026, 0.04846841096878052, -0.03175938129425049, 0.002450919710099697, 0.052868280559778214, -0.06729007512331009, 0.0008255212451331317, 0.04797953739762306, 0.05321747809648514, 0.0038542512338608503, 0.008210471831262112, 0.009437022730708122, -0.05779194459319115, -0.02201681025326252, -0.021824752911925316, -0.038795679807662964, 0.021685075014829636, -0.030834009870886803, -0.03530371934175491, 0.011907584965229034, -0.024024687707424164, -0.022610444575548172, -0.024426262825727463, 0.028494397178292274, -0.029472146183252335, 0.004065951332449913, -0.0035748945083469152, 0.06397271156311035, 0.022680282592773438, 0.0437193438410759, -0.046477992087602615, 0.006106565706431866, 0.02145809680223465, -0.09393373131752014, 0.025683369487524033, -0.049411240965127945, -0.00858149304986, 0.02117873914539814, -0.04860809072852135, 0.03203873708844185, 0.028634075075387955, 0.047036707401275635, 0.008598952554166317, -0.05786178261041641, -0.005962522234767675, -0.013243259862065315, -0.02858169563114643, 0.021824752911925316, 0.023780250921845436, 0.06990905106067657, 0.04804937541484833, 0.02564844861626625, 0.04399869963526726, 0.026364300400018692, -0.011471089906990528, -0.031270503997802734, -0.04176384583115578, 0.06226165592670441, -0.09232743084430695, -0.046757351607084274, -0.02439134381711483, -0.027411889284849167, -0.02034066990017891, -0.03855124115943909, 0.04085593670606613, 0.006381557788699865, -0.04581452161073685, 0.03432597219944, -0.0008506197482347488, -0.07947701960802078, -0.03628147020936012, 0.0017339765327051282, 0.014334497042000294, -0.0179661363363266, 0.007900560274720192, 0.028319798409938812, -0.02552623115479946, 0.0457097627222538, -0.0463033951818943, -0.007979129441082478, 0.004205629695206881, -0.021283498033881187, -0.018769286572933197, -0.003310814965516329, 0.017468532547354698, 0.03568783402442932, 0.0457097627222538, 0.03624654933810234, -0.033103786408901215, -0.004692321643233299, 0.029437227174639702, 0.038690920919179916, 0.014020221307873726, 0.04874776676297188, 0.006573615595698357, 0.026870636269450188, 0.0624711699783802, 0.02690555527806282, -0.01826295256614685, 0.040471822023391724, 0.023588191717863083, -0.04836365208029747, -0.03722429648041725, 0.03151494264602661, 0.00498040858656168, -0.00644703209400177, 0.023221537470817566, 0.015635251998901367, -0.003862981218844652, 0.00031318521359935403, 0.01023144368082285, -0.0003404661256354302, 0.004714146722108126, -0.030432434752583504, 0.02465324103832245, 0.028319798409938812, 0.11586324870586395, 0.03385455533862114, -0.019974013790488243, 0.05363651365041733, 0.012265510857105255, -0.02199934981763363, -0.023605652153491974, -0.023797709494829178, -0.04637323319911957, -0.013470237143337727, 0.03582751378417015, -0.038132209330797195, 0.00686170207336545, -0.06341399997472763, -0.010746507905423641, -0.06428699195384979, 0.02774362452328205, 0.02660873904824257, -0.02035812847316265, -0.040611498057842255, -0.024984976276755333, -0.06760435551404953, -0.005041517782956362, -0.07242325693368912, -0.014028950594365597, -0.003570529632270336, -0.04221780225634575, 0.040751177817583084, 0.023623112589120865, -0.008869579061865807, 0.028668994084000587, 0.06275052577257156, -0.011619498021900654, 0.003935002721846104, 0.07134075462818146, -0.02802298218011856, 0.019956553354859352, -0.032108575105667114, -0.03148002177476883, -0.0584903359413147, 0.010196524672210217, -0.06578853726387024, 0.01463131420314312, 0.04902712255716324, 0.03781793266534805, 0.05576660856604576, -0.021685075014829636, -0.0028175755869597197, 0.023238996043801308, -0.07507714629173279, 0.0035050553269684315, 0.033784717321395874, 0.011287761852145195, 0.0024443722795695066, 0.04026230424642563, -0.0802452489733696, -0.05796654149889946, 0.0004891472635790706, 0.003884806064888835, -0.0005554399685934186, -0.0618775375187397, -0.010170334950089455, -0.01024890411645174, -0.06704563647508621, 0.012771844863891602, -0.09127984195947647, -0.0026298826560378075, 0.01316469069570303, -0.0674646720290184, -0.04176384583115578, 0.04225271940231323, 0.022662822157144547, -0.012798034586012363, -0.007970399223268032, 0.04445265606045723, 0.004722876474261284, 0.07926750183105469, 0.04068133980035782, -0.04068133980035782, 0.0003276440838817507, -0.0012134562712162733, -0.016115397214889526, -0.035897351801395416, -0.04902712255716324, 0.03167207911610603, -0.049830276519060135, -0.03708462044596672, 0.0023374310694634914, -0.025805586948990822, -0.011706797406077385, 0.02145809680223465, -0.007586284074932337, -0.003980834968388081, -0.044941529631614685, -0.004199082497507334, 0.03137526288628578, -0.05335715413093567, 0.04473201185464859, -0.020375588908791542, -0.0033239098265767097, 0.06715039908885956, -0.02660873904824257, 0.020654946565628052, -0.03984326869249344, 0.04944615811109543, -0.04616371542215347, -0.07172486931085587, 0.1039905846118927, -0.028389638289809227, -0.0089830681681633, 0.054719019681215286, -0.007446605712175369, 0.0014906305586919188, 0.0029943559784442186, 0.021964430809020996, -0.03191651776432991, -0.0002987263142131269, -0.004297293722629547, 0.005923237651586533, -0.0008909955504350364, -0.015853499993681908, -0.038376644253730774, -0.05852525681257248, 0.012640896253287792, 0.0463033951818943, 0.02606748417019844, 0.0716550275683403, -0.0033719241619110107, -0.05810622125864029, 0.024199286475777626, -0.031986355781555176, 0.023937389254570007, 0.04832873120903969, 0.04389394074678421, 0.03067687153816223, 0.007957304827868938, 0.06379811465740204, 0.014526555314660072, 0.021493015810847282, 0.0019293081713840365, 0.060690272599458694, 0.024304045364260674, -0.013313098810613155, -0.04944615811109543, -0.005652611143887043, -0.017538370564579964, 0.059572845697402954 ]
16,396
presidio_analyzer.pattern_recognizer
load
null
def load(self): # noqa D102 pass
(self)
[ -0.010847529396414757, -0.01741616427898407, -0.05905582383275032, 0.02800731360912323, -0.007885897532105446, -0.00788147747516632, 0.07097307592630386, 0.05520128458738327, -0.032144758850336075, -0.04621914029121399, -0.0037484534550458193, 0.002711882349103689, -0.009220842272043228, 0.033718399703502655, -0.049543239176273346, 0.021447518840432167, -0.047244660556316376, 0.07999058812856674, -0.045794785022735596, -0.04296576604247093, -0.08465847373008728, -0.01555961836129427, 0.029032833874225616, -0.009839690290391445, 0.009247364476323128, 0.050321221351623535, -0.025231335312128067, -0.013720754534006119, 0.0226675346493721, -0.057994943112134933, -0.03868687152862549, 0.0032533747144043446, 0.005202747415751219, 0.04098545014858246, -0.016859199851751328, -0.010140273720026016, 0.020899396389722824, 0.003452290315181017, -0.006520010530948639, -0.03865150734782219, -0.015709910541772842, 0.024046683683991432, 0.050321221351623535, -0.04179879277944565, 0.006869217846542597, -0.023286383599042892, -0.005879060365259647, 0.044344913214445114, -0.006909001152962446, -0.012757118791341782, 0.008190901950001717, 0.028396304696798325, -0.014215833507478237, 0.047350749373435974, -0.03911122307181358, 0.02188955433666706, 0.013367126695811749, 0.07390818744897842, 0.00456621777266264, 0.06276891380548477, -0.005971887614578009, -0.035044506192207336, -0.011616669595241547, -0.03336477279663086, 0.033718399703502655, -0.0033086291514337063, 0.021500563248991966, -0.01978546939790249, 0.0011437645880505443, 0.047350749373435974, -0.002395827556028962, -0.02873224951326847, 0.018795311450958252, 0.033647675067186356, 0.041409801691770554, -0.04063182324171066, -0.09342844039201736, -0.05201863497495651, 0.010290565900504589, 0.02337479032576084, 0.015002654865384102, -0.002451081993058324, -0.03879295662045479, -0.0020852982997894287, -0.017000650987029076, -0.04692639410495758, 0.05523664504289627, -0.027636004611849785, -0.040525734424591064, -0.014595983549952507, -0.04303649067878723, 0.04763365164399147, -0.07680793851613998, 0.02132374979555607, 0.02795426920056343, -0.04027819633483887, 0.01025520358234644, -0.003525226144120097, -0.025991635397076607, 0.0005008804728277028, -0.006409502122551203, -0.046466678380966187, -0.03166735917329788, -0.01655861735343933, 0.0023648852948099375, 0.00987505353987217, 0.027565278112888336, 0.0053044152446091175, -0.04696175828576088, -0.01242117304354906, -0.025567281991243362, 0.010511583648622036, 0.014171630144119263, 0.07390818744897842, -0.0063210949301719666, -0.07291802763938904, 0.002614634810015559, -0.004769553430378437, 0.04183415696024895, 0.02659280225634575, -0.01600165292620659, 0.0455118827521801, -0.07051336020231247, -0.01102434378117323, 0.058631472289562225, 0.06559793651103973, -0.009273886680603027, -0.02360464818775654, 0.06941711902618408, -0.048022642731666565, 0.08055639266967773, 0.0016653654165565968, -0.03502682223916054, -0.044309549033641815, 0.023180294781923294, -0.040596459060907364, 0.048093367367982864, 0.03612307086586952, -0.012297403067350388, 0.06188484653830528, 0.0015294398181140423, 0.01212058961391449, 0.06644664704799652, -0.0379088893532753, 0.010317088104784489, -0.010104911401867867, -0.021588969975709915, 0.0021748102735728025, -0.07454472035169601, 0.00489332340657711, 0.05000295490026474, -0.05622680485248566, -0.07210468500852585, 0.0031494966242462397, -0.026026997715234756, -0.005940945353358984, -0.010166795924305916, -0.019502567127346992, -0.03410739079117775, -0.05145283043384552, -0.027140924707055092, -0.007364296820014715, -0.025231335312128067, -0.039818476885557175, -0.011484059505164623, 0.02204868756234646, -0.0041529154404997826, -0.04264749959111214, -0.02717628888785839, 0.01242117304354906, -0.07503979653120041, -0.043602295219898224, -0.00788147747516632, 0.060894690454006195, 0.02280898578464985, 0.044168099761009216, -0.01592208631336689, 0.04063182324171066, 0.0264336708933115, 0.023215658962726593, 0.03414275497198105, -0.0033086291514337063, 0.0025682211853563786, -0.01662934198975563, 0.037449173629283905, 0.05682796984910965, 0.03656510263681412, 0.011148112826049328, 0.04445100203156471, 0.015780635178089142, 0.03380680829286575, 0.017884720116853714, 0.02349856123328209, 0.017186306416988373, 0.014967292547225952, -0.05520128458738327, -0.035168275237083435, -0.019343435764312744, -0.017027173191308975, 0.0607178770005703, 0.008093654178082943, 0.02203100547194481, 0.05074557289481163, -0.00827046763151884, -0.020262867212295532, 0.03172040358185768, -0.025549601763486862, -0.010670715942978859, 0.024753939360380173, -0.012606827542185783, -0.018724586814641953, -0.05081630125641823, -0.024364948272705078, 0.00047988383448682725, 0.044309549033641815, -0.05212472379207611, -0.06595156341791153, -0.04438027739524841, -0.031419821083545685, 0.020121416077017784, 0.1659221202135086, 0.08211234956979752, -0.07758591324090958, -0.05725232511758804, -0.020262867212295532, 0.0012564833741635084, -0.00982200913131237, -0.038969773799180984, -0.026822660118341446, 0.024471037089824677, 0.027140924707055092, -0.02498379722237587, -0.019838513806462288, -0.024594806134700775, 0.051983270794153214, 0.04621914029121399, 0.008946781046688557, 0.07224614173173904, -0.014834681525826454, 0.0025041261687874794, 0.01675311289727688, 0.0022123833186924458, -0.06259210407733917, -0.008566631004214287, -0.00015070618246681988, -0.015718750655651093, -0.0226675346493721, 0.007536690216511488, 0.015701070427894592, 0.01401249784976244, 0.06390052288770676, -0.009618673473596573, -0.010741441510617733, 0.022313907742500305, -0.02885602042078972, -0.0831732302904129, 0.003671097569167614, -0.08769966661930084, 0.06192021071910858, -0.033842168748378754, -0.010370132513344288, -0.0027339840307831764, 0.04250605031847954, 0.06503213196992874, -0.02431190386414528, 0.021606652066111565, 0.00219138665124774, -0.026981793344020844, 0.004928686190396547, -0.014481053687632084, 0.1506454050540924, 0.04109153896570206, -0.0017526672454550862, 0.013818002305924892, -0.008217423222959042, -0.03340013697743416, 0.021553607657551765, 0.026911066845059395, 0.006714506074786186, 0.03099546767771244, 0.04918961226940155, -0.020103733986616135, 0.04989686608314514, 0.028449347242712975, -0.04239996150135994, -0.06952320784330368, -0.020209822803735733, -0.05452939122915268, -0.05923263728618622, -0.05350387096405029, 0.0069664656184613705, 0.030022991821169853, 0.016249192878603935, -0.017699066549539566, 0.07829317450523376, -0.030111398547887802, -0.04183415696024895, 0.01821182668209076, 0.030730247497558594, -0.0005146940820850432, -0.03324100375175476, -0.05806566774845123, 0.05665115639567375, 0.011501740664243698, 0.001345995464362204, -0.054034311324357986, -0.004972889553755522, -0.0006923367036506534, -0.04834090545773506, 0.03546885773539543, 0.03469087556004524, 0.022490721195936203, 0.035946253687143326, 0.04667885601520538, 0.020033009350299835, 0.003381564747542143, -0.01094477716833353, 0.013711913488805294, 0.03493841737508774, 0.035963937640190125, -0.05177109315991402, 0.02788354456424713, 0.0033241002820432186, -0.04038428142666817, 0.03925267234444618, -0.017115579918026924, 0.07023046165704727, -0.0024245597887784243, -0.002215698594227433, -0.025867866352200508, -0.032215483486652374, -0.017610659822821617, 0.004314257763326168, 0.0190428514033556, 0.027689049020409584, 0.021376794204115868, -0.007377557922154665, -0.023763781413435936, 0.01668238639831543, -0.03332940861582756, 0.020687220618128777, -0.019308071583509445, 0.013349445536732674, -0.009574470110237598, 0.011607829481363297, -0.04321330413222313, -0.001848809770308435, -0.029651682823896408, 0.03541581332683563, -0.029032833874225616, -0.038863684982061386, -0.024630168452858925, 0.01819414459168911, 0.06142513081431389, -0.00720074400305748, -0.08190017193555832, -0.0056359414011240005, 0.045794785022735596, -0.00530883576720953, -0.0376967117190361, 0.04324866831302643, -0.03999529406428337, -0.04013674333691597, -0.010166795924305916, -0.02119998075067997, -0.006679143290966749, -0.028590798377990723, -0.0266281645745039, -0.010378972627222538, 0.0019084844971075654, -0.030677203088998795, -0.039712391793727875, -0.046572767198085785, 0.00529557466506958, 0.024064363911747932, 0.01180232409387827, 0.020934758707880974, 0.0453704334795475, -0.05392822250723839, 0.03306419029831886, 0.037873525172472, 0.06909885257482529, -0.019997647032141685, -0.005715507548302412, 0.012960455380380154, -0.02717628888785839, 0.005671304184943438, 0.004734190646559, 0.02190723642706871, -0.017875880002975464, 0.05053339898586273, -0.01671774871647358, -0.00010512135486351326, 0.009097072295844555, -0.01555961836129427, 0.01441032811999321, -0.026026997715234756, 0.04402664676308632, 0.04080863669514656, 0.023710737004876137, 0.009061709977686405, -0.023144932463765144, 0.008367715403437614, 0.06337008625268936, -0.023586967960000038, -0.010476220399141312, 0.023251021280884743, -0.016991810873150826, -0.017239350825548172, -0.021040847525000572, 0.01242117304354906, 0.029722407460212708, 0.0034655514173209667, -0.023887550458312035, -0.00302572688087821, 0.02123534306883812, 0.06107150390744209, -0.050356585532426834, -0.01210290752351284, 0.007351035717874765, -0.024435672909021378, 0.014454532414674759, 0.048058003187179565, -0.02119998075067997, -0.017707906663417816, -0.004919845145195723, -0.026026997715234756, 0.04225850850343704, 0.010007663629949093, -0.013720754534006119, -0.044168099761009216, 0.05675724521279335, -0.037378448992967606, -0.048058003187179565, 0.029987627640366554, -0.03575176000595093, -0.04006601870059967, -0.03394825756549835, 0.021482883021235466, 0.0062857321463525295, -0.011316086165606976, 0.012801322154700756, 0.06489068269729614, 0.019484886899590492, 0.011952616274356842, -0.04293040186166763, -0.08472919464111328, 0.11818237602710724, 0.010679556056857109, -0.015674548223614693, -0.0455472469329834, 0.03127836808562279, 0.059444814920425415, -0.030659520998597145, -0.04858844354748726, -0.018724586814641953, 0.00870366208255291, -0.029952265322208405, 0.03251606598496437, -0.014127426780760288, -0.030677203088998795, 0.012748278677463531, -0.009021926671266556, -0.06669418513774872, 0.002409088658168912, 0.026292219758033752, -0.051028475165367126, 0.02109389193356037, -0.014587142504751682, -0.006033772602677345, 0.0112984050065279, -0.009866212494671345, 0.025231335312128067, -0.07836389541625977, -0.05852538347244263, 0.045865513384342194, 0.043602295219898224, 0.02360464818775654, 0.006011670920997858, -0.023286383599042892, 0.05650970712304115, -0.07313020527362823, -0.0004704906023107469, 0.01581599935889244, -0.017884720116853714, -0.018026171252131462, 0.001477500656619668, 0.00434298999607563, 0.03256911039352417, -0.024630168452858925, 0.00006630519055761397, 0.0607886016368866, -0.042081695050001144, 0.005905582569539547, 0.050391945987939835, -0.007028350606560707, 0.013729595579206944, 0.016204988583922386, 0.002157128881663084, -0.007346615195274353, 0.01442801021039486, -0.05382213369011879, -0.008982143364846706, 0.012350447475910187, 0.008756705559790134, -0.007779809180647135, 0.03037661872804165, 0.007046031765639782, 0.02187187224626541, -0.059480179101228714, -0.03027052991092205, 0.027600642293691635, -0.007178642321377993, 0.029863858595490456, 0.04388519749045372, -0.0014576091198250651, -0.022897392511367798, 0.07146815955638885, -0.05477692931890488, 0.0452289804816246, 0.02882065623998642, -0.03166735917329788, 0.04218778386712074, -0.06283964216709137, -0.044168099761009216, -0.01664702408015728, -0.075110524892807, -0.008796488866209984, 0.010016504675149918, 0.023781461641192436, 0.05534273386001587, -0.04190488159656525, 0.03928803652524948, -0.05746449902653694, 0.007519009057432413, 0.0607532374560833, 0.00564920250326395, -0.0018996438011527061, -0.03435492888092995, -0.0189898069947958, 0.011855368502438068, -0.03836860507726669, 0.019148940220475197, 0.04848235845565796, 0.023162614554166794, -0.02634526416659355, -0.05131137743592262, 0.05095775052905083, -0.01582483947277069, 0.027017155662178993, 0.029687045142054558, 0.005613839719444513, -0.03879295662045479, -0.053397782146930695, 0.051735732704401016, -0.08211234956979752, -0.0022853189148008823, 0.004212589934468269, 0.02791890688240528, 0.03612307086586952, 0.04830554500222206, -0.013588144443929195, -0.05668652057647705, 0.05424648895859718, -0.02579713985323906, 0.018636180087924004, -0.05774740129709244, 0.006471386644989252, -0.07843462377786636, 0.01091825496405363, 0.016903404146432877, -0.01558614056557417, 0.038227152079343796, -0.004365091677755117, 0.05223080888390541, 0.04865917190909386, -0.0035782703198492527, 0.06397125124931335, 0.0013968293787911534, -0.03477928414940834, 0.009839690290391445, 0.013552781194448471, 0.046431317925453186, -0.016417166218161583, -0.0024532920215278864, -0.05817175656557083, -0.02942182496190071, 0.058560747653245926, 0.08678023517131805, -0.03642365336418152, -0.012438854202628136, -0.009344612248241901, 0.007770968601107597, -0.04183415696024895, 0.013588144443929195, 0.016505572944879532, 0.01434844359755516, -0.022950436919927597, 0.011784642934799194, -0.04137444123625755, -0.004457918927073479, 0.020033009350299835, 0.002612424548715353, 0.011042024940252304, -0.0030279371421784163, 0.031207643449306488, 0.012527260929346085, 0.044238824397325516, 0.010732600465416908, 0.034372612833976746, -0.006024932023137808, -0.04901279881596565, 0.0012443274026736617, -0.047173935920000076, -0.021306069567799568, -0.02966936305165291, 0.0033174697309732437, -0.006254789885133505, 0.007032770663499832, 0.015232512727379799, -0.007598575204610825, -0.01553309615701437, 0.009989982470870018, 0.018565453588962555, -0.020987803116440773, 0.04922497645020485, -0.018335595726966858, 0.011961456388235092, 0.008305830880999565, 0.010732600465416908, -0.0022024374920874834, -0.0038479112554341555, 0.03262215480208397, -0.02346319705247879, -0.008624095469713211, 0.01900748908519745, 0.05392822250723839, -0.004725350067019463, 0.02503684163093567, 0.029103558510541916, 0.009468381293118, -0.046431317925453186, -0.03396594151854515, 0.026822660118341446, -0.07942478358745575, 0.0068117533810436726, -0.05212472379207611, -0.0028688046149909496, 0.03727236017584801, 0.0007829538080841303, 0.027052517980337143, 0.010219840332865715, -0.012014500796794891, 0.00292847934179008, -0.004285525530576706, 0.003816968994215131, 0.012783640995621681, -0.0376613512635231, 0.013588144443929195, -0.01746036671102047, -0.020262867212295532, 0.003516385331749916, -0.022260863333940506, -0.0007509062997996807, 0.04296576604247093, 0.02360464818775654, -0.023993639275431633, 0.007386398501694202, -0.01957329362630844, 0.0016653654165565968, -0.03485000878572464, -0.005096659064292908, -0.007359876297414303, -0.03248070552945137, -0.018671542406082153, -0.02484234608709812, -0.0024555022828280926, -0.06315790861845016, 0.048871345818042755, 0.011289563961327076, -0.047315385192632675, 0.03103082999587059, -0.0033395716454833746, -0.017018333077430725, -0.04307185485959053, 0.11648496240377426, -0.03840396925806999, 0.01287204772233963, 0.06100077927112579, -0.04080863669514656, 0.004999411758035421, 0.024506399407982826, -0.011254201643168926, 0.010219840332865715, 0.0018311283783987164, -0.006069135386496782, 0.0074924868531525135, -0.08395121246576309, 0.008730183355510235, 0.021801147609949112, 0.01098013948649168, -0.06683563441038132, -0.011077387258410454, -0.0025107567198574543, 0.012235518544912338, -0.0010741441510617733, -0.049613963812589645, 0.048058003187179565, -0.08621443063020706, -0.007558791898190975, 0.06722462177276611, 0.0004986703279428184, -0.028396304696798325, -0.041232988238334656, 0.03032357431948185, -0.056332893669605255, -0.015011495910584927, 0.02116461843252182, -0.005419344641268253, -0.010184478014707565, -0.014551779255270958, 0.010246362537145615, -0.012465376406908035, 0.02342783473432064, 0.07012437283992767, 0.05523664504289627, -0.03248070552945137, -0.05378677323460579, -0.02346319705247879, 0.044981442391872406, 0.052619799971580505, 0.02501915954053402, -0.03506218641996384, 0.05212472379207611, 0.000690126558765769, -0.058596108108758926, 0.005949785932898521, 0.05003831908106804, 0.05520128458738327, -0.004636943340301514, -0.0012575885048136115, -0.01595745049417019, -0.004026935435831547, 0.05067484825849533, -0.04749219864606857, 0.011271882802248001, 0.03999529406428337, 0.014277718029916286, -0.014224673621356487, 0.10545177757740021, -0.027830500155687332, 0.05350387096405029, 0.01244769524782896, 0.0607178770005703, -0.0013603615807369351, -0.03568103536963463, 0.025567281991243362, -0.013375967741012573, -0.01472859364002943, -0.07942478358745575, -0.046608131378889084, -0.047173935920000076, -0.04929570108652115, 0.03030589409172535, 0.05237226188182831, 0.03656510263681412, 0.021412156522274017, 0.0010133644100278616 ]
16,398
presidio_analyzer.pattern_recognizer
to_dict
Serialize instance into a dictionary.
def to_dict(self) -> Dict: """Serialize instance into a dictionary.""" return_dict = super().to_dict() return_dict["patterns"] = [pat.to_dict() for pat in self.patterns] return_dict["deny_list"] = self.deny_list return_dict["context"] = self.context return_dict["supported_entity"] = return_dict["supported_entities"][0] del return_dict["supported_entities"] return return_dict
(self) -> Dict
[ 0.03717115521430969, -0.06954103708267212, 0.015100782737135887, -0.03378316015005112, -0.03010476380586624, -0.006592072080820799, -0.009699348360300064, -0.030143484473228455, -0.0018827577587217093, -0.0044213347136974335, 0.013697183690965176, -0.013135744258761406, -0.03289259970188141, 0.012680784799158573, -0.0034025160130113363, -0.03269900009036064, -0.015400862321257591, 0.021470215171575546, -0.016301101073622704, -0.005691833328455687, -0.015449262224137783, -0.02905932627618313, 0.014868462458252907, 0.018169337883591652, -0.011887026019394398, 0.030337084084749222, -0.021354055032134056, -0.024122532457113266, 0.0006685242406092584, 0.019814936444163322, -0.03382188081741333, -0.022322053089737892, 0.05262041836977005, 0.03537067770957947, -0.017143260687589645, -0.03260220214724541, -0.049948740750551224, 0.06094520911574364, -0.1219678595662117, 0.021470215171575546, -0.03618379682302475, 0.010996467433869839, -0.049406662583351135, 0.004501194693148136, 0.03469308093190193, 0.04119803011417389, 0.01784989982843399, 0.05416921526193619, 0.05021978169679642, -0.04661882668733597, 0.02510989084839821, -0.033434681594371796, -0.014307023026049137, 0.029504604637622833, -0.0331636406481266, -0.02739436738193035, -0.00907014962285757, 0.09571573138237, 0.015381501987576485, 0.01876949891448021, -0.03128572180867195, -0.0011857985518872738, 0.003281516255810857, -0.03599019721150398, -0.03010476380586624, -0.00622907280921936, -0.09021749347448349, -0.028149407356977463, -0.009568668901920319, 0.050994180142879486, 0.007443911395967007, -0.094012051820755, 0.017598219215869904, 0.05711193382740021, 0.026387648656964302, -0.03792619705200195, 0.023251332342624664, -0.002101767575368285, 0.01213870570063591, -0.0015052382368594408, -0.011141667142510414, -0.011248147115111351, -0.009258909150958061, 0.004748034290969372, 0.025497090071439743, 0.026542529463768005, -0.003262156154960394, -0.03378316015005112, -0.015584781765937805, -0.03569979965686798, -0.03599019721150398, 0.058312252163887024, -0.02598108910024166, 0.06334584206342697, 0.013193824328482151, 0.01784989982843399, -0.025380929931998253, 0.006379112601280212, 0.0037921355105936527, -0.0031217962969094515, -0.03235052153468132, 0.05804121121764183, -0.07960822433233261, -0.016852859407663345, -0.013648783788084984, -0.07484567165374756, -0.014210223220288754, -0.026348929852247238, -0.015129822306334972, 0.0148491021245718, -0.02811068668961525, 0.05172985792160034, 0.04437306895852089, 0.034325238317251205, 0.038332756608724594, -0.03577723726630211, -0.04638650640845299, 0.00410189526155591, 0.04224346950650215, -0.01874045841395855, -0.020366696640849113, 0.08371254056692123, -0.02286413311958313, 0.06470104306936264, -0.02222525328397751, 0.03790683671832085, -0.013184144161641598, 0.01661086082458496, 0.06725656241178513, 0.017423979938030243, -0.04294043034315109, 0.00797147024422884, -0.04898074269294739, -0.026058528572320938, 0.03554491698741913, -0.06791479885578156, 0.01375526376068592, -0.011073906905949116, -0.0034267159644514322, 0.06152600795030594, 0.01422958355396986, 0.02917548641562462, 0.03353147953748703, -0.0021707373671233654, -0.041159313172101974, -0.028904445469379425, 0.01649470068514347, 0.054943617433309555, -0.025671329349279404, -0.05773145332932472, 0.055718015879392624, 0.012922785244882107, -0.0027854167856276035, 0.015478301793336868, -0.00968966819345951, 0.022380134090781212, -0.039920274168252945, -0.029020605608820915, -0.013087344355881214, -0.02110237441956997, -0.035912759602069855, -0.03134380280971527, -0.0015645282110199332, -0.013358384370803833, 0.016533421352505684, 0.010764147154986858, 0.09331508725881577, -0.053123775869607925, 0.017801498994231224, -0.017220700159668922, -0.04836122319102287, -0.019127657637000084, -0.06597880274057388, 0.039629872888326645, -0.0034726958256214857, 0.08409973978996277, 0.05413049831986427, 0.04232091084122658, 0.006282312795519829, 0.059009209275245667, 0.0588156096637249, -0.016426941379904747, -0.017511099576950073, 0.049638982862234116, 0.0873522162437439, -0.07163191586732864, 0.018759818747639656, 0.06594008207321167, 0.0019916577730327845, 0.049871303141117096, 0.021605733782052994, 0.011083587072789669, -0.013009904883801937, -0.02934972569346428, -0.045573387295007706, -0.03165356442332268, -0.026019809767603874, -0.036977555602788925, -0.08789429813623428, 0.04201114922761917, -0.041275471448898315, -0.059125371277332306, -0.013900463469326496, 0.0061806729063391685, -0.006742111872881651, 0.024180611595511436, 0.0033589559607207775, -0.021179815754294395, 0.0040220352821052074, -0.006988951936364174, -0.04189499095082283, -0.029620764777064323, -0.0018295178888365626, -0.05169114097952843, 0.07387766987085342, -0.07577495276927948, 0.019737496972084045, 0.048167623579502106, -0.04255323112010956, -0.0014048083685338497, 0.002101767575368285, -0.006834072060883045, -0.03145996481180191, -0.05498233437538147, -0.0377713143825531, -0.039455633610486984, -0.012448465451598167, -0.05525337532162666, -0.04809018224477768, -0.018963098526000977, -0.007613311056047678, -0.05862201005220413, -0.008929789066314697, 0.027471808716654778, 0.05602777376770973, 0.06326840817928314, 0.03122764267027378, -0.01620430126786232, 0.011625666171312332, 0.05509849637746811, 0.059009209275245667, -0.0003735870704986155, 0.011741826310753822, 0.0037388955242931843, -0.011354627087712288, 0.04030747339129448, 0.10012980550527573, -0.003637255635112524, 0.0484386645257473, -0.03794555366039276, 0.03511899709701538, -0.032795801758766174, -0.04712218418717384, 0.05107162147760391, -0.03047260455787182, -0.04878714308142662, -0.04100443050265312, 0.02474205009639263, 0.036977555602788925, -0.037326037883758545, 0.008247350342571735, 0.007816591300070286, -0.048825863748788834, -0.013832704164087772, 0.011703106574714184, 0.00667435210198164, -0.009254069067537785, 0.026774847880005836, -0.06857304275035858, 0.007119631860405207, 0.10059443861246109, -0.043869707733392715, 0.0019117977935820818, -0.0017702279146760702, -0.019708456471562386, 0.010028468444943428, 0.009074989706277847, -0.05215577781200409, -0.025206690654158592, 0.017753100022673607, 0.013890783302485943, -0.041391629725694656, 0.030240284278988838, -0.012148385867476463, 0.07492311298847198, -0.018411338329315186, -0.00998974870890379, 0.05049082264304161, 0.004832734353840351, -0.030859803780913353, -0.015294382348656654, 0.0111707067117095, -0.036319319158792496, 0.004266454838216305, 0.03134380280971527, 0.013426144607365131, -0.007889190688729286, -0.0729483962059021, 0.0484386645257473, 0.044760268181562424, -0.002087247557938099, 0.04177883267402649, 0.07852406799793243, 0.048167623579502106, -0.024412931874394417, -0.006732432171702385, 0.03238924220204353, 0.024006372317671776, 0.013871423900127411, 0.020695814862847328, -0.03542875871062279, 0.033318519592285156, 0.03393803909420967, 0.07081879675388336, -0.051536258310079575, -0.020753895863890648, -0.027491167187690735, 0.01856621913611889, 0.043753549456596375, 0.094012051820755, -0.04177883267402649, 0.040578510612249374, -0.017772458493709564, -0.02462589181959629, 0.1196446567773819, -0.05734425410628319, 0.058544572442770004, 0.006146792788058519, 0.07093495875597, 0.016707660630345345, -0.019795576110482216, -0.04313402995467186, 0.013038944453001022, 0.03906843438744545, -0.031208284199237823, 0.03192460164427757, 0.03475115820765495, -0.0444117896258831, -0.04913562163710594, -0.01334870420396328, -0.01585582084953785, -0.009079829789698124, -0.026232769712805748, -0.018382297828793526, -0.05343353748321533, -0.01885661855340004, -0.024238690733909607, 0.018759818747639656, -0.025729410350322723, 0.003119376255199313, -0.03930075466632843, 0.011683746241033077, 0.0588156096637249, 0.07689782977104187, -0.002877376740798354, -0.06590136140584946, 0.0006878841668367386, -0.025245411321520805, -0.044876426458358765, -0.01675605960190296, 0.058544572442770004, 0.012312945909798145, -0.007472951430827379, -0.01894373819231987, 0.026252130046486855, 0.013164784759283066, 0.007879510521888733, -0.02226397395133972, 0.08696501702070236, -0.07174807786941528, -0.0232126135379076, 0.04193371161818504, -0.017714379355311394, -0.040036432445049286, 0.04108187183737755, 0.008857189677655697, -0.02762668766081333, 0.04809018224477768, -0.041740112006664276, 0.05784761160612106, -0.028188126161694527, 0.049522820860147476, 0.018992137163877487, 0.018750138580799103, 0.025903649628162384, -0.02952396497130394, 0.08030518889427185, 0.006074192933738232, 0.01196446642279625, -0.0009444038732908666, -0.01882757805287838, -0.017462698742747307, -0.05068442225456238, -0.0059580327942967415, -0.0680309608578682, -0.04023003205657005, -0.04677370563149452, 0.022283334285020828, -0.020463496446609497, 0.016707660630345345, 0.030956603586673737, -0.03988155350089073, 0.03542875871062279, -0.019311577081680298, 0.02569068968296051, -0.04290170967578888, 0.06210680678486824, 0.029562685638666153, 0.04754810407757759, -0.010851267725229263, -0.04766426235437393, -0.05393689498305321, 0.011035187169909477, -0.04294043034315109, 0.030569404363632202, -0.032563481479883194, 0.05265913903713226, 0.027375007048249245, -0.02197357453405857, 0.03016284480690956, 0.037751954048871994, 0.025806849822402, 0.023231972008943558, 0.009825188666582108, 0.016514061018824577, -0.018343579024076462, -0.019398696720600128, -0.009292788803577423, -0.022960932925343513, 0.02534221112728119, 0.00621455255895853, 0.006732432171702385, -0.02015373669564724, -0.08456438034772873, 0.054362814873456955, -0.021315334364771843, 0.06233912706375122, -0.059783611446619034, -0.014287663623690605, 0.08069238811731339, -0.011112626641988754, 0.014307023026049137, 0.028827005997300148, 0.03612571582198143, 0.06880535930395126, -0.018372617661952972, -0.07426487654447556, 0.023851491510868073, 0.054478976875543594, -0.029775645583868027, 0.03411227837204933, 0.0010714537929743528, 0.047470662742853165, -0.06419768184423447, -0.03384124115109444, 0.04344378784298897, 0.08185398578643799, -0.029543325304985046, 0.008571630343794823, 0.009839708916842937, 0.03207948058843613, -0.0009365389123558998, -0.02174125425517559, 0.04561210796236992, -0.01932125724852085, 0.006592072080820799, -0.027781566604971886, -0.004960994236171246, -0.030491964891552925, 0.008711989969015121, 0.022728612646460533, 0.011741826310753822, -0.04030747339129448, -0.08030518889427185, -0.04599930718541145, 0.07298711687326431, 0.07182551920413971, -0.007332591339945793, -0.04708346351981163, -0.01871141791343689, -0.014907182194292545, -0.03471243754029274, -0.018604937940835953, 0.023193253204226494, -0.027975168079137802, -0.06841816008090973, 0.02174125425517559, -0.0178789384663105, -0.06346200406551361, 0.030259644612669945, -0.026794208213686943, -0.049522820860147476, -0.037984274327754974, 0.029272286221385002, 0.03558363765478134, 0.03624187782406807, -0.013155104592442513, 0.04925178363919258, 0.01649470068514347, -0.055601853877305984, -0.00008522927237208933, -0.04967770352959633, -0.027859007939696312, 0.011751506477594376, -0.03482859954237938, 0.007443911395967007, -0.030627483502030373, 0.00788435060530901, -0.011190067045390606, 0.031614843755960464, -0.024664610624313354, 0.015662221238017082, 0.035467479377985, 0.013900463469326496, -0.01125782635062933, 0.04011387377977371, -0.032331161201000214, 0.029078686609864235, -0.01063830778002739, -0.0239289328455925, -0.006930871866643429, 0.05792505294084549, 0.03924267366528511, -0.00846031028777361, 0.014781342819333076, 0.01784989982843399, -0.021237894892692566, -0.016998060047626495, 0.026852289214730263, 0.01640758104622364, 0.03792619705200195, -0.03887483477592468, 0.002475657034665346, -0.003325076075270772, -0.008779749274253845, 0.030201565474271774, 0.035080280154943466, 0.009065309539437294, -0.06346200406551361, 0.023657891899347305, 0.038739316165447235, -0.026252130046486855, -0.015487981960177422, -0.05320121720433235, 0.049406662583351135, 0.019650377333164215, -0.01911797747015953, -0.013561664149165154, -0.032853882759809494, -0.016146220266819, -0.006035472732037306, -0.007211591582745314, 0.00116583367343992, -0.029136765748262405, 0.02516796998679638, -0.012767905369400978, 0.02534221112728119, -0.02286413311958313, 0.009510588832199574, 0.03186652436852455, -0.0177337396889925, -0.0021029775962233543, -0.059125371277332306, -0.019902056083083153, -0.05072313919663429, 0.005202993750572205, 0.0007943640812300146, 0.09300532937049866, -0.10191091895103455, 0.04177883267402649, -0.0017968479078263044, -0.013861743733286858, 0.03428652137517929, 0.019389016553759575, 0.005696673411875963, 0.027917087078094482, 0.01582678221166134, 0.022941572591662407, 0.029156126081943512, -0.03771323710680008, 0.005570833571255207, 0.026968447491526604, 0.014868462458252907, -0.03434459865093231, -0.003675975603982806, 0.0039228154346346855, -0.0022590672597289085, 0.05567929521203041, 0.01750141941010952, -0.00006658773781964555, -0.03790683671832085, 0.022012293338775635, 0.03500283882021904, 0.010870627127587795, 0.024722691625356674, -0.03511899709701538, -0.012864705175161362, -0.015284702181816101, -0.019708456471562386, -0.017578858882188797, -0.015759021043777466, -0.0028846366330981255, 0.009065309539437294, 0.023309413343667984, 0.06291992962360382, -0.01966973766684532, 0.0077246311120688915, -0.024412931874394417, -0.03134380280971527, -0.018692057579755783, -0.038623154163360596, 0.015187902376055717, 0.027297567576169968, -0.04042363166809082, 0.010318867862224579, -0.03134380280971527, -0.025884289294481277, 0.007245471701025963, -0.010618947446346283, 0.0027466968167573214, 0.048942022025585175, 0.02586492896080017, -0.018517818301916122, 0.009646108373999596, -0.038332756608724594, -0.017317499965429306, -0.008808789774775505, 0.02534221112728119, -0.01025110762566328, -0.011006146669387817, 0.016620540991425514, -0.015158861875534058, -0.011432066559791565, -0.030917882919311523, -0.02799452655017376, 0.04561210796236992, 0.013716544024646282, -0.021838054060935974, 0.01508142240345478, 0.035912759602069855, 0.03122764267027378, -0.03664843738079071, -0.01565254107117653, -0.008353830315172672, -0.10152371972799301, 0.025729410350322723, 0.0015911480877548456, -0.04201114922761917, 0.004779494367539883, -0.031188923865556717, 0.008586149662733078, 0.02121853455901146, -0.01245814561843872, -0.032563481479883194, -0.017869258299469948, 0.05873817205429077, -0.021315334364771843, 0.027471808716654778, 0.011954786255955696, 0.0005257443990558386, -0.04851610213518143, 0.049406662583351135, -0.026019809767603874, -0.07747863233089447, 0.024587171152234077, 0.04754810407757759, -0.044992588460445404, 0.003344436176121235, 0.023173892870545387, 0.014258623123168945, 0.027316927909851074, 0.008411910384893417, -0.020192455500364304, 0.05227193981409073, -0.06299736350774765, 0.020870056003332138, -0.03180844336748123, -0.017191659659147263, 0.02758796699345112, -0.02751052752137184, -0.020773256197571754, 0.017927339300513268, 0.0036638756282627583, 0.0625714436173439, -0.0064226724207401276, 0.013164784759283066, -0.050761859863996506, -0.04774170368909836, 0.02286413311958313, -0.013038944453001022, 0.006006433162838221, -0.06404280662536621, -0.04886458441615105, -0.020870056003332138, 0.0377713143825531, 0.022767333313822746, 0.008963669650256634, -0.019398696720600128, 0.005173953715711832, 0.02350301295518875, 0.005101353861391544, -0.01281630527228117, 0.02704588882625103, -0.012216146104037762, 0.033376600593328476, -0.02869148552417755, -0.012564625591039658, -0.0026837768964469433, 0.00840707030147314, -0.016998060047626495, -0.013397104106843472, 0.08115702122449875, 0.04592186585068703, -0.04278555139899254, -0.035157717764377594, 0.009931668639183044, 0.023948291316628456, 0.03215692192316055, 0.02762668766081333, -0.03529324010014534, -0.007453591097146273, 0.019766537472605705, -0.004266454838216305, 0.021141095086932182, 0.001887597842141986, -0.0022094573359936476, -0.013871423900127411, -0.005870913155376911, -0.008024710230529308, -0.04359867051243782, -0.0029330365359783173, 0.016833500936627388, -0.09532852470874786, -0.04561210796236992, -0.0007284191669896245, -0.03736475482583046, -0.010067188180983067, -0.03198268264532089, -0.030317723751068115, 0.060674168169498444, 0.05203961953520775, 0.05517593398690224, -0.03364764153957367, 0.060906488448381424, 0.007627830840647221, 0.004960994236171246, 0.06241656839847565, 0.022670533508062363, 0.00031459963065572083, -0.036745235323905945, 0.022283334285020828, 0.036338675767183304, -0.023793412372469902, 0.011335266754031181, -0.010347907431423664, -0.023077093064785004, 0.057654011994600296, 0.03186652436852455, -0.0018053179373964667, 0.0164366215467453, -0.013513264246284962, -0.025129251182079315, -0.006974431686103344, -0.00958802830427885, -0.017636939883232117, 0.03736475482583046, 0.05343353748321533, -0.041159313172101974 ]
16,399
presidio_analyzer.pattern_recognizer
validate_result
Validate the pattern logic e.g., by running checksum on a detected pattern. :param pattern_text: the text to validated. Only the part in text that was detected by the regex engine :return: A bool indicating whether the validation was successful.
def validate_result(self, pattern_text: str) -> Optional[bool]: """ Validate the pattern logic e.g., by running checksum on a detected pattern. :param pattern_text: the text to validated. Only the part in text that was detected by the regex engine :return: A bool indicating whether the validation was successful. """ return None
(self, pattern_text: str) -> Optional[bool]
[ 0.08870136737823486, -0.0345805287361145, 0.07610796391963959, 0.0019142486853525043, 0.037301115691661835, -0.051639799028635025, 0.0219015721231699, -0.03545317053794861, 0.03600070998072624, 0.003005049657076597, 0.06734733283519745, 0.045274656265974045, 0.042879171669483185, -0.054856594651937485, 0.0003972868144046515, 0.010617129504680634, 0.015074441209435463, 0.02398906648159027, -0.03466608375310898, 0.050031404942274094, -0.05735474079847336, 0.033742111176252365, -0.017504146322607994, 0.030046219006180763, 0.020498502999544144, 0.051708243787288666, 0.029772449284791946, -0.049654971808195114, -0.02096048928797245, 0.04496666416525841, 0.012730289250612259, -0.005424061324447393, -0.0076997713185846806, 0.05259799584746361, -0.06320656836032867, 0.007417446468025446, 0.016451844945549965, 0.003809248097240925, -0.05543835461139679, -0.0011891869362443686, 0.011541102081537247, 0.043289825320243835, -0.001168868038803339, 0.03822508826851845, -0.024245724081993103, -0.04975763335824013, -0.04240007326006889, 0.014663786627352238, -0.06676557660102844, -0.039696600288152695, 0.03524784371256828, -0.022226674482226372, -0.032133713364601135, -0.033707886934280396, 0.027804730460047722, 0.017692362889647484, 0.01558775920420885, 0.09657224267721176, 0.00500485161319375, -0.02867737039923668, -0.016049746423959732, 0.017606811597943306, -0.0011538963299244642, 0.05184512957930565, -0.01912965439260006, 0.012345300056040287, -0.017795028164982796, -0.05625966191291809, 0.0011207445058971643, 0.03141506761312485, -0.04678038880228996, 0.02571723610162735, -0.043289825320243835, 0.016528842970728874, 0.011113337241113186, -0.01120744552463293, 0.023013761267066002, -0.001135716331191361, 0.04099700599908829, 0.031757280230522156, -0.000029141496270312928, 0.04975763335824013, 0.05978444963693619, -0.06662868708372116, 0.028797145932912827, -0.047635920345783234, -0.04421379789710045, -0.019044101238250732, 0.022808434441685677, 0.003783582244068384, 0.006852796766906977, -0.0029858003836125135, -0.02597389556467533, 0.02568301558494568, 0.005411228165030479, 0.016118187457323074, 0.08288376033306122, -0.05033939331769943, -0.04120233282446861, 0.021867351606488228, -0.03747222200036049, 0.10177386552095413, 0.02669254131615162, -0.041339218616485596, 0.044419124722480774, -0.0006796117522753775, -0.028574706986546516, -0.03798554092645645, 0.007999206893146038, 0.04294761270284653, 0.020532723516225815, -0.024194393306970596, 0.03559005632996559, 0.012105751782655716, 0.014141913503408432, -0.03403298929333687, -0.042879171669483185, -0.039696600288152695, -0.08144646883010864, 0.03365655615925789, 0.04869677871465683, 0.020412949845194817, 0.007023902609944344, -0.005937379319220781, 0.029994888231158257, 0.010933675803244114, -0.004773858468979597, -0.059202685952186584, 0.032099492847919464, 0.013329160399734974, 0.00924828089773655, 0.05588322877883911, -0.016520287841558456, -0.04701993614435196, -0.04777280613780022, 0.06101641058921814, 0.05064738541841507, -0.02350996807217598, -0.011737873777747154, 0.023184867575764656, 0.03227059915661812, 0.06649180501699448, 0.0026371716521680355, -0.029772449284791946, -0.03541895002126694, 0.017307374626398087, -0.010925119742751122, 0.026401661336421967, 0.057252079248428345, 0.014886224642395973, 0.04664350301027298, -0.0549592562019825, 0.031466398388147354, 0.02439972013235092, -0.016905276104807854, 0.015852974727749825, 0.03189416602253914, -0.019677193835377693, -0.0014950389740988612, -0.033177461475133896, 0.06224837526679039, -0.04157876595854759, 0.025580352172255516, 0.03665091097354889, 0.04996296018362045, 0.054103728383779526, 0.05533568933606148, -0.001750628580339253, -0.016785502433776855, -0.004337538033723831, 0.011951756663620472, 0.03901217505335808, -0.04938120022416115, 0.027616513893008232, -0.04185253381729126, 0.08288376033306122, 0.0037450832314789295, 0.03671935573220253, 0.02070382982492447, 0.060092438012361526, -0.008837626315653324, 0.020241843536496162, -0.06149550899863243, 0.04482978209853172, 0.05027095228433609, -0.03993614763021469, -0.022055568173527718, 0.012696067802608013, 0.042913392186164856, -0.0020233287941664457, -0.05068160593509674, -0.034460753202438354, 0.02669254131615162, -0.011318664066493511, -0.011233110912144184, -0.05855248495936394, -0.010608574375510216, 0.023373084142804146, 0.04322138428688049, -0.0435635969042778, 0.019625861197710037, -0.07850344479084015, -0.004491533152759075, 0.06987970322370529, 0.001728170900605619, -0.03136373683810234, -0.018325455486774445, 0.06419898569583893, -0.0487309992313385, -0.017204711213707924, -0.03979926183819771, -0.02710319496691227, 0.009915594942867756, 0.10690704733133316, 0.0037301115226000547, -0.03911484032869339, 0.0497918538749218, 0.005458282306790352, -0.04188675805926323, 0.0419209785759449, 0.03357100486755371, -0.022072678431868553, 0.03983348608016968, 0.009607603773474693, 0.003584671299904585, -0.0003513020637910813, 0.018051685765385628, 0.012456519529223442, -0.031842831522226334, -0.05619122087955475, -0.001381681184284389, -0.028762923553586006, 0.02766784466803074, -0.01815434917807579, 0.011814871802926064, -0.02568301558494568, 0.03245881572365761, 0.01383392233401537, 0.0001515892508905381, 0.01733304187655449, -0.03031998872756958, 0.016255073249340057, 0.013859588652849197, -0.0083071980625391, -0.012182749807834625, 0.00894884578883648, -0.012242636643350124, 0.02231222577393055, 0.0042541236616671085, -0.028386490419507027, -0.06912683695554733, 0.009436497464776039, -0.009556272067129612, -0.013885254971683025, -0.02698342129588127, 0.0005336369504220784, -0.0071907308883965015, 0.006134151481091976, 0.0739862471818924, 0.06762110441923141, 0.04513777047395706, 0.0345805287361145, 0.012490740045905113, 0.04671194776892662, -0.02789028361439705, -0.01616952009499073, -0.018257014453411102, 0.03634292259812355, -0.018034575507044792, -0.015185660682618618, 0.00879484973847866, -0.01364570576697588, -0.010591463185846806, -0.04144188016653061, -0.03319457173347473, 0.005560946185141802, -0.010813901200890541, -0.013123832643032074, -0.013414712622761726, -0.011233110912144184, 0.006561916321516037, 0.01894143782556057, 0.02357841096818447, -0.03221926465630531, 0.02836938016116619, 0.03620603680610657, 0.009368055500090122, -0.042126305401325226, -0.036548249423503876, -0.012696067802608013, -0.05146869644522667, -0.07371247559785843, 0.020652499049901962, 0.003056381596252322, 0.002630755305290222, 0.061632394790649414, 0.0675184428691864, -0.06173505634069443, -0.04989451915025711, -0.031945496797561646, -0.05235844478011131, 0.004333260469138622, 0.03582960367202759, 0.006484918761998415, -0.07206986099481583, 0.03495696187019348, -0.019831189885735512, 0.009539160877466202, 0.020464280620217323, -0.025443466380238533, -0.0010972174350172281, 0.0038563022390007973, -0.022243784740567207, -0.0117720952257514, -0.008991622366011143, -0.02448527328670025, 0.08788006007671356, -0.01621229574084282, -0.010480244643986225, -0.01882166415452957, -0.02294531837105751, -0.042057864367961884, 0.0479096882045269, -0.042913392186164856, 0.01276450976729393, -0.01528832409530878, -0.00018460737192071974, -0.03866996243596077, -0.005933101754635572, 0.024057507514953613, 0.0017078521195799112, -0.004125794395804405, 0.06495185196399689, 0.03239037096500397, 0.005441172048449516, -0.07289116829633713, -0.00344778667204082, -0.09623003005981445, 0.04760169982910156, 0.014826337806880474, 0.062487922608852386, 0.0167341697961092, -0.03185994178056717, -0.03180861100554466, 0.06361722201108932, 0.007781046908348799, -0.029772449284791946, -0.005445449613034725, 0.030935971066355705, -0.022739991545677185, -0.00810614787042141, -0.01454401295632124, -0.05376151576638222, -0.021696245297789574, 0.023407304659485817, 0.02010495960712433, -0.018838774412870407, 0.008285809308290482, 0.015433764085173607, 0.0041193775832653046, -0.004410258028656244, -0.013260717503726482, -0.04311871901154518, -0.0332287922501564, -0.06019510328769684, -0.007597107905894518, -0.04301605746150017, 0.06768954545259476, 0.044111136347055435, 0.0017966133309528232, 0.016717059537768364, 0.030337098985910416, -0.0034157042391598225, -0.06111907586455345, 0.04031258076429367, -0.020087847486138344, 0.001594494329765439, -0.021046042442321777, -0.019215207546949387, 0.04020991921424866, 0.0012266163248568773, 0.004057351965457201, -0.015929970890283585, -0.0797354131937027, 0.014047805219888687, 0.006715911906212568, -0.06293279677629471, 0.010086700320243835, -0.07836656272411346, -0.0057662734761834145, -0.011053449474275112, 0.006869907025247812, 0.0011121892603114247, -0.06409631669521332, -0.012302523478865623, 0.036069151014089584, 0.010822456330060959, 0.04315294325351715, -0.09212348610162735, 0.02612789161503315, 0.017170490697026253, 0.012978392653167248, -0.05855248495936394, -0.0019495394080877304, 0.030337098985910416, 0.025956785306334496, 0.04195519909262657, -0.002735557733103633, -0.022260894998908043, -0.005424061324447393, -0.012507851235568523, -0.06464385986328125, -0.027257191017270088, -0.025888342410326004, -0.05954489856958389, 0.016066856682300568, 0.01680261269211769, 0.018992770463228226, 0.013928030617535114, 0.02534080296754837, 0.029224909842014313, 0.008435527794063091, 0.06782643496990204, 0.048902105540037155, 0.04835456609725952, 0.0549592562019825, 0.03990192711353302, -0.00806764978915453, 0.009325278922915459, -0.0005475393263623118, -0.04787546768784523, -0.00016602632240392268, -0.06731311231851578, 0.01752125844359398, 0.003881968092173338, -0.025272361934185028, 0.022466221824288368, -0.016451844945549965, -0.03589804470539093, -0.004850856028497219, 0.023749517276883125, 0.028472043573856354, 0.03300635516643524, 0.0843210518360138, 0.044898223131895065, 0.008478304371237755, 0.01995096355676651, -0.061700835824012756, -0.0345805287361145, -0.026452992111444473, -0.023270420730113983, 0.06635492295026779, -0.05146869644522667, -0.021285589784383774, -0.038875289261341095, 0.021662022918462753, -0.0038456080947071314, -0.020053626969456673, -0.04838878661394119, 0.004867966752499342, 0.002697058953344822, 0.02467348985373974, -0.06532828509807587, 0.00761849619448185, -0.02174757607281208, -0.027188748121261597, 0.006647469475865364, -0.014159023761749268, -0.0005833646282553673, 0.02200423553586006, -0.06560204923152924, -0.03324590250849724, -0.017863469198346138, -0.02152513898909092, 0.051263365894556046, 0.031569063663482666, -0.023937733843922615, 0.007866599597036839, 0.004189958795905113, 0.011532546952366829, -0.05273487791419029, 0.05345352366566658, 0.0033023464493453503, 0.029224909842014313, -0.02855759672820568, -0.052118897438049316, 0.0098043754696846, -0.05978444963693619, -0.026418771594762802, -0.08555301278829575, -0.02855759672820568, -0.03257858753204346, 0.024245724081993103, 0.01070268265902996, -0.016477510333061218, -0.02272288128733635, -0.025648795068264008, 0.04982607811689377, 0.019112544134259224, 0.006425031460821629, 0.007413168903440237, 0.04801235347986221, -0.035658497363328934, 0.003501257160678506, 0.033553894609212875, -0.032886579632759094, 0.01755547896027565, -0.06378833204507828, 0.0029601342976093292, 0.05732052028179169, -0.07569731026887894, 0.027428297325968742, 0.013440378941595554, 0.0522557832300663, 0.021388253197073936, 0.02234644815325737, 0.029994888231158257, -0.04664350301027298, -0.013406157493591309, -0.024690600112080574, -0.0454457625746727, 0.0265385452657938, -0.01095078606158495, -0.06721045076847076, 0.014313019812107086, -0.010736903175711632, -0.04147610068321228, -0.04715682193636894, 0.03634292259812355, -0.031569063663482666, 0.011891868896782398, 0.00012759430683217943, 0.0555410198867321, 0.023030871525406837, 0.0217817984521389, -0.031380847096443176, -0.026110781356692314, 0.0339987687766552, -0.11902135610580444, 0.017641032114624977, -0.027804730460047722, -0.01547654066234827, -0.02455371618270874, -0.06457541882991791, 0.033896103501319885, 0.01938631385564804, 0.018274124711751938, -0.013782590627670288, -0.04294761270284653, -0.007058124057948589, -0.0018843051511794329, -0.01284150779247284, 0.00799065176397562, 0.05177668482065201, 0.06255636364221573, 0.06960593163967133, 0.029669785872101784, 0.03959393501281738, 0.03815664350986481, -0.014518346637487411, -0.013953696936368942, -0.025272361934185028, -0.02953290194272995, -0.06779220700263977, -0.027719177305698395, -0.04599330201745033, 0.00799065176397562, -0.006241092458367348, -0.04311871901154518, 0.020344506949186325, -0.012850062921643257, -0.01528832409530878, 0.04482978209853172, -0.007853766903281212, -0.0378144346177578, -0.026076558977365494, 0.0012822258286178112, 0.021097373217344284, -0.02612789161503315, 0.023663964122533798, 0.009273947216570377, -0.049654971808195114, 0.056396547704935074, -0.018291234970092773, -0.021884461864829063, -0.012678956612944603, 0.0034392313100397587, -0.0009164866642095149, -0.04835456609725952, -0.0038071093149483204, 0.016160964965820312, 0.048080794513225555, 0.026624098420143127, -0.025323692709207535, 0.0019195957574993372, 0.025049922987818718, 0.038943734019994736, -0.0054967813193798065, 0.05701253190636635, -0.013517376966774464, 0.009915594942867756, 0.04907321184873581, 0.015741754323244095, -0.006249648053199053, 0.031723059713840485, 0.035350505262613297, -0.044145356863737106, -0.03702734410762787, 0.004423090722411871, 0.004035963676869869, -0.00810614787042141, -0.024947259575128555, 0.031945496797561646, 0.0018768192967399955, -0.013021169230341911, -0.0008870778256095946, -0.009427942335605621, 0.03208238258957863, -0.007066679187119007, 0.04592486098408699, 0.04390580952167511, 0.10088411718606949, 0.0345805287361145, -0.0030071884393692017, 0.0419209785759449, 0.035761162638664246, -0.07638173550367355, -0.04719104245305061, -0.039320167154073715, -0.047635920345783234, -0.002142033539712429, 0.024382609874010086, -0.0002791167062241584, -0.011789205484092236, -0.028386490419507027, -0.028437823057174683, -0.05317975580692291, 0.030234435573220253, 0.02688075788319111, -0.03716422989964485, -0.055677901953458786, -0.015091552399098873, -0.06467808037996292, -0.015775976702570915, -0.03136373683810234, 0.028386490419507027, -0.017914801836013794, -0.042913392186164856, 0.05944223701953888, 0.00767410546541214, -0.010309138335287571, 0.025477688759565353, 0.04705416038632393, 0.02559746243059635, 0.03596648946404457, 0.06389099359512329, -0.013825367204844952, 0.0013624317944049835, -0.03661669045686722, -0.01897565834224224, -0.08692186325788498, 0.018034575507044792, -0.029224909842014313, -0.014852003194391727, 0.01385103352367878, 0.025255249813199043, 0.04982607811689377, -0.06416476517915726, -0.019334981217980385, 0.03281813859939575, -0.023133534938097, 0.03379344195127487, 0.05177668482065201, 0.013123832643032074, 0.015519317239522934, 0.058826252818107605, -0.06741577386856079, -0.0759710818529129, 0.038053981959819794, -0.009966926649212837, 0.01238807663321495, -0.023116424679756165, -0.01106200460344553, 0.005719219334423542, -0.034905631095170975, 0.007070956751704216, -0.07070101052522659, 0.005171679891645908, 0.02908802591264248, -0.07631328701972961, -0.06392521411180496, 0.042057864367961884, 0.011352885514497757, -0.007426001597195864, -0.0008881472749635577, 0.04065479338169098, 0.004906465299427509, 0.04855989292263985, 0.03630869835615158, -0.028985362499952316, -0.006454974878579378, -0.002893830882385373, 0.0004245568416081369, -0.027719177305698395, -0.038943734019994736, 0.02089204639196396, -0.056841425597667694, -0.048902105540037155, -0.012499296106398106, -0.009855707176029682, -0.002121714875102043, 0.00849541462957859, 0.005137458443641663, -0.02937890589237213, -0.038567300885915756, -0.007250618189573288, 0.005043350160121918, 0.0005534210940822959, 0.05694408714771271, -0.0332287922501564, -0.008486859500408173, 0.007310505025088787, -0.014501236379146576, -0.005620833020657301, -0.012901394627988338, 0.025203919038176537, -0.07165920734405518, -0.052871763706207275, 0.0892489030957222, 0.007186453323811293, -0.021764688193798065, 0.047635920345783234, -0.005706386175006628, 0.0421605259180069, 0.0008790572173893452, 0.009830041788518429, -0.02893402986228466, -0.030456874519586563, 0.00017805722018238157, 0.006758688483387232, 0.030337098985910416, 0.003899078816175461, -0.023082204163074493, -0.06464385986328125, 0.07083790004253387, 0.05348774418234825, 0.018770331516861916, 0.07829812169075012, -0.02717163786292076, -0.04459023103117943, 0.009350944310426712, -0.07076945155858994, 0.01598130352795124, 0.05294020473957062, 0.010232140310108662, 0.027034753933548927, 0.014621010050177574, 0.0522557832300663, 0.005950212478637695, 0.041715651750564575, -0.01590430550277233, 0.06074264273047447, 0.04103122651576996, -0.003328012302517891, -0.02496436983346939, -0.005689275451004505, 0.0005528863403014839, 0.0661153718829155 ]
16,400
presidio_analyzer.analyzer_utils
PresidioAnalyzerUtils
Utility functions for Presidio Analyzer. The class provides a bundle of utility functions that help centralizing the logic for re-usability and maintainability
class PresidioAnalyzerUtils: """ Utility functions for Presidio Analyzer. The class provides a bundle of utility functions that help centralizing the logic for re-usability and maintainability """ @staticmethod def is_palindrome(text: str, case_insensitive: bool = False): """ Validate if input text is a true palindrome. :param text: input text string to check for palindrome :param case_insensitive: optional flag to check palindrome with no case :return: True / False """ palindrome_text = text if case_insensitive: palindrome_text = palindrome_text.replace(" ", "").lower() return palindrome_text == palindrome_text[::-1] @staticmethod def sanitize_value(text: str, replacement_pairs: List[Tuple[str, str]]) -> str: """ Cleanse the input string of the replacement pairs specified as argument. :param text: input string :param replacement_pairs: pairs of what has to be replaced with which value :return: cleansed string """ for search_string, replacement_string in replacement_pairs: text = text.replace(search_string, replacement_string) return text @staticmethod def is_verhoeff_number(input_number: int): """ Check if the input number is a true verhoeff number. :param input_number: :return: """ __d__ = [ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 0, 6, 7, 8, 9, 5], [2, 3, 4, 0, 1, 7, 8, 9, 5, 6], [3, 4, 0, 1, 2, 8, 9, 5, 6, 7], [4, 0, 1, 2, 3, 9, 5, 6, 7, 8], [5, 9, 8, 7, 6, 0, 4, 3, 2, 1], [6, 5, 9, 8, 7, 1, 0, 4, 3, 2], [7, 6, 5, 9, 8, 2, 1, 0, 4, 3], [8, 7, 6, 5, 9, 3, 2, 1, 0, 4], [9, 8, 7, 6, 5, 4, 3, 2, 1, 0], ] __p__ = [ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 5, 7, 6, 2, 8, 3, 0, 9, 4], [5, 8, 0, 3, 7, 9, 6, 1, 4, 2], [8, 9, 1, 6, 0, 4, 3, 5, 2, 7], [9, 4, 5, 3, 1, 2, 6, 8, 7, 0], [4, 2, 8, 6, 5, 7, 3, 9, 0, 1], [2, 7, 9, 3, 8, 0, 6, 4, 1, 5], [7, 0, 4, 6, 9, 1, 3, 2, 5, 8], ] __inv__ = [0, 4, 3, 2, 1, 5, 6, 7, 8, 9] c = 0 inverted_number = list(map(int, reversed(str(input_number)))) for i in range(len(inverted_number)): c = __d__[c][__p__[i % 8][inverted_number[i]]] return __inv__[c] == 0
()
[ 0.04288673400878906, 0.009883143939077854, -0.030943594872951508, 0.02442915365099907, 0.025437340140342712, -0.04885830730199814, -0.05230940878391266, -0.05630338191986084, 0.008748932741582394, -0.04606640338897705, -0.010847707279026508, 0.03974584490060806, 0.03548043593764305, -0.03596514090895653, -0.0380202941596508, -0.0042799487709999084, 0.040909137576818466, 0.0006979758036322892, -0.017313677817583084, -0.0063302526250481606, -0.005801924038678408, 0.033037520945072174, -0.01850605383515358, 0.062081072479486465, -0.02411894127726555, 0.04660927504301071, -0.0018855041125789285, -0.015752926468849182, -0.058358531445264816, -0.031893618404865265, 0.02446793019771576, 0.025650611147284508, -0.004682254511862993, 0.017740217968821526, 0.022490331903100014, -0.03121502883732319, 0.035034507513046265, 0.054752323776483536, -0.032804861664772034, 0.05525641888380051, -0.012738058343529701, -0.040715254843235016, 0.029974183067679405, 0.02623225748538971, -0.06654036045074463, -0.018758099526166916, -0.014376362785696983, -0.007144557777792215, 0.011788035742938519, -0.01831217110157013, 0.027550656348466873, -0.06805264204740524, 0.02470058761537075, -0.004090913571417332, 0.0156850665807724, 0.039299916476011276, 0.039067257195711136, 0.04905219003558159, 0.09205525368452072, -0.06378723680973053, 0.014415139332413673, 0.011710482649505138, -0.010905872099101543, -0.005986112169921398, -0.014812598004937172, 0.051146116107702255, 0.027938419952988625, 0.01948515884578228, 0.025359787046909332, 0.004262984264642, -0.006858581677079201, -0.025805717334151268, -0.004888254217803478, -0.024099553003907204, 0.0595993772149086, 0.02450670674443245, -0.0038970315363258123, -0.014376362785696983, 0.002535009291023016, -0.0131355170160532, 0.06840162724256516, -0.01893259398639202, 0.06367090344429016, -0.036721281707286835, -0.014705962501466274, -0.07127108424901962, 0.062352504581213, 0.006814958062022924, 0.06021980196237564, 0.0000108680042103515, -0.06731589138507843, 0.01630549132823944, -0.013077352195978165, -0.0010596872307360172, -0.0014916809741407633, 0.01248601172119379, 0.005380230024456978, -0.05897895619273186, 0.023576071485877037, -0.04230508953332901, 0.025282233953475952, 0.12734180688858032, -0.014773821458220482, -0.005225124303251505, 0.006756793707609177, 0.00434296065941453, -0.058436084538698196, 0.019553016871213913, 0.0431193932890892, -0.011613542214035988, -0.11198633909225464, 0.03482123836874962, -0.06460154056549072, -0.048625648021698, -0.04622150957584381, 0.017614195123314857, -0.03441408649086952, 0.01423095166683197, -0.023750565946102142, 0.0013838339364156127, 0.013814104720950127, 0.0016055867308750749, -0.03904786705970764, -0.0023641507141292095, 0.016887137666344643, -0.013193681836128235, -0.002993056084960699, 0.05025425925850868, -0.008729544468224049, -0.02607715129852295, -0.011526294983923435, 0.013416646048426628, 0.012582953087985516, 0.06347702443599701, -0.007270581554621458, -0.00335658504627645, -0.02501079998910427, 0.01248601172119379, 0.006126676686108112, -0.005331759806722403, 0.0016128573333844543, -0.01604374870657921, -0.0004719819116871804, 0.0013789869844913483, -0.005545029882341623, -0.004110301844775677, 0.036488622426986694, 0.04622150957584381, -0.004379313439130783, -0.008366015739738941, 0.003232985269278288, 0.003894608002156019, 0.0490134134888649, -0.01346511673182249, 0.03257220610976219, 0.02113315649330616, 0.05246451497077942, -0.0642913281917572, 0.019320357590913773, 0.04498066380620003, 0.05219307914376259, -0.047384802252054214, 0.03406509757041931, 0.009558390825986862, -0.006291476543992758, -0.008870108984410763, 0.01948515884578228, -0.04889708384871483, 0.03454980254173279, 0.05219307914376259, -0.020357627421617508, -0.023420965299010277, -0.09244301915168762, 0.04618273302912712, 0.031932394951581955, 0.013562058098614216, -0.009805590845644474, -0.009713497012853622, 0.04521332308650017, 0.03160279244184494, -0.05238696187734604, 0.007924933917820454, -0.054480887949466705, -0.025689387694001198, 0.018496358767151833, 0.03755497559905052, 0.05641971156001091, -0.008424180559813976, 0.02062906324863434, -0.010721683502197266, -0.035693708807229996, -0.055101312696933746, 0.0399785041809082, 0.030012959614396095, 0.012660505250096321, -0.043972477316856384, -0.02470058761537075, -0.021074991673231125, 0.01921372301876545, -0.09500226378440857, 0.014415139332413673, 0.029392536729574203, 0.012476317584514618, 0.03635290637612343, -0.04525209963321686, 0.02059028670191765, -0.054325785487890244, 0.014124316163361073, -0.0005365083343349397, 0.003909149207174778, 0.03204872086644173, -0.036760058254003525, 0.010673213750123978, 0.0018879276467487216, 0.01154568325728178, -0.01113853044807911, 0.09818193316459656, 0.029121100902557373, 0.005782535765320063, 0.0043696193024516106, 0.02074539288878441, -0.01513250358402729, -0.020958662033081055, 0.005986112169921398, 0.02791903167963028, 0.04490311071276665, -0.014589632861316204, 0.07627324759960175, 0.04827665910124779, 0.009408132173120975, 0.014027374796569347, -0.010876789689064026, -0.044399015605449677, 0.010886483825743198, 0.0052929832600057125, -0.05397679656744003, -0.02512712962925434, -0.002486538840457797, -0.016925914213061333, -0.02446793019771576, -0.016489678993821144, -0.013891657814383507, 0.023110754787921906, 0.025863882154226303, -0.012689587660133839, -0.03297935798764229, 0.011855894699692726, 0.021191321313381195, -0.02059028670191765, -0.03344467282295227, -0.04467045143246651, -0.07735898345708847, -0.005089406855404377, -0.03693455457687378, 0.07666101306676865, 0.014696268364787102, -0.05591561645269394, 0.061460647732019424, 0.04152956232428551, -0.023673012852668762, -0.0036037848331034184, -0.05587683990597725, 0.015180974267423153, -0.01698407717049122, -0.01710040681064129, -0.013048269785940647, -0.040715254843235016, 0.019456075504422188, 0.051339998841285706, -0.05661359429359436, -0.0380202941596508, -0.014550857245922089, -0.0862387865781784, 0.028364961966872215, -0.009296650066971779, 0.06638525426387787, 0.022121954709291458, 0.03536410629749298, -0.018244311213493347, 0.04567863792181015, -0.016334572806954384, 0.025786329060792923, 0.013881963677704334, -0.02952825464308262, 0.06258516758680344, 0.01720704324543476, -0.012621729634702206, -0.06638525426387787, 0.04463167488574982, -0.026096539571881294, -0.008467803709208965, -0.007716510444879532, -0.0025495504960417747, -0.011788035742938519, 0.040909137576818466, -0.0008403580286540091, -0.0024295859038829803, -0.03443347290158272, -0.021869909018278122, -0.06281781941652298, -0.024060776457190514, -0.019426994025707245, 0.07301602512598038, -0.07708755135536194, -0.04529087617993355, 0.014822292141616344, 0.036876387894153595, -0.028791502118110657, 0.044360239058732986, -0.050680797547101974, 0.0019351864466443658, 0.02512712962925434, 0.026600632816553116, 0.004454442765563726, 0.021792355924844742, -0.009650484658777714, 0.028171079233288765, 0.0199892520904541, 0.009539002552628517, 0.027511879801750183, 0.030323171988129616, 0.021307650953531265, 0.025340398773550987, -0.006150912027806044, 0.034103874117136, -0.054519664496183395, 0.010295143350958824, -0.03517022728919983, 0.03402632102370262, -0.0411805734038353, -0.00023811153369024396, -0.015811091288924217, 0.012476317584514618, 0.011167612858116627, 0.05382169038057327, -0.02662002108991146, 0.017982570454478264, 0.009257873520255089, 0.014676880091428757, -0.03505389764904976, 0.06801386177539825, -0.004071525763720274, -0.04649294540286064, 0.02861700765788555, 0.010973731055855751, -0.02830679714679718, -0.020241297781467438, 0.015733538195490837, -0.007866769097745419, 0.021579084917902946, -0.003792820032685995, -0.009611708112061024, -0.021869909018278122, -0.003405055496841669, 0.03340589627623558, -0.0009415402892045677, 0.027065951377153397, -0.08321422338485718, -0.01392073929309845, 0.01881626434624195, 0.037225376814603806, -0.019349440932273865, -0.033386509865522385, 0.016722336411476135, -0.06025857850909233, -0.07708755135536194, -0.015655985102057457, -0.0029251971282064915, 0.03305691108107567, 0.017972877249121666, -0.005128183402121067, -0.025805717334151268, 0.04319694638252258, -0.06716078519821167, 0.035732485353946686, 0.005031242500990629, 0.030769100412726402, 0.020280074328184128, -0.04226631298661232, -0.028752725571393967, 0.04885830730199814, 0.050913456827402115, -0.06894449889659882, 0.0049003716558218, -0.02336280047893524, -0.025224070996046066, 0.04571741446852684, 0.0458725206553936, 0.033580392599105835, 0.060995329171419144, -0.057931993156671524, -0.025669999420642853, 0.06758732348680496, -0.015559043735265732, 0.03478246182203293, 0.030652770772576332, -0.02109437994658947, 0.04269285500049591, -0.02231583744287491, -0.013154905289411545, 0.013775328174233437, -0.04517454653978348, 0.008710156194865704, 0.009824979119002819, -0.02607715129852295, -0.027143504470586777, 0.05405434966087341, 0.020648451521992683, 0.006722864229232073, 0.02929559536278248, -0.03877643495798111, 0.008651991374790668, 0.0717751756310463, -0.054829876869916916, -0.05265839770436287, -0.029547642916440964, -0.01979536935687065, -0.040909137576818466, -0.00758564006537199, 0.006281782407313585, 0.04591129720211029, -0.0450969934463501, 0.04009483382105827, 0.03732231631875038, 0.015849867835640907, 0.03900909423828125, -0.005084559787064791, 0.033386509865522385, -0.04242141917347908, 0.04583374410867691, -0.010023708455264568, -0.0005901288241147995, 0.007818298414349556, -0.1058596670627594, 0.00007066096441121772, 0.030594605952501297, 0.020726004615426064, 0.04145200923085213, 0.02059028670191765, -0.013164599426090717, 0.05386046692728996, 0.050564467906951904, 0.054829876869916916, 0.031389523297548294, 0.05281350389122963, -0.0027385856956243515, -0.04451534524559975, 0.02995479479432106, -0.03038133680820465, -0.07778552919626236, -0.021656638011336327, 0.007818298414349556, -0.0627402663230896, -0.027531268075108528, 0.02869456075131893, 0.04346838220953941, -0.028597619384527206, 0.017265208065509796, -0.013319704681634903, 0.03520900011062622, 0.024254659190773964, 0.08825516700744629, -0.014793209731578827, 0.016993772238492966, -0.038912151008844376, -0.017497865483164787, -0.0013402104377746582, -0.040288716554641724, -0.03264975547790527, 0.029819076880812645, -0.00004214665023027919, -0.020299462601542473, 0.02262604981660843, 0.023673012852668762, -0.005108795128762722, 0.019698427990078926, -0.03245587646961212, -0.03792335093021393, 0.013688080944120884, 0.022490331903100014, 0.014880456030368805, -0.0012105518253520131, -0.0037079965695738792, -0.02093927375972271, 0.02301381342113018, -0.061072882264852524, 0.0024429152254015207, -0.03639168292284012, -0.005370535887777805, -0.054752323776483536, 0.0024307977873831987, -0.003993972670286894, 0.044127583503723145, 0.047811344265937805, -0.012776834890246391, 0.023731177672743797, -0.003194208722561598, 0.0024683624505996704, 0.006150912027806044, -0.036992717534303665, 0.02109437994658947, -0.011991612613201141, -0.04843176528811455, -0.023382188752293587, 0.06925471127033234, 0.03908664360642433, -0.008884650655090809, 0.013513587415218353, -0.04160711169242859, 0.015782007947564125, -0.07185272872447968, -0.08414486050605774, 0.11338229477405548, -0.02772515080869198, -0.040831584483385086, 0.012902858667075634, -0.071348637342453, -0.018825959414243698, -0.016906525939702988, 0.014754433184862137, 0.0006682876264676452, -0.015384550206363201, -0.03400693088769913, -0.057621780782938004, 0.0034171731676906347, 0.013843187130987644, -0.07972434908151627, -0.05203797295689583, 0.0023665742482990026, -0.010838013142347336, -0.038524385541677475, -0.058474861085414886, 0.05184409022331238, 0.02650369331240654, 0.025282233953475952, 0.038563162088394165, 0.02227706089615822, -0.07902637124061584, 0.07115475833415985, 0.058397307991981506, -0.023576071485877037, 0.05944427475333214, -0.028403738513588905, -0.04924607276916504, 0.057776886969804764, -0.006213923450559378, 0.00795886293053627, 0.06405866891145706, -0.07941413670778275, -0.010430860333144665, -0.014812598004937172, -0.020803555846214294, 0.07386910915374756, -0.024099553003907204, 0.061111658811569214, -0.020454568788409233, 0.0012402399443089962, 0.020086193457245827, 0.046880707144737244, 0.02324647270143032, -0.005850394256412983, -0.046803154051303864, -0.015752926468849182, -0.05944427475333214, -0.09011643379926682, 0.024312824010849, -0.0131355170160532, -0.004136960953474045, -0.018767794594168663, -0.009243332780897617, 0.06452398747205734, -0.001780080609023571, 0.04909096658229828, 0.017652971670031548, -0.06072389706969261, -0.007895851507782936, -0.015471797436475754, -0.061732083559036255, 0.04816032946109772, -0.012544176541268826, 0.0049246069975197315, 0.020377015694975853, -0.07076699286699295, -0.05339514836668968, 0.030168065801262856, 0.013368175365030766, 0.031583406031131744, 0.06801386177539825, 0.03586820140480995, 0.007779521867632866, -0.033037520945072174, -0.02654246985912323, -0.004689524881541729, -0.047772567719221115, -0.0018067394848912954, 0.023925060406327248, -0.03592636436223984, -0.001720704254694283, 0.03200994431972504, -0.0011202753521502018, -0.06045246124267578, -0.004006090108305216, -0.05199919641017914, -0.05223185569047928, 0.05273595079779625, -0.0134263401851058, 0.0075904871337115765, -0.07406298816204071, -0.014502386562526226, -0.03042011149227619, 0.015297302976250648, 0.008908885531127453, -0.020454568788409233, -0.05928916856646538, 0.015103421173989773, 0.01811828836798668, -0.012010999955236912, 0.0004862201167270541, -0.01626671478152275, 0.003889760933816433, -0.039106033742427826, 0.03390999138355255, -0.003405055496841669, -0.009936461225152016, -0.0490134134888649, -0.010876789689064026, 0.03474368527531624, -0.019242804497480392, -0.006737405434250832, -0.07026290148496628, 0.019630569964647293, 0.03187422826886177, 0.03387121483683586, 0.04575619101524353, -0.05029303580522537, 0.004907642491161823, 0.029024161398410797, 0.004784042481333017, -0.018457582220435143, 0.06347702443599701, -0.024409765377640724, -0.020881108939647675, -0.012922246940433979, 0.016014667227864265, -0.004650748334825039, 0.001095434301532805, 0.010973731055855751, -0.0022114685270935297, 0.011981918476521969, 0.006824652198702097, -0.027376161888241768, 0.07596303522586823, -0.0036546788178384304, -0.016421819105744362, -0.05595439299941063, -0.018573911860585213, 0.02336280047893524, -0.012893164530396461, -0.0006967640365473926, 0.009965543635189533, 0.008501732721924782, 0.054713547229766846, -0.01060535479336977, -0.040366265922784805, 0.06305047869682312, 0.04575619101524353, 0.07158129662275314, 0.07309357821941376, 0.02788025513291359, 0.008031568489968777, 0.026174092665314674, -0.011865588836371899, 0.025224070996046066, 0.016732031479477882, 0.015714149922132492, 0.012350293807685375, -0.006436888128519058, 0.04331327602267265, -0.006495052482932806, -0.013911046087741852, 0.004769501276314259, -0.02408016473054886, 0.03171912208199501, -0.05948305130004883, 0.0376325286924839, 0.030788488686084747, -0.030536441132426262, 0.016218243166804314, -0.015820784494280815, -0.024177106097340584, -0.06025857850909233, -0.015937114134430885, 0.003819478675723076, -0.055217642337083817, 0.03966829180717468, 0.03220382705330849, -0.08701431751251221, 0.014415139332413673, 0.030691547319293022, -0.026290422305464745, 0.040598925203084946, -0.050913456827402115, 0.012069164775311947, 0.030168065801262856, -0.0686342865228653, -0.0049003716558218, -0.04257652536034584, -0.04323572292923927, -0.013833492994308472, -0.025379175320267677, 0.034607965499162674, 0.030769100412726402, 0.01039208471775055, -0.046880707144737244, 0.0431193932890892, 0.006708323024213314, 0.009563238359987736, 0.05987081304192543, 0.025030188262462616, -0.007401451934129, 0.050564467906951904, -0.002799173817038536, 0.044011253863573074, 0.02497202344238758, -0.05649726465344429, 0.05300738662481308, -0.00019509393314365298, -0.06906083226203918, 0.006475664675235748, -0.0595993772149086, -0.034801848232746124, 0.02952825464308262, -0.0501767061650753, -0.046841930598020554, -0.013145211152732372, 0.0020151627250015736, 0.03728353977203369, -0.0037128436379134655, -0.06293415278196335, -0.025805717334151268, 0.011797729879617691, -0.009228791110217571, -0.05641971156001091, 0.017400924116373062, -0.0023411272559314966, 0.08228359371423721, 0.040676478296518326, 0.031001759693026543, -0.004107878543436527, -0.03297935798764229, 0.018874429166316986, 0.0004937936319038272, 0.011187001131474972, -0.009873449802398682, 0.020105581730604172, 0.02850067801773548, 0.040405042469501495, 0.012631423771381378, 0.00013920133642386645, -0.025340398773550987, -0.022722989320755005, 0.005942488554865122, -0.010808930732309818, 0.030555829405784607, 0.027783315628767014, 0.0034850318916141987, -0.02599959820508957, 0.051495105028152466 ]
16,401
presidio_analyzer.analyzer_utils
is_palindrome
Validate if input text is a true palindrome. :param text: input text string to check for palindrome :param case_insensitive: optional flag to check palindrome with no case :return: True / False
@staticmethod def is_palindrome(text: str, case_insensitive: bool = False): """ Validate if input text is a true palindrome. :param text: input text string to check for palindrome :param case_insensitive: optional flag to check palindrome with no case :return: True / False """ palindrome_text = text if case_insensitive: palindrome_text = palindrome_text.replace(" ", "").lower() return palindrome_text == palindrome_text[::-1]
(text: str, case_insensitive: bool = False)
[ 0.009673372842371464, -0.018476704135537148, 0.030685361474752426, 0.04067681357264519, -0.05354969948530197, -0.08427248150110245, -0.010926982387900352, 0.0054822019301354885, 0.06294241547584534, -0.05411101505160332, 0.017578596249222755, 0.025147028267383575, -0.00667967926710844, -0.012854172848165035, -0.03143378347158432, -0.03450231999158859, 0.01633434183895588, 0.033548079431056976, -0.0559072308242321, -0.04396987706422806, 0.00643644155934453, 0.077910877764225, -0.010262756608426571, 0.04048970714211464, 0.0030521643348038197, 0.0895862877368927, 0.005720761604607105, -0.00957514252513647, -0.010477928444743156, 0.031452495604753494, 0.0014547480968758464, 0.023799866437911987, 0.025296712294220924, 0.07424360513687134, 0.06327920407056808, -0.0051641217432916164, 0.017213739454746246, 0.01951514184474945, -0.04292208328843117, -0.04692615196108818, -0.03439005836844444, -0.008625579997897148, 0.02512831799685955, 0.012741909362375736, -0.046664200723171234, -0.05119216442108154, 0.003094263141974807, 0.0020359456539154053, -0.0056131756864488125, -0.012751264497637749, 0.036373380571603775, 0.018008939921855927, 0.014369729906320572, -0.00845250766724348, -0.0019833222031593323, -0.05280127376317978, 0.017466332763433456, 0.04352082312107086, -0.031957682222127914, 0.01306934468448162, -0.017700213938951492, -0.07364486902952194, -0.02651290036737919, -0.027467140927910805, -0.027504561468958855, 0.030180174857378006, 0.003791232593357563, -0.03276223689317703, 0.06844332814216614, 0.0009080481249839067, -0.04584093764424324, 0.02709292806684971, -0.055345915257930756, -0.015361391007900238, 0.001854686881415546, 0.012685777619481087, 0.02118038386106491, 0.046252571046352386, 0.003781877225264907, -0.055607862770557404, -0.017428910359740257, -0.009823057800531387, 0.04378277063369751, 0.007615208625793457, -0.06159524992108345, -0.059050608426332474, -0.01825217716395855, -0.02082488313317299, 0.09811831265687943, 0.010926982387900352, -0.04591577872633934, 0.004874107893556356, -0.0013214352075010538, 0.018336374312639236, 0.024211497977375984, -0.010038229636847973, 0.05474717542529106, -0.032893210649490356, -0.06485088914632797, -0.0012875222600996494, -0.012049617245793343, 0.09257998317480087, -0.0006636410835199058, -0.016774039715528488, 0.007456168532371521, -0.008354276418685913, -0.0389554388821125, -0.019328035414218903, 0.013873899355530739, 0.03328613191843033, -0.11316162347793579, -0.03266868367791176, 0.016783395782113075, 0.0037351008504629135, -0.030142754316329956, -0.0012594563886523247, -0.02617610991001129, -0.010580836795270443, -0.060135822743177414, -0.02447344735264778, 0.04022775962948799, 0.00726906256750226, -0.03562495484948158, -0.0726344957947731, 0.035288166254758835, 0.01484685018658638, 0.015454944223165512, 0.036130141466856, -0.0502566359937191, 0.1008126363158226, -0.011666050180792809, 0.02567092515528202, 0.008129749447107315, -0.008433796465396881, 0.04793652147054672, 0.033585503697395325, 0.03334226459264755, 0.08674227446317673, -0.019094152376055717, 0.06900463998317719, 0.0362798273563385, 0.039741285145282745, 0.048872049897909164, 0.026307083666324615, -0.018963178619742393, 0.03259384259581566, -0.02806587889790535, -0.012171236798167229, 0.00816717091947794, 0.0253902655094862, 0.04168718680739403, -0.02690582349896431, 0.011048601008951664, 0.006062230095267296, 0.006263368763029575, 0.003987693693488836, -0.0024464090820401907, -0.041013605892658234, 0.03828185796737671, 0.015127508901059628, -0.002255795057862997, 0.023818576708436012, -0.050930216908454895, -0.007610531058162451, 0.008125072345137596, -0.01519299577921629, 0.048722367733716965, -0.03328613191843033, 0.006904206238687038, 0.03240673616528511, -0.008583481423556805, 0.006646935828030109, -0.01223672367632389, 0.09243029356002808, 0.0337538979947567, 0.026887113228440285, -0.022677229717373848, 0.03631724789738655, 0.07169896364212036, 0.041911713778972626, -0.05407359451055527, -0.024922501295804977, -0.0389554388821125, -0.006427086424082518, 0.07506687194108963, 0.02338823303580284, -0.013714860193431377, -0.0008694575517438352, 0.00856477115303278, -0.028477512300014496, -0.07091312110424042, 0.0169143695384264, 0.030498255044221878, -0.05347485467791557, 0.007919255644083023, -0.057703446596860886, 0.0023692280519753695, 0.039816126227378845, 0.023294679820537567, -0.05515880882740021, 0.047637153416872025, 0.023762444034218788, 0.025334134697914124, 0.0560569167137146, -0.007531011011451483, -0.003173783188685775, -0.06840590387582779, 0.01778441295027733, -0.010655678808689117, -0.023406943306326866, 0.014145202934741974, -0.028346538543701172, -0.006707745138555765, 0.03197639063000679, -0.00948626734316349, -0.02555866166949272, 0.029862096533179283, 0.0280284583568573, 0.007376648485660553, 0.057516343891620636, 0.026849690824747086, -0.01669919863343239, 0.001762303290888667, -0.01504331175237894, 0.04026518017053604, 0.007975387386977673, 0.020263565704226494, 0.0618571974337101, -0.02842137962579727, -0.02817814238369465, 0.001986830262467265, -0.04026518017053604, -0.0022593033500015736, 0.028234275057911873, -0.017728280276060104, -0.11675405502319336, -0.028664618730545044, -0.006417731288820505, 0.012517382390797138, -0.03336097672581673, 0.016577579081058502, 0.007708761375397444, -0.0020371151622384787, 0.07723730057477951, 0.01233027596026659, 0.00047828935203142464, -0.020937146618962288, 0.08112910389900208, 0.024342473596334457, 0.017073409631848335, -0.0721106007695198, -0.012218012474477291, -0.040789078921079636, -0.034128110855817795, 0.016203368082642555, 0.03459587320685387, -0.03992839157581329, 0.02984338440001011, 0.04707583412528038, 0.02024485357105732, 0.022508835420012474, 0.009804347530007362, 0.034670718014240265, 0.046664200723171234, 0.01089891605079174, -0.015323970466852188, 0.014575546607375145, 0.033735185861587524, 0.058788660913705826, -0.029674990102648735, 0.0562066026031971, -0.0501069501042366, -0.02535284496843815, 0.0053886487148702145, 0.02335081249475479, 0.04853526130318642, -0.01240511890500784, 0.004212220665067434, 0.007933288812637329, -0.016867592930793762, 0.02860848605632782, 0.023051442578434944, -0.002762150252237916, -0.025221869349479675, 0.03309902548789978, -0.020506802946329117, 0.0368037223815918, -0.09909126162528992, 0.01318160817027092, -0.0034193596802651882, 0.0014652727404609323, -0.006862107664346695, 0.0339784249663353, 0.00934593752026558, -0.02129264734685421, 0.005089279264211655, 0.04262271523475647, -0.027934905141592026, -0.008850106969475746, -0.1012616902589798, -0.057591184973716736, 0.01940287835896015, 0.004443764220923185, -0.05194058641791344, -0.028346538543701172, 0.011778313666582108, -0.06496315449476242, -0.006717100273817778, 0.011591208167374134, -0.05706728994846344, -0.07053890824317932, 0.010244046337902546, -0.02578318864107132, 0.04292208328843117, -0.04048970714211464, 0.03936707228422165, 0.05818992480635643, -0.03568108752369881, -0.012966436333954334, 0.02484765835106373, 0.0017634727992117405, -0.03770183026790619, -0.02980596385896206, -0.009551754221320152, -0.029712410643696785, -0.07237254828214645, 0.02542768605053425, -0.01756924018263817, 0.026774849742650986, 0.025109605863690376, 0.02031969651579857, 0.014032939448952675, 0.06724584847688675, 0.009537721052765846, 0.000682936399243772, -0.02133006788790226, -0.0009782128036022186, 0.014762652106583118, 0.04037744551897049, -0.007900545373558998, 0.0013939386699348688, -0.034670718014240265, -0.04063939303159714, -0.05006952956318855, 0.03371647745370865, 0.026194820180535316, -0.07701276987791061, 0.011778313666582108, 0.07544108480215073, -0.030105333775281906, 0.006820008624345064, -0.02675613760948181, -0.01057148166000843, -0.018345730379223824, -0.015978841111063957, 0.005585109815001488, 0.016212722286581993, -0.006660968530923128, 0.029525304213166237, -0.043258875608444214, 0.018813494592905045, -0.0504811629652977, -0.03936707228422165, 0.04026518017053604, -0.028346538543701172, -0.014145202934741974, 0.006866785231977701, 0.008583481423556805, 0.016998566687107086, 0.044044721871614456, 0.020188722759485245, -0.04048970714211464, 0.01958998292684555, -0.05265158787369728, 0.011432168073952198, -0.010403085500001907, 0.062193989753723145, 0.012517382390797138, 0.007198898121714592, 0.05336259305477142, 0.010870850645005703, 0.02280820533633232, 0.011993485502898693, -0.018308307975530624, 0.013958097435534, 0.0024908469058573246, -0.012713843025267124, 0.004944272339344025, 0.011656695045530796, -0.025072185322642326, -0.031115705147385597, -0.023088863119482994, 0.030909888446331024, -0.01571689173579216, -0.0040391478687524796, -0.02024485357105732, -0.0506308451294899, -0.008438474498689175, -0.021610727533698082, 0.03236931562423706, -0.00604819692671299, 0.0194402989000082, -0.0223030187189579, 0.007816347293555737, -0.010702455416321754, 0.10515349358320236, 0.013855189085006714, 0.016287565231323242, -0.005575754679739475, 0.02481023781001568, 0.02744843065738678, 0.027785221114754677, -0.026569033041596413, -0.06926658749580383, 0.016895659267902374, 0.0007145105046220124, 0.05594465136528015, 0.006796620320528746, 0.026494190096855164, 0.02451086789369583, -0.0006583787617273629, -0.0169517919421196, 0.021068120375275612, 0.012311565689742565, 0.046626780182123184, 0.0721106007695198, 0.07731214165687561, 0.017513109371066093, -0.0005048934835940599, -0.0004937840858474374, -0.02179783210158348, -0.009804347530007362, -0.059873875230550766, -0.08210205286741257, 0.025689635425806046, 0.03850638493895531, -0.004380615893751383, -0.0052904183976352215, -0.026119979098439217, 0.011581853032112122, 0.005056535825133324, 0.003957288805395365, -0.03629853576421738, 0.0890623927116394, 0.046252571046352386, -0.0055149453692138195, -0.029094962403178215, -0.0056131756864488125, 0.0015798751264810562, -0.0389554388821125, -0.0019295292440801859, 0.07940772920846939, -0.07615208625793457, -0.029244646430015564, -0.015941418707370758, -0.029749833047389984, -0.034315213561058044, -0.03801991045475006, -0.007563754450529814, 0.05381164699792862, -0.00031106348615139723, 0.06855558604001999, -0.036410801112651825, -0.010786652565002441, -0.024922501295804977, 0.016540158540010452, -0.05594465136528015, -0.003861397271975875, -0.028907855972647667, 0.0014839833602309227, -0.007778926286846399, -0.061221037060022354, -0.008321532979607582, -0.006483218166977167, 0.013340648263692856, 0.02671871706843376, -0.03831928223371506, 0.023912129923701286, -0.006268046330660582, -0.00014939233369659632, -0.06256820261478424, 0.04890947416424751, -0.03708438202738762, 0.01879478432238102, 0.01915028505027294, -0.04823588952422142, -0.020431960001587868, 0.022059781476855278, 0.021049410104751587, -0.026700006797909737, 0.022321728989481926, 0.016717908903956413, 0.04063939303159714, 0.06137072294950485, -0.004609820898622274, -0.011581853032112122, -0.0252780020236969, 0.06159524992108345, 0.007531011011451483, -0.0012992162955924869, 0.019000601023435593, 0.011160864494740963, -0.012900949455797672, -0.024286340922117233, 0.057815711945295334, 0.058938346803188324, -0.03729019686579704, -0.032649971544742584, -0.030797624960541725, -0.01796216331422329, -0.010281466878950596, -0.013808412477374077, 0.06623547524213791, -0.009130765683948994, 0.03381003066897392, 0.00042566584306769073, -0.03813217580318451, -0.049919843673706055, 0.013396780006587505, -0.02393084019422531, -0.026606453582644463, 0.010159848257899284, -0.052165113389492035, -0.07188607007265091, -0.016493381932377815, -0.016137881204485893, -0.06529994308948517, -0.008845429867506027, 0.0451299324631691, -0.015782378613948822, -0.015146219171583652, -0.005140733439475298, 0.039666444063186646, 0.00462619261816144, 0.013976807706058025, 0.0196648258715868, -0.05942482128739357, -0.017765700817108154, 0.05504654347896576, 0.03884317725896835, -0.0038777689915150404, -0.006417731288820505, -0.041911713778972626, -0.030984731391072273, -0.0035082348622381687, 0.05381164699792862, -0.03440876677632332, 0.018298953771591187, -0.09138250350952148, 0.05059342458844185, -0.07244738936424255, 0.007306484039872885, 0.026774849742650986, -0.06241851672530174, 0.06496315449476242, 0.029319489374756813, -0.05175347998738289, 0.04834815487265587, 0.02961885742843151, 0.02423021011054516, -0.014491349458694458, -0.046551939100027084, -0.0004408681998029351, -0.004817976150661707, -0.07480492442846298, -0.01868252083659172, 0.003903496079146862, 0.0393296517431736, 0.006689034402370453, -0.023762444034218788, 0.06425215303897858, -0.043109189718961716, 0.08756554126739502, 0.029020119458436966, -0.03581206128001213, 0.05175347998738289, 0.0307789146900177, -0.013864544220268726, -0.014874916523694992, -0.005744149908423424, -0.012713843025267124, -0.028795592486858368, -0.03214478865265846, -0.06616063416004181, -0.030030490830540657, -0.04846042022109032, 0.034202951937913895, 0.004553689155727625, -0.04041486606001854, -0.062119144946336746, -0.04037744551897049, 0.04718809947371483, 0.00619320385158062, -0.0507805310189724, -0.020918436348438263, -0.030535677447915077, -0.007138088811188936, 0.019365455955266953, 0.06024808809161186, -0.001687461044639349, -0.02973112091422081, 0.04228592664003372, -0.006417731288820505, -0.013387424871325493, 0.036130141466856, 0.040751658380031586, -0.06851816922426224, -0.03034857101738453, -0.0507805310189724, 0.004408681765198708, 0.02555866166949272, -0.020693907514214516, 0.003922206815332174, -0.035325586795806885, 0.08808944374322891, 0.01450070459395647, -0.047637153416872025, -0.0252780020236969, 0.05482201650738716, 0.009645307436585426, -0.006338211242109537, 0.02911367267370224, 0.05456006899476051, 0.021199094131588936, -0.045167356729507446, 0.004411020781844854, 0.016465315595269203, -0.002165750367566943, -0.017148252576589584, -0.08292531967163086, -0.018167980015277863, -0.022321728989481926, 0.0563562847673893, 0.018785428255796432, -0.021535884588956833, -0.015922708436846733, -0.012508027255535126, 0.04486798495054245, 0.01857025735080242, -0.010945692658424377, -0.0613333024084568, -0.03440876677632332, 0.01970224641263485, 0.04367050901055336, 0.01277933083474636, 0.015361391007900238, 0.017101475968956947, -0.012517382390797138, 0.026999376714229584, -0.05474717542529106, -0.03685985505580902, 0.07207317650318146, 0.040976185351610184, 0.01767214946448803, 0.022433992475271225, 0.019814511761069298, -0.00016912615683395416, -0.023912129923701286, 0.047749415040016174, -0.0776115134358406, -0.026662586256861687, 0.013518398627638817, 0.011142154224216938, -0.0006846904871053994, 0.03171444311738014, 0.046439673751592636, 0.025072185322642326, -0.017335359007120132, 0.016493381932377815, -0.02842137962579727, 0.038581229746341705, 0.0392548106610775, 0.02002032659947872, -0.0075450437143445015, 0.0619320422410965, 0.01846734806895256, -0.0012921998277306557, -0.039816126227378845, -0.006791942752897739, -0.02930077724158764, -0.01115150935947895, -0.029338199645280838, -0.0559072308242321, -0.05152895301580429, 0.04501767084002495, 0.03392229229211807, -0.04456861689686775, 0.03326742351055145, 0.046551939100027084, -0.0616326704621315, -0.07656371593475342, -0.02404310368001461, -0.00614642770960927, -0.008232657797634602, 0.06952853500843048, 0.0022920467890799046, -0.03654177486896515, 0.023219836875796318, 0.03876833617687225, -0.0005715499282814562, 0.022939179092645645, -0.06582384556531906, -0.005912545137107372, 0.031059572473168373, -0.013892610557377338, 0.007203575689345598, -0.031882837414741516, -0.05223995819687843, 0.02679356001317501, -0.031527336686849594, 0.0388057567179203, -0.0446060374379158, 0.006478540599346161, -0.07600240409374237, 0.05717955157160759, -0.019870642572641373, -0.0030872467905282974, -0.014191979542374611, 0.027934905141592026, -0.01281675137579441, 0.04580351337790489, -0.056655656546354294, 0.008461862802505493, -0.05586981028318405, -0.008560093119740486, -0.03549398109316826, -0.06062230095267296, -0.023369522765278816, 0.00787715706974268, -0.012124460190534592, -0.04737520590424538, 0.008068940602242947, 0.01126377284526825, 0.05616917833685875, -0.03023630753159523, 0.006469184998422861, -0.00945352390408516, -0.019646115601062775, -0.036523062735795975, 0.0225275456905365, 0.01509944349527359, -0.008265401236712933, -0.006123039405792952, -0.027280034497380257, 0.04251045361161232, 0.03562495484948158, 0.009257062338292599, 0.02458571083843708, 0.001495677512139082, -0.08292531967163086, 0.04685130715370178, 0.030554387718439102, -0.03394100442528725, -0.00959853082895279, 0.03197639063000679, 0.04067681357264519, 0.014453927986323833, 0.006749844178557396, 0.005136055871844292, -0.007311161607503891, -0.026737427338957787, 0.032500289380550385, -0.02140491083264351, 0.016895659267902374, 0.006553382612764835, -0.0019061409402638674, 0.002275675069540739, 0.08546996116638184 ]
16,402
presidio_analyzer.analyzer_utils
is_verhoeff_number
Check if the input number is a true verhoeff number. :param input_number: :return:
@staticmethod def is_verhoeff_number(input_number: int): """ Check if the input number is a true verhoeff number. :param input_number: :return: """ __d__ = [ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 0, 6, 7, 8, 9, 5], [2, 3, 4, 0, 1, 7, 8, 9, 5, 6], [3, 4, 0, 1, 2, 8, 9, 5, 6, 7], [4, 0, 1, 2, 3, 9, 5, 6, 7, 8], [5, 9, 8, 7, 6, 0, 4, 3, 2, 1], [6, 5, 9, 8, 7, 1, 0, 4, 3, 2], [7, 6, 5, 9, 8, 2, 1, 0, 4, 3], [8, 7, 6, 5, 9, 3, 2, 1, 0, 4], [9, 8, 7, 6, 5, 4, 3, 2, 1, 0], ] __p__ = [ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 5, 7, 6, 2, 8, 3, 0, 9, 4], [5, 8, 0, 3, 7, 9, 6, 1, 4, 2], [8, 9, 1, 6, 0, 4, 3, 5, 2, 7], [9, 4, 5, 3, 1, 2, 6, 8, 7, 0], [4, 2, 8, 6, 5, 7, 3, 9, 0, 1], [2, 7, 9, 3, 8, 0, 6, 4, 1, 5], [7, 0, 4, 6, 9, 1, 3, 2, 5, 8], ] __inv__ = [0, 4, 3, 2, 1, 5, 6, 7, 8, 9] c = 0 inverted_number = list(map(int, reversed(str(input_number)))) for i in range(len(inverted_number)): c = __d__[c][__p__[i % 8][inverted_number[i]]] return __inv__[c] == 0
(input_number: int)
[ 0.04412483796477318, -0.008306740783154964, -0.030044713988900185, 0.0477515384554863, 0.004262260627001524, -0.05144935101270676, -0.04373372346162796, -0.00598227558657527, -0.06435613334178925, -0.02913803793489933, 0.006311167497187853, 0.020622406154870987, 0.02924470603466034, -0.07082729786634445, -0.033831413835287094, 0.002755580237135291, 0.04369816929101944, -0.0030778052750974894, -0.006471169181168079, -0.02709357626736164, -0.0031444726046174765, 0.02524466998875141, -0.00633339025080204, 0.07082729786634445, -0.027946917340159416, 0.07438288629055023, -0.006728949025273323, -0.014675687067210674, -0.05507604777812958, -0.0359114333987236, -0.029689155519008636, 0.013982347212731838, 0.006515613757073879, 0.03605365753173828, 0.0312358345836401, 0.0047378200106322765, 0.04967155680060387, 0.0684095025062561, -0.07424066215753555, 0.03793811798095703, 0.010337870568037033, -0.04903155192732811, 0.03242695704102516, 0.057564958930015564, -0.05873830243945122, -0.015324581414461136, 0.0013500121422111988, 0.0022889093961566687, 0.002546689473092556, -0.019004615023732185, 0.0310580562800169, -0.08049850165843964, 0.04195593297481537, -0.016889039427042007, -0.013306786306202412, 0.010106757283210754, 0.055538274347782135, 0.012960116378962994, 0.02760913595557213, 0.005124490242451429, -0.0012700114166364074, 0.011502325534820557, 0.017351265996694565, -0.010062312707304955, -0.015893476083874702, 0.06215166673064232, 0.004402261693030596, 0.012284554541110992, 0.015004578977823257, 0.016844594851136208, -0.011013432405889034, 0.00359558779746294, 0.014035681262612343, 0.007342287804931402, 0.006151166278868914, 0.00546227116137743, -0.0011294545838609338, -0.004484484437853098, -0.02172463946044445, -0.00909341499209404, 0.03262251615524292, -0.0502760075032711, 0.05056045204401016, -0.028213586658239365, -0.040995921939611435, -0.05937831103801727, 0.05831163376569748, 0.003033360466361046, 0.04341372102499008, 0.022257978096604347, -0.06801838427782059, 0.03765366971492767, -0.04227593541145325, -0.033618077635765076, 0.018791278824210167, 0.013173451647162437, 0.03808034211397171, -0.05649828538298607, 0.012453445233404636, -0.04408928379416466, 0.014364573173224926, 0.08952969312667847, -0.0022300200071185827, 0.008573410101234913, 0.01655125990509987, 0.029635820537805557, -0.04028480499982834, 0.007266731932759285, 0.023164652287960052, -0.03290696069598198, -0.0703650712966919, 0.030542496591806412, -0.09116525948047638, -0.05258713662624359, -0.02728913351893425, -0.022933539003133774, 0.018542388454079628, 0.0472181998193264, -0.03971591219305992, -0.01450679637491703, 0.04696930944919586, -0.007857847958803177, -0.04192037507891655, -0.018826834857463837, 0.020924631506204605, -0.02522689290344715, 0.02007129043340683, 0.012240109965205193, -0.026489125564694405, -0.037155888974666595, -0.0065378365106880665, 0.05109379068017006, -0.00123778881970793, 0.08924524486064911, -0.02522689290344715, 0.00921786017715931, -0.042667049914598465, -0.01542236004024744, 0.02533356100320816, -0.015137913636863232, -0.03159139305353165, -0.02176019549369812, 0.0236090999096632, 0.0018489054637029767, 0.02736024558544159, 0.017066819593310356, 0.04728931188583374, 0.023111317306756973, 0.007937848567962646, 0.012960116378962994, 0.01548458356410265, 0.016773482784628868, 0.08206295967102051, -0.014844577759504318, 0.008715633302927017, 0.031964730471372604, 0.05144935101270676, -0.058951638638973236, -0.015475694090127945, 0.004826710093766451, 0.06368056684732437, 0.011208989657461643, 0.0051022679544985294, 0.009324528276920319, 0.005284491926431656, -0.025866897776722908, -0.03672921657562256, -0.021351302042603493, 0.0324091799557209, 0.055360496044158936, -0.020604629069566727, -0.0036511437501758337, -0.057564958930015564, 0.06407168507575989, 0.06360945850610733, 0.017724603414535522, -0.008328963071107864, -0.03607143461704254, 0.04579596593976021, 0.013875680044293404, -0.024053549394011497, 0.01200010720640421, -0.06215166673064232, -0.012355666607618332, 0.024462440982460976, 0.05621383711695671, 0.05575161054730415, -0.010364537127315998, 0.0007633401546627283, -0.02165352739393711, -0.049991559237241745, -0.014089015312492847, 0.0718228667974472, 0.03832923248410225, 0.0071956198662519455, -0.058347187936306, -0.037191443145275116, 0.0046489303931593895, 0.011608992703258991, -0.10040979087352753, 0.0509871244430542, -0.019306840375065804, 0.007422288879752159, 0.014817910268902779, -0.028729146346449852, 0.017351265996694565, -0.029938045889139175, -0.004422261845320463, 0.029511375352740288, 0.0031555837485939264, 0.0069956183433532715, -0.046613749116659164, 0.008631188422441483, 0.029689155519008636, 0.01799127273261547, -0.019609063863754272, 0.0680539458990097, 0.02174241654574871, -0.021511303260922432, -0.007697846740484238, 0.003920034971088171, 0.005568938795477152, -0.026222456246614456, 0.03594698756933212, 0.037404779344797134, 0.05649828538298607, -0.014746799133718014, 0.06314723193645477, 0.019004615023732185, -0.009884532541036606, -0.003028915962204337, 0.03274695947766304, -0.02705802023410797, 0.0016833484405651689, -0.031929176300764084, 0.031662505120038986, -0.042809274047613144, -0.005377825815230608, -0.016764594241976738, -0.014044569805264473, 0.03141361474990845, 0.00042583714821375906, 0.02547578327357769, 0.003035582834854722, -0.0008911190670914948, -0.05408048629760742, 0.01836460828781128, 0.019377950578927994, -0.046293746680021286, -0.007497844751924276, -0.09216082841157913, -0.1005520150065422, 0.0030422494746744633, -0.03278251737356186, 0.058844972401857376, -0.015849031507968903, -0.03448919951915741, 0.02400021441280842, 0.04711153358221054, 0.0030555829871445894, -0.026364680379629135, -0.03274695947766304, 0.04924488440155983, -0.01633792370557785, -0.0549338236451149, -0.021333524957299232, -0.05859608203172684, 0.027875805273652077, 0.04419595003128052, -0.046080414205789566, 0.03772478178143501, -0.06670282036066055, -0.07210731506347656, 0.000922786071896553, 0.021386858075857162, 0.01987573318183422, 0.04885376989841461, 0.029635820537805557, -0.006742282770574093, 0.06645392626523972, 0.010711207054555416, -0.018631277605891228, 0.00023430764849763364, 0.010560094378888607, 0.014177904464304447, 0.03587587550282478, -0.02544022724032402, -0.05077378824353218, 0.07352954894304276, -0.0508093424141407, -0.01008009072393179, -0.006840061396360397, 0.02940470725297928, -0.02903137169778347, 0.01077342964708805, 0.010675651021301746, 0.011093433015048504, -0.04419595003128052, 0.0068000610917806625, -0.02339576557278633, 0.02739580161869526, -0.00997342262417078, 0.0538671500980854, -0.08718300610780716, -0.030115826055407524, -0.008911190554499626, 0.021369080990552902, 0.0038822570350021124, 0.033404745161533356, -0.04860487952828407, 0.02179575152695179, 0.02894248068332672, 0.03598254546523094, -0.027804693207144737, 0.01832905225455761, -0.0010183424456045032, 0.03676477447152138, -0.004042258486151695, 0.005564494524151087, 0.031982507556676865, 0.029653599485754967, 0.05937831103801727, 0.02727135457098484, 0.03416919335722923, 0.03242695704102516, -0.07495178282260895, 0.03297807276248932, -0.046684861183166504, -0.014977912418544292, -0.003997813444584608, -0.04394705966114998, -0.05710273236036301, 0.026382459327578545, 0.041244812309741974, 0.017315709963440895, -0.00010736207332229242, 0.014391239732503891, 0.024462440982460976, -0.010071201249957085, 0.0022611313033849, 0.07466733455657959, -0.006044498644769192, -0.039360351860523224, -0.005671161692589521, 0.007026729639619589, -0.028035806491971016, -0.035413648933172226, 0.020657962188124657, -0.005235602613538504, 0.058987196534872055, -0.02912026084959507, -0.035413648933172226, 0.003593365428969264, 0.0010100090876221657, 0.043022606521844864, 0.02535133808851242, 0.03141361474990845, -0.10012534260749817, -0.0026978019159287214, 0.022666869685053825, 0.031946953386068344, 0.01617792248725891, -0.02901359274983406, -0.017662379890680313, -0.07822292298078537, -0.06346723437309265, -0.007448955439031124, 0.012151219882071018, 0.03288918361067772, 0.011271212249994278, -0.03665810450911522, -0.024995779618620872, 0.031751394271850586, -0.04174259677529335, 0.05564494431018829, -0.019057948142290115, -0.011848995462059975, 0.0326758474111557, -0.017182376235723495, -0.02012462541460991, 0.05443604290485382, 0.05610717087984085, -0.07367177307605743, -0.014062347821891308, -0.014160126447677612, -0.018577944487333298, 0.007986738346517086, 0.03754700347781181, 0.03811589628458023, 0.04305816441774368, -0.022755758836865425, 0.0038667013868689537, 0.06449835747480392, -0.007128952536731958, 0.03233806788921356, 0.05600050091743469, 0.003277807030826807, 0.037155888974666595, -0.02721802145242691, -0.026720238849520683, 0.03463141992688179, -0.013520121574401855, -0.00026750238612294197, 0.00768895773217082, -0.021013520658016205, -0.02179575152695179, 0.048142652958631516, 0.015182358212769032, 0.02547578327357769, -0.007533400785177946, -0.025120224803686142, -0.009280082769691944, 0.01104898750782013, -0.06296945363283157, -0.03260473534464836, 0.0069956183433532715, -0.025902453809976578, -0.05255158245563507, -0.0016400146996602416, 0.0041689262725412846, 0.07886292785406113, -0.03754700347781181, 0.03672921657562256, 0.024142438545823097, 0.03601809963583946, 0.022151309996843338, -0.020569073036313057, 0.04238260164856911, -0.03150250390172005, 0.05461382120847702, -0.0368003286421299, -0.014266794547438622, 0.030560273677110672, -0.06848061084747314, -0.007377843838185072, 0.027662470936775208, 0.05415159463882446, 0.017822381108999252, -0.007751180324703455, 0.002695579780265689, 0.05489826947450638, 0.06986729055643082, 0.022915760055184364, 0.022969095036387444, 0.028729146346449852, -0.01818682998418808, -0.0010083423694595695, 0.006711171008646488, 0.005377825815230608, -0.06581392139196396, -0.024675777181982994, -0.009662308730185032, -0.05397381633520126, -0.042773716151714325, 0.01611570082604885, 0.035591430962085724, -0.039075907319784164, 0.03489809110760689, -0.00677339406684041, 0.004348927643150091, -0.017689047381281853, 0.07267620414495468, -0.038862571120262146, -0.009813421405851841, -0.028391364961862564, -0.059022750705480576, 0.014906800352036953, -0.026186902076005936, -0.005128934979438782, 0.0066267261281609535, 0.012195664457976818, -0.021475747227668762, 0.014311239123344421, 0.04042702913284302, 0.03310251981019974, 0.03139583766460419, -0.030169159173965454, -0.011271212249994278, 0.00274891359731555, -0.009982312098145485, -0.024871334433555603, 0.02526244893670082, -0.01080898568034172, -0.05443604290485382, 0.05450715497136116, -0.05624939128756523, -0.060622766613960266, -0.00048055985826067626, 0.0089778583496809, -0.08931635320186615, 0.000049792113713920116, -0.009582308121025562, 0.010906764306128025, 0.051698241382837296, 0.02174241654574871, 0.01838238723576069, -0.003344474360346794, 0.035413648933172226, 0.014746799133718014, -0.0037355890963226557, -0.005888941697776318, 0.022844649851322174, -0.038898125290870667, -0.04323594272136688, 0.005137823987752199, 0.04675597324967384, 0.0166490375995636, -0.014169015921652317, -0.01560902874916792, 0.06634726375341415, -0.013137895613908768, -0.02161797136068344, 0.09848976880311966, 0.029973601922392845, -0.0007477844483219087, 0.03825812041759491, -0.05642717331647873, -0.011262322776019573, 0.0061689442954957485, 0.018489055335521698, 0.01973351091146469, 0.00990231055766344, -0.0010483426740393043, -0.05596494674682617, 0.002557800617069006, 0.03957368806004524, -0.09536085277795792, -0.06577836722135544, 0.0016289034392684698, 0.006515613757073879, -0.04604485630989075, -0.02716468833386898, 0.05038267374038696, 0.07680068910121918, -0.03872034698724747, 0.007813403382897377, 0.00341558619402349, -0.05984053760766983, -0.0166490375995636, -0.00448892917484045, -0.03516475856304169, 0.017822381108999252, -0.0012533445842564106, -0.035484760999679565, 0.03882701322436333, 0.0018166829831898212, -0.00546227116137743, 0.06755615770816803, -0.07296065241098404, -0.022222422063350677, -0.007582290098071098, -0.018880169838666916, 0.0763029083609581, -0.05219602212309837, 0.0653516948223114, 0.0117601053789258, 0.003331140847876668, 0.011626770719885826, 0.014017903245985508, 0.0069111729972064495, -0.021226856857538223, -0.04952933266758919, 0.019324617460370064, -0.07836514711380005, -0.11413435637950897, 0.008600076660513878, 0.018453499302268028, -0.012168997898697853, -0.017146820202469826, 0.000826674047857523, 0.03594698756933212, 0.03463141992688179, 0.05088045448064804, 0.005675606429576874, -0.015955697745084763, 0.02528022602200508, -0.004857821390032768, -0.05564494431018829, 0.05486271530389786, -0.02350243367254734, -0.0199290681630373, -0.04782265052199364, -0.07168064266443253, -0.05276491865515709, -0.008542298339307308, -0.00498671131208539, -0.003557809628546238, 0.020480183884501457, 0.009751198813319206, 0.04188482090830803, -0.02197352983057499, -0.04760931432247162, -0.004813376348465681, -0.04337816685438156, -0.01629347912967205, 0.025920232757925987, -0.028515810146927834, 0.02513800375163555, 0.07331620901823044, 0.017777936533093452, -0.05120045691728592, 0.003951146733015776, -0.028729146346449852, -0.07687179744243622, 0.0396803542971611, -0.011786771938204765, -0.009840087965130806, -0.07722736150026321, -0.00014145960449241102, -0.060693878680467606, 0.013840124011039734, 0.010071201249957085, -0.03315585106611252, -0.04736042395234108, 0.005720051471143961, 0.04131592437624931, -0.009200082160532475, 0.006337834522128105, -0.018933502957224846, 0.036906998604536057, -0.04540485143661499, 0.08597410470247269, 0.04842710122466087, -0.01991128921508789, -0.02741357870399952, -0.04867599159479141, 0.04856932535767555, -0.0434492789208889, -0.02707579731941223, -0.06375168263912201, 0.025884676724672318, 0.01632014662027359, 0.012133441865444183, 0.0405692532658577, -0.040818143635988235, -0.0366225503385067, -0.0026711351238191128, 0.015395693480968475, -0.007382288575172424, 0.06215166673064232, -0.05166268348693848, 0.015022356994450092, -0.033795859664678574, -0.011777883395552635, -0.0027689137496054173, 0.0078000701032578945, 0.005040045361965895, 0.010426759719848633, 0.013075673021376133, -0.0007500067004002631, -0.007422288879752159, 0.08085405826568604, -0.007897848263382912, -0.0018911280203610659, -0.04419595003128052, -0.025849120691418648, 0.03875590115785599, -0.0035111424513161182, 0.021297968924045563, 0.005048933904618025, 0.011244544759392738, 0.05240935832262039, -0.04544040560722351, -0.05784940719604492, 0.07480955868959427, 0.062293890863657, 0.048178210854530334, 0.026898019015789032, 0.002082240767776966, 0.0038178120739758015, -0.0048444876447319984, -0.01987573318183422, -0.010106757283210754, -0.007355621550232172, 0.03256918117403984, -0.029529154300689697, -0.04238260164856911, 0.0511649027466774, -0.008364519104361534, -0.020337959751486778, 0.020480183884501457, -0.035218093544244766, 0.029671376571059227, -0.02183130756020546, 0.053404923528432846, 0.00685339467599988, -0.015902364626526833, 0.02327132038772106, -0.030186936259269714, -0.04234704747796059, -0.05621383711695671, -0.01630236767232418, -0.017013486474752426, -0.011982329189777374, 0.042418159544467926, 0.028533589094877243, -0.07808069884777069, 0.04224037751555443, 0.026524681597948074, -0.057564958930015564, 0.04497817903757095, -0.04945822060108185, -0.0036933664232492447, 0.06375168263912201, -0.07111174613237381, 0.004157815128564835, -0.028338031843304634, -0.06926283985376358, -0.003971146885305643, -0.03676477447152138, -0.006968951318413019, 0.020586851984262466, 0.01163566019386053, -0.06456946581602097, 0.014115681871771812, 0.02183130756020546, 0.0006638948107138276, 0.03943146392703056, 0.02696913108229637, 0.008044516667723656, 0.020817963406443596, -0.017795715481042862, 0.05066712200641632, 0.019377950578927994, -0.06666726619005203, 0.024124661460518837, 0.017377933487296104, -0.038791459053754807, 0.010977876372635365, -0.05987609177827835, -0.018791278824210167, -0.026595793664455414, -0.0254935622215271, -0.009271194227039814, 0.009520085528492928, 0.015982365235686302, 0.01541347149759531, -0.0021622416097670794, -0.057209402322769165, -0.014320128597319126, 0.03776033967733383, -0.0009561196784488857, -0.02931581810116768, 0.010071201249957085, 0.020871298387646675, 0.08782301098108292, 0.03217806667089462, 0.016809038817882538, 0.015049023553729057, -0.060907211154699326, -0.013902346603572369, -0.028569145128130913, 0.026240235194563866, -0.010977876372635365, 0.05671161785721779, 0.03493364527821541, 0.01000897865742445, 0.00804896093904972, -0.004724486730992794, -0.03598254546523094, -0.04209815338253975, 0.011591214686632156, 0.019271284341812134, 0.035822544246912, -0.03761811554431915, 0.028569145128130913, -0.03331585228443146, 0.03982257843017578 ]
16,403
presidio_analyzer.analyzer_utils
sanitize_value
Cleanse the input string of the replacement pairs specified as argument. :param text: input string :param replacement_pairs: pairs of what has to be replaced with which value :return: cleansed string
@staticmethod def sanitize_value(text: str, replacement_pairs: List[Tuple[str, str]]) -> str: """ Cleanse the input string of the replacement pairs specified as argument. :param text: input string :param replacement_pairs: pairs of what has to be replaced with which value :return: cleansed string """ for search_string, replacement_string in replacement_pairs: text = text.replace(search_string, replacement_string) return text
(text: str, replacement_pairs: List[Tuple[str, str]]) -> str
[ 0.0219314806163311, -0.020597930997610092, -0.002457605442032218, 0.0034577674232423306, -0.047503191977739334, -0.04296191409230232, -0.017029786482453346, 0.005541438236832619, 0.08549132943153381, -0.0002401853125775233, -0.001891072141006589, 0.054603442549705505, -0.010677405633032322, 0.006059540435671806, -0.020994393154978752, -0.020489806309342384, 0.004025427158921957, 0.03827647119760513, 0.03258185461163521, -0.0540267713367939, -0.0034082098864018917, 0.017957864329218864, -0.026743071153759956, 0.008388746529817581, 0.007194859441369772, -0.0019530191784724593, 0.03510478511452675, -0.002248111879453063, -0.00115671893581748, 0.004207889083772898, 0.05705428868532181, 0.004385845735669136, 0.031446535140275955, 0.0395379364490509, 0.071146659553051, -0.06808310002088547, -0.015326807275414467, 0.018849901854991913, -0.018759796395897865, -0.007951739244163036, -0.033536966890096664, -0.0028180242516100407, 0.0017074838979169726, -0.03499666228890419, 0.014813210815191269, 0.030887886881828308, -0.02993277832865715, 0.03676271438598633, -0.02148095704615116, -0.006960587110370398, 0.01982303149998188, 0.008577966131269932, 0.006041519343852997, -0.007582309655845165, 0.005572975147515535, 0.04505234584212303, 0.013858101330697536, 0.10488186031579971, 0.0784992054104805, -0.052981555461883545, 0.07612044364213943, 0.006289307493716478, -0.002558973152190447, -0.017849739640951157, -0.022147731855511665, 0.027716202661395073, 0.02609431743621826, -0.026923280209302902, 0.014470812864601612, -0.0053882603533566, -0.024814831092953682, -0.03580760210752487, -0.05049466714262962, -0.012497520074248314, 0.06581246852874756, 0.02528337575495243, -0.013434609398245811, 0.04130398854613304, 0.022021586075425148, -0.040330857038497925, 0.022183774039149284, -0.01030797604471445, 0.060982853174209595, -0.031770914793014526, -0.01351570338010788, -0.046998605132102966, -0.0009027363266795874, -0.00390829099342227, 0.051756132394075394, 0.04440359026193619, -0.014687064103782177, -0.05024237558245659, 0.006609179079532623, 0.0387810580432415, -0.021769292652606964, 0.03629416972398758, 0.02832891419529915, -0.1071164533495903, -0.030167050659656525, -0.013849090784788132, 0.07125478982925415, 0.05391864478588104, -0.013155284337699413, -0.08851884305477142, 0.03795209527015686, -0.09378095716238022, -0.018669690936803818, -0.047863610088825226, 0.034834474325180054, 0.013245388865470886, -0.07446251809597015, -0.09623181074857712, 0.02065199427306652, -0.018390366807579994, -0.02744588814675808, -0.009560107253491879, -0.06920040398836136, -0.03914147615432739, 0.026292547583580017, -0.03301435708999634, 0.01772359199821949, -0.015912488102912903, -0.04696256294846535, 0.03296029567718506, 0.02831089310348034, 0.049161117523908615, -0.01683155633509159, 0.02157106250524521, 0.04508838802576065, -0.0076994458213448524, -0.019246362149715424, -0.018435418605804443, 0.014272582717239857, 0.0033045895397663116, 0.016137748956680298, -0.012470489367842674, -0.04173649102449417, 0.004906200338155031, 0.05229676142334938, 0.03676271438598633, 0.015957539901137352, -0.021426895633339882, 0.024274203926324844, 0.009343856014311314, 0.009983599185943604, -0.0026152885984629393, 0.004536771215498447, 0.03344685956835747, 0.0005386570701375604, 0.013353514485061169, -0.018777817487716675, 0.05773908644914627, 0.06404641270637512, 0.025607751682400703, -0.012866949662566185, 0.04465588554739952, 0.05622532591223717, -0.022093670442700386, 0.017128901556134224, -0.006631704978644848, 0.010046673007309437, -0.009105078876018524, 0.0011646030470728874, 0.04602547362446785, 0.019210319966077805, 0.017002753913402557, 0.07403001189231873, -0.004102015867829323, 0.03751959279179573, -0.010911677964031696, -0.016750462353229523, -0.00867708120495081, -0.059721387922763824, 0.048728615045547485, 0.06350578367710114, 0.03169883042573929, -0.019642822444438934, -0.013470650650560856, 0.05489177629351616, 0.012614656239748001, -0.05352218449115753, 0.0034082098864018917, -0.02528337575495243, 0.007028165739029646, -0.0020273556001484394, 0.004388098139315844, -0.004016416613012552, 0.024995040148496628, -0.006789388135075569, -0.03508676588535309, 0.028112662956118584, -0.028166726231575012, -0.0011724872747436166, -0.000278339022770524, 0.024634622037410736, 0.004286730661988258, 0.00015275560144800693, 0.00601448817178607, -0.030671635642647743, -0.011929861269891262, -0.03128434717655182, -0.024274203926324844, 0.03211330994963646, 0.02746390923857689, 0.040727321058511734, 0.009713285602629185, 0.00011509466276038438, -0.011236054822802544, -0.10509810596704483, 0.006609179079532623, 0.04353858530521393, 0.01651619002223015, -0.0015937266871333122, -0.013110232539474964, 0.029644442722201347, -0.016218844801187515, 0.07676919549703598, 0.0061136032454669476, -0.049197159707546234, -0.0047034649178385735, 0.01368690188974142, -0.03490655496716499, 0.06148744001984596, 0.00038604228757321835, 0.07208374887704849, 0.011893819086253643, -0.008974427357316017, 0.012794866226613522, 0.006095582153648138, -0.019642822444438934, 0.034816451370716095, -0.04126794636249542, -0.00653258990496397, 0.062244318425655365, 0.03578958287835121, -0.12578614056110382, 0.01434466615319252, -0.08116630464792252, 0.011974913068115711, -0.019174277782440186, -0.020363660529255867, -0.0032212426885962486, -0.04335837811231613, 0.025968171656131744, 0.01329044159501791, -0.013767996802926064, -0.029842672869563103, 0.0355733297765255, 0.02622046507894993, -0.013822059147059917, 0.021769292652606964, 0.03762771934270859, -0.047899652272462845, 0.03416769951581955, -0.007857128977775574, 0.02232794277369976, 0.0014236540300771594, 0.03661854565143585, 0.05954117700457573, -0.029878715053200722, 0.0011905082501471043, -0.020940329879522324, -0.019714906811714172, 0.03045538440346718, 0.005861309822648764, -0.008429293520748615, -0.012380383908748627, 0.03380727767944336, -0.009659222327172756, -0.0025657310616225004, 0.06375807523727417, 0.0000392800138797611, 0.013452630490064621, 0.004829611163586378, -0.06123514845967293, 0.10026849806308746, 0.03681677579879761, 0.0010925193782895803, 0.021228665485978127, -0.015263734385371208, 0.0784992054104805, -0.016570251435041428, -0.022129710763692856, -0.01351570338010788, 0.09233928471803665, 0.0026918775402009487, 0.0172280166298151, -0.029446212574839592, 0.01728207990527153, 0.04296191409230232, -0.027301721274852753, -0.02355336584150791, 0.008104916661977768, 0.0023359640035778284, -0.01566019468009472, 0.04245733097195625, 0.0031761901918798685, 0.009650211781263351, 0.010830583982169628, -0.08260797709226608, -0.018029948696494102, 0.02279648557305336, -0.00906453188508749, 0.02740984596312046, 0.06047826632857323, -0.020778141915798187, -0.0038609858602285385, -0.018426408991217613, -0.005982951261103153, 0.011515378952026367, -0.03254581242799759, -0.02285054884850979, 0.0010863246861845255, 0.038997311145067215, 0.01164152566343546, 0.026058275252580643, -0.007658898364752531, 0.013695912435650826, -0.02369753271341324, 0.003966859076172113, 0.06235244497656822, -0.0960155576467514, 0.0021061971783638, 0.02149897813796997, -0.011911840178072453, -0.042349204421043396, -0.014056331478059292, -0.008370725437998772, 0.03301435708999634, 0.01690363883972168, -0.048692572861909866, -0.0004800890455953777, 0.03366311267018318, -0.023301072418689728, 0.039826273918151855, 0.01563316397368908, -0.029356107115745544, -0.01116397138684988, 0.028887562453746796, -0.030275175347924232, -0.008974427357316017, 0.04782756790518761, -0.01861562952399254, 0.00015078455908223987, -0.004149321001023054, 0.02450847625732422, -0.0828242301940918, 0.01100178249180317, 0.025860045105218887, -0.03157268464565277, 0.03429384529590607, -0.05013424903154373, 0.02200356498360634, 0.004584075883030891, 0.022093670442700386, 0.003935322165489197, -0.0019124720711261034, 0.01984105259180069, -0.008960911072790623, -0.055071987211704254, 0.05791929364204407, -0.03723125904798508, 0.03153664246201515, 0.004507487174123526, 0.03496062010526657, 0.014074352569878101, -0.034762389957904816, -0.0037055553402751684, -0.03587968647480011, 0.02611233852803707, 0.02328305132687092, -0.006978608202189207, 0.007221890613436699, -0.07539960741996765, 0.01648014783859253, -0.014921336434781551, 0.003824944142252207, 0.039105433970689774, -0.047935694456100464, -0.005978445988148451, 0.02872537449002266, 0.009551096707582474, -0.0000539924185432028, -0.003297831630334258, -0.0032077268697321415, -0.0025972677394747734, -0.0006234117900021374, 0.05399072915315628, 0.016326969489455223, 0.0344560332596302, -0.019913136959075928, -0.0871492549777031, 0.01415544655174017, -0.037303339689970016, -0.010452143847942352, -0.030923929065465927, -0.0065596215426921844, -0.013840080238878727, -0.03380727767944336, -0.009884484112262726, -0.041556283831596375, -0.04541276395320892, -0.024778788909316063, -0.024382328614592552, -0.014669043011963367, 0.03705104812979698, 0.02531941793859005, 0.054243024438619614, 0.018705733120441437, 0.03625812754034996, 0.009785369038581848, -0.04296191409230232, 0.045809224247932434, -0.08859092742204666, 0.013371535576879978, 0.013353514485061169, -0.035230934619903564, 0.008001296781003475, -0.04887278378009796, -0.018849901854991913, 0.008100411854684353, -0.12391196936368942, -0.012434447184205055, 0.035591352730989456, -0.03600583225488663, -0.027499951422214508, 0.04602547362446785, -0.033573005348443985, 0.039105433970689774, -0.011839755810797215, -0.02656286209821701, -0.03643833473324776, -0.07518335431814194, -0.016795514151453972, 0.03256383538246155, 0.031482577323913574, 0.0232470091432333, 0.03932168707251549, 0.06447891891002655, 0.005609016865491867, -0.06303723901510239, 0.00673983059823513, 0.05939701199531555, 0.038600847125053406, -0.005482870154082775, -0.018759796395897865, -0.0939251258969307, -0.024202119559049606, -0.0387810580432415, 0.012930022552609444, -0.007762519177049398, 0.0455569289624691, -0.020597930997610092, 0.0002636970020830631, 0.03888918459415436, -0.03380727767944336, -0.02319294773042202, -0.024995040148496628, 0.019985219463706017, 0.05153988301753998, 0.037735842168331146, 0.02063397318124771, 0.0007174586062319577, 0.017966875806450844, -0.05153988301753998, 0.01767854019999504, -0.007753508631139994, -0.052080512046813965, -0.042925875633955, -0.011028814129531384, 0.012506530620157719, -0.05323385074734688, 0.030671635642647743, 0.020543869584798813, -0.034762389957904816, 0.0015407901955768466, -0.018345315009355545, 0.01566019468009472, 0.01946261338889599, 0.009731306694447994, -0.020003240555524826, -0.035609371960163116, -0.006766862235963345, 0.04512442648410797, 0.0036041876301169395, -0.032689981162548065, 0.040330857038497925, -0.08022921532392502, -0.008830259554088116, 0.04382691904902458, 0.0077399928122758865, -0.04771944507956505, 0.052945517003536224, -0.03656448423862457, -0.033573005348443985, -0.045773182064294815, -0.04170044884085655, -0.003730334108695388, -0.012083038687705994, -0.015038472600281239, -0.017579425126314163, -0.019985219463706017, -0.013461640104651451, -0.0480077788233757, 0.09133011102676392, -0.003399199340492487, 0.023877741768956184, 0.047467149794101715, -0.01984105259180069, -0.034005507826805115, -0.060153890401124954, -0.04862048849463463, 0.0498819574713707, -0.057126373052597046, 0.0295543372631073, -0.04674631357192993, -0.025860045105218887, -0.035266976803541183, -0.005464849527925253, -0.03712313249707222, -0.04552089050412178, -0.005987456534057856, -0.027680160477757454, -0.0084247887134552, 0.018777817487716675, -0.08916760236024857, 0.02832891419529915, -0.003264042316004634, 0.007266943342983723, -0.05788325145840645, -0.025013061240315437, 0.008969921618700027, 0.015479985624551773, -0.05442323163151741, 0.0304013229906559, 0.02328305132687092, 0.03795209527015686, -0.06995727866888046, -0.011587463319301605, 0.08823051303625107, 0.009001458063721657, 0.038600847125053406, -0.017966875806450844, -0.0056135221384465694, -0.027572033926844597, 0.0032708002254366875, -0.017858749255537987, -0.0007056323229335248, -0.05280134826898575, 0.003615450579673052, -0.08383340388536453, -0.005649563856422901, 0.025625772774219513, 0.015570090152323246, -0.000932583527173847, -0.08217547833919525, -0.06364995241165161, 0.024220140650868416, -0.028833501040935516, 0.06383015960454941, -0.0009945305064320564, -0.058459922671318054, 0.06462308019399643, -0.015245713293552399, -0.013903153128921986, 0.0295543372631073, -0.05640553683042526, 0.00025257471133954823, -0.0608026459813118, 0.00008890798926586285, 0.021228665485978127, 0.00411553168669343, 0.08123838901519775, 0.025643793866038322, -0.07475084811449051, 0.00005504833461600356, 0.030545489862561226, -0.03681677579879761, 0.005081904586404562, -0.010046673007309437, -0.020796163007616997, 0.053774479776620865, -0.01942657120525837, -0.04206087067723274, 0.07255229353904724, 0.02200356498360634, 0.023102842271327972, 0.053017597645521164, -0.00801931694149971, 0.03305039927363396, 0.010704437270760536, 0.004982789512723684, 0.004653907380998135, -0.017209995537996292, 0.02449045516550541, -0.0014168962370604277, -0.011713610030710697, 0.006609179079532623, -0.0035208407789468765, -0.005667584948241711, -0.05283739045262337, 0.017984895035624504, 0.029266003519296646, 0.03584364429116249, 0.044079214334487915, -0.007244416978210211, 0.014813210815191269, -0.02362545020878315, -0.031014034524559975, -0.013777007348835468, 0.03676271438598633, 0.06166765093803406, 0.02948225475847721, -0.017480310052633286, 0.038600847125053406, 0.05582886561751366, -0.04761131852865219, 0.004511992447078228, -0.0069200401194393635, -0.0177416130900383, -0.035266976803541183, -0.015290766023099422, -0.09003260731697083, 0.0061136032454669476, 0.015308787114918232, -0.012560593895614147, 0.006478527095168829, -0.004721485543996096, -0.07691336423158646, -0.08931177109479904, -0.009204193949699402, -0.002633309457451105, 0.033951446413993835, 0.021661167964339256, -0.04314212501049042, 0.055540531873703, 0.025139208883047104, -0.022544194012880325, -0.05017029121518135, 0.044547758996486664, 0.04130398854613304, -0.02449045516550541, 0.010262924246490002, 0.057991378009319305, -0.024652643129229546, -0.0047710430808365345, -0.011290117166936398, -0.07143499702215195, -0.04602547362446785, -0.000374216033378616, 0.006893008481711149, 0.08469840884208679, -0.020850224420428276, -0.010253913700580597, -0.010289955884218216, 0.038096264004707336, -0.027644118294119835, -0.04270962253212929, -0.025860045105218887, -0.01160548347979784, 0.0043678246438503265, 0.03332071378827095, 0.0231569055467844, 0.058459922671318054, 0.02957235835492611, -0.0023359640035778284, 0.0282388087362051, 0.06678559631109238, 0.017219005152583122, 0.002253743587061763, 0.044547758996486664, -0.0032189900521188974, 0.012281268835067749, 0.0033541470766067505, -0.003926311619579792, -0.037699803709983826, 0.004482708405703306, 0.0327620655298233, -0.02407597377896309, 0.038564808666706085, 0.048764657229185104, -0.035717498511075974, -0.00337892584502697, -0.02283252775669098, -0.01479518972337246, 0.00739759486168623, -0.05453135818243027, 0.02191345952451229, 0.010145788080990314, -0.029644442722201347, -0.05150384083390236, -0.06602871417999268, -0.053774479776620865, -0.05658574402332306, -0.015525038354098797, -0.039934396743774414, 0.005969435442239046, -0.0347263477742672, 0.1246328055858612, 0.0054873754270374775, 0.0019620296079665422, 0.009460992179811, -0.03834855556488037, 0.00864554475992918, 0.0019147245911881328, -0.04007856547832489, -0.003113117069005966, -0.029193919152021408, -0.012569604441523552, -0.01518264040350914, 0.0311582013964653, 0.009884484112262726, -0.013560756109654903, -0.0033946940675377846, 0.013182315975427628, -0.003432988654822111, -0.032671961933374405, -0.06065847724676132, 0.0598655566573143, -0.0043475511483848095, 0.02613035961985588, -0.011254075914621353, -0.007442647125571966, -0.0414121150970459, -0.02613035961985588, 0.025589732453227043, 0.0014957378152757883, -0.025409521535038948, 0.035663437098264694, -0.003338378621265292, 0.010010630823671818, 0.028977667912840843, -0.04519651085138321, 0.017002753913402557, -0.010163809172809124, 0.002662593498826027, -0.002031860640272498, -0.0029734547715634108, -0.05135967209935188, -0.011956891976296902, 0.02739182487130165, 0.006059540435671806, -0.006911029573529959, -0.03366311267018318, -0.009262762032449245, 0.03550124913454056, -0.010515217669308186, 0.003824944142252207, -0.0282388087362051, 0.024346286430954933, 0.041556283831596375, 0.11014397442340851, -0.06451495736837387, 0.029806630685925484, 0.11929860711097717, -0.02115658111870289, 0.05510802939534187, 0.019066153094172478, -0.046602144837379456, 0.026652967557311058, 0.0022830276284366846, 0.07900378853082657, 0.04926924407482147, -0.006595663260668516, 0.019210319966077805, -0.011227044276893139, 0.0031987165566533804, 0.03842063993215561 ]
16,404
presidio_analyzer.recognizer_registry
RecognizerRegistry
Detect, register and hold all recognizers to be used by the analyzer. :param recognizers: An optional list of recognizers, that will be available instead of the predefined recognizers :param global_regex_flags : regex flags to be used in regex matching, including deny-lists
class RecognizerRegistry: """ Detect, register and hold all recognizers to be used by the analyzer. :param recognizers: An optional list of recognizers, that will be available instead of the predefined recognizers :param global_regex_flags : regex flags to be used in regex matching, including deny-lists """ def __init__( self, recognizers: Optional[Iterable[EntityRecognizer]] = None, global_regex_flags: Optional[int] = re.DOTALL | re.MULTILINE | re.IGNORECASE, ): if recognizers: self.recognizers = recognizers else: self.recognizers = [] self.global_regex_flags = global_regex_flags def load_predefined_recognizers( self, languages: Optional[List[str]] = None, nlp_engine: NlpEngine = None ) -> None: """ Load the existing recognizers into memory. :param languages: List of languages for which to load recognizers :param nlp_engine: The NLP engine to use. :return: None """ if not languages: languages = ["en"] nlp_recognizer = self._get_nlp_recognizer(nlp_engine) recognizers_map = { "en": [ UsBankRecognizer, UsLicenseRecognizer, UsItinRecognizer, UsPassportRecognizer, UsSsnRecognizer, NhsRecognizer, SgFinRecognizer, AuAbnRecognizer, AuAcnRecognizer, AuTfnRecognizer, AuMedicareRecognizer, InPanRecognizer, InAadhaarRecognizer, InVehicleRegistrationRecognizer, ], "es": [EsNifRecognizer], "it": [ ItDriverLicenseRecognizer, ItFiscalCodeRecognizer, ItVatCodeRecognizer, ItIdentityCardRecognizer, ItPassportRecognizer, ], "pl": [PlPeselRecognizer], "ALL": [ CreditCardRecognizer, CryptoRecognizer, DateRecognizer, EmailRecognizer, IbanRecognizer, IpRecognizer, MedicalLicenseRecognizer, PhoneRecognizer, UrlRecognizer, ], } for lang in languages: lang_recognizers = [ self.__instantiate_recognizer( recognizer_class=rc, supported_language=lang ) for rc in recognizers_map.get(lang, []) ] self.recognizers.extend(lang_recognizers) all_recognizers = [ self.__instantiate_recognizer( recognizer_class=rc, supported_language=lang ) for rc in recognizers_map.get("ALL", []) ] self.recognizers.extend(all_recognizers) if nlp_engine: nlp_recognizer_inst = nlp_recognizer( supported_language=lang, supported_entities=nlp_engine.get_supported_entities(), ) else: nlp_recognizer_inst = nlp_recognizer(supported_language=lang) self.recognizers.append(nlp_recognizer_inst) @staticmethod def _get_nlp_recognizer( nlp_engine: NlpEngine, ) -> Type[SpacyRecognizer]: """Return the recognizer leveraging the selected NLP Engine.""" if isinstance(nlp_engine, StanzaNlpEngine): return StanzaRecognizer if isinstance(nlp_engine, TransformersNlpEngine): return TransformersRecognizer if not nlp_engine or isinstance(nlp_engine, SpacyNlpEngine): return SpacyRecognizer else: logger.warning( "nlp engine should be either SpacyNlpEngine," "StanzaNlpEngine or TransformersNlpEngine" ) # Returning default return SpacyRecognizer def get_recognizers( self, language: str, entities: Optional[List[str]] = None, all_fields: bool = False, ad_hoc_recognizers: Optional[List[EntityRecognizer]] = None, ) -> List[EntityRecognizer]: """ Return a list of recognizers which supports the specified name and language. :param entities: the requested entities :param language: the requested language :param all_fields: a flag to return all fields of a requested language. :param ad_hoc_recognizers: Additional recognizers provided by the user as part of the request :return: A list of the recognizers which supports the supplied entities and language """ if language is None: raise ValueError("No language provided") if entities is None and all_fields is False: raise ValueError("No entities provided") all_possible_recognizers = copy.copy(self.recognizers) if ad_hoc_recognizers: all_possible_recognizers.extend(ad_hoc_recognizers) # filter out unwanted recognizers to_return = set() if all_fields: to_return = [ rec for rec in all_possible_recognizers if language == rec.supported_language ] else: for entity in entities: subset = [ rec for rec in all_possible_recognizers if entity in rec.supported_entities and language == rec.supported_language ] if not subset: logger.warning( "Entity %s doesn't have the corresponding" " recognizer in language : %s", entity, language, ) else: to_return.update(set(subset)) logger.debug( "Returning a total of %s recognizers", str(len(to_return)), ) if not to_return: raise ValueError("No matching recognizers were found to serve the request.") return list(to_return) def add_recognizer(self, recognizer: EntityRecognizer) -> None: """ Add a new recognizer to the list of recognizers. :param recognizer: Recognizer to add """ if not isinstance(recognizer, EntityRecognizer): raise ValueError("Input is not of type EntityRecognizer") self.recognizers.append(recognizer) def remove_recognizer(self, recognizer_name: str) -> None: """ Remove a recognizer based on its name. :param recognizer_name: Name of recognizer to remove """ new_recognizers = [ rec for rec in self.recognizers if rec.name != recognizer_name ] logger.info( "Removed %s recognizers which had the name %s", str(len(self.recognizers) - len(new_recognizers)), recognizer_name, ) self.recognizers = new_recognizers def add_pattern_recognizer_from_dict(self, recognizer_dict: Dict) -> None: """ Load a pattern recognizer from a Dict into the recognizer registry. :param recognizer_dict: Dict holding a serialization of an PatternRecognizer :example: >>> registry = RecognizerRegistry() >>> recognizer = { "name": "Titles Recognizer", "supported_language": "de","supported_entity": "TITLE", "deny_list": ["Mr.","Mrs."]} # noqa: E501 >>> registry.add_pattern_recognizer_from_dict(recognizer) """ recognizer = PatternRecognizer.from_dict(recognizer_dict) self.add_recognizer(recognizer) def add_recognizers_from_yaml(self, yml_path: Union[str, Path]) -> None: r""" Read YAML file and load recognizers into the recognizer registry. See example yaml file here: https://github.com/microsoft/presidio/blob/main/presidio-analyzer/conf/ex
(recognizers: Optional[Iterable[presidio_analyzer.entity_recognizer.EntityRecognizer]] = None, global_regex_flags: Optional[int] = regex.I|regex.M|regex.S)
[ 0.03778807818889618, -0.07167112827301025, -0.05486765876412392, 0.009471672587096691, -0.002544187009334564, 0.020767666399478912, 0.004289617761969566, -0.08882959932088852, 0.010689529590308666, 0.014111362397670746, 0.002812904305756092, 0.0025540480855852365, -0.03816280514001846, 0.008613749407231808, -0.01664568856358528, -0.010886753909289837, -0.03796558082103729, 0.0670560896396637, 0.023331575095653534, -0.09340518712997437, -0.04571647569537163, 0.0151665098965168, -0.00734658632427454, -0.011734816245734692, 0.024948811158537865, 0.025067145004868507, 0.031713586300611496, -0.028459394350647926, -0.05881213769316673, 0.003517979523167014, -0.003434159327298403, -0.014979147352278233, 0.01910112425684929, -0.01834181323647499, -0.02193128690123558, -0.0629143938422203, -0.004351249895989895, 0.07971785962581635, -0.06610941886901855, 0.011922178789973259, -0.05545933172106743, -0.025146033614873886, 0.060350481420755386, -0.03317304328083992, -0.06173104792833328, 0.03737390786409378, -0.01465372834354639, 0.06504441052675247, 0.017681114375591278, -0.013490107841789722, -0.0005574653623625636, -0.0634666159749031, -0.015186232514679432, 0.04094365984201431, 0.011922178789973259, -0.0013768686912953854, -0.04015476629137993, 0.08583179861307144, 0.041061993688344955, -0.015422901138663292, 0.04831983149051666, -0.027571886777877808, -0.03806419298052788, 0.018775705248117447, 0.021083224564790726, 0.012750518508255482, -0.02701966091990471, 0.004176213871687651, -0.011083977296948433, 0.009052572771906853, -0.04772815853357315, -0.04757038131356239, 0.022049620747566223, 0.012415237724781036, 0.0553804412484169, 0.008993404917418957, -0.025165757164359093, 0.0003132468555122614, 0.07715395092964172, 0.01143898069858551, 0.02477130852639675, 0.02173406258225441, 0.04670259356498718, -0.036861129105091095, 0.0634666159749031, -0.031043026596307755, 0.004777746275067329, -0.03250248357653618, 0.0314374715089798, -0.08780403435230255, -0.05238264054059982, 0.002191649517044425, 0.04015476629137993, 0.044099241495132446, -0.053802650421857834, 0.016941525042057037, -0.023410465568304062, -0.027926890179514885, -0.01590609923005104, -0.038281138986349106, -0.018243201076984406, 0.04883261397480965, -0.032798316329717636, -0.008761667646467686, 0.02248351275920868, -0.004171283449977636, -0.04441479966044426, 0.009861189872026443, -0.010807864367961884, 0.0495426170527935, -0.05198819190263748, -0.038340307772159576, 0.027098549529910088, 0.050331514328718185, 0.01489039696753025, -0.026901325210928917, -0.07502393424510956, -0.02234545536339283, 0.01025563757866621, 0.046150367707014084, -0.030155519023537636, 0.01969279535114765, -0.05021318048238754, 0.02863689512014389, -0.009747786447405815, -0.02343018725514412, 0.025757428258657455, 0.025007978081703186, 0.04386257380247116, -0.044927582144737244, -0.02668437920510769, 0.06240161135792732, -0.04946373030543327, -0.012178569100797176, 0.03970114886760712, -0.005364487413316965, -0.02559964917600155, 0.0018908831989392638, -0.03275887295603752, -0.0033034984953701496, -0.022384900599718094, -0.002603354165330529, 0.0345141664147377, -0.030924690887331963, -0.028893286362290382, -0.014614283107221127, 0.0034242982510477304, 0.010235914960503578, -0.051633190363645554, -0.03331109881401062, -0.008184787817299366, -0.02417963743209839, -0.006030117627233267, -0.020274605602025986, 0.025284091010689735, 0.011823566630482674, -0.03356749191880226, -0.0010039923945441842, -0.051633190363645554, -0.014683311805129051, -0.018105145543813705, -0.010758558288216591, -0.04066754877567291, -0.002021543914452195, 0.01779944822192192, -0.003273915033787489, 0.036723069846630096, -0.03999698534607887, -0.004242776893079281, 0.07198668271303177, -0.010176748037338257, -0.013085799291729927, -0.044375356286764145, 0.012050374411046505, -0.010314804501831532, 0.1135220155119896, 0.01969279535114765, 0.020905721932649612, -0.01888417825102806, 0.06362439692020416, 0.031851641833782196, 0.015738459303975105, -0.06784498691558838, -0.06721387058496475, 0.036604736000299454, 0.037748634815216064, -0.011655926704406738, 0.029090510681271553, -0.024593807756900787, 0.04851705580949783, -0.0005546919419430196, -0.00421319343149662, 0.057510457932949066, -0.043507568538188934, -0.028124112635850906, 0.005058790557086468, -0.03832058236002922, 0.015491928905248642, -0.015738459303975105, -0.016971107572317123, -0.029603291302919388, 0.02092544548213482, 0.01242509949952364, 0.005285597871989012, -0.07699616998434067, 0.020008353516459465, -0.007790340110659599, 0.03830086067318916, -0.038083914667367935, -0.05115985497832298, -0.02437686175107956, -0.014998869970440865, 0.02118183672428131, 0.0034169023856520653, 0.04611092433333397, -0.05301375687122345, 0.029425790533423424, 0.03907003253698349, -0.017760002985596657, -0.0046815997920930386, 0.011557314544916153, 0.008544720709323883, -0.024731865152716637, -0.054946549236774445, 0.015560957603156567, -0.02268073707818985, -0.01955473981797695, 0.015107342973351479, 0.013006909750401974, -0.044927582144737244, 0.02104377932846546, -0.03784724697470665, 0.02571798302233219, 0.040588658303022385, 0.045598141849040985, 0.0015938148135319352, 0.0676083192229271, 0.02938634529709816, 0.04733370989561081, 0.03999698534607887, 0.010541612282395363, 0.010600779205560684, -0.04630814865231514, -0.05522266402840614, -0.04319201037287712, 0.07328836619853973, 0.047294266521930695, -0.025875762104988098, 0.03960254043340683, -0.025362979620695114, 0.0056504616513848305, -0.02924828976392746, -0.03238414600491524, 0.011803844012320042, -0.030372465029358864, -0.03628917783498764, -0.040864769369363785, 0.007050750777125359, 0.05486765876412392, -0.06295383721590042, 0.0012431262293830514, 0.07711450755596161, -0.014101501554250717, 0.06192827224731445, -0.05281653255224228, 0.01076841913163662, 0.06827887892723083, -0.010265498422086239, -0.03380415961146355, -0.0511992983520031, 0.03342943266034126, 0.0445331335067749, -0.03845864161849022, -0.02335129678249359, -0.00021478904818650335, 0.029090510681271553, -0.0347902774810791, 0.02727605029940605, -0.04528258368372917, 0.03262081742286682, 0.07127667963504791, 0.01739513874053955, 0.019347654655575752, 0.016369575634598732, 0.06244105473160744, 0.007800201419740915, -0.042284782975912094, 0.01276037935167551, -0.060902707278728485, -0.02640826627612114, 0.012789963744580746, -0.02613215334713459, 0.07668061554431915, 0.024081025272607803, 0.022444067522883415, 0.0013534482568502426, -0.016902079805731773, -0.04500646889209747, 0.0054877521470189095, -0.07001444697380066, -0.03329137712717056, 0.03228553384542465, 0.09876967966556549, -0.012858991511166096, -0.03526361659169197, -0.060232147574424744, 0.03932642564177513, -0.028203003108501434, 0.03717668727040291, -0.03743307664990425, -0.02701966091990471, -0.013835249468684196, 0.02571798302233219, -0.01637943647801876, -0.0028079738840460777, -0.02348935417830944, -0.00656755268573761, 0.03956309333443642, 0.035303059965372086, 0.03224609047174454, -0.008002355694770813, 0.08449067175388336, -0.010344387963414192, -0.013391495682299137, 0.07632561028003693, -0.06559663265943527, 0.053250424563884735, 0.026289932429790497, -0.012799824588000774, -0.04013504460453987, -0.03678223863244057, -0.06709553301334381, -0.011222033761441708, 0.030293574556708336, -0.00006710231536999345, -0.024672696366906166, 0.013795804232358932, 0.001262232312001288, 0.013421079143881798, -0.025264369323849678, 0.0089736832305789, 0.012296903878450394, -0.06520218402147293, 0.022562403231859207, -0.008184787817299366, -0.019347654655575752, 0.02321324124932289, -0.005966019816696644, 0.02897217497229576, 0.0028350921347737312, -0.005699767731130123, -0.09001293778419495, 0.01949557289481163, 0.017286665737628937, 0.018233340233564377, -0.046150367707014084, -0.04875372350215912, 0.016773883253335953, 0.02727605029940605, -0.06180993840098381, -0.005221500061452389, 0.013332328759133816, -0.04362590238451958, 0.025777149945497513, -0.025027699768543243, -0.025362979620695114, 0.01976182498037815, -0.02417963743209839, 0.042758118361234665, -0.07829784601926804, 0.014515671879053116, 0.01536373421549797, 0.003675758605822921, -0.0058230324648320675, 0.026013819500803947, -0.010117581114172935, 0.047688715159893036, 0.040174487978219986, -0.019140569493174553, 0.07253891229629517, 0.008776458911597729, 0.10113636404275894, 0.02268073707818985, 0.02070849947631359, 0.039780039340257645, -0.05829935520887375, -0.02179322950541973, 0.05403932183980942, 0.020688775926828384, -0.015018592588603497, -0.0065330383367836475, 0.00003834693052340299, -0.03615112230181694, -0.006311161443591118, -0.035993341356515884, -0.014870674349367619, -0.09253740310668945, 0.02457408607006073, -0.03615112230181694, -0.00043543317588046193, 0.023844357579946518, 0.005016880575567484, 0.01719791442155838, 0.018726399168372154, 0.0024689955171197653, 0.040983106940984726, 0.08346511423587799, 0.060350481420755386, -0.018115006387233734, 0.04989762231707573, 0.0018292507156729698, -0.019544878974556923, 0.010847308672964573, -0.045045915991067886, -0.08283399790525436, -0.0020646867342293262, 0.030648577958345413, 0.0556565560400486, 0.020215438678860664, 0.035303059965372086, 0.005191916599869728, 0.03025413118302822, 0.02234545536339283, 0.054946549236774445, 0.014525532722473145, 0.059206582605838776, -0.038340307772159576, 0.0057885185815393925, -0.06468940526247025, -0.0456375852227211, 0.0054137930274009705, 0.0046175019815564156, -0.036861129105091095, -0.06709553301334381, 0.012858991511166096, -0.05281653255224228, -0.0032517274376004934, -0.029603291302919388, -0.03626945614814758, -0.01631040871143341, -0.005472960416227579, -0.0062224105931818485, 0.016290685161948204, 0.039918094873428345, 0.04094365984201431, -0.032522205263376236, -0.03792613744735718, 0.037196408957242966, -0.02329212985932827, -0.0545521005988121, -0.015413039363920689, -0.0066316500306129456, 0.02950468100607395, 0.04812260717153549, 0.03899114578962326, 0.03378443792462349, 0.07861340790987015, 0.04066754877567291, -0.010916337370872498, -0.011665787547826767, 0.05964047461748123, 0.01896306872367859, 0.03500722348690033, 0.050410401076078415, -0.017385277897119522, 0.07474781572818756, -0.002541721798479557, -0.0019636093638837337, -0.03628917783498764, 0.0017935038777068257, 0.000690283311996609, 0.01862778700888157, 0.013016770593822002, -0.042758118361234665, -0.05072595924139023, 0.02390352450311184, 0.08756736665964127, -0.010033761151134968, -0.03782752528786659, -0.014170530252158642, 0.08835626393556595, 0.0014643867034465075, -0.015156649053096771, 0.0006767241284251213, -0.011350229382514954, -0.050410401076078415, 0.011153005994856358, -0.023666854947805405, -0.04009559750556946, 0.022089065983891487, -0.025323536247015, -0.014022612012922764, 0.02877495251595974, 0.007484643254429102, 0.003742321627214551, -0.01269135158509016, 0.018568620085716248, 0.0034242982510477304, 0.08228176832199097, -0.03317304328083992, 0.011083977296948433, -0.017957227304577827, -0.03425777330994606, -0.002056058030575514, 0.06989611685276031, -0.03120080567896366, -0.027177440002560616, 0.024455750361084938, -0.061376046389341354, 0.027295773848891258, -0.04224533587694168, -0.03567778319120407, 0.04575592279434204, -0.04405979812145233, 0.0033675963059067726, -0.001893348409794271, 0.013963445089757442, 0.0005032288609072566, -0.03175302967429161, 0.039661705493927, -0.015541234984993935, 0.020688775926828384, 0.028045224025845528, -0.034159161150455475, 0.0498187318444252, 0.056642673909664154, -0.04733370989561081, 0.0064788018353283405, 0.056642673909664154, -0.010245776735246181, 0.04208755865693092, -0.03623001277446747, -0.0018588342936709523, 0.006118868477642536, 0.04307367652654648, 0.03995754197239876, 0.012789963744580746, -0.05273764207959175, 0.04500646889209747, 0.03445499762892723, -0.0009435926331207156, 0.022700458765029907, -0.04717593267560005, -0.01418039109557867, 0.011902456171810627, -0.03802474960684776, -0.003338012844324112, -0.044099241495132446, 0.012622322887182236, 0.004452327266335487, -0.00802700873464346, -0.0019426543731242418, -0.014998869970440865, 0.015422901138663292, 0.0456375852227211, -0.01848973147571087, 0.01391413901001215, 0.01412122417241335, 0.008234093897044659, 0.023864079266786575, -0.009979523718357086, -0.014614283107221127, -0.023785190656781197, -0.012829408049583435, -0.006981722544878721, 0.010107719339430332, -0.01950543373823166, 0.04224533587694168, -0.045992590487003326, -0.00646401010453701, 0.03145719692111015, -0.02321324124932289, -0.013322467915713787, -0.023864079266786575, -0.08693625032901764, 0.04149588569998741, -0.01619207300245762, -0.010354249738156796, 0.003160511376336217, -0.01543276198208332, 0.00937306135892868, 0.011389674618840218, -0.010788141749799252, -0.0734855905175209, 0.03378443792462349, -0.012375793419778347, 0.04469091072678566, 0.05932492017745972, -0.02112266793847084, 0.021714340895414352, -0.05908824875950813, 0.07466892898082733, 0.040983106940984726, 0.02064933069050312, -0.03459305316209793, 0.027532441541552544, -0.022306011989712715, -0.006789429113268852, -0.031575530767440796, -0.01604415662586689, -0.021753784269094467, -0.026901325210928917, -0.003582077333703637, -0.03364637866616249, 0.05869380384683609, -0.022128509357571602, -0.026585767045617104, -0.03459305316209793, 0.024081025272607803, -0.006266786251217127, -0.032798316329717636, -0.00873208325356245, 0.05313209071755409, 0.004223054740577936, 0.013736637309193611, -0.018716538324952126, -0.025362979620695114, 0.05624822527170181, 0.0737617015838623, -0.014032472856342793, -0.0021879514679312706, 0.021773507818579674, -0.006902833003550768, -0.018844733014702797, -0.025481315329670906, -0.02471214160323143, -0.05336875841021538, -0.0609421543776989, -0.036328624933958054, -0.002243420807644725, 0.022996295243501663, -0.0350663922727108, 0.010512028820812702, -0.0114784250035882, 0.004072671290487051, 0.04224533587694168, 0.017720557749271393, 0.000023227725250762887, -0.019742101430892944, -0.024061303585767746, -0.017651529982686043, -0.025284091010689735, 0.010068275034427643, 0.0063703288324177265, -0.03498750180006027, 0.0459137000143528, -0.04082532599568367, -0.0204521082341671, 0.09308963268995285, 0.05829935520887375, -0.0013078403426334262, 0.08086175471544266, -0.02423880435526371, -0.016497770324349403, -0.01367747038602829, 0.019811131060123444, 0.0013990562874823809, 0.02885384112596512, 0.027847999706864357, 0.002465297468006611, -0.013539413921535015, 0.039227813482284546, 0.0603899285197258, -0.02281879261136055, -0.017345832660794258, 0.01079800259321928, 0.03248275816440582, -0.011182589456439018, 0.04263978451490402, 0.052224863320589066, 0.0020388010889291763, -0.06843665987253189, 0.02004779875278473, 0.03122052736580372, 0.02072822116315365, 0.05254042148590088, -0.00204003369435668, -0.02883411943912506, 0.03989837318658829, -0.0048738932237029076, -0.039780039340257645, 0.013490107841789722, -0.012612462043762207, 0.007277558092027903, -0.038340307772159576, 0.034573331475257874, -0.010087997652590275, -0.0034809999633580446, 0.04638703539967537, -0.002371616195887327, -0.012346209958195686, 0.037137240171432495, 0.031851641833782196, -0.020866278558969498, 0.03417888283729553, 0.004802399314939976, -0.02051127515733242, -0.09222184866666794, -0.04263978451490402, -0.0017984345322474837, 0.053250424563884735, -0.04524314031004906, -0.04820149764418602, -0.045400917530059814, -0.029268011450767517, 0.05557766556739807, -0.034711387008428574, 0.009663966484367847, -0.00816013477742672, -0.009471672587096691, 0.03678223863244057, 0.04922705888748169, 0.05944325402379036, -0.01391413901001215, 0.011813705787062645, -0.015659568831324577, 0.04149588569998741, 0.061573270708322525, 0.008667985908687115, -0.03244331479072571, 0.039977263659238815, 0.03542139381170273, 0.03867558762431145, 0.0035894731990993023, 0.01046272274106741, -0.0009072294924408197, 0.033015262335538864, -0.031062748283147812, 0.050134290009737015, -0.02025488391518593, -0.0015777903608977795, 0.02524464577436447, -0.0695805549621582, -0.0662277489900589, -0.06240161135792732, -0.07226280122995377, 0.040983106940984726, -0.029879406094551086, -0.07048778235912323, -0.006054770667105913, 0.012908297590911388, -0.010827586054801941, -0.04029282182455063, 0.03504667058587074, 0.007208529859781265, 0.038340307772159576, 0.0628749430179596, -0.031851641833782196, -0.013342189602553844, 0.029346901923418045, 0.012632184661924839, 0.005329973064363003, -0.019347654655575752, 0.020807109773159027, -0.04291589930653572, -0.019653351977467537, 0.08094064891338348, -0.0005220267339609563, -0.03932642564177513, 0.003951871767640114, -0.021832674741744995, -0.0556565560400486, 0.009471672587096691, -0.02471214160323143, 0.04240311682224274, -0.023055462166666985, 0.02769022062420845, -0.025284091010689735 ]
16,405
presidio_analyzer.recognizer_registry
__instantiate_recognizer
Instantiate a recognizer class given type and input. :param recognizer_class: Class object of the recognizer :param supported_language: Language this recognizer should support
def __instantiate_recognizer( self, recognizer_class: Type[EntityRecognizer], supported_language: str ): """ Instantiate a recognizer class given type and input. :param recognizer_class: Class object of the recognizer :param supported_language: Language this recognizer should support """ inst = recognizer_class(supported_language=supported_language) if isinstance(inst, PatternRecognizer): inst.global_regex_flags = self.global_regex_flags return inst
(self, recognizer_class: Type[presidio_analyzer.entity_recognizer.EntityRecognizer], supported_language: str)
[ 0.05073773115873337, -0.10287157446146011, 0.0008478868403472006, 0.013419229537248611, -0.0362989716231823, 0.0028335608076304197, 0.04706374555826187, 0.00964421033859253, -0.035086557269096375, 0.0328637957572937, 0.025497455149888992, 0.02351350337266922, -0.05602826923131943, -0.007260712794959545, -0.01480615884065628, -0.005102246534079313, -0.05852657929062843, 0.018213780596852303, -0.020555945113301277, -0.08795519918203354, -0.014934748411178589, 0.034351758658885956, -0.027720216661691666, 0.02575463429093361, 0.04812920093536377, 0.05679980665445328, -0.0021906134206801653, -0.0014730383409187198, -0.024358520284295082, -0.01187615655362606, 0.00008194708789233118, -0.00047704397002235055, -0.005386980250477791, 0.04030361399054527, -0.022723596543073654, -0.0328637957572937, -0.019949737936258316, 0.07685976475477219, -0.06469887495040894, 0.02338491380214691, -0.060106392949819565, -0.0005998928681947291, 0.005965632852166891, 0.011472017504274845, -0.06326602399349213, 0.036592889577150345, 0.01882917247712612, -0.05922463536262512, 0.012739542871713638, 0.009070150554180145, 0.005997780244797468, -0.05525673180818558, -0.02274196594953537, 0.005345648154616356, -0.02029876597225666, 0.005474237725138664, -0.007820995524525642, 0.06392733752727509, -0.020170176401734352, -0.015889985486865044, -0.028712192550301552, -0.018654659390449524, 0.003795685712248087, 0.022117389366030693, 0.00619525695219636, -0.0009219406056217849, -0.03820944204926491, 0.03185344859957695, 0.041920166462659836, 0.015118448063731194, -0.020776385441422462, -0.01671663112938404, 0.0018783247796818614, 0.01919657178223133, 0.08104810863733292, -0.00603911280632019, -0.05007641389966011, -0.004376634489744902, 0.052537985146045685, 0.08391381800174713, 0.024009492248296738, 0.012803837656974792, 0.02896937169134617, 0.006792279426008463, 0.04743114486336708, -0.08060722798109055, -0.04831290245056152, -0.09302529692649841, 0.003205551765859127, -0.06616847217082977, -0.05268494412302971, -0.004296266008168459, -0.03157790005207062, 0.03209225833415985, -0.028418272733688354, 0.015100077725946903, 0.006011557765305042, -0.0060712601989507675, 0.02005995810031891, -0.005878375843167305, -0.004849660210311413, 0.07546365261077881, -0.05426475778222084, -0.025074947625398636, 0.026875199750065804, -0.007912845350801945, 0.007586779072880745, 0.002622306812554598, -0.0326249860227108, 0.0637068971991539, 0.023586982861161232, -0.0029644465539604425, -0.015210297890007496, 0.11088086664676666, -0.003318067640066147, -0.03865032270550728, -0.042985621839761734, -0.0011871564202010632, 0.01525622233748436, 0.029079589992761612, -0.02237456850707531, -0.0037842043675482273, -0.06260470300912857, 0.06749110668897629, -0.01175675168633461, -0.022558268159627914, 0.03332304209470749, -0.031228872016072273, 0.05485259369015694, -0.03111865185201168, 0.011995560489594936, 0.04713722690939903, -0.07825587689876556, -0.010783146135509014, -0.022870555520057678, 0.04368368163704872, -0.026985419914126396, 0.01912309229373932, -0.030126675963401794, -0.011113804765045643, -0.022797076031565666, 0.0133457500487566, 0.03405784070491791, -0.007586779072880745, -0.044896095991134644, 0.008330760523676872, -0.010865810327231884, 0.058269400149583817, -0.034149691462516785, -0.011462832801043987, -0.006268736906349659, 0.001988544361665845, 0.06811568140983582, 0.0199313685297966, 0.03580298274755478, -0.009708505123853683, -0.02130911312997341, -0.012546658515930176, -0.02029876597225666, -0.009469696320593357, 0.025350496172904968, 0.014741864986717701, -0.006406511180102825, 0.004121751990169287, 0.017276914790272713, -0.028528492897748947, 0.04820268228650093, -0.023458393290638924, -0.012362958863377571, 0.0435367226600647, 0.016294123604893684, -0.01960070990025997, -0.04621873050928116, 0.03503144532442093, 0.012858946807682514, 0.11808187514543533, 0.010360637679696083, 0.04221408814191818, 0.04232430458068848, 0.08751431852579117, 0.0652499720454216, 0.04335302114486694, -0.031871818006038666, -0.05084795132279396, 0.036225490272045135, 0.035582542419433594, -0.004321524873375893, 0.007600556127727032, -0.017221804708242416, 0.027242599055171013, 0.024468740448355675, 0.019986478611826897, 0.021713251248002052, -0.0580122210085392, -0.02806924469769001, 0.01368559431284666, -0.04732092469930649, 0.02619551308453083, -0.07392057776451111, 0.06686652451753616, -0.014080546796321869, 0.06392733752727509, -0.00018470385111868382, 0.012583398260176182, -0.06036357209086418, -0.01354781910777092, 0.03574787452816963, 0.059334855526685715, -0.04349998012185097, -0.052905384451150894, -0.015109263360500336, -0.03971577808260918, 0.011628162115812302, 0.04059753194451332, 0.05143578723073006, -0.018489329144358635, -0.011067879386246204, 0.019104721024632454, -0.013171236030757427, 0.004822105169296265, 0.014659199863672256, 0.030806364491581917, -0.0501866340637207, -0.013575374148786068, -0.005331870634108782, -0.03580298274755478, -0.054411716759204865, -0.01582569070160389, -0.047173965722322464, -0.05242776498198509, -0.012197629548609257, -0.04702700674533844, 0.011765936389565468, 0.03258824720978737, 0.017387133091688156, -0.03593157231807709, 0.08692648261785507, 0.027389558032155037, 0.03128398209810257, 0.019104721024632454, 0.042250826954841614, 0.003329548751935363, -0.04261822625994682, -0.03967903554439545, -0.04397759959101677, 0.08508948981761932, -0.002473051194101572, -0.03604179248213768, 0.04243452474474907, -0.02489124797284603, -0.006236589513719082, -0.025736264884471893, -0.0635966807603836, 0.01547666173428297, -0.02388090267777443, 0.03865032270550728, -0.042985621839761734, -0.035656023770570755, 0.03306586295366287, -0.022925665602087975, -0.035656023770570755, 0.06921787559986115, 0.05760808289051056, 0.07065072655677795, -0.06591129302978516, -0.014052992686629295, 0.020078327506780624, -0.0051114317029714584, 0.01018612366169691, -0.08406077325344086, 0.05793874338269234, 0.05415453761816025, 0.0010700480779632926, -0.0009368661558255553, -0.01741468906402588, -0.02961231768131256, -0.05195014551281929, 0.01778208650648594, -0.0012709691654890776, -0.0018117338186129928, 0.05584457144141197, -0.0005872635520063341, 0.056689586490392685, 0.011885341256856918, 0.03212899714708328, 0.03466404601931572, 0.0023180549032986164, 0.06635216623544693, -0.02615877240896225, -0.05573435127735138, -0.02465243823826313, 0.014108101837337017, 0.06851981580257416, 0.04665960744023323, 0.010057534091174603, 0.016174718737602234, -0.04511653631925583, 0.0037543533835560083, -0.013400860130786896, -0.06532344967126846, 0.0021125413477420807, -0.031320720911026, 0.03429665043950081, 0.028418272733688354, -0.07278164476156235, -0.030126675963401794, -0.03363533318042755, 0.009607470594346523, 0.004785365425050259, -0.00976361520588398, -0.012675248086452484, 0.013410044834017754, -0.002477643545717001, -0.007568408735096455, -0.011821046471595764, -0.0039702001959085464, 0.025277016684412956, 0.021419331431388855, 0.013125311583280563, 0.023623723536729813, 0.024799399077892303, 0.03842988237738609, -0.022025540471076965, 0.00336169614456594, 0.01470512431114912, -0.01495311874896288, -0.001082103350199759, -0.023164475336670876, -0.039274897426366806, 0.0010206789011135697, -0.03018178604543209, -0.00856038462370634, -0.0023260917514562607, -0.01626656763255596, -0.0016406639479100704, -0.02696704864501953, 0.022282717749476433, -0.006879536900669336, -0.026268992573022842, 0.00042164718615822494, 0.01569710113108158, 0.020555945113301277, -0.06054726988077164, 0.05198688805103302, 0.014907194301486015, 0.013694779016077518, -0.034112948924303055, -0.04743114486336708, 0.04820268228650093, -0.06278840452432632, -0.029851127415895462, -0.10970518738031387, 0.012317034415900707, -0.014741864986717701, 0.0036028013564646244, -0.011435277760028839, -0.012684432789683342, 0.03222084790468216, 0.011563867330551147, -0.0775945633649826, -0.005194096360355616, 0.03104517236351967, -0.018847541883587837, -0.003903609002009034, -0.030365485697984695, -0.005341055803000927, 0.015228667296469212, 0.0015178150497376919, -0.011407723650336266, 0.008234318345785141, 0.020519206300377846, 0.018379108980298042, -0.03672147914767265, 0.007187232840806246, 0.018865913152694702, -0.022392937913537025, 0.00498284213244915, 0.0290061105042696, 0.00043685975833795965, 0.05580783262848854, -0.008900228887796402, 0.11198306083679199, 0.02937350980937481, -0.011912896297872066, 0.018535254523158073, -0.044234778732061386, -0.06337624043226242, 0.08001939207315445, 0.024193190038204193, -0.0017520316177979112, -0.025570934638381004, -0.02819783426821232, -0.025607675313949585, -0.07065072655677795, -0.004174565430730581, -0.01472349464893341, -0.07869675755500793, 0.05055403336882591, -0.030328745022416115, 0.0635966807603836, 0.001568332314491272, 0.018801618367433548, -0.026434320956468582, -0.016404341906309128, -0.009345699101686478, 0.07788848131895065, 0.07043029367923737, 0.012234370224177837, -0.012289479374885559, -0.024009492248296738, 0.021915320307016373, 0.02180510014295578, -0.0042710076086223125, -0.030071565881371498, -0.0549260750412941, 0.01110461913049221, 0.049488577991724014, 0.033212821930646896, -0.03359859064221382, 0.02481776848435402, -0.012904872186481953, 0.03343326225876808, 0.010424932464957237, 0.04349998012185097, 0.0094605116173625, 0.0772271603345871, 0.003451249562203884, -0.017019735649228096, 0.011224023997783661, -0.028528492897748947, -0.049047697335481644, 0.04096493124961853, -0.026838459074497223, 0.003483396954834461, 0.02612203359603882, -0.018250519409775734, 0.012776282615959644, -0.016780925914645195, -0.027077268809080124, 0.008202170953154564, -0.0018427331233397126, -0.05654262751340866, 0.03527025505900383, 0.06866677850484848, -0.016092054545879364, -0.09309877455234528, -0.022686857730150223, 0.0016039240872487426, -0.010480041615664959, -0.036225490272045135, 0.007655666209757328, 0.013832553289830685, 0.015623620711266994, 0.06190664693713188, 0.06308232247829437, -0.01619308814406395, 0.051766447722911835, 0.043022364377975464, 0.007742923218756914, -0.009221701882779598, -0.03550906479358673, 0.05261146277189255, 0.016790110617876053, -0.026618020609021187, -0.021915320307016373, 0.06653586775064468, 0.013226346112787724, -0.023403283208608627, -0.0372542068362236, -0.05837962031364441, 0.019086351618170738, 0.0032537728548049927, 0.0064799911342561245, -0.04441847652196884, -0.04592481255531311, 0.03335978463292122, 0.05757134407758713, 0.03640919178724289, -0.02839990332722664, 0.011095434427261353, 0.032073888927698135, 0.011931265704333782, -0.01806682161986828, 0.005552309565246105, -0.04331628233194351, -0.009883019141852856, -0.02050083503127098, 0.0005198114668019116, -0.04011991620063782, 0.016670705750584602, -0.01679929532110691, 0.07388383895158768, 0.007086198311299086, 0.022484788671135902, 0.03205551952123642, 0.012188444845378399, 0.023072624579072, 0.017791271209716797, 0.05999617278575897, -0.007522484287619591, 0.038099221885204315, -0.012959982268512249, -0.07024659216403961, -0.048423122614622116, 0.05621197074651718, -0.06521323323249817, -0.018397480249404907, 0.036023423075675964, -0.04030361399054527, 0.06517649441957474, -0.03225758671760559, 0.019435379654169083, -0.009304367005825043, -0.025038206949830055, -0.0008266466320492327, 0.004946102388203144, -0.0009615507442504168, -0.014328541234135628, -0.04184668883681297, 0.04096493124961853, -0.010388192720711231, 0.05202362686395645, 0.0005924300639890134, -0.06319253891706467, 0.04754136502742767, 0.005933485459536314, -0.01059944648295641, 0.017267730087041855, 0.07715368270874023, -0.011517942883074284, 0.036427561193704605, -0.043757159262895584, -0.0034856931306421757, 0.032367806881666183, 0.025166796520352364, 0.011931265704333782, 0.008064396679401398, -0.020794754847884178, 0.038503363728523254, 0.0069805714301764965, -0.014025437645614147, 0.007687813602387905, -0.05573435127735138, 0.002390386536717415, 0.0038163517601788044, -0.032606616616249084, -0.021915320307016373, -0.02103356458246708, -0.026011813431978226, 0.026618020609021187, -0.0016532932640984654, -0.04309584200382233, -0.05525673180818558, 0.05389735847711563, 0.0455574132502079, 0.05308908224105835, 0.0033410300966352224, 0.001506333821453154, 0.024670809507369995, 0.019747668877243996, -0.02298077568411827, -0.026213882490992546, 0.011563867330551147, 0.06414777785539627, -0.038834020495414734, -0.03347000107169151, -0.008041434921324253, 0.06297209858894348, -0.041516028344631195, -0.017754532396793365, 0.04471239820122719, -0.04015665501356125, 0.011765936389565468, 0.024836137890815735, -0.05779178440570831, 0.06502953171730042, -0.006902499124407768, 0.03708887845277786, 0.007802625652402639, -0.02933676913380623, -0.001423669164068997, 0.018158670514822006, -0.05415453761816025, -0.07347969710826874, -0.038907501846551895, -0.04463891685009003, 0.011747566983103752, -0.011370982974767685, -0.05643240734934807, 0.0031848857179284096, 0.01411728747189045, 0.05455867573618889, 0.03133909031748772, 0.014778604730963707, -0.040781233459711075, -0.022117389366030693, 0.010994399897754192, -0.01932516135275364, 0.013731518760323524, -0.0220071692019701, -0.031137023121118546, 0.010434117168188095, -0.03212899714708328, -0.014686754904687405, 0.07237750291824341, -0.024431999772787094, -0.059775736182928085, -0.04886399954557419, 0.002541938330978155, -0.04728418588638306, 0.0024799397215247154, 0.013483524322509766, 0.039936214685440063, 0.0481659434735775, 0.03288216516375542, 0.0199313685297966, -0.01928842067718506, 0.04386737942695618, 0.03637244924902916, 0.02839990332722664, -0.017524907365441322, 0.030494075268507004, 0.015182742848992348, -0.009635025635361671, -0.0005907078739255667, -0.033176083117723465, -0.009754429571330547, -0.07678628712892532, -0.02509331703186035, -0.03442524001002312, 0.042361047118902206, -0.054411716759204865, -0.024395259097218513, -0.03685006871819496, -0.006907091476023197, -0.010241232812404633, -0.001845029299147427, 0.027720216661691666, 0.010342267341911793, -0.007357154972851276, -0.06580106914043427, -0.034921225160360336, 0.001186008215881884, -0.027554886415600777, -0.011416908353567123, -0.056652847677469254, 0.008941560983657837, -0.017828011885285378, 0.01452142558991909, 0.07965199649333954, -0.007366339676082134, 0.06877699494361877, -0.000465849821921438, -0.008877266198396683, -0.023366544395685196, -0.007706183474510908, 0.0014960006810724735, 0.03945859894156456, 0.049047697335481644, 0.01651456207036972, -0.08104810863733292, 0.0833994597196579, 0.049121178686618805, 0.001063733478076756, 0.0016774036921560764, 0.020721275359392166, 0.003903609002009034, -0.04107515141367912, -0.0172034353017807, 0.03157790005207062, -0.039642296731472015, -0.006355993915349245, -0.020684534683823586, 0.017028920352458954, 0.011472017504274845, 0.019214941188693047, -0.000944328960031271, -0.057865262031555176, 0.05691002681851387, 0.005740601569414139, -0.019839517772197723, -0.001613109023310244, -0.01157305296510458, -0.016239013522863388, -0.05040707439184189, 0.027922285720705986, -0.036592889577150345, -0.016468636691570282, 0.06756458431482315, -0.026452692225575447, -0.018489329144358635, 0.07057724893093109, 0.018415849655866623, -0.03306586295366287, 0.03477426618337631, -0.020721275359392166, -0.03765834495425224, -0.05345648154616356, -0.029961347579956055, 0.023623723536729813, 0.06822589784860611, -0.03021852672100067, -0.07531668990850449, -0.036427561193704605, -0.018783247098326683, 0.03521514683961868, -0.018921023234725, 0.019655819982290268, 0.007315822411328554, -0.025607675313949585, 0.017010550945997238, 0.030402224510908127, 0.04559415206313133, -0.004541963804513216, 0.015522586181759834, 0.027775326743721962, 0.026471061632037163, 0.05617522820830345, -0.015384811908006668, -0.06282514333724976, 0.0383196622133255, -0.027022158727049828, 0.02847338281571865, 0.03754812479019165, 0.020776385441422462, -0.004629220813512802, -0.0036165788769721985, -0.031669750809669495, 0.03258824720978737, -0.013088570907711983, 0.01283139269798994, 0.014668384566903114, -0.07219380140304565, -0.07516973465681076, -0.04364693909883499, -0.05250124633312225, 0.04096493124961853, -0.0497090145945549, -0.0007313526002690196, 0.0246156994253397, -0.021217262372374535, 0.004344487097114325, -0.018663844093680382, 0.013474339619278908, 0.02981438860297203, 0.03552743420004845, 0.02981438860297203, -0.024670809507369995, -0.00445470679551363, 0.024707548320293427, -0.004946102388203144, 0.0036923547741025686, 0.025332126766443253, 0.03664800152182579, 0.017304468899965286, -0.026471061632037163, 0.04787202179431915, -0.012923241592943668, -0.011490387842059135, 0.007375524844974279, -0.004663664847612381, -0.044528696686029434, 0.020151806995272636, -0.04750462621450424, -0.03389251232147217, -0.026250623166561127, 0.041516028344631195, -0.045373715460300446 ]
16,406
presidio_analyzer.recognizer_registry
__init__
null
def __init__( self, recognizers: Optional[Iterable[EntityRecognizer]] = None, global_regex_flags: Optional[int] = re.DOTALL | re.MULTILINE | re.IGNORECASE, ): if recognizers: self.recognizers = recognizers else: self.recognizers = [] self.global_regex_flags = global_regex_flags
(self, recognizers: Optional[Iterable[presidio_analyzer.entity_recognizer.EntityRecognizer]] = None, global_regex_flags: Optional[int] = regex.I|regex.M|regex.S)
[ 0.015170436352491379, -0.0646720752120018, -0.009171463549137115, 0.00903216190636158, -0.053527913987636566, -0.0012458540732041001, 0.016824085265398026, -0.005028352607041597, 0.019304560497403145, 0.04899835214018822, 0.010479104705154896, 0.04666167497634888, -0.06104123592376709, 0.032983116805553436, -0.0036420731339603662, -0.007095414213836193, -0.03443904593586922, 0.012123767286539078, -0.00923886802047491, -0.07189780473709106, -0.03645218536257744, 0.055864591151475906, -0.014109943993389606, 0.0005982121801935136, 0.017866604030132294, 0.06830291450023651, -0.02315109223127365, -0.004358804319053888, 0.001960338559001684, 0.0039184303022921085, 0.008474953472614288, -0.03201249614357948, -0.032389961183071136, 0.024571074172854424, 0.014739049598574638, -0.05421094223856926, -0.032857295125722885, 0.11568356305360794, -0.0434262715280056, 0.030502643436193466, -0.038537222892045975, -0.017749769613146782, 0.024696895852684975, 0.019879741594195366, -0.058812402188777924, 0.02187490649521351, 0.03929214924573898, -0.009122033603489399, 0.035912953317165375, -0.030197076499462128, -0.01196199655532837, -0.002622022991999984, 0.0036847623996436596, 0.02430145815014839, -0.016203967854380608, 0.04691331461071968, 0.010317334905266762, 0.1307820975780487, -0.007072946522384882, -0.010110628791153431, -0.03799798712134361, -0.013813365250825882, -0.006353968288749456, -0.02478676661849022, 0.03016112744808197, -0.0024917081464082003, -0.05435473844408989, 0.021820982918143272, 0.04720090702176094, 0.018963046371936798, -0.03537371754646301, -0.007436928804963827, -0.027770526707172394, 0.001479521975852549, 0.029496073722839355, 0.011467699892818928, -0.08153210580348969, 0.02387007139623165, 0.05899214744567871, 0.031976547092199326, 0.028219887986779213, 0.0653550997376442, 0.03131149336695671, 0.013310080394148827, 0.052233755588531494, -0.08318575471639633, -0.040442515164613724, -0.04209616407752037, 0.032875269651412964, -0.044792331755161285, -0.0639171451330185, 0.02361842803657055, -0.019034942612051964, 0.026763956993818283, -0.049178097397089005, 0.053240321576595306, -0.012627051211893559, -0.011917061172425747, 0.02315109223127365, -0.034007661044597626, -0.03929214924573898, 0.04942974075675011, -0.05874050408601761, -0.03542764112353325, 0.0012907902710139751, 0.015080563724040985, -0.008133439347147942, -0.03303704038262367, 0.004145357757806778, 0.04705711081624031, -0.0005886632716283202, 0.006520232185721397, 0.025847259908914566, 0.07462991774082184, -0.006223653443157673, 0.003444354049861431, -0.06402499228715897, -0.052089959383010864, 0.06104123592376709, 0.016716239973902702, -0.028022168204188347, 0.0021423299331218004, -0.05874050408601761, 0.09389852732419968, 0.021479468792676926, -0.02550574578344822, 0.011836175806820393, 0.007702052127569914, 0.03983138129115105, -0.03918430209159851, 0.01865747943520546, 0.05022061616182327, -0.029963409528136253, -0.01847773604094982, 0.017264459282159805, 0.01528727076947689, -0.0057248626835644245, 0.014981704764068127, -0.05532535910606384, -0.018262041732668877, -0.017704833298921585, -0.0016469090478494763, 0.006569661665707827, -0.022324267774820328, -0.05399525165557861, 0.0217131357640028, 0.005891126114875078, -0.003165750065818429, -0.033720068633556366, -0.015808530151844025, 0.004486872348934412, -0.02169516123831272, 0.009598356671631336, 0.02536194957792759, 0.019574176520109177, 0.03702737018465996, -0.0204010009765625, -0.01056897733360529, -0.0061337812803685665, 0.03028694912791252, 0.006061883643269539, -0.0023344317451119423, -0.027195343747735023, -0.00969721656292677, 0.013723493553698063, -0.00031539544579572976, -0.008335651829838753, -0.05241349712014198, -0.005980998277664185, 0.03483448550105095, 0.026745982468128204, -0.006601117085665464, -0.03159908577799797, 0.014990692026913166, 0.035193976014852524, 0.09885948151350021, -0.01129694189876318, 0.07879999279975891, -0.033288683742284775, 0.08160400390625, 0.0649237185716629, 0.01673421449959278, -0.02390601858496666, -0.04533156380057335, 0.07585218548774719, 0.03407955914735794, 0.009346714243292809, 0.005127212032675743, -0.013328054919838905, 0.032569706439971924, 0.05665547028183937, 0.012042881920933723, 0.019717972725629807, -0.042635396122932434, -0.0326775498688221, 0.00004135528070037253, -0.01851368509232998, -0.03487043455243111, -0.018262041732668877, -0.015017653815448284, -0.08131641149520874, 0.02183895744383335, -0.020365051925182343, 0.001728917472064495, -0.04777609184384346, 0.02724926732480526, -0.012375409714877605, 0.043030835688114166, -0.04590674862265587, -0.01703977957367897, -0.012465281412005424, -0.024139687418937683, 0.016563456505537033, 0.020868336781859398, 0.035337768495082855, -0.012015920132398605, -0.010227462276816368, 0.053671710193157196, -0.012042881920933723, 0.012222626246511936, 0.07035200297832489, -0.0008217694121412933, -0.019448354840278625, -0.0436779148876667, -0.0026849335990846157, 0.01644662208855152, -0.018873173743486404, 0.009292790666222572, -0.014469432644546032, -0.03325273469090462, -0.019592151045799255, -0.03774634748697281, 0.00014674453996121883, 0.021785033866763115, 0.019556201994419098, -0.05316842347383499, 0.09332334995269775, 0.006749406456947327, 0.000522101647220552, -0.014981704764068127, 0.015682708472013474, 0.011701367795467377, -0.037638500332832336, -0.05622408166527748, 0.003862260142341256, 0.05162262171506882, 0.00844799168407917, -0.012195664457976818, 0.0355534628033638, 0.006785355042666197, 0.017525089904665947, -0.006470802240073681, -0.05191021412611008, 0.016931932419538498, -0.006178717594593763, 0.012402370572090149, -0.050040870904922485, 0.016284853219985962, 0.032264139503240585, -0.037926092743873596, 0.011252006515860558, 0.040118973702192307, -0.002884899266064167, 0.04896240308880806, -0.02548777125775814, 0.03889670968055725, 0.026584211736917496, -0.019843794405460358, -0.04191641882061958, -0.05147882550954819, 0.04126933962106705, -0.0006948248483240604, 0.022683756425976753, -0.013435902073979378, -0.02870519831776619, 0.020436950027942657, -0.051191236823797226, -0.020472899079322815, -0.03274944797158241, 0.017246484756469727, 0.08131641149520874, 0.015413091517984867, 0.03528384491801262, -0.0031500225886702538, 0.06251513957977295, 0.01878330111503601, -0.018603555858135223, 0.07894378900527954, -0.07563649117946625, -0.06708064675331116, 0.0030668906401842833, 0.015449040569365025, 0.0749175101518631, 0.038249630481004715, 0.04590674862265587, -0.022971348837018013, -0.0164645966142416, 0.012600090354681015, -0.0015300750965252519, -0.05040036141872406, -0.014649176970124245, -0.04180857166647911, 0.05403120070695877, 0.013795390725135803, -0.05029251426458359, -0.02433740720152855, -0.01507157739251852, 0.016437634825706482, 0.05895619839429855, -0.0060663772746920586, 0.04533156380057335, 0.024804741144180298, -0.0363982617855072, -0.011269981041550636, -0.005145186558365822, 0.012276549823582172, -0.019016968086361885, 0.011260993778705597, 0.007630154490470886, 0.014433483593165874, 0.008910833857953548, 0.002507435856387019, -0.01589840091764927, -0.055577002465724945, 0.016518520191311836, -0.011988958343863487, 0.03014315478503704, 0.003475809469819069, -0.051514774560928345, 0.03993922844529152, -0.010973402298986912, -0.04777609184384346, -0.02839963138103485, 0.006780861411243677, -0.021803008392453194, -0.04141313582658768, 0.000052062714530620724, 0.015979286283254623, 0.010029743425548077, -0.028884941712021828, 0.0056394836865365505, 0.009670254774391651, -0.03914835304021835, 0.028920890763401985, -0.015107525512576103, -0.021191878244280815, 0.020778464153409004, -0.036649905145168304, 0.06564269214868546, -0.05827317014336586, 0.015188410878181458, -0.0722932443022728, 0.025577643886208534, -0.00027762100216932595, 0.033863864839076996, -0.03389981389045715, -0.05025656521320343, 0.03670382872223854, 0.04126933962106705, -0.06488776952028275, -0.025290051475167274, 0.04037061706185341, -0.01020948775112629, -0.012357435189187527, -0.02083238773047924, -0.012366422452032566, 0.047704193741083145, -0.0075986990705132484, 0.029226457700133324, -0.038860760629177094, 0.016806110739707947, 0.01405602041631937, -0.032983116805553436, -0.030772259458899498, 0.043066784739494324, -0.019915690645575523, 0.005504675675183535, 0.016257891431450844, -0.0020176321268081665, 0.031670983880758286, -0.03907645493745804, 0.09476130455732346, 0.055361308157444, -0.00018030620412901044, -0.0017401515506207943, -0.01632080040872097, -0.02536194957792759, 0.08002225309610367, 0.04170072451233864, 0.029046712443232536, -0.024229560047388077, -0.042635396122932434, -0.025020435452461243, -0.04346222057938576, -0.03914835304021835, -0.014316650107502937, -0.03201249614357948, 0.02521815523505211, -0.05241349712014198, 0.022539962083101273, 0.026710033416748047, 0.0250563845038414, -0.019016968086361885, -0.0015379389515146613, 0.013660582713782787, 0.045367512851953506, 0.0720416009426117, 0.02696167677640915, 0.012734898366034031, 0.0024243041407316923, 0.02347463183104992, -0.014442470856010914, 0.018315965309739113, -0.04475638270378113, -0.06420473754405975, -0.010227462276816368, 0.043030835688114166, -0.0004370038222987205, 0.02448120154440403, 0.019771896302700043, -0.027015600353479385, 0.02856140211224556, -0.01107226125895977, 0.04206021502614021, 0.04137718677520752, 0.06064579635858536, 0.017830654978752136, -0.061256926506757736, 0.035481564700603485, -0.06801532208919525, -0.08023794740438461, 0.02201870270073414, -0.05241349712014198, -0.04065820574760437, 0.04443284124135971, -0.014864870347082615, -0.01953822746872902, -0.04978922754526138, -0.041449084877967834, 0.001808679080568254, -0.008749064058065414, -0.035355743020772934, 0.02811204083263874, 0.05101149156689644, 0.007261678110808134, -0.05446258559823036, -0.008614255115389824, 0.05187426507472992, -0.0034803031012415886, -0.052521344274282455, -0.015170436352491379, 0.015808530151844025, 0.006151755806058645, 0.012851731851696968, 0.052808936685323715, -0.009229880757629871, 0.06309032440185547, 0.07498940825462341, -0.023097168654203415, -0.042168062180280685, 0.007778443396091461, 0.03566130995750427, 0.022539962083101273, -0.014442470856010914, -0.050903644412755966, 0.05040036141872406, 0.04694926366209984, 0.00280626118183136, -0.05399525165557861, -0.030268974602222443, 0.006785355042666197, -0.009724177420139313, 0.010236449539661407, -0.03860912099480629, -0.03244388476014137, 0.03571523353457451, 0.06866240501403809, -0.014586267061531544, -0.007917745970189571, -0.03774634748697281, 0.04572700336575508, 0.0025029422249644995, -0.03136541694402695, -0.0323360376060009, -0.019160764291882515, -0.012447306886315346, 0.001358194393105805, -0.06075364351272583, -0.012348447926342487, 0.017075728625059128, -0.016257891431450844, 0.04004707559943199, -0.03609269857406616, 0.0125281922519207, 0.0722932443022728, 0.03972353786230087, 0.019843794405460358, 0.017111677676439285, 0.07664305716753006, -0.018747352063655853, 0.009742151945829391, -0.03368411958217621, -0.04572700336575508, -0.02972974069416523, 0.03702737018465996, -0.05040036141872406, -0.02870519831776619, -0.019628100097179413, -0.08749962598085403, 0.024265509098768234, 0.005181135609745979, -0.005778785794973373, 0.003882481250911951, -0.025110308080911636, 0.003776881378144026, -0.019178738817572594, -0.005594547837972641, -0.016653329133987427, -0.022539962083101273, 0.033720068633556366, -0.007836860604584217, 0.0556129515171051, 0.003255622461438179, -0.07178995758295059, 0.04389360919594765, -0.009814050048589706, -0.021173903718590736, 0.03558941185474396, 0.0859178751707077, -0.03222819045186043, 0.052665140479803085, -0.055720798671245575, -0.03449296951293945, 0.0335223488509655, 0.01618599332869053, 0.03129351884126663, 0.05388740450143814, -0.05888430029153824, 0.04443284124135971, 0.031976547092199326, -0.0031253076158463955, 0.04454068839550018, -0.014613228850066662, -0.013858301565051079, -0.01172832865267992, -0.021749084815382957, -0.03404361009597778, 0.006794342305511236, 0.024804741144180298, 0.041736673563718796, -0.014226777479052544, -0.03965163975954056, -0.07995035499334335, 0.032282114028930664, -0.0022715211380273104, -0.020149359479546547, -0.0066415597684681416, -0.01587143912911415, -0.002817495260387659, 0.02606295421719551, 0.0024243041407316923, -0.012069843709468842, -0.011782252229750156, 0.032407935708761215, -0.007648128550499678, -0.014370573684573174, 0.004215008579194546, 0.030215051025152206, -0.010497079230844975, 0.03670382872223854, 0.008569319732487202, -0.03965163975954056, -0.010056705214083195, 0.016141057014465332, -0.05597243830561638, 0.032569706439971924, -0.030952004715800285, 0.01585346646606922, -0.007068452890962362, -0.03483448550105095, 0.0011318286415189505, 0.0052170841954648495, -0.04490017890930176, -0.0744142234325409, 0.002777052577584982, -0.044504739344120026, 0.001900798175483942, 0.03289324417710304, -0.05277298763394356, -0.006731431931257248, 0.014523356221616268, 0.05086769536137581, 0.04241970553994179, 0.02827381156384945, -0.05895619839429855, -0.024553099647164345, -0.005050820764154196, -0.0075402818620204926, -0.011890099383890629, 0.009454561397433281, -0.00521259056404233, 0.02056277170777321, -0.021677186712622643, -0.012833758257329464, 0.03179680183529854, -0.045367512851953506, -0.025379924103617668, 0.003740932559594512, -0.017866604030132294, -0.01195300929248333, -0.01492778118699789, 0.039256200194358826, 0.043785762041807175, 0.002631010254845023, 0.00010693394142435864, 0.001933376886881888, -0.03289324417710304, 0.08081313222646713, 0.031077824532985687, -0.011117197573184967, -0.010317334905266762, 0.009355701506137848, -0.014990692026913166, -0.013346029445528984, -0.014703100547194481, -0.051802366971969604, -0.017596988007426262, -0.09461750835180283, -0.0396156907081604, -0.013471851125359535, 0.04500802606344223, -0.0556129515171051, -0.01471208781003952, -0.016581431031227112, 0.007176299579441547, 0.026781931519508362, -0.021191878244280815, 0.02974771521985531, 0.01587143912911415, -0.02212654799222946, -0.025002460926771164, -0.04126933962106705, 0.014038045890629292, 0.009009693749248981, -0.04720090702176094, 0.002107504289597273, -0.05784178152680397, 0.00858280062675476, 0.07887189090251923, 0.03907645493745804, 0.01717458851635456, 0.08714013546705246, -0.009876960888504982, 0.006794342305511236, -0.05859670788049698, 0.02503840997815132, -0.02390601858496666, 0.021928830072283745, 0.03668585419654846, -0.020616695284843445, -0.0877872183918953, 0.0617961622774601, 0.06959707289934158, 0.01762394979596138, -0.0017716068541631103, -0.014595254324376583, 0.023205015808343887, -0.05244944617152214, 0.008632229641079903, 0.07196970283985138, -0.019034942612051964, -0.015691695734858513, -0.019753921777009964, 0.03702737018465996, 0.023115143179893494, 0.031239595264196396, -0.005895619746297598, -0.013381978496909142, 0.044936127960681915, 0.017507115378975868, -0.012663000263273716, 0.009481523185968399, -0.018280016258358955, -0.062155649065971375, -0.035193976014852524, 0.04439689218997955, -0.05665547028183937, 0.05730254948139191, 0.10604926198720932, 0.007648128550499678, 0.0021164915524423122, 0.03598485141992569, 0.025379924103617668, 0.004441936034709215, 0.02638649381697178, 0.032282114028930664, -0.035014230757951736, -0.12129159271717072, -0.01019151322543621, -0.0039049494080245495, 0.044936127960681915, 0.01056897733360529, -0.08203539252281189, -0.03695547208189964, -0.033414505422115326, 0.021605290472507477, -0.013462863862514496, 0.031832750886678696, -0.026404468342661858, -0.031976547092199326, 0.03262362629175186, 0.06977681815624237, 0.023780198767781258, -0.0029904991388320923, -0.0006673014722764492, 0.018154194578528404, 0.10676823556423187, 0.01296856626868248, -0.015655746683478355, -0.047991782426834106, 0.05464233085513115, -0.004170072730630636, 0.020904285833239555, 0.02712344564497471, 0.02241414040327072, -0.027177369222044945, -0.025865234434604645, -0.008776025846600533, 0.08325765281915665, -0.029909485951066017, 0.02257590927183628, 0.026260672137141228, -0.03598485141992569, -0.09282006323337555, -0.07808101177215576, -0.06506751477718353, 0.03305501490831375, -0.05845291540026665, -0.03046669438481331, 0.015979286283254623, -0.014586267061531544, -0.024858664721250534, -0.011917061172425747, 0.0363982617855072, -0.04446879029273987, 0.02796824462711811, 0.02449917607009411, -0.0029567971359938383, -0.009283803403377533, 0.01588941365480423, -0.046697624027729034, 0.006025934591889381, 0.016797123476862907, 0.01791154034435749, -0.0016873516142368317, -0.0037319452967494726, 0.04871075972914696, 0.014082982204854488, -0.02798621915280819, 0.00889735296368599, -0.03540966659784317, -0.045978646725416183, 0.02462499774992466, -0.03147326409816742, 0.00564397731795907, 0.011827188543975353, 0.03612864762544632, -0.013346029445528984 ]
16,407
presidio_analyzer.recognizer_registry
_get_nlp_recognizer
Return the recognizer leveraging the selected NLP Engine.
@staticmethod def _get_nlp_recognizer( nlp_engine: NlpEngine, ) -> Type[SpacyRecognizer]: """Return the recognizer leveraging the selected NLP Engine.""" if isinstance(nlp_engine, StanzaNlpEngine): return StanzaRecognizer if isinstance(nlp_engine, TransformersNlpEngine): return TransformersRecognizer if not nlp_engine or isinstance(nlp_engine, SpacyNlpEngine): return SpacyRecognizer else: logger.warning( "nlp engine should be either SpacyNlpEngine," "StanzaNlpEngine or TransformersNlpEngine" ) # Returning default return SpacyRecognizer
(nlp_engine: presidio_analyzer.nlp_engine.nlp_engine.NlpEngine) -> Type[presidio_analyzer.predefined_recognizers.spacy_recognizer.SpacyRecognizer]
[ -0.001972003374248743, -0.07322206348180771, -0.01868589036166668, 0.01219099760055542, -0.0031095603480935097, 0.014682449400424957, 0.047927167266607285, -0.021091757342219353, 0.04515043646097183, 0.015395651571452618, 0.023393021896481514, -0.01437814999371767, -0.04206940159201622, -0.008187557570636272, 0.005001922603696585, 0.007849975489079952, -0.02381143346428871, 0.055800918489694595, 0.028147701174020767, -0.07234720140695572, -0.0181343462318182, 0.038607995957136154, -0.03090541623532772, -0.04149883985519409, 0.0165367741137743, 0.03451897203922272, 0.04583510756492615, -0.01860981434583664, -0.05199717357754707, 0.01688862033188343, 0.017934650182724, -0.02008376643061638, 0.046025294810533524, 0.0219095628708601, 0.021472131833434105, 0.03200850263237953, -0.04024360701441765, 0.0724613144993782, -0.0812479630112648, -0.02055923268198967, -0.06477775424718857, -0.0338723361492157, 0.034690141677856445, -0.0007447016541846097, -0.07904178649187088, 0.028737282380461693, -0.02875629998743534, 0.0147395059466362, 0.009490340016782284, -0.00007600057870149612, 0.007949823513627052, -0.03849388286471367, 0.005363278090953827, 0.0012017452390864491, -0.034537989646196365, 0.012799596413969994, -0.03185635060071945, 0.07462944835424423, -0.02383045293390751, 0.05024745315313339, 0.05633344128727913, -0.010403238236904144, 0.008720082230865955, 0.010774102993309498, 0.01799170672893524, -0.00864400714635849, -0.02415377087891102, 0.021300964057445526, 0.018657362088561058, 0.028337888419628143, -0.008434801362454891, -0.03917855769395828, -0.046177446842193604, 0.0282808318734169, 0.073260098695755, 0.012894690036773682, -0.03290238231420517, 0.03952089324593544, 0.08101973682641983, 0.045378658920526505, 0.0004139542579650879, 0.012152960523962975, 0.022270917892456055, -0.02263227291405201, 0.05602914094924927, -0.024001620709896088, -0.02845200151205063, -0.029498031362891197, 0.023126760497689247, -0.03725766763091087, -0.08421488106250763, -0.011582398787140846, 0.030886396765708923, 0.028471019119024277, -0.027862420305609703, 0.02223288081586361, 0.01868589036166668, -0.04324856400489807, -0.011962773278355598, -0.04682408273220062, -0.027139710262417793, 0.11099323630332947, -0.04484613612294197, -0.009747092612087727, 0.006718361750245094, -0.026264848187565804, 0.02223288081586361, 0.03164714574813843, 0.012000810354948044, 0.06143045797944069, -0.043628938496112823, -0.06877168267965317, -0.006195347290486097, 0.06257157772779465, -0.026949523016810417, -0.06557653844356537, -0.05439352989196777, 0.0006822964642196894, -0.006133536342531443, 0.028014570474624634, -0.054926056414842606, 0.04488417133688927, -0.05348063260316849, 0.012295600958168507, 0.01126858964562416, -0.02805260755121708, 0.029364898800849915, -0.049752965569496155, 0.029821349307894707, 0.008468084037303925, 0.013332121074199677, 0.03290238231420517, -0.04556884616613388, -0.014254529029130936, -0.00252948934212327, 0.03680121898651123, -0.030144667252898216, 0.03940678387880325, -0.0478130541741848, -0.012932728044688702, -0.03602145239710808, -0.0027743554674088955, 0.049600813537836075, -0.06013718619942665, -0.022270917892456055, 0.0526057705283165, -0.03680121898651123, 0.0018614570144563913, -0.03141891956329346, 0.0059861415065824986, 0.01868589036166668, -0.011706020683050156, 0.038760144263505936, -0.03233182057738304, 0.01258088182657957, -0.022822460159659386, 0.004043854773044586, -0.021624282002449036, -0.010612444020807743, -0.019969653338193893, -0.017345070838928223, 0.00692756799980998, -0.020977646112442017, -0.03914051875472069, 0.03737178072333336, -0.00889600533992052, 0.03242691233754158, -0.011829642578959465, 0.026816392317414284, 0.04594922065734863, -0.04979100078344345, 0.0038132527843117714, -0.047052305191755295, -0.004136571194976568, -0.0085584232583642, 0.06865756958723068, 0.015718970447778702, 0.06028933450579643, 0.011744057759642601, 0.06158260628581047, 0.041460804641246796, 0.007326961029320955, -0.08261730521917343, -0.0645114928483963, 0.04089024290442467, 0.058919984847307205, 0.006513910833746195, 0.023621246218681335, -0.04830754175782204, 0.022442085668444633, -0.0026174508966505527, 0.03200850263237953, 0.0525677353143692, -0.05834942311048508, 0.00009821384446695447, -0.0022822460159659386, -0.006960850674659014, 0.02940293774008751, -0.07265149801969528, 0.04081416875123978, 0.011125949211418629, 0.04214547947049141, -0.0006704097613692284, 0.05869176238775253, -0.06804896891117096, 0.02771027199923992, -0.012210016138851643, 0.05507820472121239, -0.07995469123125076, -0.04522651061415672, -0.00045139738358557224, -0.04788913205265999, -0.011373193003237247, 0.024553164839744568, 0.03952089324593544, -0.04948670417070389, 0.02795751392841339, 0.013275064527988434, 0.0027981288731098175, 0.015804553404450417, 0.025998586788773537, -0.002831411547958851, 0.014359131455421448, -0.008449065499007702, 0.034366823732852936, -0.039482858031988144, -0.05009530112147331, -0.01119251549243927, -0.02852807566523552, -0.04583510756492615, 0.005001922603696585, -0.033092569559812546, 0.021472131833434105, 0.0764932781457901, 0.04788913205265999, -0.05865372344851494, 0.026797372847795486, 0.014787052758038044, 0.004897319711744785, 0.010869196616113186, 0.024324938654899597, 0.0027030352503061295, -0.06888579577207565, 0.00011366655235178769, -0.04359089955687523, 0.05116035044193268, 0.03849388286471367, -0.022004656493663788, 0.03944481909275055, -0.0016772131202742457, 0.013370158150792122, -0.049676891416311264, -0.026550129055976868, -0.03379626199603081, -0.022670311853289604, -0.026245830580592155, -0.06466364115476608, -0.018276987597346306, 0.04804128035902977, -0.04811735451221466, -0.03936874493956566, 0.10947173833847046, -0.003311634063720703, 0.06386484950780869, -0.06576672196388245, -0.01430207584053278, 0.04009145498275757, -0.006780172698199749, 0.020901570096611977, -0.03558402135968208, 0.0916702151298523, 0.050475675612688065, -0.011820132844150066, -0.019028225913643837, 0.024952556937932968, -0.03275023028254509, -0.05542054399847984, 0.061392419040203094, 0.019456148147583008, 0.042982302606105804, 0.04845969006419182, 0.013550836592912674, 0.0012207638937979937, 0.018923623487353325, 0.01811532862484455, 0.012780577875673771, -0.00494011165574193, -0.07481963187456131, -0.017506729811429977, -0.02748204581439495, -0.006708852481096983, -0.013731514103710651, 0.033986449241638184, 0.01664137840270996, -0.02405867725610733, -0.00494011165574193, 0.003092919010668993, -0.046557821333408356, 0.04891614243388176, -0.08984442055225372, 0.01816287450492382, 0.0002898868697229773, 0.03558402135968208, 0.02303166687488556, -0.010669500567018986, -0.030848359689116478, 0.009281134232878685, -0.03432878479361534, 0.00210513430647552, -0.044617909938097, -0.0796503871679306, 0.005039960145950317, 0.000551245640963316, 0.01310389582067728, -0.018980680033564568, -0.0023761510383337736, 0.015718970447778702, 0.00416034460067749, 0.025770362466573715, 0.06569065153598785, -0.046329595148563385, 0.0629139170050621, -0.006247648503631353, -0.006290440913289785, -0.01107840333133936, -0.01748771034181118, -0.007055944297462702, -0.005173091311007738, -0.009128984063863754, 0.01673647202551365, -0.06158260628581047, -0.026226811110973358, -0.0032070311717689037, 0.026169754564762115, -0.059794846922159195, -0.010764594189822674, 0.03760000318288803, 0.0036064242012798786, 0.022841479629278183, -0.006970359943807125, 0.007474355865269899, -0.01430207584053278, -0.04834558069705963, 0.03725766763091087, 0.012038848362863064, 0.010612444020807743, 0.012010320089757442, -0.05918624997138977, 0.09471321105957031, -0.013084877282381058, -0.06401700526475906, -0.0342336930334568, 0.011097421869635582, 0.023602228611707687, 0.004360041115432978, -0.007093981374055147, -0.04644370824098587, 0.03527972102165222, 0.002634092466905713, -0.06302803009748459, -0.03242691233754158, 0.007878503762185574, -0.03392939269542694, 0.05640951544046402, -0.05625736713409424, 0.021472131833434105, 0.04374305158853531, -0.019151847809553146, 0.042906224727630615, -0.004633435048162937, -0.018029743805527687, -0.011477796360850334, -0.03313060477375984, 0.0267022792249918, -0.013693476095795631, 0.033891353756189346, 0.01976044662296772, -0.006746890023350716, 0.03284532576799393, 0.017592312768101692, -0.025370968505740166, 0.07474356144666672, 0.003470915835350752, 0.0406620167195797, 0.029212750494480133, -0.06527223438024521, -0.05089408904314041, 0.030639152973890305, 0.0005060762050561607, -0.023202834650874138, -0.026987560093402863, -0.015509763732552528, -0.004222155082970858, -0.04766090586781502, 0.0009420208516530693, -0.011059383861720562, -0.09859303385019302, 0.0040010628290474415, -0.02238503098487854, 0.02135801874101162, 0.03864603489637375, 0.0018329288577660918, 0.03248396888375282, 0.03834173455834389, -0.04796520620584488, 0.06428326666355133, 0.06755448132753372, 0.021548205986618996, -0.01621345616877079, -0.01958927884697914, 0.02852807566523552, -0.009043400175869465, -0.03611654415726662, -0.057246338576078415, -0.028185738250613213, 0.03744785487651825, 0.07303187251091003, 0.045454733073711395, -0.008829439990222454, 0.015852101147174835, 0.005363278090953827, 0.011943754740059376, 0.024362977594137192, 0.04180314019322395, 0.05781690031290054, 0.04667193070054054, -0.024248864501714706, -0.02373535931110382, -0.03018270432949066, -0.03052504174411297, 0.012961256317794323, -0.01920890435576439, -0.024401014670729637, -0.04488417133688927, 0.026645222678780556, -0.001962493872269988, -0.009152757935225964, 0.030639152973890305, -0.046405669301748276, -0.033587053418159485, -0.012286091223359108, 0.009176530875265598, -0.02755812183022499, 0.08353020995855331, 0.07759636640548706, -0.06085989624261856, -0.029821349307894707, -0.010507841594517231, -0.034043505787849426, -0.094028539955616, -0.011753567494452, -0.009956298395991325, 0.04252585023641586, 0.09030087292194366, 0.042031366378068924, 0.0020302480552345514, 0.03799939900636673, 0.015433689579367638, 0.023697322234511375, 0.020140821114182472, 0.028870413079857826, 0.015928175300359726, 0.019855540245771408, 0.00008506418816978112, -0.004795094020664692, 0.06310410797595978, -0.009984826669096947, -0.00862023327499628, -0.020616289228200912, -0.02333596535027027, 0.05370885878801346, -0.007274659350514412, 0.03482327237725258, -0.05359474569559097, -0.060593634843826294, 0.01778250001370907, 0.06588083505630493, -0.011962773278355598, 0.026112699881196022, 0.010374709963798523, -0.011753567494452, 0.038912296295166016, -0.037409815937280655, 0.04176510497927666, -0.04948670417070389, -0.03775215521454811, -0.050475675612688065, -0.018999699503183365, -0.02422984503209591, 0.032141633331775665, -0.0000018712263454290223, 0.056219328194856644, 0.05538250505924225, -0.0033781996462494135, 0.008953060954809189, 0.0018495703116059303, 0.029840366914868355, -0.00404147757217288, 0.03010663017630577, -0.004229287151247263, 0.0525677353143692, -0.01748771034181118, -0.031437940895557404, -0.04651978239417076, 0.0740969255566597, -0.06420718878507614, -0.06063167005777359, 0.04579707235097885, -0.03193242475390434, 0.05728437751531601, -0.008334953337907791, 0.03607850521802902, 0.026968540623784065, -0.011259080842137337, 0.00715103792026639, 0.007341224700212479, 0.0039059689734131098, -0.010365201160311699, -0.018752455711364746, 0.001708118594251573, -0.0003509547677822411, 0.02383045293390751, 0.025199800729751587, -0.02422984503209591, 0.03651593625545502, 0.03615458309650421, -0.020825495943427086, 0.028813356533646584, 0.032388877123594284, -0.00026700497255660594, 0.036915332078933716, -0.007317451294511557, -0.0278814397752285, 0.033986449241638184, 0.02925078757107258, -0.0046453215181827545, -0.06823915988206863, 0.011059383861720562, 0.06260962039232254, -0.006956095807254314, -0.007859485223889351, -0.0589580237865448, -0.07660739123821259, 0.006965605076402426, 0.03488032892346382, -0.01843864656984806, -0.023868490010499954, 0.002783864736557007, -0.03910248354077339, 0.034690141677856445, -0.029973499476909637, -0.001217197859659791, 0.001374102314002812, 0.01796317845582962, 0.04469398409128189, 0.04085220396518707, -0.020578252151608467, 0.020273951813578606, 0.022594235837459564, 0.020996663719415665, -0.013065858744084835, -0.06158260628581047, 0.015253011137247086, 0.03607850521802902, -0.021053720265626907, -0.011962773278355598, -0.009899242781102657, 0.059072136878967285, -0.011572889983654022, -0.049676891416311264, 0.04176510497927666, -0.069342240691185, -0.005439353175461292, -0.004452757071703672, -0.038360752165317535, 0.07432514429092407, 0.004395700991153717, -0.000530146760866046, -0.011249571107327938, 0.007840466685593128, 0.006185838021337986, -0.0006133536226116121, -0.009737582877278328, -0.06200101971626282, 0.0019933993462473154, -0.03704846277832985, 0.027919476851820946, -0.012095903977751732, -0.05184502527117729, 0.025561155751347542, -0.05515427887439728, 0.030962472781538963, 0.04747071862220764, 0.0027648459654301405, -0.0013313102535903454, 0.0027743554674088955, -0.0077596367336809635, -0.04518847167491913, 0.042754076421260834, -0.03429074585437775, -0.03522266447544098, 0.042830150574445724, -0.015367123298346996, -0.034861307591199875, 0.10863491147756577, -0.01779201067984104, -0.059718772768974304, -0.04016753286123276, 0.0306771919131279, -0.03472817689180374, -0.015547801740467548, 0.0034495198633521795, 0.003337784903123975, 0.008011634461581707, 0.051426611840724945, 0.016774509102106094, -0.04024360701441765, -0.015566820278763771, 0.013912191614508629, -0.0032403140794485807, 0.03571715205907822, 0.04682408273220062, 0.024496108293533325, -0.010526860132813454, -0.023564191535115242, -0.00898158922791481, -0.01823895052075386, -0.11380800604820251, -0.016051797196269035, -0.035412851721048355, 0.03314962610602379, -0.022594235837459564, 0.02917471155524254, -0.04906829074025154, -0.04682408273220062, 0.047014269977808, 0.035089533776044846, 0.01011795736849308, 0.01983652263879776, 0.02835690788924694, -0.08147618174552917, 0.014577846974134445, 0.03185635060071945, -0.011401721276342869, 0.01728801429271698, -0.02963116206228733, -0.034138597548007965, 0.01745918206870556, 0.012656955979764462, 0.05306222289800644, 0.0018697776831686497, 0.024743352085351944, 0.0004992413450963795, -0.02135801874101162, -0.005406070500612259, 0.026416998356580734, 0.034690141677856445, 0.024819426238536835, 0.03737178072333336, -0.041156504303216934, -0.02917471155524254, 0.04674800857901573, 0.04446576163172722, 0.05850157514214516, 0.022346992045640945, 0.02525685727596283, -0.03682023659348488, -0.036363787949085236, 0.02198563702404499, -0.028090646490454674, 0.006466364022344351, -0.012409713119268417, -0.005144563037902117, -0.01521497406065464, -0.006200101692229509, 0.011620435863733292, 0.0010739632416516542, -0.04256388917565346, 0.05009530112147331, -0.007940314710140228, -0.01485361810773611, 0.025675268843770027, -0.037961360067129135, -0.00442898366600275, -0.054621756076812744, 0.00178300472907722, 0.024800406768918037, -0.009628226049244404, 0.01991259679198265, -0.07771047949790955, -0.009276379831135273, 0.021567225456237793, 0.015880629420280457, 0.015547801740467548, 0.04834558069705963, -0.06238139420747757, -0.03801841661334038, -0.046405669301748276, -0.04469398409128189, 0.009262115694582462, 0.05412726849317551, -0.04998118802905083, -0.05903409793972969, -0.024248864501714706, -0.01222903560847044, 0.019075773656368256, -0.010013354942202568, -0.0005022130208089948, 0.021548205986618996, -0.012095903977751732, -0.006171573884785175, -0.01823895052075386, 0.0637127012014389, 0.0009824356529861689, 0.00930490717291832, 0.02040708437561989, 0.0004564492264762521, 0.07215701043605804, -0.035260703414678574, -0.04651978239417076, 0.001649873680435121, -0.022194843739271164, 0.029992517083883286, -0.003794234013184905, 0.047128383070230484, -0.014187962748110294, 0.024952556937932968, -0.026626205071806908, 0.021205870434641838, -0.0023440569639205933, 0.021852506324648857, -0.031989481300115585, -0.040205568075180054, -0.07561842352151871, -0.04089024290442467, -0.02341204136610031, 0.028699245303869247, -0.0018887963378801942, -0.035336777567863464, -0.04001538082957268, 0.01234314776957035, 0.00818280316889286, -0.06386484950780869, 0.004409965127706528, 0.07215701043605804, 0.020121803507208824, 0.04583510756492615, -0.021053720265626907, -0.012561863288283348, -0.014092869125306606, 0.03864603489637375, 0.0052824486047029495, 0.02763419598340988, 0.04629155993461609, -0.01684107445180416, -0.05838746204972267, 0.054621756076812744, -0.002743449993431568, -0.028965506702661514, -0.009352453984320164, -0.0064330813474953175, -0.020901570096611977, 0.013303592801094055, -0.007227112539112568, -0.00010556873894529417, -0.03967304527759552, 0.03712453693151474, -0.02333596535027027 ]
16,408
presidio_analyzer.recognizer_registry
_get_supported_languages
null
def _get_supported_languages(self) -> List[str]: languages = [] for rec in self.recognizers: languages.append(rec.supported_language) return list(set(languages))
(self) -> List[str]
[ 0.023219354450702667, -0.07046803832054138, 0.012737859971821308, -0.00485745444893837, -0.0014692895347252488, 0.07690928876399994, 0.02013372629880905, -0.05399850010871887, 0.044201627373695374, 0.00974865723401308, 0.03371049091219902, -0.050681449472904205, -0.02360505796968937, -0.03168554976582527, 0.010413995943963528, -0.032225534319877625, -0.058318380266427994, 0.019709452986717224, 0.04015174135565758, -0.025147872045636177, -0.01300785318017006, -0.015958484262228012, -0.014001039788126945, -0.030933426693081856, -0.013056065887212753, 0.08300340920686722, 0.025591431185603142, -0.023643627762794495, -0.037528958171606064, -0.013509267009794712, -0.08693758398294449, 0.024299325421452522, -0.0009636562317609787, -0.007154800929129124, -0.022987931966781616, 0.05233997479081154, 0.020018015056848526, 0.043700214475393295, -0.02223581075668335, -0.0438544936478138, -0.04173312708735466, -0.02553357556462288, 0.010250071994960308, -0.0220043882727623, -0.07953207194805145, -0.02520572766661644, -0.05187712982296944, 0.02503216080367565, 0.026266412809491158, -0.0004914707387797534, 0.06186685338616371, 0.01821485161781311, -0.01228465884923935, -0.02898562327027321, -0.05010289326310158, -0.011503608897328377, -0.010732201859354973, 0.029120618477463722, 0.026054276153445244, 0.04123171046376228, 0.020924419164657593, -0.03425047546625137, -0.0035315982531756163, -0.034867603331804276, 0.021464403718709946, 0.021850107237696648, 0.0401131696999073, -0.020596571266651154, 0.005486633162945509, 0.027905652299523354, -0.012863214127719402, -0.009054391644895077, -0.023662913590669632, 0.026227843016386032, 0.03473260626196861, 0.01303678099066019, -0.009840262122452259, 0.03058629296720028, -0.043545931577682495, 0.0024311377201229334, -0.03399977087974548, 0.03587043285369873, 0.0646824911236763, 0.03569686412811279, 0.07748784869909286, -0.04817437380552292, 0.0012559472816064954, 0.01581384614109993, -0.03874392434954643, -0.028715630993247032, -0.04798152297735214, -0.036873262375593185, 0.03043201193213463, 0.028445638716220856, -0.03160840645432472, 0.0019176698988303542, -0.0343661867082119, 0.019391246140003204, 0.02150297351181507, -0.002463681623339653, 0.003714807564392686, 0.04389306530356407, 0.014386743307113647, -0.03916819766163826, 0.06217541545629501, 0.01067434623837471, -0.03581257537007332, 0.027867082506418228, -0.028638489544391632, 0.016469541937112808, -0.0443173386156559, -0.02713424526154995, 0.05353565514087677, 0.012438939884305, 0.05033431574702263, -0.039361048489809036, -0.060169756412506104, -0.0006321922410279512, -0.00411497475579381, 0.037606097757816315, -0.08624331653118134, 0.055734165012836456, -0.018716266378760338, -0.028059935197234154, -0.02688353881239891, -0.006161614321172237, 0.0708923190832138, 0.03299694135785103, -0.008080489933490753, 0.03502188250422478, -0.023740055039525032, 0.0701209083199501, -0.017694151028990746, -0.03573543578386307, 0.009010999463498592, -0.03531116247177124, -0.02497430518269539, -0.031010566279292107, 0.06387250870466232, -0.011831456795334816, -0.06977377831935883, -0.020962988957762718, 0.053651366382837296, 0.02086656354367733, -0.036950401961803436, 0.03137698397040367, 0.014926727861166, 0.024511462077498436, -0.044587332755327225, -0.004568176809698343, -0.00253841164521873, -0.015582423657178879, -0.037528958171606064, -0.0646824911236763, -0.006393036805093288, 0.001957445638254285, -0.025167157873511314, 0.014164963737130165, 0.004765849560499191, -0.035041168332099915, -0.015707777813076973, 0.036641839891672134, -0.1310620754957199, 0.021946532651782036, 0.08107488602399826, -0.005274496041238308, 0.032399099320173264, -0.021715110167860985, 0.0034592789597809315, 0.05183855816721916, -0.0018393239006400108, -0.012930711731314659, -0.0008105801534838974, 0.011792886070907116, 0.042427390813827515, 0.03243767097592354, 0.02343149110674858, 0.03932247683405876, 0.026150701567530632, 0.037451814860105515, -0.004040244966745377, 0.03668040782213211, -0.04983289912343025, -0.017858074977993965, 0.04512731730937958, 0.011175760999321938, 0.005592701490968466, -0.015399214811623096, -0.058626942336559296, 0.00895314384251833, 0.02888919785618782, -0.020365148782730103, 0.019053755328059196, -0.006479819770902395, -0.044818755239248276, 0.013981753960251808, 0.022370805963873863, 0.0046188002452254295, -0.08747757226228714, -0.05762411281466484, 0.04975575953722, -0.008152808994054794, 0.04119314253330231, -0.005766268353909254, -0.02890848182141781, -0.01477244682610035, -0.018195565789937973, 0.0068703447468578815, -0.015543853864073753, -0.058241236954927444, 0.0402674525976181, 0.0009931867243722081, -0.009338847361505032, -0.002176814479753375, 0.024280039593577385, -0.04751867800951004, 0.013914256356656551, 0.014695306308567524, -0.03841607645153999, 0.019053755328059196, 0.008929037488996983, 0.01015364658087492, -0.003083217889070511, 0.0027601912152022123, 0.04987147077918053, -0.040730297565460205, -0.030123447999358177, -0.009097782894968987, -0.01751094125211239, -0.0401131696999073, -0.023547202348709106, -0.055579882115125656, -0.010500779375433922, 0.015620994381606579, -0.003538830205798149, 0.05650557205080986, 0.0452430285513401, 0.0269799642264843, 0.0294677522033453, 0.028869912028312683, 0.0499100424349308, 0.014618164859712124, 0.023315779864788055, 0.045474451035261154, 0.0012571525294333696, 0.057276979088783264, 0.0399588905274868, 0.00009318658703705296, 0.06290825456380844, 0.0008015402127057314, 0.007145158480852842, -0.04208026081323624, -0.012718575075268745, -0.061596859246492386, -0.011484324000775814, -0.025861423462629318, -0.008822969160974026, -0.012062879279255867, 0.022447947412729263, -0.04389306530356407, -0.013673190958797932, 0.0325726643204689, -0.00785871036350727, 0.08701472729444504, -0.03515687957406044, -0.04092314839363098, 0.0642196461558342, 0.007121052127331495, -0.08639759570360184, 0.023412207141518593, 0.16940100491046906, -0.00738140195608139, -0.07532790303230286, -0.011484324000775814, 0.016238119453191757, 0.005939834751188755, -0.0036015070509165525, 0.0645282045006752, -0.06217541545629501, 0.022447947412729263, 0.039361048489809036, 0.049331486225128174, 0.029390612617135048, 0.0351375937461853, 0.023392921313643456, 0.013624978251755238, -0.033594779670238495, -0.05623558163642883, -0.06610959023237228, 0.0022840884048491716, 0.033671922981739044, 0.02503216080367565, 0.02607356198132038, -0.018880190327763557, 0.05827980861067772, -0.0009696828783489764, 0.04694012552499771, -0.01565956510603428, 0.07906923443078995, -0.003982389345765114, -0.05897407606244087, 0.026671402156352997, 0.03907177224755287, 0.03515687957406044, -0.06603244692087173, -0.06495247781276703, 0.0036858797539025545, -0.056312721222639084, -0.00613750796765089, 0.0009130326798185706, -0.031261272728443146, -0.008654223755002022, 0.06198256462812424, -0.04111599922180176, -0.010163288563489914, -0.002411852590739727, -0.01477244682610035, 0.02937132678925991, -0.006195363588631153, 0.02021086774766445, -0.021232981234788895, 0.07243513315916061, -0.008885646238923073, 0.0033218718599528074, 0.005997690372169018, -0.04319879785180092, 0.03531116247177124, -0.006258040200918913, 0.032148391008377075, -0.06715098768472672, -0.04574444144964218, -0.05145285651087761, -0.00035315981949679554, -0.0003917301946785301, 0.052455686032772064, -0.016797389835119247, 0.025070732459425926, 0.04894578084349632, 0.024202898144721985, -0.003464100183919072, -0.04863721877336502, -0.029236329719424248, -0.03440475836396217, 0.027423523366451263, -0.029352040961384773, 0.05793267488479614, -0.02030729316174984, 0.05897407606244087, 0.004990039858967066, 0.0019682934507727623, -0.03025844506919384, -0.042581673711538315, -0.02977631613612175, -0.02063514105975628, -0.034481897950172424, -0.07177942991256714, -0.048367228358983994, 0.04701726511120796, 0.023797910660505295, 0.034559041261672974, 0.01580420322716236, -0.0023552023340016603, 0.025977134704589844, 0.0446259044110775, -0.006185721140354872, -0.03851250186562538, 0.06271539628505707, -0.009695623070001602, 0.021097984164953232, -0.05523275211453438, 0.0027071568183600903, 0.0033049974590539932, -0.011146833188831806, 0.0017031222814694047, 0.0034472255501896143, -0.015351002104580402, 0.05384421721100807, 0.03579328954219818, 0.020114440470933914, 0.05642843246459961, -0.005722876638174057, 0.03885963559150696, 0.003032594220712781, 0.017038455232977867, -0.012024308554828167, -0.044741611927747726, -0.04670870304107666, -0.02616998739540577, 0.003186875721439719, 0.00736211659386754, -0.009502771310508251, -0.03999745845794678, -0.08184629678726196, 0.03799179941415787, -0.0012378674000501633, 0.02231295220553875, -0.04292880743741989, 0.00238774623721838, 0.03868606686592102, 0.029101334512233734, 0.007121052127331495, 0.020808707922697067, -0.011648247949779034, 0.0038040014915168285, -0.055425602942705154, 0.08693758398294449, 0.036622554063797, 0.06533818691968918, -0.059128355234861374, -0.00955098494887352, -0.00009559722820995376, -0.02657497487962246, 0.023971477523446083, -0.04470304399728775, -0.07783497869968414, 0.008244413882493973, -0.02696067839860916, 0.021464403718709946, 0.025167157873511314, 0.0015187078388407826, -0.013258559629321098, -0.006807668134570122, 0.005592701490968466, 0.056312721222639084, 0.048444367945194244, 0.00974865723401308, -0.013750332407653332, -0.0354461595416069, -0.03203267976641655, -0.030875571072101593, 0.05808695778250694, 0.012130376882851124, 0.013335701078176498, -0.09094890207052231, 0.027732087299227715, -0.04319879785180092, -0.03561972454190254, -0.012342514470219612, -0.04358450323343277, -0.029429182410240173, -0.01604526862502098, -0.0037606097757816315, 0.002102084457874298, 0.048907212913036346, 0.07567504048347473, -0.012033951468765736, -0.04586015269160271, 0.016411686316132545, -0.03413476422429085, -0.03399977087974548, -0.03729753568768501, -0.01830163411796093, 0.03669969365000725, 0.0011908597080036998, 0.08740042895078659, 0.08392909914255142, -0.029120618477463722, 0.009628125466406345, -0.015755990520119667, -0.010462209582328796, 0.06942664086818695, 0.06132686883211136, 0.048598650842905045, 0.027172816917300224, -0.02601570636034012, 0.03236052766442299, -0.023547202348709106, -0.015929557383060455, -0.023084359243512154, 0.00615679332986474, 0.010896125808358192, 0.015399214811623096, 0.002521537011489272, -0.08446907997131348, -0.058549802750349045, 0.011503608897328377, -0.008822969160974026, -0.01909232698380947, 0.02881205640733242, -0.03702754154801369, 0.0006168243708088994, -0.020827991887927055, -0.02015301212668419, -0.012130376882851124, -0.011966452933847904, -0.05492418631911278, -0.029718460515141487, 0.0032326779328286648, -0.05353565514087677, -0.011301114223897457, 0.02406790293753147, 0.023219354450702667, -0.021406548097729683, -0.03160840645432472, 0.010462209582328796, -0.005949477665126324, 0.034076910465955734, -0.04103885963559151, 0.0343661867082119, 0.06348680704832077, 0.07343795895576477, -0.0087072579190135, -0.0032206247560679913, 0.0195937417447567, 0.05692984536290169, -0.09094890207052231, 0.03091414086520672, 0.001453620265237987, -0.019902303814888, 0.007116230670362711, -0.03749038651585579, 0.007121052127331495, 0.023180784657597542, -0.023065073415637016, 0.016074195504188538, -0.022120099514722824, -0.014926727861166, 0.020596571266651154, 0.02462717331945896, 0.09588591009378433, -0.04597586393356323, 0.017240948975086212, 0.06340966373682022, -0.021695826202630997, 0.05581130459904671, -0.001218582154251635, -0.08493192493915558, -0.037779662758111954, 0.009970436803996563, 0.0029096512589603662, 0.055734165012836456, -0.038647498935461044, -0.030374156311154366, 0.03577400743961334, -0.045783013105392456, -0.00911706779152155, -0.0050045037642121315, -0.002967506879940629, 0.07031375914812088, 0.011291472241282463, 0.036641839891672134, -0.00039383949479088187, -0.006474998779594898, 0.006103758700191975, 0.0027891190256923437, -0.02647854946553707, -0.0539599284529686, -0.014512096531689167, -0.013133206404745579, 0.04694012552499771, 0.007029447704553604, -0.0053902072831988335, -0.0378568060696125, 0.028792770579457283, 0.05434563383460045, -0.06645672768354416, 0.09195172786712646, 0.037123966962099075, 0.008374588564038277, -0.023142214864492416, -0.02094370312988758, -0.045320168137550354, -0.07721785455942154, 0.007608002983033657, -0.057276979088783264, -0.013345343060791492, -0.021252267062664032, 0.04640013724565506, -0.03266909345984459, -0.015958484262228012, 0.057585541158914566, -0.026054276153445244, 0.03442404419183731, -0.058472659438848495, 0.011281829327344894, 0.017433801665902138, 0.012699290178716183, 0.00878921989351511, -0.016585253179073334, -0.026632830500602722, -0.019121253862977028, -0.0022322593722492456, 0.0011366201797500253, -0.0401131696999073, 0.02206224389374256, -0.026922108605504036, 0.05507846921682358, 0.004259613808244467, -0.005901264492422342, -0.021367978304624557, -0.03909105807542801, 0.06522247195243835, 0.059359777718782425, -0.02335435152053833, -0.061442576348781586, -0.011137190274894238, -0.0244150348007679, 0.01171574555337429, -0.02832992747426033, -0.005766268353909254, 0.04501160606741905, 0.012033951468765736, 0.0034472255501896143, 0.007338010240346193, 0.052301403135061264, -0.03521473705768585, -0.020249437540769577, -0.04381592571735382, -0.0024757348001003265, 0.014184248633682728, -0.04543587937951088, -0.010664703324437141, 0.013827472925186157, -0.06236826628446579, 0.010259714908897877, 0.007651394698768854, -0.0149652985855937, 0.02512858808040619, 0.024145042523741722, 0.01838841661810875, 0.01552456896752119, 0.004698351491242647, 0.022582944482564926, 0.01903447136282921, 0.030200589448213577, -0.025456435978412628, -0.05507846921682358, -0.018600555136799812, -0.029795600101351738, 0.010442923754453659, 0.04871436208486557, -0.021618684753775597, 0.054152779281139374, 0.0080660255625844, -0.003008487867191434, 0.010028292424976826, -0.0034761533606797457, -0.06668815016746521, -0.0003136854793410748, 0.02593856491148472, -0.03307408094406128, 0.028079219162464142, 0.05014146491885185, 0.004606747068464756, -0.0019598561339080334, 0.035118307918310165, -0.04998718202114105, 0.02480074018239975, 0.02890848182141781, 0.012352156452834606, -0.025244297459721565, 0.001051042228937149, 0.015842774882912636, -0.027905652299523354, -0.02649783529341221, -0.006952306721359491, 0.014145677909255028, 0.04937005788087845, 0.0446259044110775, -0.03644898533821106, 0.011841099709272385, 0.04134742170572281, 0.006667850539088249, 0.010925053618848324, 0.010346498340368271, 0.01774236373603344, -0.012583578936755657, 0.0036015070509165525, 0.02728852815926075, 0.0008919395040720701, 0.04605300724506378, 0.010905768722295761, 0.0014307191595435143, -0.002907240530475974, -0.013933541253209114, 0.07224227488040924, -0.012921069748699665, -0.03000773675739765, 0.0799177810549736, 0.014348172582685947, -0.06101830303668976, 0.02393290586769581, -0.053497083485126495, 0.06884808838367462, -0.025379294529557228, 0.048367228358983994, 0.001563304802402854, 0.0453973114490509, 0.061365436762571335, -0.03843535855412483, -0.04586015269160271, -0.010703274048864841, -0.01805092766880989, 0.02416432835161686, 0.06371822953224182, 0.02464645728468895, -0.00794067233800888, -0.035369016230106354, -0.0319555401802063, 0.007121052127331495, 0.04566730186343193, -0.021888677030801773, -0.056312721222639084, -0.00822994951158762, 0.004710404668003321, 0.01525457575917244, 0.00851440615952015, -0.006802846677601337, -0.011571107432246208, 0.02144511789083481, 0.02183082140982151, 0.018966972827911377, 0.00226841913536191, -0.02609284594655037, 0.0008696410222910345, -0.08030348271131516, 0.0401131696999073, 0.021078700199723244, 0.04111599922180176, -0.008851896971464157, -0.005298602860420942, 0.0057951961643993855, 0.010539350099861622, -0.006933021824806929, -0.0045561231672763824, 0.0649910494685173, 0.020114440470933914, -0.04304451867938042, -0.05099001154303551, 0.0036400773096829653, -0.0488300696015358, 0.008456550538539886, -0.01662382297217846, -0.030142733827233315, -0.06190542131662369, -0.07409365475177765, 0.03043201193213463, -0.02391362190246582, -0.037509672343730927, -0.028542064130306244, -0.01589098758995533, -0.0010823806514963508, 0.0013800956076011062, 0.01477244682610035, 0.05014146491885185, -0.027327097952365875, 0.019883017987012863, -0.03907177224755287, 0.0012005023891106248, 0.021541543304920197, 0.003107324242591858, -0.01725059188902378, 0.007217478007078171, -0.04038316383957863, 0.016324903815984726, 0.006629279814660549, 0.01807021163403988, -0.04439448192715645, -0.06487534195184708, -0.00316035863943398, -0.06398822367191315, -0.015929557383060455, -0.004652549047023058, -0.013451412320137024, -0.016874531283974648, -0.042735956609249115, 0.03565829619765282, -0.02642069384455681 ]
16,409
presidio_analyzer.recognizer_registry
add_pattern_recognizer_from_dict
Load a pattern recognizer from a Dict into the recognizer registry. :param recognizer_dict: Dict holding a serialization of an PatternRecognizer :example: >>> registry = RecognizerRegistry() >>> recognizer = { "name": "Titles Recognizer", "supported_language": "de","supported_entity": "TITLE", "deny_list": ["Mr.","Mrs."]} # noqa: E501 >>> registry.add_pattern_recognizer_from_dict(recognizer)
def add_pattern_recognizer_from_dict(self, recognizer_dict: Dict) -> None: """ Load a pattern recognizer from a Dict into the recognizer registry. :param recognizer_dict: Dict holding a serialization of an PatternRecognizer :example: >>> registry = RecognizerRegistry() >>> recognizer = { "name": "Titles Recognizer", "supported_language": "de","supported_entity": "TITLE", "deny_list": ["Mr.","Mrs."]} # noqa: E501 >>> registry.add_pattern_recognizer_from_dict(recognizer) """ recognizer = PatternRecognizer.from_dict(recognizer_dict) self.add_recognizer(recognizer)
(self, recognizer_dict: Dict) -> NoneType
[ 0.04286469519138336, -0.02870006300508976, -0.02884838357567787, -0.0017137997783720493, 0.009144900366663933, 0.004171520937234163, 0.03281596302986145, 0.033576108515262604, -0.025492627173662186, 0.050503212958574295, 0.009390557184815407, 0.0842461809515953, -0.023898178711533546, 0.020987384021282196, -0.03724704682826996, -0.007735853549093008, -0.02653087116777897, 0.06737469881772995, -0.08031567931175232, -0.06055194139480591, -0.05409998819231987, -0.011587557382881641, 0.06077442318201065, 0.05239430069923401, 0.013460107147693634, -0.002083442872390151, -0.04375461861491203, -0.02089468389749527, -0.01852155290544033, 0.025529706850647926, 0.008611872792243958, -0.05651020258665085, -0.008463552221655846, 0.05094817280769348, -0.06270258873701096, -0.035708218812942505, -0.015110175125300884, 0.04646147042512894, -0.0753098577260971, 0.0009339571697637439, 0.055471956729888916, 0.058735013008117676, 0.036561060696840286, 0.0003873141249641776, -0.004880679305642843, 0.06737469881772995, -0.04260513186454773, -0.020913224667310715, 0.033539026975631714, -0.013107845559716225, -0.017817027866840363, -0.06663309037685394, -0.03841507062315941, 0.018808923661708832, -0.0073418766260147095, 0.010132160037755966, -0.012978064827620983, 0.08587770909070969, 0.01448908168822527, -0.02614152990281582, -0.01436857134103775, -0.038044270128011703, -0.03704310581088066, 0.020134540274739265, 0.04093652218580246, -0.04497826471924782, -0.03394690901041031, -0.0077497586607933044, 0.025603868067264557, -0.05914289504289627, -0.025603868067264557, -0.00957595743238926, -0.007721948437392712, 0.019392937421798706, 0.00991894956678152, 0.002880666870623827, -0.040639881044626236, -0.016862213611602783, 0.029571447521448135, 0.06800505518913269, 0.02554824762046337, -0.026067370548844337, 0.05688100308179855, -0.039824116975069046, 0.003867926774546504, -0.04201184958219528, -0.03596777841448784, -0.04512658342719078, 0.027476416900753975, -0.03635711967945099, -0.023638617247343063, -0.01295025460422039, -0.0198008194565773, 0.011142595671117306, -0.02866298332810402, -0.01062347274273634, 0.04512658342719078, 0.00863968301564455, 0.008296690881252289, 0.0025492627173662186, 0.008523807860910892, -0.0056639984250068665, -0.010586393065750599, -0.00280187139287591, -0.048723362386226654, -0.04857504367828369, 0.004982649814337492, -0.006382426712661982, -0.05576859787106514, 0.051949337124824524, 0.025622406974434853, -0.007610708009451628, 0.05068861320614815, 0.07008154690265656, 0.010336101055145264, -0.019559796899557114, -0.03285304456949234, -0.05228305980563164, 0.02501058392226696, 0.07234343886375427, 0.00024261449289042503, 0.038155511021614075, -0.013154195621609688, 0.05317298322916031, -0.04026908054947853, -0.02745787613093853, 0.012162300758063793, -0.021450886502861977, 0.036839164793491364, -0.004442669451236725, 0.016630463302135468, 0.04282761365175247, -0.032408080995082855, -0.012375511229038239, 0.010808873921632767, 0.0036917959805577993, 0.0015156525187194347, -0.004009294789284468, 0.006414872128516436, -0.015805428847670555, 0.028922544792294502, 0.012227190658450127, 0.006090420298278332, 0.020282860845327377, -0.04197476804256439, -0.025270145386457443, -0.047351397573947906, 0.05346962437033653, -0.021562127396464348, -0.04686935245990753, -0.051207736134529114, 0.0004988443688489497, 0.011355806142091751, 0.0656319260597229, 0.028570281341671944, 0.0018273578025400639, 0.013506457209587097, 0.018706953153014183, -0.030850714072585106, -0.0011506445007398725, 0.05235721915960312, 0.01738133653998375, 0.006966439541429281, -0.0006767133600078523, -0.017390606924891472, 0.010095080360770226, 0.06633645296096802, -0.034354791045188904, -0.009538877755403519, 0.06088566407561302, 0.03537449613213539, -0.041455645114183426, -0.04264221340417862, 0.02182168886065483, 0.06296215206384659, 0.05587983876466751, -0.02966414764523506, 0.02159920707345009, -0.008695303462445736, 0.0691174641251564, 0.07875831425189972, 0.026771893724799156, -0.030350131914019585, -0.009385921992361546, 0.02451000176370144, -0.013358136638998985, -0.028366340324282646, 0.05176393687725067, 0.01285755354911089, 0.024065040051937103, 0.0524313822388649, 0.02884838357567787, 0.0067068785429000854, -0.06859834492206573, -0.01652849279344082, -0.035133473575115204, -0.01794680953025818, -0.014322221279144287, -0.034466031938791275, 0.01085522398352623, 0.02415774017572403, 0.011643177829682827, -0.004431081935763359, 0.05662144348025322, -0.029960788786411285, -0.020987384021282196, 0.01823418028652668, 0.048834603279829025, -0.0043013012036681175, -0.069525346159935, 0.012903904542326927, -0.02267453260719776, 0.023397596552968025, -0.013395216315984726, 0.016194770112633705, -0.022044170647859573, 0.011179675348103046, -0.009441542439162731, -0.032445162534713745, -0.03266764432191849, 0.01353426743298769, 0.0741974487900734, -0.010595662519335747, -0.0077497586607933044, 0.009715008549392223, -0.04419957846403122, -0.010048730298876762, -0.011874929070472717, -0.03507785499095917, 0.001971043646335602, 0.018493741750717163, -0.031740639358758926, 0.01188419945538044, -0.038007188588380814, 0.06233179196715355, -0.016398711130023003, 0.04423666000366211, -0.016509952023625374, 0.08394953608512878, 0.051170654594898224, 0.06726345419883728, 0.0667814090847969, -0.047240156680345535, -0.03090633451938629, -0.009928219020366669, 0.052765101194381714, -0.01296879444271326, -0.02884838357567787, -0.010697633028030396, -0.008964134380221367, 0.06303631514310837, -0.009339571930468082, -0.05917997285723686, 0.03848922997713089, -0.037450987845659256, 0.003135593142360449, 0.009450811892747879, -0.011077704839408398, 0.021988550201058388, -0.01738133653998375, -0.002551580313593149, 0.05587983876466751, 0.00888533890247345, 0.03945331647992134, -0.06533528864383698, 0.022340811789035797, 0.012384781613945961, 0.00169410090893507, -0.014785723760724068, -0.07890663295984268, 0.0411590039730072, 0.02298971451818943, 0.024361681193113327, -0.008820449002087116, -0.03509639576077461, 0.013126385398209095, 0.0361161008477211, 0.0052931965328752995, -0.003061432857066393, 0.017817027866840363, 0.04171520844101906, -0.021562127396464348, 0.006994249764829874, 0.05228305980563164, 0.06737469881772995, 0.08558106422424316, -0.02590050920844078, 0.0753098577260971, 0.005348816514015198, -0.039749957621097565, 0.028440501540899277, -0.00577523885294795, 0.030535532161593437, 0.08127976208925247, -0.012839013710618019, -0.023749858140945435, -0.013135655783116817, -0.0233048964291811, -0.009705738164484501, 0.0054832324385643005, 0.004590990487486124, 0.036375660449266434, 0.08046399801969528, 0.028255101293325424, -0.0733816847205162, -0.03385420888662338, 0.017047615721821785, 0.0151472557336092, -0.04987284913659096, 0.00013325690815690905, -0.0036292229779064655, 0.0434950552880764, -0.03704310581088066, -0.0024774197954684496, -0.018141480162739754, -0.011680258437991142, 0.008254976011812687, 0.027735978364944458, -0.0011767165269702673, -0.00049652683082968, 0.014220250770449638, 0.04104776307940483, -0.05502699315547943, -0.053580865263938904, 0.06159018725156784, -0.035708218812942505, 0.04434790089726448, -0.038822952657938004, -0.014257331378757954, 0.0077126785181462765, -0.010299021378159523, -0.03498515486717224, -0.007137935608625412, 0.01898505538702011, 0.047203075140714645, 0.035596977919340134, -0.026790432631969452, -0.002148333238437772, -0.06893206387758255, -0.007884174585342407, -0.005900384392589331, -0.031481076031923294, -0.059439536184072495, 0.0056639984250068665, -0.013423026539385319, 0.022118330001831055, -0.011151865124702454, -0.011949089355766773, 0.03756222873926163, -0.01130018662661314, -0.02671627327799797, -0.07749758660793304, -0.0016547032864764333, -0.00887143425643444, -0.009093915112316608, -0.0008650111849419773, -0.03856339305639267, 0.0034484572242945433, -0.0015805428847670555, -0.04686935245990753, 0.0016338456189259887, 0.002978002419695258, -0.0601811408996582, -0.06233179196715355, -0.05473035201430321, -0.007494832389056683, -0.012412591837346554, 0.016231851652264595, 0.023508837446570396, -0.03301990404725075, 0.05432246997952461, 0.047981757670640945, -0.03504077345132828, 0.018215641379356384, 0.003932816907763481, -0.025251606479287148, 0.046350229531526566, 0.03487391397356987, 0.009251506067812443, 0.05843837186694145, -0.0016002417542040348, 0.08624850958585739, 0.06337003409862518, -0.0034554097801446915, 0.012060330249369144, -0.07193555682897568, -0.05877209082245827, 0.042234331369400024, -0.0302945114672184, -0.06552068889141083, -0.005070715211331844, 0.01663973368704319, -0.021098624914884567, -0.007508737500756979, 0.001136739389039576, -0.043013013899326324, -0.01470229309052229, 0.038155511021614075, -0.05691808462142944, 0.06233179196715355, 0.029330426827073097, -0.02593758888542652, -0.07256592065095901, -0.018669873476028442, 0.04664687067270279, 0.07949991524219513, -0.0044449870474636555, 0.05966201797127724, 0.00966865848749876, -0.0018516917480155826, 0.075754813849926, 0.002105459338054061, -0.008292056620121002, 0.0007363893091678619, -0.0897340476512909, 0.008380121551454067, -0.019096294417977333, -0.02228519134223461, -0.08165057003498077, 0.019986219704151154, 0.03352048620581627, -0.012801934033632278, -0.05510115250945091, 0.04490410536527634, 0.02248913235962391, 0.04668395221233368, 0.03316822648048401, -0.008537712506949902, 0.026660652831196785, -0.005321006290614605, -0.02792137861251831, -0.008153005503118038, 0.011476317420601845, -0.012764853425323963, 0.04727723449468613, -0.04123316705226898, 0.0114577766507864, -0.010883034206926823, -0.06070026382803917, -0.05246846005320549, -0.035281796008348465, -0.04890876263380051, 0.05814173072576523, -0.002107776701450348, -0.03437333181500435, -0.011976899579167366, 0.04249389097094536, -0.004820424132049084, 0.016222581267356873, -0.04119608551263809, 0.0015979241579771042, 0.0041066305711865425, -0.020913224667310715, 0.07794255018234253, 0.02489934302866459, 0.03785886988043785, 0.09106893092393875, 0.021339645609259605, -0.020523881539702415, 0.005195860750973225, 0.012180840596556664, -0.03498515486717224, -0.010465881787240505, 0.009872599504888058, -0.02955290675163269, 0.07794255018234253, 0.027865758165717125, -0.005765968933701515, -0.004720771219581366, -0.022507671266794205, 0.018030239269137383, 0.035949237644672394, 0.014609592966735363, -0.05754844471812248, -0.03993535786867142, 0.05265386030077934, 0.09188469499349594, 0.023508837446570396, -0.043161336332559586, 0.05424831062555313, 0.09032732993364334, 0.0037613213062286377, -0.03715434670448303, 0.006998884957283735, -0.030072029680013657, -0.02323073521256447, -0.054656192660331726, 0.0005956004606559873, -0.0229155533015728, 0.049502044916152954, -0.012774123810231686, 0.031740639358758926, 0.0005443255067802966, 0.020598042756319046, 0.05343254655599594, 0.01600009948015213, -0.0033302640076726675, 0.039638716727495193, 0.04293885454535484, -0.0458311066031456, -0.024324601516127586, 0.013163465075194836, -0.07149059325456619, -0.0030313050374388695, -0.02986808866262436, -0.050540290772914886, -0.001902677002362907, 0.05821589007973671, -0.04279053211212158, 0.03348340839147568, -0.005219035781919956, -0.04408834129571915, -0.025214524939656258, 0.01367331761866808, 0.04946496710181236, -0.009413732215762138, -0.013228355906903744, -0.026030289009213448, -0.0671892911195755, 0.04238265007734299, 0.001526081352494657, 0.021877309307456017, 0.015406816266477108, -0.052950505167245865, 0.040528640151023865, -0.04494118317961693, -0.01996767893433571, -0.016630463302135468, 0.0935903862118721, -0.018475202843546867, 0.01537900697439909, -0.022396432235836983, 0.016695352271199226, -0.002419481985270977, 0.04371753707528114, 0.02039410173892975, 0.07086022943258286, -0.04783343896269798, -0.06147894635796547, 0.019133375957608223, -0.02245205268263817, -0.03250078111886978, -0.030498452484607697, -0.07200971990823746, 0.05506407469511032, -0.028403421863913536, -0.01568491756916046, -0.06781965494155884, 0.027161234989762306, -0.00007676756649743766, -0.03518909588456154, 0.0027624736540019512, -0.06882081925868988, 0.026104450225830078, 0.020134540274739265, -0.0002486979647073895, 0.001407888252288103, -0.03502223268151283, -0.012523832730948925, -0.0041970135644078255, -0.02046826109290123, -0.0013348866486921906, 0.005765968933701515, 0.0605890229344368, 0.019003594294190407, -0.00408113794401288, -0.049613285809755325, 0.027476416900753975, -0.05228305980563164, 0.019874978810548782, 0.009209791198372841, -0.023638617247343063, 0.0022700026165694, -0.011161135509610176, -0.09885577112436295, 0.0392308346927166, -0.012347701005637646, -0.004051010124385357, 0.025807809084653854, 0.006187755614519119, -0.038229670375585556, 0.02628985047340393, -0.008857528679072857, -0.013923609629273415, -0.02951582707464695, -0.012940984219312668, 0.019022135064005852, 0.043124254792928696, -0.04182644933462143, -0.006104325409978628, -0.03122151456773281, 0.016204040497541428, 0.02784721925854683, -0.0020000124350190163, -0.014748643152415752, -0.046350229531526566, 0.004695278592407703, -0.014071930199861526, -0.007128665689378977, -0.02699437364935875, -0.026734812185168266, -0.020672202110290527, -0.039008352905511856, -0.04531198740005493, 0.04586818814277649, -0.0019385983468964696, 0.008315231651067734, -0.004347651731222868, 0.017779948189854622, -0.056139398366212845, -0.030387211591005325, 0.026975834742188454, 0.04809299856424332, 0.06014405936002731, 0.04345797747373581, -0.04015783965587616, -0.021265486255288124, -0.01081814430654049, 0.039008352905511856, 0.04449622333049774, 0.002544627757743001, 0.008825084194540977, 0.0015179701149463654, -0.02046826109290123, 0.020134540274739265, -0.035596977919340134, -0.044755782932043076, -0.04171520844101906, -0.0477592796087265, -0.03926791623234749, 0.0048528690822422504, -0.012078870087862015, 0.02011599950492382, -0.041492726653814316, -0.02089468389749527, 0.016435792669653893, 0.0033557566348463297, -0.014452002011239529, 0.01374747883528471, -0.0396016389131546, -0.005696443375200033, -0.03774762898683548, -0.019411476328969002, -0.00922369584441185, -0.0008592174272052944, 0.06704097241163254, -0.026734812185168266, -0.04594234749674797, 0.029497286304831505, 0.029571447521448135, 0.009622307494282722, 0.02799553982913494, -0.0710827112197876, 0.03750660642981529, 0.03424355015158653, 0.010456612333655357, -0.015193605795502663, 0.010586393065750599, -0.025807809084653854, 0.04182644933462143, -0.02656795270740986, 0.02986808866262436, 0.02019016072154045, -0.055434875190258026, -0.007735853549093008, 0.01236624177545309, 0.01106843538582325, -0.0022387162316590548, 0.013191275298595428, 0.010336101055145264, 0.012013980187475681, -0.041381485760211945, -0.013423026539385319, -0.017251556739211082, 0.05754844471812248, 0.06355543434619904, -0.04531198740005493, -0.003812306560575962, 0.09529607743024826, 0.012097409926354885, -0.02675335295498371, -0.0002295784797752276, 0.02671627327799797, 0.026660652831196785, -0.04034323990345001, 0.04267929121851921, -0.036839164793491364, -0.010299021378159523, 0.018725493922829628, 0.033687349408864975, 0.005362721625715494, 0.034503113478422165, 0.026401091367006302, -0.05094817280769348, 0.010336101055145264, -0.010660553351044655, 0.013543537817895412, -0.050429049879312515, -0.015935208648443222, -0.010169240646064281, 0.018753303214907646, -0.00945544708520174, -0.020709283649921417, -0.050429049879312515, -0.06077442318201065, -0.005325641483068466, -0.0196154173463583, 0.0330013632774353, 0.009209791198372841, -0.039712876081466675, -0.0022248111199587584, 0.04590526968240738, 0.01458178274333477, 0.0015110175590962172, -0.03292720392346382, 0.03424355015158653, 0.05550903454422951, 0.05161561816930771, 0.029293345287442207, -0.1161351352930069, 0.011003544554114342, -0.014878423884510994, -0.013895799405872822, 0.02593758888542652, 0.0466097928583622, -0.043977100402116776, -0.012523832730948925, -0.01702907495200634, -0.004774073604494333, -0.0392308346927166, 0.034002527594566345, -0.018243450671434402, -0.06622520834207535, -0.03266764432191849, -0.0605890229344368, -0.03125859424471855, 0.02571510709822178, -0.012004709802567959, 0.009029025211930275, 0.04293885454535484, -0.000019010836695088074, 0.023397596552968025, 0.025344306603074074, 0.042234331369400024, 0.10708757489919662, -0.012774123810231686, 0.021172786131501198, -0.024027960374951363, 0.0006871421937830746, 0.06162726506590843, 0.02267453260719776, 0.0363200418651104, -0.015277036465704441, 0.03331654518842697, -0.03259348124265671, -0.027828678488731384, 0.06922870129346848, 0.01472083292901516, 0.004699913319200277, 0.027587657794356346, -0.010669822804629803, -0.05180101841688156, 0.032408080995082855, -0.08343041688203812, 0.010966464877128601, -0.005830858834087849, 0.010169240646064281, -0.03643128275871277 ]
16,410
presidio_analyzer.recognizer_registry
add_recognizer
Add a new recognizer to the list of recognizers. :param recognizer: Recognizer to add
def add_recognizer(self, recognizer: EntityRecognizer) -> None: """ Add a new recognizer to the list of recognizers. :param recognizer: Recognizer to add """ if not isinstance(recognizer, EntityRecognizer): raise ValueError("Input is not of type EntityRecognizer") self.recognizers.append(recognizer)
(self, recognizer: presidio_analyzer.entity_recognizer.EntityRecognizer) -> NoneType
[ -0.024798328056931496, -0.05659014359116554, -0.06832920759916306, 0.03610922023653984, -0.030293211340904236, 0.01660952903330326, 0.026511019095778465, 0.01126629114151001, 0.006092539057135582, 0.032487593591213226, 0.03321905806660652, -0.02916925773024559, -0.03703692927956581, -0.01243484579026699, -0.01096300221979618, 0.003775500925257802, -0.027474407106637955, 0.0062843249179422855, -0.035342078655958176, -0.08492089807987213, -0.04388768970966339, 0.024941053241491318, -0.007872131653130054, -0.05359293520450592, 0.016716571524739265, 0.07749924063682556, 0.010204779915511608, -0.0066545153968036175, -0.004375388380140066, 0.03000776283442974, -0.01179258618503809, -0.0626915991306305, 0.012818416580557823, -0.029151417315006256, -0.0033874695654958487, -0.006199582014232874, -0.03544912114739418, 0.07978282868862152, -0.03896370530128479, 0.05373565852642059, -0.02042740024626255, -0.00034175754990428686, 0.0208734143525362, 0.03079274483025074, -0.0441017746925354, 0.04031958431005478, -0.02965095080435276, 0.0048972237855196, 0.051452070474624634, -0.02991855889558792, -0.03846416994929314, -0.05584084242582321, 0.00004843423448619433, 0.010615112259984016, -0.019392650574445724, 0.00875523779541254, 0.005369998048990965, 0.025511950254440308, -0.02442367747426033, 0.04984642565250397, 0.041889552026987076, -0.03493174538016319, 0.004364238120615482, -0.023745737969875336, 0.03505663201212883, -0.007979174144566059, -0.020373879000544548, 0.0376078262925148, 0.04777692258358002, -0.0052451142109930515, -0.03553832322359085, -0.043994732201099396, 0.00579817034304142, 0.02424527332186699, 0.0317918136715889, 0.00966064352542162, -0.005967655219137669, 0.036483872681856155, 0.0882035493850708, 0.04791964963078499, 0.031773973256349564, 0.016484644263982773, 0.002464222488924861, 0.0044913520105183125, -0.00017310884140897542, -0.04859758913516998, -0.055412668734788895, -0.07928328961133957, -0.03334394097328186, -0.036965567618608475, -0.025333544239401817, 0.002386170206591487, -0.002033819677308202, 0.01030290313065052, -0.020712848752737045, 0.015539096668362617, 0.007698186207562685, -0.05858828127384186, -0.00036294315941631794, 0.017867285758256912, -0.044922441244125366, 0.10975490510463715, -0.004781260620802641, -0.006346766371279955, 0.007327995263040066, -0.04624263942241669, -0.0016346380580216646, -0.028259390965104103, -0.022514741867780685, 0.08748993277549744, 0.04984642565250397, -0.01173014473170042, 0.02727816253900528, 0.07350295782089233, -0.019214244559407234, -0.035912975668907166, -0.004625156056135893, -0.01866118796169758, 0.040997523814439774, 0.05830283463001251, -0.008732936345040798, -0.012800576165318489, -0.032434072345495224, 0.02424527332186699, -0.0072521730326116085, -0.041354335844516754, 0.0132911903783679, 0.03800031542778015, -0.012443765997886658, -0.061835259199142456, -0.01528932899236679, 0.0075554619543254375, -0.07289638370275497, -0.007185271009802818, 0.03368290886282921, 0.011801507323980331, 0.012051274068653584, -0.02740304544568062, -0.011756905354559422, -0.004295106045901775, -0.03316553309559822, -0.004484661854803562, 0.03553832322359085, 0.0027987323701381683, -0.055626753717660904, 0.01487007737159729, -0.07749924063682556, 0.030453775078058243, -0.020141951739788055, -0.03939187899231911, -0.03225566819310188, 0.02565467357635498, 0.018875274807214737, -0.01003529503941536, -0.0050577884539961815, 0.03464629873633385, -0.030596498399972916, -0.014718432910740376, 0.013121705502271652, 0.012702452950179577, -0.0008808759157545865, -0.013326872140169144, 0.027920421212911606, 0.02297859452664852, -0.009776607155799866, -0.001656938693486154, -0.005182672291994095, 0.021230224519968033, -0.020926935598254204, 0.06101459264755249, 0.02030251733958721, -0.0555197112262249, -0.0006539667374454439, 0.02503025531768799, 0.040212541818618774, 0.057874660938978195, 0.018224095925688744, 0.03216646611690521, -0.009152188897132874, 0.054270874708890915, 0.06372635066509247, -0.010481308214366436, -0.006065778434276581, -0.059373266994953156, -0.0008870085584931076, -0.005146991461515427, 0.00521835358813405, 0.030168326571583748, -0.007769548334181309, 0.0391777902841568, 0.05434223636984825, 0.028009623289108276, -0.004549333825707436, -0.07321751117706299, -0.026814308017492294, 0.003351788502186537, -0.03359370678663254, 0.008969323709607124, -0.059016454964876175, -0.01866118796169758, -0.013416074216365814, 0.02569035440683365, -0.0016558236675336957, 0.03400404006242752, -0.01173014473170042, 0.02706407569348812, 0.00437761889770627, 0.02169407717883587, -0.028348593041300774, -0.07400249689817429, -0.005869532469660044, -0.0021653936710208654, -0.030596498399972916, 0.00566436629742384, 0.04060503467917442, -0.020445240661501884, -0.02460208348929882, -0.022746669128537178, -0.012506207451224327, 0.009589281864464283, 0.0310603529214859, 0.04445858672261238, -0.018857434391975403, -0.030864106491208076, 0.0094019565731287, -0.020266836509108543, -0.028045304119586945, -0.01817057467997074, 0.014477585442364216, -0.01994570717215538, -0.029365502297878265, 0.025815239176154137, -0.0265823807567358, 0.03000776283442974, 0.030721383169293404, 0.0416397824883461, 0.05220137536525726, -0.009749846532940865, 0.007301234640181065, 0.010713234543800354, 0.021515673026442528, 0.05320044234395027, -0.07164754718542099, -0.03921347111463547, -0.05031028017401695, 0.06832920759916306, 0.022514741867780685, 0.0021743138786405325, -0.012193998321890831, 0.019035840407013893, 0.03307633101940155, -0.015039562247693539, -0.05031028017401695, 0.0032670460641384125, -0.027991782873868942, 0.0060969991609454155, -0.059194859117269516, -0.019392650574445724, 0.03628762811422348, -0.029508227482438087, -0.020802050828933716, 0.0915575698018074, 0.05573379993438721, 0.05459200590848923, -0.0897735208272934, -0.008768618106842041, 0.01625271700322628, 0.016868215054273605, 0.013630161061882973, -0.0343608483672142, 0.06886442750692368, 0.015244727954268456, 0.010552669875323772, -0.0351458340883255, 0.04624263942241669, -0.004096630495041609, -0.014094014652073383, 0.07157618552446365, -0.059587351977825165, 0.07114800810813904, 0.06729445606470108, -0.01512876432389021, 0.0043932292610406876, 0.024173909798264503, -0.024459358304739, 0.020409559831023216, 0.010097736492753029, 0.08035372197628021, -0.06240615248680115, -0.06515359878540039, 0.005579623859375715, 0.03921347111463547, 0.055947884917259216, 0.062049344182014465, -0.0037108291871845722, -0.020445240661501884, -0.03732237592339516, 0.011979912407696247, 0.010516989044845104, -0.03154204785823822, 0.03785759210586548, 0.023727897554636, 0.005909673869609833, -0.017501553520560265, -0.05077413097023964, -0.07032734900712967, 0.020195472985506058, 0.00727001391351223, -0.04774124175310135, -0.04652808606624603, -0.017082301899790764, 0.05020323395729065, -0.05612628906965256, 0.013255509547889233, 0.03539559990167618, 0.012577570043504238, -0.001552125671878457, 0.02280019037425518, -0.009366275742650032, 0.005521642509847879, -0.0040810201317071915, 0.05188024416565895, -0.026653744280338287, -0.04527924954891205, 0.041925232857465744, -0.03625194728374481, 0.05320044234395027, 0.00863481406122446, -0.05013187229633331, 0.03214862570166588, -0.030739223584532738, -0.06775831431150436, -0.012559729628264904, 0.017296388745307922, -0.04717034474015236, -0.025904441252350807, 0.011756905354559422, 0.000501207250636071, 0.003469981951639056, 0.023834940046072006, -0.020052749663591385, 0.014040492475032806, -0.031113874167203903, 0.02886596880853176, 0.046456724405288696, -0.012996821664273739, 0.00579817034304142, -0.026546699926257133, 0.056340377777814865, 0.0220508873462677, -0.04845486581325531, -0.08720448613166809, 0.011890709400177002, -0.04502948373556137, 0.01643112301826477, 0.0037688107695430517, -0.04217499867081642, 0.009874730370938778, -0.01512876432389021, -0.07692833989858627, -0.016395442187786102, 0.0013001281768083572, 0.01313062570989132, 0.025636833161115646, -0.06515359878540039, 0.0006383562576957047, 0.0376078262925148, -0.022300655022263527, 0.02472696639597416, 0.01320198830217123, 0.01353203784674406, 0.022033046931028366, -0.010615112259984016, 0.05155911669135094, 0.022907232865691185, 0.0027541308663785458, 0.0630127340555191, 0.04752715677022934, -0.0061371405608952045, 0.05644742026925087, -0.012515127658843994, 0.1118244081735611, 0.004460131283849478, 0.0016346380580216646, 0.05220137536525726, -0.03229134902358055, -0.03207726404070854, 0.051452070474624634, 0.01610107347369194, -0.02130158618092537, 0.000201124043087475, -0.038285765796899796, -0.039998456835746765, -0.05105958133935928, -0.043994732201099396, -0.0711836889386177, -0.06451133638620377, -0.010847038589417934, -0.04642104357481003, 0.026421817019581795, 0.04156842082738876, 0.03732237592339516, 0.018197335302829742, 0.004808021243661642, -0.018250856548547745, 0.061835259199142456, -0.021711917594075203, 0.059587351977825165, 0.005557323340326548, -0.03229134902358055, 0.019606735557317734, 0.00935735460370779, -0.008286923170089722, -0.039249151945114136, -0.03871393948793411, 0.010793517343699932, 0.019910024479031563, -0.0030529596842825413, -0.05320044234395027, 0.0563046932220459, -0.012648931704461575, 0.05423519387841225, -0.07114800810813904, 0.09334162622690201, -0.006877521984279156, 0.028170188888907433, 0.0062843249179422855, 0.037750549614429474, 0.003956136293709278, -0.06158548966050148, -0.020534442737698555, 0.03457493707537651, 0.007564382161945105, -0.03188101574778557, 0.018589826300740242, -0.0220508873462677, -0.013237669132649899, -0.05195160582661629, -0.057125359773635864, 0.01140009518712759, -0.026760786771774292, -0.030114805325865746, 0.021444309502840042, 0.03022184781730175, 0.019089361652731895, -0.046099916100502014, -0.04053367301821709, 0.010945161804556847, 0.020356038585305214, -0.06087186932563782, 0.018250856548547745, -0.01386208739131689, 0.04470835253596306, 0.07514429092407227, 0.06080050766468048, 0.008041616529226303, 0.040747758001089096, -0.0008608052739873528, 0.01607431285083294, -0.010508068837225437, -0.04634968191385269, 0.05584084242582321, 0.0241203885525465, -0.003298267023637891, 0.007814149372279644, 0.039605963975191116, 0.005196052603423595, 0.016199195757508278, -0.021908164024353027, -0.008947023190557957, 0.042852938175201416, -0.011453616432845592, 0.025940122082829475, -0.07592926919460297, -0.020677167922258377, 0.01643112301826477, 0.1021905243396759, 0.02490537241101265, 0.0025801858864724636, 0.016984179615974426, 0.07221844047307968, -0.02388846129179001, -0.03607353940606117, 0.010213700123131275, -0.0004387653898447752, 0.051023900508880615, -0.038321446627378464, -0.021533513441681862, 0.0032759662717580795, 0.05195160582661629, 0.0035814852453768253, 0.009865810163319111, -0.00714959017932415, -0.004292875993996859, 0.047241710126399994, 0.015173366293311119, 0.039641644805669785, -0.022871552035212517, 0.053878381848335266, 0.016145674511790276, 0.009544680826365948, -0.037500783801078796, -0.034771181643009186, -0.052593864500522614, 0.023317566141486168, -0.04238908737897873, -0.013407154008746147, 0.04031958431005478, -0.0834936574101448, 0.03368290886282921, -0.014968199655413628, -0.0050488682463765144, 0.01901799812912941, -0.032790884375572205, 0.043602243065834045, -0.014513266272842884, -0.008255702443420887, -0.0020605805329978466, -0.028009623289108276, 0.03721533343195915, 0.021105339750647545, 0.002236755797639489, 0.030346732586622238, -0.0626915991306305, 0.04556469991803169, -0.0039003845304250717, -0.05334316939115524, -0.0013190837344154716, 0.06497518718242645, -0.0021375177893787622, 0.019053680822253227, 0.02745656669139862, -0.002197729656472802, 0.0026693884283304214, 0.010980842635035515, 0.05341453105211258, 0.04752715677022934, -0.0531647615134716, -0.0011484837159514427, 0.01898231729865074, -0.004339707549661398, -0.010650793090462685, -0.03853553161025047, -0.019749460741877556, 0.03462845832109451, -0.023210521787405014, -0.05188024416565895, -0.054627686738967896, 0.003304957179352641, -0.009589281864464283, -0.04524356871843338, 0.0038758539594709873, -0.07193299382925034, 0.023299725726246834, 0.046849217265844345, -0.00889350101351738, 0.026814308017492294, -0.032434072345495224, -0.014968199655413628, 0.03145284578204155, -0.018375739455223083, -0.021408628672361374, 0.010891640558838844, 0.04071207717061043, 0.002299197483807802, -0.018464943394064903, -0.022193612530827522, 0.02385278046131134, -0.0018710249569267035, -0.039463240653276443, 0.04317406937479973, -0.02793826162815094, -0.016029711812734604, -0.02472696639597416, -0.0864195004105568, 0.05287931486964226, -0.010731074959039688, 0.019339129328727722, 0.00806391704827547, -0.05701831728219986, -0.04674217477440834, 0.004442290402948856, -0.039605963975191116, -0.043637923896312714, 0.00553502282127738, -0.02736736461520195, 0.002334878547117114, 0.0424247682094574, -0.044958122074604034, 0.01784052513539791, -0.05380702018737793, 0.042282041162252426, 0.015583697706460953, 0.020391719415783882, 0.011997752822935581, -0.034289486706256866, -0.030079124495387077, -0.01664520986378193, -0.02222929336130619, -0.0368228405714035, 0.015102003701031208, -0.0072923144325613976, -0.023335406556725502, -0.010293982923030853, 0.060122568160295486, -0.023478129878640175, -0.06240615248680115, -0.026957033202052116, -0.02604716643691063, -0.028348593041300774, 0.0030641101766377687, 0.03535991907119751, 0.03707261011004448, 0.04766988009214401, -0.0020929165184497833, -0.01603863202035427, 0.0032759662717580795, 0.030204007402062416, 0.08513498306274414, 0.08691903203725815, 0.05020323395729065, -0.006480570416897535, -0.0009455477702431381, -0.0026849990244954824, -0.01892879605293274, -0.09455478191375732, -0.0014339321060106158, -0.08320820331573486, -0.0071049886755645275, -0.05898077413439751, 0.015146605670452118, -0.03825008496642113, 0.004602855071425438, -0.05205864831805229, 0.031256597489118576, 0.0069890255108475685, -0.008193260990083218, 0.007069307845085859, 0.002586876042187214, -0.04777692258358002, -0.029311981052160263, 0.012176157906651497, -0.01030290313065052, -0.003982896916568279, 0.016966339200735092, 0.020141951739788055, -0.041318655014038086, -0.02815234661102295, 0.051237985491752625, 0.04916848614811897, 0.026511019095778465, 0.04139001667499542, -0.01883959397673607, 0.010320743545889854, 0.05002482980489731, -0.018241936340928078, 0.007894432172179222, 0.01769779995083809, 0.008179880678653717, 0.022514741867780685, -0.03368290886282921, 0.06583153456449509, 0.08149551600217819, 0.008242322131991386, 0.0006718072691000998, 0.002404010621830821, -0.022211452946066856, -0.0391777902841568, 0.009125428274273872, 0.03953460231423378, -0.04652808606624603, -0.044208820909261703, -0.04899007827043533, 0.01910720206797123, 0.059765756130218506, -0.007716026622802019, -0.003996277693659067, -0.017894046381115913, 0.06593857705593109, -0.023995505645871162, -0.07014894485473633, -0.0310068316757679, 0.012541888281702995, -0.012238599359989166, -0.049311209470033646, 0.02349597029387951, -0.017225027084350586, -0.0030953309033066034, 0.033004969358444214, -0.0041501522064208984, 0.010008534416556358, -0.0011752445716410875, 0.009036225266754627, -0.018001088872551918, 0.04424450173974037, 0.021979525685310364, -0.038678258657455444, -0.09020169079303741, -0.044173140078783035, 0.015556937083601952, 0.071861632168293, 0.0025021336041390896, -0.0645826980471611, -0.041140250861644745, -0.01443298440426588, 0.018036769703030586, -0.014745193533599377, 0.0024887530598789454, 0.0031778435222804546, -0.024477198719978333, 0.006199582014232874, 0.03939187899231911, 0.02775985561311245, -0.012889779172837734, 0.03220214694738388, 0.030507296323776245, 0.06251319497823715, 0.04749147593975067, -0.01320198830217123, -0.06822216510772705, 0.024387996643781662, -0.000672364782076329, 0.049097124487161636, -0.017626438289880753, 0.026457497850060463, -0.06629538536071777, 0.038499850779771805, -0.027652813121676445, 0.042674534022808075, -0.003001668257638812, 0.03473550081253052, -0.012666772119700909, -0.04203227534890175, -0.04146137833595276, -0.03817872330546379, -0.032309189438819885, 0.02526218257844448, 0.0015197896864265203, -0.004678677301853895, -0.020766369998455048, 0.030453775078058243, -0.03277304396033287, 0.01396913081407547, -0.033361781388521194, 0.06411884725093842, -0.01751047559082508, 0.05683990940451622, -0.0265823807567358, -0.04502948373556137, 0.05580516159534454, 0.042317721992731094, 0.043423835188150406, -0.0074305785819888115, 0.0424247682094574, 0.04142569750547409, -0.037928953766822815, 0.06890010833740234, 0.0001271137298317626, 0.01898231729865074, -0.008179880678653717, -0.004585014656186104, -0.04638536274433136, 0.05516290292143822, -0.1027614176273346, -0.014129695482552052, -0.00014955377264413983, 0.04213931784033775, -0.026172049343585968 ]
16,411
presidio_analyzer.recognizer_registry
add_recognizers_from_yaml
Read YAML file and load recognizers into the recognizer registry. See example yaml file here: https://github.com/microsoft/presidio/blob/main/presidio-analyzer/conf/example_recognizers.yaml :example: >>> yaml_file = "recognizers.yaml" >>> registry = RecognizerRegistry() >>> registry.add_recognizers_from_yaml(yaml_file)
def add_recognizers_from_yaml(self, yml_path: Union[str, Path]) -> None: r""" Read YAML file and load recognizers into the recognizer registry. See example yaml file here: https://github.com/microsoft/presidio/blob/main/presidio-analyzer/conf/example_recognizers.yaml :example: >>> yaml_file = "recognizers.yaml" >>> registry = RecognizerRegistry() >>> registry.add_recognizers_from_yaml(yaml_file) """ try: with open(yml_path, "r") as stream: yaml_recognizers = yaml.safe_load(stream) for yaml_recognizer in yaml_recognizers["recognizers"]: self.add_pattern_recognizer_from_dict(yaml_recognizer) except IOError as io_error: print(f"Error reading file {yml_path}") raise io_error except yaml.YAMLError as yaml_error: print(f"Failed to parse file {yml_path}") raise yaml_error except TypeError as yaml_error: print(f"Failed to parse file {yml_path}") raise yaml_error
(self, yml_path: Union[str, pathlib.Path]) -> NoneType
[ 0.022545073181390762, -0.03546133264899254, -0.04153323173522949, -0.014101898297667503, -0.03267688304185867, 0.054144103080034256, 0.02498820424079895, 0.012278531678020954, 0.006574897561222315, 0.07652749866247177, 0.04178473353385925, 0.02701815962791443, -0.010985109023749828, 0.016320476308465004, 0.007392268627882004, 0.009148269891738892, -0.0035142467822879553, 0.05852736905217171, -0.032694846391677856, -0.0909707173705101, -0.01186535507440567, 0.013976148329675198, 0.013015063479542732, -0.02162889763712883, 0.027952296659350395, 0.015332445502281189, -0.02175464853644371, -0.00776053499430418, -0.045090146362781525, 0.0016470927512273192, -0.008550959639251232, -0.004506769124418497, -0.01236835215240717, 0.004477577283978462, -0.048682983964681625, -0.03528169170022011, -0.01893426850438118, 0.039629027247428894, -0.050659049302339554, 0.019634872674942017, 0.01839534193277359, 0.04045538231730461, 0.023892387747764587, -0.0303774643689394, -0.006947654765099287, 0.05292253568768501, -0.06610826402902603, 0.012772547081112862, 0.00036770474980585277, -0.00022328940394800156, -0.0018435762031003833, -0.06862325221300125, -0.013697703368961811, 0.06438370048999786, 0.019401337951421738, 0.02444927766919136, -0.022688785567879677, 0.043653007596731186, 0.05852736905217171, -0.001743650296702981, 0.050120122730731964, -0.029766680672764778, 0.005447643809020519, -0.000056874941947171465, 0.05543752387166023, 0.030287643894553185, -0.014784537255764008, -0.05834772437810898, 0.00025865642237477005, -0.05780880153179169, -0.04573685675859451, -0.016571976244449615, 0.014991126023232937, 0.005474590230733156, 0.04243144392967224, 0.014443217776715755, -0.033233772963285446, 0.03361102193593979, 0.040706880390644073, 0.03019782155752182, -0.012440209276974201, 0.006291961297392845, 0.03801225125789642, -0.0276289414614439, -0.0107246283441782, -0.040419451892375946, 0.004434911999851465, -0.010437200777232647, 0.010859359987080097, -0.053353678435087204, 0.016257602721452713, -0.01105696614831686, -0.014667769894003868, 0.01802707649767399, -0.02804211899638176, 0.005294948350638151, 0.02599419839680195, -0.017757613211870193, 0.0011120963608846068, 0.007140770088881254, -0.02786247618496418, 0.02791636809706688, 0.005173690151423216, -0.011039001867175102, -0.020892366766929626, -0.004742549266666174, 0.008025506511330605, 0.015925263985991478, -0.061509426683187485, 0.03086249716579914, -0.01623065583407879, -0.051018331199884415, 0.036287687718868256, 0.061509426683187485, 0.013401294127106667, -0.05385667458176613, -0.0011676730355247855, -0.051557257771492004, 0.004080119077116251, 0.05040754750370979, -0.036754757165908813, 0.011811462230980396, 0.029802609235048294, 0.02822175994515419, -0.043114084750413895, -0.04304222762584686, 0.022149860858917236, 0.015898318961262703, -0.009278509765863419, -0.0005748544353991747, 0.008856351487338543, 0.014973161742091179, -0.03319784253835678, -0.015054000541567802, 0.04591649770736694, -0.038551174104213715, 0.040167953819036484, 0.02468281239271164, 0.016616886481642723, 0.03199424222111702, -0.006929690483957529, 0.023820530623197556, 0.013383329845964909, -0.01336536556482315, 0.013230633921921253, -0.006934181787073612, -0.016212692484259605, 0.049114126712083817, -0.033036164939403534, 0.015862390398979187, -0.042395513504743576, -0.012979135848581791, 0.017479168251156807, 0.04835962876677513, 0.047676991671323776, -0.046167995780706406, -0.008923716843128204, 0.035982295870780945, -0.036161936819553375, -0.020766615867614746, -0.0035479296930134296, 0.05148540064692497, 0.023569032549858093, -0.0329643078148365, -0.032802630215883255, 0.002384747611358762, 0.004648237023502588, -0.04117394983768463, 0.009691686369478703, 0.05087461695075035, -0.0005613812827505171, -0.04092245176434517, -0.06560526043176651, -0.01372464932501316, 0.023101963102817535, -0.02408999390900135, -0.007356340531259775, 0.05320996418595314, 0.006377291399985552, 0.04667099565267563, -0.0022264381404966116, 0.032694846391677856, -0.035928402096033096, -0.0517728291451931, 0.0006062918109819293, 0.04929376766085625, -0.016877366229891777, 0.06492262333631516, -0.004318145103752613, 0.01898816041648388, 0.05055126175284386, 0.055868666619062424, 0.04555721580982208, -0.043653007596731186, 0.02211393229663372, -0.019401337951421738, -0.0445871464908123, 0.023389389738440514, -0.004497786983847618, 0.008196166716516018, 0.06215613707900047, 0.003976825159043074, 0.02437742054462433, 0.04728177934885025, -0.047138065099716187, -0.01730850711464882, 0.00013992429012432694, 0.04541350156068802, -0.01725461520254612, -0.06229985132813454, -0.02863493748009205, -0.006440166383981705, 0.005146743729710579, -0.05859922617673874, 0.023155855014920235, -0.04710213467478752, -0.007248555310070515, -0.024233708158135414, -0.04645542427897453, -0.017119884490966797, 0.058742936700582504, 0.12359370291233063, -0.07408436387777328, -0.04764106124639511, 0.002663192804902792, -0.010589896701276302, -0.02360496111214161, -0.006673700641840696, 0.005928186234086752, 0.0346529446542263, 0.0607549287378788, -0.0018682769732549787, 0.012251585721969604, -0.04235958680510521, 0.03558708354830742, 0.02689240872859955, 0.04857520014047623, 0.0000713305125827901, 0.05608423799276352, 0.04588057100772858, 0.023083997890353203, 0.0195989441126585, -0.055221956223249435, -0.05931779369711876, -0.03366491198539734, 0.05766508728265762, -0.0346529446542263, -0.04932969808578491, 0.02252710796892643, 0.01833246648311615, 0.07437179237604141, -0.02516784518957138, -0.02491634711623192, 0.04297037050127983, -0.023928316310048103, -0.040419451892375946, -0.024610955268144608, -0.034419409930706024, 0.05820401385426521, -0.034958336502313614, 0.04390450939536095, 0.09039586037397385, 0.02725169248878956, 0.06104235723614693, -0.09707854688167572, 0.00898659136146307, 0.018063005059957504, -0.00859586987644434, -0.004127275198698044, -0.08249161392450333, 0.022509144619107246, 0.037473324686288834, 0.013769560493528843, -0.04821591451764107, 0.025419345125555992, 0.016275566071271896, 0.043832652270793915, -0.009763543494045734, 0.00435631861910224, 0.04210808873176575, 0.06876695901155472, -0.002993284957483411, 0.04523386061191559, 0.018592948094010353, 0.10117438435554504, 0.018359413370490074, -0.051449473947286606, 0.041676945984363556, -0.03055710718035698, -0.021161828190088272, 0.0765993520617485, -0.05931779369711876, 0.016275566071271896, 0.03253316879272461, 0.00009361033153254539, -0.01404800545424223, -0.058814793825149536, -0.017542041838169098, -0.015009090304374695, -0.039521243423223495, -0.011425231583416462, 0.02989243157207966, 0.07767720520496368, 0.03397030383348465, -0.009179706685245037, -0.06319805979728699, 0.0064805857837200165, -0.006323399022221565, -0.05400038883090019, -0.008079399354755878, -0.03097028285264969, -0.016571976244449615, -0.00316843600012362, -0.013275545090436935, -0.02126961387693882, -0.0049760835245251656, 0.016338441520929337, 0.05633573606610298, 0.011919247917830944, -0.03905417397618294, -0.005901240278035402, 0.03445533663034439, -0.049401555210351944, -0.060611214488744736, 0.07038374245166779, 0.00650304090231657, 0.032389454543590546, 0.0036152955144643784, 0.01683245599269867, -0.019904334098100662, 0.02295824885368347, -0.05978486314415932, -0.021233685314655304, 0.035928402096033096, 0.040419451892375946, -0.051916543394327164, 0.0020939521491527557, 0.024287600070238113, -0.02180854044854641, -0.0006343608838506043, 0.025131918489933014, -0.00024097292043734342, -0.05004826560616493, -0.059281863272190094, 0.027287621051073074, 0.041497305035591125, -0.01300608180463314, -0.005564411170780659, 0.0031347530893981457, 0.013733631931245327, 0.00339298858307302, -0.06050343066453934, -0.022688785567879677, -0.014254593290388584, -0.06750946491956711, -0.01988637074828148, -0.018862411379814148, 0.0571620874106884, 0.011676730588078499, -0.04250330105423927, -0.0011485861614346504, -0.0038039195351302624, -0.06416812539100647, -0.021539077162742615, 0.015206696465611458, 0.020389368757605553, -0.040060169994831085, -0.014371360652148724, 0.03551522642374039, -0.0008145642350427806, 0.006534478161484003, 0.06136571243405342, -0.0285810437053442, 0.0215031486004591, 0.024826526641845703, -0.008164729923009872, 0.019670801237225533, 0.06251542270183563, -0.006925199646502733, 0.07782091945409775, 0.01291626039892435, 0.06977295875549316, 0.028599008917808533, -0.02822175994515419, 0.05834772437810898, -0.05374889075756073, -0.039341602474451065, -0.019742656499147415, -0.011991104111075401, -0.06664718687534332, 0.030036143958568573, 0.013230633921921253, -0.02924571931362152, 0.015386338345706463, -0.011146786622703075, -0.041425447911024094, -0.04954526573419571, 0.05033569037914276, 0.026676839217543602, 0.04656320810317993, 0.026461267843842506, -0.0010144159896299243, -0.027646906673908234, -0.03289245069026947, 0.02073068916797638, 0.07738977670669556, -0.017119884490966797, 0.07789278030395508, -0.02570677176117897, 0.04566499963402748, 0.09283899515867233, -0.01725461520254612, 0.0026676838751882315, -0.019042054191231728, -0.049581196159124374, -0.01659892126917839, 0.01288033276796341, -0.004127275198698044, -0.023622924461960793, 0.010338397696614265, 0.0003500212333165109, 0.011640802025794983, -0.0339164137840271, 0.01713784784078598, 0.010643789544701576, 0.058096226304769516, -0.005173690151423216, 0.04049130901694298, -0.037832606583833694, -0.04613206908106804, 0.014613877981901169, 0.00440572015941143, 0.024125922471284866, -0.04063502326607704, 0.010832413099706173, -0.03812003508210182, -0.026209769770503044, -0.040419451892375946, -0.011146786622703075, -0.021898360922932625, 0.003157208440825343, 0.003947633318603039, 0.054790813475847244, -0.011074930429458618, 0.007751552853733301, -0.019275587052106857, -0.040419451892375946, 0.036754757165908813, 0.05058719217777252, -0.06542561948299408, -0.0330720953643322, -0.025958271697163582, 0.033772699534893036, 0.04332965239882469, 0.043653007596731186, 0.01549412403255701, 0.056120164692401886, 0.010050971060991287, -0.002654210664331913, -0.03704218193888664, 0.05633573606610298, -0.05051533505320549, 0.033772699534893036, -0.0031527173705399036, 0.028616972267627716, 0.016194727271795273, -0.0482877716422081, 0.036593079566955566, 0.002474568784236908, -0.03195831552147865, 0.036934398114681244, 0.012574940919876099, 0.015988139435648918, -0.0748029351234436, -0.034545160830020905, 0.011003073304891586, 0.10232409089803696, 0.01300608180463314, -0.0393056720495224, 0.051018331199884415, 0.11439603567123413, -0.03662900626659393, -0.04749734699726105, 0.018557019531726837, 0.017524078488349915, -0.027718761935830116, -0.04785663262009621, -0.013374348171055317, -0.053425535559654236, 0.0215031486004591, 0.0019345199689269066, -0.024072030559182167, -0.026694802567362785, -0.006197649519890547, -0.007630294654518366, -0.04947340860962868, 0.030934354290366173, 0.007306938990950584, 0.06452740728855133, -0.030233750119805336, -0.009530008770525455, -0.004246287979185581, -0.025598986074328423, 0.013221652247011662, 0.016266584396362305, 0.0518806129693985, 0.032317597419023514, 0.01833246648311615, -0.047676991671323776, 0.0009683827520348132, -0.02026361972093582, -0.036934398114681244, -0.014542020857334137, -0.020461225882172585, 0.01671568863093853, 0.004531469661742449, 0.021359436213970184, 0.055401597172021866, -0.04332965239882469, 0.029407396912574768, -0.03061099909245968, -0.009619830176234245, 0.017524078488349915, 0.015476159751415253, 0.01822468265891075, -0.022024109959602356, -0.04332965239882469, -0.03707811236381531, 0.018377378582954407, 0.0030045127496123314, 0.06441962718963623, -0.01258392259478569, 0.015062983147799969, -0.023712744936347008, -0.009314438328146935, 0.0465991385281086, 0.03926974534988403, -0.040419451892375946, -0.03235352784395218, 0.016509100794792175, -0.006664718501269817, -0.023209748789668083, -0.023748673498630524, 0.02552713081240654, -0.013338419608771801, -0.031850527971982956, -0.009862346574664116, -0.05709023028612137, 0.03923381492495537, 0.016275566071271896, -0.027970261871814728, -0.0196528360247612, -0.045808713883161545, 0.009934203699231148, 0.021539077162742615, -0.04588057100772858, 0.005883275996893644, -0.042323656380176544, 0.0033233773428946733, -0.012440209276974201, 0.009988095611333847, 0.01641029864549637, 0.001951361307874322, 0.027161872014403343, 0.002044550608843565, 0.011074930429458618, -0.08529403060674667, 0.0428985133767128, -0.03116788901388645, 0.009314438328146935, 0.04519793018698692, -0.03648529201745987, 0.009188689291477203, -0.06653939932584763, -0.08012033998966217, 0.07954548299312592, -0.0151887321844697, -0.021431291475892067, -0.015682747587561607, 0.009359348565340042, -0.026317555457353592, 0.008474611677229404, 0.021287579089403152, -0.04501828923821449, 0.0003657399211078882, 0.0033884975127875805, 0.035712830722332, 0.06488669663667679, -0.041317664086818695, 0.054611172527074814, -0.0339164137840271, 0.035982295870780945, 0.0017470185412093997, 0.02126961387693882, -0.02570677176117897, -0.028437331318855286, 0.03679068386554718, -0.020443260669708252, -0.03195831552147865, -0.00019465896184556186, -0.0032964309211820364, -0.008357844315469265, -0.034419409930706024, -0.023443283513188362, -0.03425773233175278, 0.013733631931245327, 0.02881457842886448, -0.035982295870780945, 0.01672467216849327, -0.005259019788354635, -0.02103607915341854, 0.016886349767446518, 0.0518806129693985, 0.022060038521885872, 0.0480722039937973, -0.0072710104286670685, -0.014802501536905766, 0.004769495222717524, 0.027054086327552795, -0.013284526765346527, 0.005672196391969919, 0.0044281757436692715, 0.010670735500752926, -0.026353484019637108, 0.0147396270185709, -0.012287513352930546, -0.06201242282986641, -0.06729389727115631, -0.04372486472129822, -0.0294792540371418, 0.03847932070493698, -0.03152717277407646, 0.008110837079584599, -0.04523386061191559, 0.030108001083135605, 0.011263553984463215, 0.03163495659828186, -0.007387777790427208, -0.0151887321844697, -0.03707811236381531, -0.03434755280613899, -0.09844382107257843, -0.05249139666557312, 0.01576358638703823, -0.004944646265357733, 0.05482674390077591, -0.04494643211364746, -0.002118652919307351, 0.0444793626666069, 0.03538947552442551, 0.06438370048999786, 0.0012327933218330145, -0.06689868867397308, 0.014551003463566303, 0.033700842410326004, -0.01279051136225462, 0.04954526573419571, 0.0018390851328149438, -0.040958378463983536, 0.010149774141609669, -0.003889249637722969, 0.01362584624439478, -0.034239768981933594, 0.013491115532815456, 0.008074908517301083, -0.013347401283681393, 0.026874445378780365, 0.03984459862112999, 0.040778737515211105, 0.059892646968364716, 0.003860057797282934, -0.07415622472763062, -0.02665887400507927, 0.0054162065498530865, 0.050299763679504395, -0.004818896763026714, -0.04900634288787842, -0.040167953819036484, 0.06571304798126221, 0.031491246074438095, -0.10024024546146393, 0.039449386298656464, -0.008672217838466167, 0.023101963102817535, -0.06190463900566101, 0.02311992645263672, 0.041676945984363556, 0.017272580415010452, 0.038802675902843475, 0.027467263862490654, -0.010356361977756023, 0.06822803616523743, 0.018916303291916847, -0.033575091511011124, 0.019922299310564995, -0.007226100191473961, 0.013913273811340332, -0.08464731276035309, -0.0448027178645134, -0.024970239028334618, 0.04196437448263168, -0.03901824355125427, -0.013652793131768703, -0.027341514825820923, -0.07063523679971695, 0.020694760605692863, -0.01527855359017849, 0.04728177934885025, -0.022581001743674278, -0.00575303565710783, -0.009565937332808971, 0.010553968138992786, 0.026137912645936012, -0.024467242881655693, 0.023030105978250504, -0.018952231854200363, 0.04512607306241989, 0.03758110851049423, 0.016446225345134735, -0.0642399862408638, -0.0030898426193743944, 0.027952296659350395, -0.014775555580854416, -0.04667099565267563, -0.016994133591651917, -0.005097342189401388, 0.05223989859223366, -0.0019199240487068892, 0.03601822257041931, -0.0365571491420269, 0.019580978900194168, -0.03416791185736656, -0.03515594080090523, -0.004926681984215975, -0.05877886712551117, -0.0366649329662323, -0.00868569128215313, 0.0035838582552969456, 0.021233685314655304, -0.03635954484343529, 0.005339859053492546, 0.006076390855014324, -0.006103337276726961, 0.020479189231991768, 0.03255113214254379, -0.03923381492495537, 0.037114039063453674, -0.0029371469281613827, -0.0364493653178215, 0.0931982770562172, -0.015772568061947823, 0.027826547622680664, -0.019024088978767395, 0.05640759319067001, -0.07429993897676468, -0.023928316310048103, 0.09729411453008652, -0.04429972171783447, -0.0187546256929636, 0.003413198282942176, 0.001594322849996388, -0.0482877716422081, 0.049401555210351944, -0.06776096671819687, 0.09513840824365616, -0.011137804947793484, -0.02042529731988907, -0.009521027095615864 ]
16,412
presidio_analyzer.recognizer_registry
get_recognizers
Return a list of recognizers which supports the specified name and language. :param entities: the requested entities :param language: the requested language :param all_fields: a flag to return all fields of a requested language. :param ad_hoc_recognizers: Additional recognizers provided by the user as part of the request :return: A list of the recognizers which supports the supplied entities and language
def get_recognizers( self, language: str, entities: Optional[List[str]] = None, all_fields: bool = False, ad_hoc_recognizers: Optional[List[EntityRecognizer]] = None, ) -> List[EntityRecognizer]: """ Return a list of recognizers which supports the specified name and language. :param entities: the requested entities :param language: the requested language :param all_fields: a flag to return all fields of a requested language. :param ad_hoc_recognizers: Additional recognizers provided by the user as part of the request :return: A list of the recognizers which supports the supplied entities and language """ if language is None: raise ValueError("No language provided") if entities is None and all_fields is False: raise ValueError("No entities provided") all_possible_recognizers = copy.copy(self.recognizers) if ad_hoc_recognizers: all_possible_recognizers.extend(ad_hoc_recognizers) # filter out unwanted recognizers to_return = set() if all_fields: to_return = [ rec for rec in all_possible_recognizers if language == rec.supported_language ] else: for entity in entities: subset = [ rec for rec in all_possible_recognizers if entity in rec.supported_entities and language == rec.supported_language ] if not subset: logger.warning( "Entity %s doesn't have the corresponding" " recognizer in language : %s", entity, language, ) else: to_return.update(set(subset)) logger.debug( "Returning a total of %s recognizers", str(len(to_return)), ) if not to_return: raise ValueError("No matching recognizers were found to serve the request.") return list(to_return)
(self, language: str, entities: Optional[List[str]] = None, all_fields: bool = False, ad_hoc_recognizers: Optional[List[presidio_analyzer.entity_recognizer.EntityRecognizer]] = None) -> List[presidio_analyzer.entity_recognizer.EntityRecognizer]
[ -0.02160947024822235, -0.09025461971759796, -0.06664323061704636, 0.00511704757809639, -0.011132150888442993, 0.03764351084828377, 0.02078625187277794, -0.099160335958004, 0.0064688087441027164, 0.025800397619605064, 0.014630827121436596, -0.027989408001303673, -0.066456139087677, -0.013059229589998722, 0.00463995523750782, -0.026941677555441856, -0.04441634938120842, 0.050029195845127106, 0.03390160948038101, -0.10829057544469833, 0.008297662250697613, -0.008657820522785187, -0.04898146539926529, 0.004104395862668753, 0.04258281737565994, 0.023742353543639183, 0.04052477329969406, -0.021796565502882004, -0.03906543180346489, 0.018709497526288033, 0.014247282408177853, -0.005547366105020046, 0.027035225182771683, 0.006422034930437803, -0.04490279406309128, -0.013975994661450386, 0.014836631715297699, 0.06712967902421951, -0.06413615494966507, 0.01863466016948223, -0.07341606914997101, -0.05171305313706398, 0.09332297742366791, -0.03569772094488144, -0.06675548851490021, -0.006033813115209341, -0.00586075009778142, 0.03320935741066933, 0.021740436553955078, -0.012638266198337078, 0.024490732699632645, -0.014425022527575493, -0.021908821538090706, 0.00010005196236306801, -0.004494956694543362, -0.02061786688864231, -0.051413699984550476, 0.06263940036296844, 0.017774023115634918, 0.04479053616523743, 0.01641758345067501, -0.038691241294145584, -0.027633927762508392, -0.0018721191445365548, -0.005065596662461758, 0.009214427322149277, -0.012011497281491756, 0.00718912435695529, -0.020374642685055733, -0.0038073828909546137, -0.055380113422870636, 0.020093999803066254, 0.023255905136466026, 0.02348041906952858, 0.026286844164133072, 0.004466892685741186, -0.01253536343574524, -0.006669935770332813, 0.049430493265390396, -0.015603721141815186, 0.01088892761617899, 0.016529841348528862, 0.021946240216493607, 0.0006945900968275964, 0.07042255252599716, -0.02181527391076088, -0.024359766393899918, -0.030608737841248512, 0.022657202556729317, -0.06866385787725449, -0.034163542091846466, -0.033808063715696335, 0.027428124099969864, 0.035791270434856415, -0.052798204123973846, 0.01797047257423401, -0.05021629109978676, 0.008540885522961617, -0.0049767266027629375, -0.04254539683461189, -0.028064247220754623, 0.04318151995539665, -0.010701832361519337, -0.015435335226356983, 0.06151682883501053, -0.03131970018148422, -0.0348183736205101, -0.025164274498820305, 0.020243676379323006, 0.052760783582925797, -0.03045906312763691, -0.03594094514846802, 0.011412793770432472, 0.05425754189491272, 0.02879391796886921, -0.04729761183261871, -0.021871402859687805, 0.012469880282878876, -0.03726932033896446, 0.0014242605539038777, -0.03914026916027069, 0.02507072687149048, -0.005556720774620771, -0.003276500850915909, 0.005785912275314331, -0.0039477040991187096, 0.0428447499871254, 0.009766357950866222, 0.004972049035131931, -0.0049767266027629375, -0.020655285567045212, 0.08329468220472336, -0.027951989322900772, -0.013714062049984932, 0.02922423556447029, -0.01205827109515667, -0.010477318428456783, 0.006973965093493462, 0.01207698043435812, -0.011525050736963749, -0.047484707087278366, -0.019345620647072792, 0.05511818081140518, 0.0035922236274927855, -0.054033029824495316, -0.015566302463412285, 0.04494021460413933, -0.007778473664075136, -0.03726932033896446, -0.018410146236419678, -0.0065950979478657246, 0.019289491698145866, -0.0053976899944245815, -0.04909372329711914, -0.015164048410952091, 0.0039898003451526165, -0.03070228546857834, -0.017933053895831108, -0.05362141877412796, -0.008367822505533695, -0.02542620711028576, 0.021366246044635773, -0.07120835036039352, 0.001968005206435919, 0.03442547470331192, -0.031188732013106346, -0.006679290905594826, -0.007493153680115938, -0.0011804524110630155, 0.011796338483691216, -0.0062209079042077065, -0.012207947671413422, 0.00037740563857369125, -0.006894449703395367, -0.03558546304702759, 0.09452038258314133, 0.01792369969189167, -0.003302226308733225, -0.01903691329061985, 0.02673587203025818, 0.018980786204338074, -0.010945056565105915, -0.037811893969774246, -0.07218123972415924, 0.05844847112894058, 0.02419138140976429, -0.004045928828418255, 0.024528151378035545, -0.06350003182888031, 0.01622113399207592, -0.001038961810991168, 0.00856894999742508, 0.01661403477191925, -0.011609243229031563, -0.06372454762458801, 0.008222823962569237, -0.010636349208652973, 0.028363598510622978, -0.04310668259859085, 0.005678332410752773, -0.019130460917949677, 0.008115245029330254, 0.02011271007359028, 0.015697268769145012, -0.05242401361465454, 0.02443460375070572, 0.019663682207465172, 0.018054665997624397, -0.025201693177223206, -0.08681207150220871, 0.021347537636756897, -0.02026238664984703, -0.011693435721099377, -0.0132089052349329, 0.013975994661450386, 0.02089850977063179, 0.0028157795313745737, 0.016904031857848167, -0.03328419476747513, -0.034126125276088715, -0.02026238664984703, -0.018064020201563835, 0.005416399799287319, -0.044678281992673874, 0.06342519819736481, -0.033733222633600235, -0.03358354791998863, -0.003084728494286537, -0.04235830157995224, -0.0794031098484993, -0.0012827699538320303, -0.040711868554353714, 0.017259512096643448, 0.026342973113059998, 0.04288217052817345, 0.06020716205239296, 0.08239662647247314, 0.01756821759045124, 0.03728802874684334, 0.04018799960613251, 0.046025365591049194, -0.0009512610267847776, -0.045239564031362534, -0.0313384085893631, -0.03423837944865227, 0.03955187648534775, 0.033564839512109756, -0.010870218276977539, 0.03711964190006256, -0.04220862686634064, -0.032928716391325, -0.02043077163398266, 0.012329558841884136, -0.009691519662737846, -0.008779431693255901, -0.02058044821023941, -0.05242401361465454, -0.011749564670026302, 0.0625271424651146, -0.06484711915254593, 0.00428213644772768, 0.05515559762716293, -0.031469374895095825, 0.07057222723960876, -0.027147481217980385, -0.021871402859687805, 0.059907812625169754, 0.008101212792098522, -0.025332659482955933, -0.036708034574985504, 0.005121725145727396, 0.037811893969774246, -0.028026828542351723, -0.0594962015748024, 0.03914026916027069, 0.03818608447909355, -0.008278952911496162, 0.030664866790175438, -0.08980558812618256, 0.04168476164340973, 0.047222770750522614, 0.02783973328769207, 0.03240485116839409, 0.023012682795524597, 0.025875234976410866, 0.0015961540630087256, -0.03717577084898949, 0.01156246941536665, -0.06499679386615753, -0.024359766393899918, 0.0564652644097805, 0.014836631715297699, 0.055978816002607346, -0.006230262573808432, 0.004738180432468653, 0.002602958818897605, -0.012329558841884136, -0.0625271424651146, 0.059383947402238846, -0.03382677212357521, -0.009373458102345467, 0.0231249388307333, 0.08149857074022293, -0.017858216539025307, -0.026642324402928352, -0.07633475214242935, 0.028737789019942284, -0.04415441304445267, 0.04052477329969406, -0.04168476164340973, -0.04310668259859085, -0.020561737939715385, 0.06413615494966507, -0.06043167784810066, -0.01455598883330822, -0.04441634938120842, -0.01828853413462639, 0.027371995151042938, 0.02744683250784874, 0.030870670452713966, 0.024172671139240265, 0.10552156716585159, -0.023742353543639183, 0.02542620711028576, 0.032180335372686386, -0.0629013329744339, 0.03726932033896446, 0.0363338440656662, -0.014256637543439865, -0.04179701954126358, -0.031113894656300545, -0.07285478711128235, -0.013461483642458916, 0.018382081761956215, -0.007179769687354565, -0.023012682795524597, 0.041310571134090424, 0.03154421225190163, 0.01041183527559042, -0.005449141375720501, 0.001083981478586793, -0.013583095744252205, -0.031862273812294006, 0.015931136906147003, -0.004817695822566748, 0.012582137249410152, 0.03657706826925278, -0.0165391955524683, 0.05886007845401764, -0.008887011557817459, -0.017147254198789597, -0.1263265311717987, 0.061367154121398926, 0.0024228799156844616, 0.0428447499871254, -0.016997579485177994, -0.05160079523921013, 0.04853243753314018, 0.036988675594329834, -0.03088938072323799, 0.03102034702897072, -0.0281203743070364, -0.005369625985622406, 0.044640861451625824, -0.00894313957542181, -0.0025538464542478323, 0.03401386737823486, -0.006211553234606981, -0.002377275610342622, -0.05582914128899574, 0.017502734437584877, 0.021123023703694344, 0.00520591763779521, 0.0060104262083768845, 0.049430493265390396, -0.015725333243608475, 0.012292140163481236, 0.035005468875169754, 0.0028765853494405746, 0.09362232685089111, -0.009869259782135487, 0.0858391746878624, 0.019813358783721924, 0.027315866202116013, 0.04909372329711914, -0.06451034545898438, -0.03899059444665909, 0.030552610754966736, -0.006482840981334448, -0.002436912152916193, -0.028644241392612457, -0.02387331984937191, -0.06151682883501053, 0.02454686164855957, -0.048045989125967026, -0.024715246632695198, -0.055380113422870636, 0.016642097383737564, -0.027428124099969864, -0.018503693863749504, 0.02082367055118084, -0.019644971936941147, 0.017512090504169464, 0.01828853413462639, -0.04834534227848053, 0.03347129002213478, 0.051937565207481384, 0.009672810323536396, -0.023012682795524597, 0.04643697291612625, 0.011375375092029572, -0.005004790611565113, 0.02189011313021183, -0.009326684288680553, -0.0691128820180893, 0.036109331995248795, 0.024022994562983513, 0.079627625644207, 0.008494111709296703, 0.05579172074794769, 0.004661003593355417, -0.004413102753460407, -0.008863624185323715, 0.051413699984550476, 0.020206257700920105, 0.05126402527093887, -0.024135252460837364, -0.029953906312584877, -0.05148853734135628, -0.07292962074279785, 0.0297481007874012, -0.010776670649647713, -0.03747512400150299, -0.07184447348117828, 0.0330783911049366, -0.03233001381158829, -0.009672810323536396, -0.038691241294145584, -0.04228346422314644, -0.02903714030981064, -0.012722458690404892, -0.025276532396674156, -0.007479121908545494, 0.020281095057725906, 0.01768982969224453, -0.07408960908651352, -0.02744683250784874, 0.03137582913041115, -0.021703017875552177, -0.06091812625527382, 0.006113328505307436, 0.010645704343914986, 0.055305276066064835, 0.03769963979721069, 0.09766358137130737, 0.04175959900021553, 0.05178789049386978, 0.03754996135830879, -0.02989777736365795, 0.03184356540441513, 0.06772838532924652, 0.017399832606315613, 0.0464743934571743, 0.04531440511345863, 0.011496986262500286, 0.056577522307634354, -0.018307244405150414, -0.0025725560262799263, -0.05422012507915497, -0.01057086605578661, 0.034406766295433044, -0.010580221191048622, 0.01237633265554905, -0.015959201380610466, -0.023723643273115158, -0.005014145281165838, 0.06877611577510834, 0.010374416597187519, -0.026268135756254196, -0.026548776775598526, 0.07027287036180496, -0.007469766773283482, -0.034163542091846466, -0.02291913516819477, 0.007750409655272961, -0.02819521352648735, -0.014958243817090988, 0.004735841415822506, -0.07023545354604721, 0.013302452862262726, -0.002532798331230879, -0.008699916303157806, 0.006581065710633993, -0.018260469660162926, 0.02359267696738243, -0.031862273812294006, 0.044116996228694916, 0.018905946984887123, 0.05160079523921013, 0.019401749595999718, 0.03180614486336708, -0.04235830157995224, 0.026342973113059998, 0.013143422082066536, 0.03358354791998863, -0.06821482628583908, 0.008844914846122265, 0.0024065091274678707, -0.038129955530166626, 0.028850045055150986, -0.06436067074537277, -0.0140227684751153, 0.029130687937140465, -0.02705393359065056, 0.007137673441320658, -0.028737789019942284, 0.015164048410952091, 0.007993632927536964, -0.0164643581956625, 0.06750386953353882, 0.014303411357104778, 0.04194669425487518, 0.0396641343832016, 0.008699916303157806, 0.03854156658053398, 0.06043167784810066, -0.046624068170785904, 0.004602536559104919, 0.021160442382097244, -0.028382308781147003, 0.03268549218773842, -0.037138354033231735, -0.029841648414731026, 0.050702739506959915, -0.014284701086580753, 0.03541707992553711, -0.049430493265390396, -0.03397644683718681, 0.00750718591734767, 0.0498046837747097, 0.05190014839172363, 0.041385408490896225, -0.039327364414930344, 0.026081040501594543, -0.004352296702563763, -0.03580997884273529, -0.010786025784909725, -0.014527925290167332, 0.05036596953868866, 0.029879067093133926, -0.01601533032953739, -0.025968782603740692, -0.008082503452897072, 0.04119831323623657, 0.05485624819993973, -0.04033767804503441, 0.02458428032696247, 0.02606233023107052, -0.03541707992553711, 0.010346352122724056, 0.02351783961057663, -0.033845480531454086, -0.04018799960613251, 0.025201693177223206, -0.026473939418792725, 0.020281095057725906, 0.0181669220328331, 0.039327364414930344, -0.030683577060699463, -0.02323719672858715, -0.014724374748766422, 0.02716619148850441, -0.06342519819736481, -0.020355934277176857, -0.02252623625099659, 0.044715698808431625, 0.0006484010373242199, -0.01915852539241314, -0.005654945503920317, -0.016267908737063408, -0.021833984181284904, -0.041422829031944275, -0.01919594407081604, -0.035641591995954514, 0.02220817469060421, -0.028981011360883713, 0.037531252950429916, 0.02677329070866108, -0.0140227684751153, 0.030945509672164917, -0.020804962143301964, 0.04886920750141144, 0.036389973014593124, 0.044042158871889114, -0.06241488456726074, 0.037344157695770264, -0.055978816002607346, 0.004408425185829401, -0.07865472882986069, -0.032180335372686386, -0.03577255830168724, -0.0053041428327560425, 0.013236969709396362, -0.0011640816228464246, 0.05770009011030197, -0.02939262054860592, -0.03884091600775719, 0.014948888681828976, 0.024004286155104637, -0.007946859113872051, -0.020318513736128807, -0.0082883071154356, 0.05126402527093887, -0.004850437398999929, 0.0398138128221035, 0.0018732884200289845, -0.0010945056565105915, 0.05014145374298096, 0.06698000431060791, -0.00795153621584177, -0.0018966753268614411, 0.03231130167841911, -0.01618371531367302, 0.0037746410816907883, -0.03524869307875633, -0.05309755355119705, -0.019177235662937164, -0.06166650354862213, -0.033022262156009674, 0.0008910398464649916, 0.031394537538290024, -0.05410786718130112, 0.0197946485131979, 0.014565343968570232, 0.01170279085636139, 0.010842153802514076, -0.000397284486098215, 0.0002594481047708541, -0.04819566756486893, -0.04890662804245949, -0.022339140996336937, 0.07352832704782486, -0.0053976899944245815, 0.014387603849172592, 0.009766357950866222, 0.039364784955978394, -0.06454776972532272, 0.010683123022317886, 0.09990871697664261, 0.04333119839429855, -0.013424064964056015, 0.0856894999742508, 0.00856427289545536, -0.008002988062798977, -0.009074106812477112, -0.028101665899157524, 0.03736286610364914, 0.030590029433369637, 0.03592223674058914, 0.0026169910561293364, 0.00014156366523820907, 0.038803499191999435, 0.08329468220472336, -0.016866611316800117, -0.02018754743039608, 0.01638016477227211, -0.005350916180759668, -0.05508076027035713, 0.0382983423769474, 0.042058952152729034, -0.009345394559204578, -0.010823444463312626, 0.025725560262799263, 0.036389973014593124, 0.02288171648979187, 0.07408960908651352, -0.00030929138301871717, -0.06750386953353882, 0.03493063151836395, -0.020168839022517204, -0.032460980117321014, 0.007137673441320658, -0.017661765217781067, 0.014078897424042225, -0.04636213555932045, -0.01745596155524254, -0.006833644118160009, -0.005842040758579969, 0.04830792173743248, -0.00872798077762127, -0.011936659924685955, -0.005753170698881149, 0.025295240804553032, -0.013732771389186382, 0.053284648805856705, 0.03609061986207962, -0.029280364513397217, -0.06394906342029572, -0.008592336438596249, 0.043518293648958206, 0.04479053616523743, -0.01764305680990219, -0.048644695430994034, -0.002867230447009206, -0.030440352857112885, 0.04696083813905716, 0.02982294000685215, 0.015145338140428066, -0.04422925412654877, 0.008760722354054451, 0.01677306555211544, 0.04303184524178505, 0.027540380135178566, -0.018653368577361107, 0.028625531122088432, -0.01899949461221695, 0.06750386953353882, 0.0630510076880455, 0.03105776570737362, -0.0067541287280619144, 0.021272698417305946, 0.02426621876657009, 0.03779318556189537, -0.007675571367144585, -0.002701183781027794, -0.005608172155916691, 0.051338862627744675, -0.01745596155524254, 0.007086222060024738, 0.0020288112573325634, 0.0033256132155656815, 0.010776670649647713, -0.016408229246735573, -0.07745732367038727, -0.059234268963336945, -0.06754128634929657, 0.0528356209397316, -0.027465542778372765, -0.049393072724342346, -0.01962626352906227, 0.023499129340052605, 0.021010765805840492, 0.030945509672164917, 0.02585652656853199, 0.015379207208752632, 0.005818653851747513, 0.05571688339114189, -0.05111434683203697, -0.03272291272878647, 0.03818608447909355, -0.017512090504169464, 0.027184899896383286, 0.022750750184059143, -0.022788168862462044, -0.006623162422329187, -0.007226543501019478, 0.023368163034319878, -0.034687407314777374, -0.0463995561003685, -0.0065576788038015366, -0.06765354424715042, -0.028344888240098953, -0.00777379609644413, -0.0011225698981434107, -0.0035898848436772823, -0.016950804740190506, 0.07034771144390106, -0.025688139721751213 ]
16,413
presidio_analyzer.recognizer_registry
get_supported_entities
Return the supported entities by the set of recognizers loaded. :param languages: The languages to get the supported entities for. If languages=None, returns all entities for all languages.
def get_supported_entities( self, languages: Optional[List[str]] = None ) -> List[str]: """ Return the supported entities by the set of recognizers loaded. :param languages: The languages to get the supported entities for. If languages=None, returns all entities for all languages. """ if not languages: languages = self._get_supported_languages() supported_entities = [] for language in languages: recognizers = self.get_recognizers(language=language, all_fields=True) for recognizer in recognizers: supported_entities.extend(recognizer.get_supported_entities()) return list(set(supported_entities))
(self, languages: Optional[List[str]] = None) -> List[str]
[ 0.021542247384786606, -0.08448689430952072, -0.027142848819494247, -0.029321923851966858, -0.009652914479374886, 0.05845269933342934, 0.018761061131954193, -0.08020520955324173, 0.014919009990990162, 0.03719717264175415, 0.03207443654537201, -0.06930983811616898, -0.042205218225717545, -0.030679065734148026, 0.013533195480704308, -0.03937624767422676, -0.08188729733228683, 0.014919009990990162, 0.03788530081510544, -0.08494564890861511, -0.009738930501043797, -0.011296777054667473, -0.031233390793204308, -0.039051298052072525, 0.018283193930983543, 0.033813875168561935, 0.07252110540866852, -0.02731488086283207, -0.038573428988456726, -0.00043635236215777695, -0.03155834227800369, 0.010025651194155216, 0.010761566460132599, -0.011612169444561005, -0.03033500164747238, 0.010914484038949013, 0.019506532698869705, 0.06655732542276382, -0.027066390961408615, -0.030010052025318146, -0.09068005532026291, -0.005810863338410854, 0.0877746194601059, -0.03090844117105007, -0.10061968863010406, -0.01722232811152935, 0.035916488617658615, 0.022306835278868675, 0.01849345490336418, 0.006594565697014332, 0.06789535284042358, 0.0010823688935488462, -0.0168591495603323, -0.016228364780545235, -0.022994963452219963, -0.01612323522567749, -0.038573428988456726, 0.03796175867319107, -0.0017477987566962838, 0.04587523639202118, 0.061128754168748856, -0.0473661832511425, -0.004812121391296387, 0.004659203812479973, 0.020892348140478134, 0.03341246396303177, 0.035534195601940155, 0.00361506431363523, 0.002750125015154481, 0.008649393916130066, -0.014278667978942394, 0.002977111842483282, -0.003983022179454565, 0.04254928231239319, 0.04339032992720604, 0.05654123052954674, -0.01341850683093071, 0.04690743237733841, 0.02444767951965332, 0.00907947402447462, -0.026301803067326546, 0.009734151884913445, 0.05210662633180618, 0.027735404670238495, 0.05233599990606308, -0.052297770977020264, -0.01741347648203373, -0.0003993176796939224, -0.03761769458651543, -0.05654123052954674, -0.05107443034648895, 0.00694818701595068, 0.016734903678297997, 0.015960760414600372, -0.011468809098005295, 0.022249490022659302, -0.029035203158855438, 0.03100401535630226, 0.0040236408822238445, -0.014813878573477268, 0.010857139714062214, 0.05008046701550484, 0.016276152804493904, -0.00790392141789198, 0.05707644298672676, -0.02368309162557125, -0.034291740506887436, 0.002262700581923127, -0.003693912411108613, 0.03255230560898781, -0.05757342278957367, -0.027372226119041443, 0.0798993706703186, -0.0031156933400779963, 0.06632795184850693, -0.05680883675813675, -0.006092804949730635, 0.04541648551821709, -0.0024610154796391726, 0.02616799995303154, -0.04813076928257942, 0.027620716020464897, -0.04621930420398712, -0.00672836834564805, -0.012424543499946594, -0.0021468177437782288, 0.077032171189785, -0.015454220585525036, -0.032590534538030624, 0.004496729001402855, 0.0008918194216676056, 0.0645693987607956, -0.0168591495603323, -0.021159954369068146, -0.0015124492347240448, -0.02844264730811119, -0.04820723086595535, -0.01830230839550495, 0.05585310235619545, -0.048665981739759445, -0.06403418630361557, -0.04518710821866989, 0.03190240636467934, 0.01583651453256607, -0.0576498843729496, 0.02179073728621006, 0.006737925577908754, -0.002981890458613634, -0.00737348897382617, -0.0042984141036868095, -0.0011988489422947168, 0.004931588191539049, -0.026569409295916557, -0.08517502248287201, -0.037445664405822754, -0.006570672150701284, -0.013619211502373219, -0.025231381878256798, -0.026320917531847954, 0.023453716188669205, -0.02911166101694107, 0.025078464299440384, -0.05917905643582344, 0.05738227814435959, 0.07095370441675186, -0.00613581296056509, -0.03845874220132828, -0.012501002289354801, -0.011545267887413502, 0.01849345490336418, 0.005930330138653517, 0.0038874484598636627, 0.005433348473161459, -0.02920723520219326, 0.05688529461622238, 0.0257092472165823, 0.02681789919734001, -0.0024610154796391726, 0.001889964216388762, 0.0312142763286829, 0.0028504771180450916, 0.008171526715159416, -0.004659203812479973, -0.03929978609085083, 0.0538269467651844, -0.0014407691778615117, -0.006197935901582241, 0.002996226539835334, -0.06498992443084717, 0.004771502688527107, 0.008357894606888294, -0.005361668299883604, -0.010780680924654007, 0.013523638248443604, -0.028480876237154007, 0.03631789609789848, 0.008147633634507656, -0.013733899220824242, -0.0667484700679779, -0.005361668299883604, -0.004494339693337679, 0.00970070157200098, 0.03807644918560982, 0.002256727311760187, -0.05375048890709877, -0.022574439644813538, 0.007086768746376038, 0.04709857702255249, -0.041440632194280624, -0.06166396662592888, 0.010092552751302719, -0.0288249421864748, -0.0511891208589077, 0.004451331682503223, 0.04040843993425369, -0.004752387758344412, 0.003916120622307062, 0.013150901533663273, -0.014278667978942394, 0.004575577098876238, 0.0000624960521236062, -0.02418007329106331, 0.020911462604999542, -0.025231381878256798, 0.05925551429390907, -0.043428558856248856, -0.012252511456608772, -0.030583491548895836, -0.039146870374679565, -0.06273438781499863, -0.0026521622203290462, -0.018283193930983543, -0.015205729752779007, 0.011392351239919662, 0.04881889745593071, 0.04006437584757805, 0.06812472641468048, 0.010264584794640541, 0.05554726719856262, 0.044384293258190155, 0.016295267269015312, 0.0053186602890491486, -0.0032447173725813627, -0.015320418402552605, 0.02796478010714054, 0.07382090389728546, 0.0322846993803978, -0.023663977161049843, 0.034119706600904465, -0.034406427294015884, 0.006594565697014332, -0.015014583244919777, 0.01942051760852337, -0.032208241522312164, 0.008525148034095764, -0.020796773955225945, 0.0013272757641971111, -0.02131287194788456, 0.047519102692604065, -0.06177865341305733, -0.04836014658212662, 0.008061617612838745, -0.026320917531847954, 0.12302209436893463, -0.0009055580594576895, -0.031252507120370865, 0.021809853613376617, 0.021293755620718002, -0.04652513563632965, -0.026340031996369362, 0.14504221081733704, 0.06330782920122147, -0.03929978609085083, -0.04224344715476036, 0.07959353923797607, 0.03159657120704651, -0.01289285346865654, 0.002263895235955715, -0.08051104098558426, 0.034693147987127304, 0.021427558735013008, 0.02672232687473297, 0.021102609112858772, -0.002922157058492303, 0.021274641156196594, -0.0042888568714261055, -0.0722535029053688, -0.024027155712246895, -0.05795571580529213, -0.004998489283025265, 0.020968805998563766, 0.06850702315568924, -0.010838025249540806, -0.04174646735191345, 0.013494965620338917, -0.011096073314547539, 0.012386314570903778, 0.011860660277307034, 0.04805431142449379, -0.02389335259795189, -0.05898791179060936, 0.004446553066372871, 0.056273624300956726, 0.01932494342327118, -0.03532393276691437, -0.08234605193138123, -0.007469062227755785, -0.06376658380031586, 0.01684003509581089, -0.0456840917468071, -0.010962270200252533, -0.03832493722438812, 0.06900400668382645, -0.055126745253801346, 0.005915994290262461, 0.006694917567074299, -0.0036795763298869133, 0.0322846993803978, 0.006045018322765827, 0.017910458147525787, 0.008940893225371838, 0.07741446793079376, -0.011726858094334602, 0.05321527644991875, 0.0325331911444664, -0.04977463185787201, 0.06292553246021271, 0.030793754383921623, 0.013666997663676739, -0.028595564886927605, -0.016343053430318832, -0.08463981747627258, 0.021752508357167244, -0.018837518990039825, 0.025613674893975258, -0.03522836044430733, 0.01465140376240015, 0.028480876237154007, 0.06005833297967911, 0.027467798441648483, -0.008649393916130066, -0.025269610807299614, -0.012864181771874428, 0.010379272513091564, -0.02456236630678177, 0.048857130110263824, 0.0337182991206646, -0.012739935889840126, 0.01218560989946127, 0.04369616508483887, -0.04289334639906883, -0.05642654374241829, 0.02310965210199356, -0.06326960027217865, -0.033068399876356125, -0.05042453110218048, -0.040293749421834946, 0.059523120522499084, 0.014135307632386684, 0.00026641087606549263, 0.02827061526477337, -0.010627763345837593, 0.02557544596493244, 0.044498980045318604, -0.051342036575078964, -0.03842051327228546, 0.04606638476252556, 0.015683596953749657, 0.030373230576515198, -0.025326954200863838, 0.0010136754717677832, 0.029474841430783272, -0.030029166489839554, 0.04870421066880226, 0.05654123052954674, -0.02398892678320408, -0.004037976730614901, 0.016591545194387436, 0.02892051450908184, 0.060861147940158844, -0.02446679398417473, 0.024332990869879723, 0.030182084068655968, 0.017977358773350716, 0.013686113059520721, -0.04308449476957321, -0.014966796152293682, -0.0042816889472305775, -0.005256537813693285, 0.0007968433201313019, -0.018550800159573555, -0.031176047399640083, -0.09037421643733978, 0.042205218225717545, -0.06372835487127304, -0.002256727311760187, -0.05699998512864113, -0.021083494648337364, -0.01739436201751232, -0.006623237393796444, 0.004250627476722002, 0.029570413753390312, -0.0008267100201919675, 0.029723331332206726, -0.06292553246021271, 0.0672072246670723, 0.031061358749866486, -0.02664586715400219, -0.020529169589281082, 0.004960260353982449, -0.05967603996396065, 0.001572182634845376, 0.03910864144563675, -0.01946830376982689, -0.04396377131342888, 0.0021898257546126842, -0.01717454195022583, 0.056961752474308014, 0.004391598515212536, 0.02159959077835083, -0.040484897792339325, -0.03150099515914917, -0.027735404670238495, 0.04121125489473343, 0.013609654270112514, 0.013466293923556805, -0.025250496342778206, -0.06705430895090103, -0.03406236320734024, -0.05271829292178154, 0.02064385637640953, -0.019955728203058243, -0.013428064063191414, -0.06196980178356171, 0.08364585041999817, -0.06258147209882736, -0.018818404525518417, -0.03215089440345764, -0.041708238422870636, -0.024791743606328964, -0.022230375558137894, -0.021656936034560204, 0.016534199938178062, 0.040484897792339325, 0.04977463185787201, -0.046945661306381226, -0.048857130110263824, 0.005734404549002647, -0.005973338149487972, -0.017518606036901474, 0.0011301556369289756, -0.015903415158391, 0.052297770977020264, 0.007722331676632166, 0.09419715404510498, 0.02148490399122238, 0.011296777054667473, 0.04189938306808472, -0.04151709005236626, 0.05638831481337547, 0.03303017094731331, 0.036298781633377075, 0.03343157842755318, 0.024906432256102562, 0.004501507617533207, 0.03178771585226059, -0.03983499854803085, -0.02425653301179409, -0.001422849134542048, 0.0033546267077326775, 0.03645170107483864, 0.046104613691568375, 0.015005026012659073, -0.03710160031914711, -0.04262574389576912, -0.003053570631891489, 0.03350804001092911, 0.001801558886654675, 0.00038020298234187067, -0.06300199031829834, 0.014077963307499886, -0.005700954236090183, -0.00004308270217734389, -0.014584503136575222, -0.021236412227153778, -0.016448184847831726, -0.00967680849134922, -0.008611164055764675, -0.005643609911203384, 0.0013631158508360386, 0.029283693060278893, 0.003232770599424839, -0.008859655819833279, -0.023166995495557785, -0.010274142026901245, -0.004759556148201227, 0.030373230576515198, -0.018244965001940727, 0.02265089936554432, 0.020013073459267616, 0.04671628400683403, 0.013045771047472954, 0.05394163355231285, 0.002506412798538804, 0.05111266300082207, -0.07183297723531723, 0.059714268893003464, -0.0027979116421192884, -0.022784702479839325, 0.014259553514420986, -0.04587523639202118, -0.024199187755584717, 0.045340027660131454, -0.048474833369255066, 0.027754519134759903, -0.027085505425930023, 0.025288725271821022, 0.04109656810760498, 0.003304450772702694, 0.0815814658999443, -0.022402407601475716, 0.017671523615717888, 0.03454023227095604, -0.0022304444573819637, 0.03842051327228546, 0.004740441218018532, -0.06732191145420074, -0.010063880123198032, 0.006140591576695442, -0.009165490046143532, 0.05111266300082207, -0.022306835278868675, -0.027353111654520035, 0.009284957312047482, -0.012539232149720192, 0.0004554670595098287, -0.0012191582936793566, -0.0366046167910099, 0.08165792375802994, 0.02370220609009266, 0.010130781680345535, -0.045722320675849915, -0.03566799685359001, 0.016668003052473068, 0.018694158643484116, -0.10528367012739182, -0.020662972703576088, -0.010551304556429386, 0.021618705242872238, 0.08532794564962387, 0.03700602427124977, -0.043543245643377304, -0.004668761044740677, 0.055126745253801346, 0.046372219920158386, -0.03299194201827049, 0.06498992443084717, 0.008415238931775093, -0.05130380764603615, 0.0063269599340856075, 0.020146874710917473, -0.013026656582951546, -0.030373230576515198, 0.029723331332206726, -0.014574945904314518, -0.01727011613547802, 0.0034382534213364124, 0.010876254178583622, -0.04346678778529167, -0.01631438173353672, 0.010522632859647274, 0.03817202150821686, 0.008625500835478306, 0.002296151127666235, 0.02788832224905491, 0.029838019981980324, 0.010771123692393303, 0.0014013451291248202, -0.023663977161049843, -0.02303319238126278, -0.04293157532811165, -0.0041048782877624035, -0.02578570693731308, -0.003299672156572342, 0.07573237270116806, -0.02253621071577072, 0.03406236320734024, 0.012357641942799091, -0.0010799795854836702, -0.005074948072433472, -0.01028369925916195, 0.03289636969566345, 0.053406424820423126, 0.01858902908861637, -0.027658944949507713, -0.010685107670724392, -0.026015082374215126, -0.011612169444561005, -0.056464772671461105, -0.03262876346707344, 0.006986416410654783, 0.035534195601940155, 0.0025518101174384356, 0.029149891808629036, 0.0736679881811142, -0.04151709005236626, -0.05375048890709877, -0.033240433782339096, -0.008893106132745743, 0.014001504518091679, -0.02557544596493244, -0.008353115990757942, 0.011593054980039597, 0.002061996376141906, 0.01337072066962719, 0.027085505425930023, -0.001403734553605318, 0.03864988684654236, 0.027047276496887207, 0.010216797702014446, 0.02198188565671444, 0.00284330896101892, -0.014689633622765541, -0.006809605751186609, 0.040981877595186234, -0.03356538340449333, -0.046486906707286835, -0.03186417743563652, -0.027754519134759903, 0.03194063529372215, 0.033813875168561935, -0.031156932935118675, 0.02148490399122238, 0.034387312829494476, -0.01174597255885601, 0.017805326730012894, 0.009715037420392036, -0.054744452238082886, -0.01815894804894924, -0.019745467230677605, -0.028404418379068375, 0.07466194778680801, 0.02150401845574379, -0.0021838524844497442, -0.002506412798538804, 0.026760555803775787, -0.0662514865398407, 0.05420923978090286, 0.04679274186491966, 0.043046265840530396, 0.0041885050013661385, 0.0242756474763155, 0.03817202150821686, -0.02425653301179409, 0.014574945904314518, -0.030889326706528664, 0.006475098896771669, 0.0169833954423666, 0.038955722004175186, 0.011210761032998562, 0.022708242759108543, 0.047136805951595306, 0.009337522089481354, 0.03528570383787155, -0.02360663376748562, 0.0033235654700547457, -0.019936613738536835, -0.04159354791045189, -0.000626603199634701, 0.023625748232007027, -0.029933592304587364, -0.005939887836575508, 0.05654123052954674, -0.003297282848507166, -0.0005671684630215168, 0.046563368290662766, 0.007459504995495081, -0.03052614815533161, 0.009356637485325336, -0.020815888419747353, -0.046104613691568375, -0.006193157285451889, -0.04079073294997215, 0.06166396662592888, -0.07829374074935913, 0.01199446339160204, -0.026512064039707184, 0.01446025725454092, 0.04786316677927971, -0.01921025663614273, -0.016954723745584488, -0.0010644488502293825, -0.007081989664584398, 0.02987624891102314, 0.0188948642462492, 0.0007526406552642584, -0.011449694633483887, -0.04843660444021225, -0.051915477961301804, 0.043810851871967316, 0.03522836044430733, -0.007765339687466621, -0.08593961596488953, -0.006919515319168568, 0.011335006915032864, 0.02016599103808403, 0.003617453621700406, 0.059599582105875015, -0.04365793615579605, 0.02035713754594326, 0.010809352621436119, -0.0020249616354703903, 0.02465794049203396, -0.011898890137672424, 0.02387423813343048, -0.03798087313771248, 0.0715271458029747, 0.04369616508483887, 0.008931335061788559, 0.0017704974161460996, -0.005672282073646784, 0.002599596744403243, 0.03343157842755318, -0.027754519134759903, -0.028213271871209145, 0.01252011675387621, 0.052297770977020264, -0.012338527478277683, -0.03194063529372215, 0.03322131931781769, -0.014097078703343868, 0.015960760414600372, -0.0162665955722332, -0.049507029354572296, -0.06713076680898666, -0.10230178385972977, 0.04606638476252556, -0.027181077748537064, -0.06781889498233795, -0.03532393276691437, 0.01908601075410843, 0.012453216128051281, -0.0053138816729187965, -0.025728363543748856, 0.053521111607551575, -0.03645170107483864, 0.043543245643377304, -0.058567386120557785, -0.027754519134759903, 0.039720311760902405, -0.01987927034497261, -0.0026449942961335182, 0.041708238422870636, 0.0094474321231246, 0.04564586281776428, -0.008109403774142265, 0.02484908699989319, -0.0168591495603323, -0.061319902539253235, -0.012367199175059795, -0.07244464755058289, -0.007316144648939371, -0.03215089440345764, -0.060364168137311935, -0.049507029354572296, -0.05527966096997261, 0.06460762768983841, -0.002590039512142539 ]
16,414
presidio_analyzer.recognizer_registry
load_predefined_recognizers
Load the existing recognizers into memory. :param languages: List of languages for which to load recognizers :param nlp_engine: The NLP engine to use. :return: None
def load_predefined_recognizers( self, languages: Optional[List[str]] = None, nlp_engine: NlpEngine = None ) -> None: """ Load the existing recognizers into memory. :param languages: List of languages for which to load recognizers :param nlp_engine: The NLP engine to use. :return: None """ if not languages: languages = ["en"] nlp_recognizer = self._get_nlp_recognizer(nlp_engine) recognizers_map = { "en": [ UsBankRecognizer, UsLicenseRecognizer, UsItinRecognizer, UsPassportRecognizer, UsSsnRecognizer, NhsRecognizer, SgFinRecognizer, AuAbnRecognizer, AuAcnRecognizer, AuTfnRecognizer, AuMedicareRecognizer, InPanRecognizer, InAadhaarRecognizer, InVehicleRegistrationRecognizer, ], "es": [EsNifRecognizer], "it": [ ItDriverLicenseRecognizer, ItFiscalCodeRecognizer, ItVatCodeRecognizer, ItIdentityCardRecognizer, ItPassportRecognizer, ], "pl": [PlPeselRecognizer], "ALL": [ CreditCardRecognizer, CryptoRecognizer, DateRecognizer, EmailRecognizer, IbanRecognizer, IpRecognizer, MedicalLicenseRecognizer, PhoneRecognizer, UrlRecognizer, ], } for lang in languages: lang_recognizers = [ self.__instantiate_recognizer( recognizer_class=rc, supported_language=lang ) for rc in recognizers_map.get(lang, []) ] self.recognizers.extend(lang_recognizers) all_recognizers = [ self.__instantiate_recognizer( recognizer_class=rc, supported_language=lang ) for rc in recognizers_map.get("ALL", []) ] self.recognizers.extend(all_recognizers) if nlp_engine: nlp_recognizer_inst = nlp_recognizer( supported_language=lang, supported_entities=nlp_engine.get_supported_entities(), ) else: nlp_recognizer_inst = nlp_recognizer(supported_language=lang) self.recognizers.append(nlp_recognizer_inst)
(self, languages: Optional[List[str]] = None, nlp_engine: Optional[presidio_analyzer.nlp_engine.nlp_engine.NlpEngine] = None) -> NoneType
[ 0.01423874031752348, -0.07628026604652405, -0.08007240295410156, 0.0037009785883128643, -0.03175913542509079, 0.061840981245040894, 0.02061973698437214, -0.06639883667230606, 0.01659059338271618, 0.019726397469639778, 0.023135673254728317, -0.0016841274918988347, -0.0332176499068737, -0.0017832608427852392, -0.023409144952893257, -0.010373678989708424, -0.03369166702032089, 0.06432045251131058, -0.0092387730255723, -0.12871383130550385, -0.04021851345896721, 0.02979014255106449, -0.016007186844944954, 0.0017957949312403798, 0.029534902423620224, 0.0488966703414917, 0.042989689856767654, -0.01987224817276001, -0.024776501581072807, 0.0038103670813143253, -0.005305343773216009, 0.012962540611624718, -0.01616215519607067, 0.030701713636517525, 0.003101620590314269, -0.01601630263030529, 0.03427506983280182, 0.04630780965089798, -0.06738333404064178, 0.00949857011437416, -0.03571535274386406, -0.030829332768917084, 0.06654468923807144, -0.030136538669466972, -0.0649038627743721, 0.032141994684934616, -0.027365362271666527, 0.03886938840150833, 0.04630780965089798, 0.005774802528321743, 0.01206008531153202, -0.039999738335609436, -0.011130282655358315, 0.016617940738797188, -0.03536895662546158, 0.03267070651054382, -0.060273077338933945, 0.06227853521704674, 0.001556507544592023, 0.013117507100105286, 0.039780959486961365, -0.0727798342704773, -0.010045512579381466, 0.01461248379200697, 0.011048241518437862, 0.03345465660095215, -0.016745559871196747, 0.01270730048418045, -0.0007919273339211941, -0.0010015886509791017, -0.007834953255951405, -0.02123960480093956, -0.01362798735499382, 0.0007554644835181534, 0.05921565741300583, 0.04459405690431595, -0.0410936214029789, -0.0033705339301377535, 0.03741087764501572, 0.033436425030231476, 0.007675428409129381, 0.0014585136668756604, 0.04433881491422653, -0.011421984992921352, 0.06661761552095413, -0.054803650826215744, -0.009184078313410282, -0.0426250621676445, 0.04280737787485123, -0.07912436872720718, -0.053454525768756866, 0.0015975282294675708, 0.02917027287185192, 0.021731853485107422, -0.03628052771091461, -0.031722672283649445, 0.0030173002742230892, -0.004327683709561825, -0.015159426257014275, -0.036572229117155075, -0.024138402193784714, -0.006891477387398481, -0.020729126408696175, -0.05239710584282875, 0.04339078068733215, -0.02233349159359932, -0.02596154436469078, 0.008459378965198994, -0.024812964722514153, 0.03312649205327034, -0.03407452628016472, -0.07121193408966064, 0.038358911871910095, 0.054475486278533936, 0.006800319999456406, 0.0009092921391129494, -0.04918837547302246, 0.0144757479429245, -0.007160390727221966, 0.04371894896030426, -0.06756564974784851, 0.012634375132620335, -0.04488575831055641, 0.025779228657484055, 0.01335451565682888, -0.04174995422363281, 0.05819469690322876, 0.018368156626820564, 0.03560596704483032, -0.02492235228419304, 0.02494058385491371, 0.032543085515499115, -0.05735605210065842, -0.04754754528403282, 0.023664385080337524, -0.011668109335005283, -0.03170444071292877, 0.01324512716382742, -0.008978975005447865, 0.0016955221071839333, -0.024029012769460678, -0.009152173064649105, 0.040546681731939316, 0.021731853485107422, -0.03108457289636135, 0.021768316626548767, -0.009598842822015285, -0.009288908913731575, -0.05352745205163956, 0.01041925698518753, -0.005022756289690733, 0.011531373485922813, -0.026271477341651917, -0.04185934364795685, -0.004188668914139271, -0.03201437368988991, -0.017985297366976738, 0.007939783856272697, -0.0668363869190216, -0.010437488555908203, -0.008705503307282925, 0.04904252290725708, -0.04127593711018562, -0.018833057954907417, 0.01834992505609989, 0.008500399999320507, 0.019507620483636856, -0.04718291759490967, 0.00717406440526247, 0.051667846739292145, -0.02082028239965439, -0.02951667085289955, -0.003960776142776012, -0.012379135005176067, 0.011212323792278767, 0.04393772408366203, 0.004500882234424353, -0.0030423684511333704, 0.003318118629977107, 0.04236982390284538, 0.02486765757203102, 0.03267070651054382, -0.08532305061817169, -0.06614359468221664, 0.015751948580145836, 0.06891477108001709, -0.003780741011723876, 0.03305356577038765, -0.03416568413376808, 0.02054681070148945, 0.0074384198524057865, 0.024557724595069885, 0.04926129803061485, -0.021677158772945404, -0.012233283370733261, -0.008204139769077301, -0.0018345367861911654, 0.02568807266652584, -0.051594920456409454, 0.022825738415122032, 0.003965334035456181, 0.030209464952349663, 0.026544949039816856, -0.011896002106368542, -0.055897537618875504, 0.00902911089360714, -0.01649031974375248, 0.051120903342962265, -0.04390126094222069, -0.03857768699526787, 0.011458448134362698, -0.021823011338710785, 0.011804845184087753, 0.022388184443116188, 0.025724535807967186, 0.003406996838748455, -0.011914233677089214, 0.018942447379231453, -0.025833923369646072, -0.0056107197888195515, 0.014603368006646633, 0.02705542929470539, -0.04003620147705078, -0.05892395228147507, 0.028915034607052803, -0.027839379385113716, -0.024849427863955498, 0.015159426257014275, -0.01624419540166855, -0.012661721557378769, 0.020437423139810562, -0.03905170410871506, 0.017091957852244377, 0.023992549628019333, 0.059871986508369446, -0.005004525184631348, 0.03223315253853798, 0.012515870854258537, 0.03741087764501572, 0.04065606743097305, 0.03770257905125618, 0.022716350853443146, -0.060346003621816635, -0.05101151764392853, -0.002347295405343175, 0.10129377245903015, 0.019161224365234375, -0.012333556078374386, 0.03436622768640518, -0.019015371799468994, 0.008710061199963093, -0.01120320800691843, -0.015833988785743713, -0.013400094583630562, -0.02246111072599888, 0.009808504953980446, -0.0258156917989254, -0.027292437851428986, 0.05050103738903999, -0.06271608918905258, 0.003213288029655814, 0.09458461403846741, -0.0028668909799307585, 0.09998111426830292, -0.031996145844459534, 0.006376439705491066, 0.07606148719787598, 0.010036397725343704, -0.030647018924355507, -0.049553003162145615, 0.044010650366544724, 0.06658115237951279, -0.033910442143678665, -0.014293434098362923, 0.049625929445028305, 0.045250385999679565, -0.02390139363706112, 0.05378269404172897, -0.045323312282562256, 0.04244275018572807, 0.11252433061599731, 0.023518532514572144, 0.02670903131365776, 0.015223236754536629, 0.03509548678994179, -0.00007962003292050213, -0.045396238565444946, -0.0476933978497982, -0.038067206740379333, -0.03722856193780899, 0.044083576649427414, -0.013892343267798424, 0.04371894896030426, 0.017046378925442696, -0.011084703728556633, -0.0012693627504631877, 0.010528645478188992, -0.03338173031806946, 0.02014571987092495, -0.04167702794075012, -0.04481283202767372, -0.0021387736778706312, 0.09334487468004227, -0.004927041474729776, -0.040254976600408554, -0.07803048193454742, 0.01618950255215168, -0.03553304076194763, 0.006636237259954214, -0.025250518694519997, -0.039780959486961365, -0.027146585285663605, 0.06946171075105667, -0.012716416269540787, 0.004845000337809324, 0.003960776142776012, -0.00429122056812048, 0.039780959486961365, 0.03646284341812134, -0.002260696142911911, -0.019562315195798874, 0.08648986369371414, -0.03653576970100403, 0.0022128387354314327, 0.04466698318719864, -0.060564782470464706, 0.055897537618875504, 0.019343538209795952, 0.005419289693236351, -0.04076545685529709, -0.023135673254728317, -0.07325384765863419, -0.0017513559432700276, 0.025451064109802246, -0.007570597808808088, -0.018067337572574615, 0.017638899385929108, 0.024466566741466522, 0.031941451132297516, -0.0024293367750942707, 0.019562315195798874, -0.023263294249773026, -0.07576978951692581, 0.01899714022874832, -0.0016203175764530897, 0.016627056524157524, 0.04481283202767372, -0.000924105173908174, 0.01089327409863472, -0.009471223689615726, -0.05006348341703415, -0.08386453986167908, 0.017939718440175056, 0.006485828198492527, -0.002044198103249073, -0.04437527805566788, -0.03702801465988159, 0.03974449634552002, 0.035824742168188095, -0.07110254466533661, -0.004592039156705141, 0.023208599537611008, -0.04685475304722786, 0.023682616651058197, -0.008500399999320507, -0.007347262930124998, 0.04765693470835686, 0.004808537196367979, 0.0015758784720674157, -0.05936150625348091, 0.00765263894572854, -0.0222787968814373, 0.0002664921048562974, 0.06545080244541168, 0.03538718819618225, -0.019908711314201355, 0.020455654710531235, 0.040874846279621124, 0.008482168428599834, 0.07525930553674698, -0.018286114558577538, 0.062059756368398666, 0.03170444071292877, 0.027146585285663605, 0.03400159999728203, -0.05892395228147507, -0.034183915704488754, 0.035678889602422714, 0.00804461445659399, 0.0014607926132157445, 0.014648946933448315, -0.007985362783074379, -0.04076545685529709, 0.014557790011167526, -0.003557406133040786, 0.020273340865969658, -0.09487631916999817, 0.02054681070148945, -0.019380001351237297, -0.00729256821796298, 0.027693528681993484, -0.00566997192800045, -0.018085569143295288, 0.03591590002179146, -0.02247934229671955, 0.05418378487229347, 0.04824034124612808, 0.048386190086603165, -0.007415630389004946, 0.04076545685529709, 0.005095682106912136, 0.0026868556160479784, 0.01899714022874832, -0.06592481583356857, -0.08904226124286652, 0.031394507735967636, 0.010136670432984829, 0.04200519248843193, 0.011248786933720112, 0.024338947609066963, 0.02432071603834629, 0.024812964722514153, 0.03339996188879013, 0.04419296607375145, 0.02842278592288494, 0.048677895218133926, -0.021458381786942482, -0.0169096440076828, -0.040327902883291245, -0.06512263417243958, 0.0038992452900856733, 0.014730988070368767, -0.02822224050760269, -0.05691849812865257, 0.03115749917924404, -0.03832244873046875, -0.01362798735499382, -0.02521405555307865, -0.03369166702032089, -0.04754754528403282, -0.015979841351509094, -0.024685343727469444, -0.0073973992839455605, 0.05797591805458069, 0.0038627823814749718, -0.037119172513484955, -0.05152199789881706, 0.004653570242226124, -0.048860207200050354, -0.053855616599321365, -0.028641562908887863, -0.01164987776428461, 0.042734451591968536, 0.03409275785088539, 0.08014532923698425, 0.015369088388979435, 0.04058314487338066, 0.030209464952349663, 0.005050103645771742, 0.01136729121208191, 0.05888748914003372, 0.030245928093791008, 0.028933266177773476, 0.020874977111816406, -0.029589597135782242, 0.09560557454824448, -0.026107395067811012, 0.018267884850502014, -0.022351723164319992, 0.006303513888269663, 0.004849558230489492, 0.0369550921022892, 0.025323443114757538, -0.0598355233669281, -0.07307153940200806, 0.017073726281523705, 0.06654468923807144, 0.00193367013707757, -0.013008118607103825, -0.011567836627364159, 0.08473964780569077, 0.005820380989462137, -0.022114714607596397, 0.013163086026906967, -0.030337084084749222, -0.028386322781443596, -0.027164816856384277, 0.019179455935955048, -0.045250385999679565, 0.010091091506183147, -0.01608922891318798, 0.014895071275532246, 0.02218763902783394, 0.009184078313410282, -0.011039125733077526, -0.03223315253853798, 0.04247920960187912, -0.00619868328794837, 0.07314445823431015, -0.028313396498560905, 0.052433568984270096, -0.015259699895977974, -0.01318131759762764, 0.0038787347730249166, 0.05578814819455147, -0.024029012769460678, -0.006207799073308706, 0.0348220132291317, -0.05965321138501167, 0.030975185334682465, -0.03886938840150833, -0.033636972308158875, 0.03491317108273506, -0.03578827902674675, 0.020656200125813484, -0.007123927585780621, 0.011175861582159996, 0.007078349124640226, -0.032342541962862015, 0.05367330461740494, 0.032214920967817307, 0.02083851397037506, 0.038687076419591904, -0.01669086515903473, 0.01741100661456585, 0.0322878472507, -0.07693659514188766, -0.015998072922229767, 0.034657932817935944, 0.013883227482438087, 0.02472180686891079, -0.008391011506319046, -0.0101731326431036, -0.002130797365680337, 0.0037442781031131744, 0.018267884850502014, -0.004500882234424353, -0.05910626798868179, 0.08700034022331238, 0.03824952244758606, -0.002618487924337387, 0.005674529820680618, -0.014366359449923038, -0.01669086515903473, 0.017948834225535393, -0.046745363622903824, -0.011850424110889435, -0.0318867564201355, 0.02255226857960224, 0.02568807266652584, 0.016754675656557083, -0.03267070651054382, -0.015998072922229767, 0.02404724434018135, 0.04083838313817978, -0.03516841307282448, 0.006517732981592417, 0.0046057128347456455, 0.018796594813466072, 0.018614280968904495, -0.0010933155426755548, 0.004268431570380926, -0.028258703649044037, 0.00838189572095871, -0.02862333133816719, 0.01587045192718506, -0.04816741496324539, 0.021348994225263596, -0.04568793997168541, -0.02922496758401394, 0.029626058414578438, -0.028915034607052803, -0.0109570836648345, -0.033509351313114166, -0.05600692704319954, 0.03832244873046875, -0.004341356921941042, -0.0238466989248991, -0.00027831405168399215, -0.012470291927456856, -0.021968862041831017, 0.023245062679052353, -0.004083838313817978, -0.05888748914003372, 0.0512302927672863, -0.005537793971598148, 0.03339996188879013, 0.03434799611568451, 0.0056426250375807285, 0.008176792412996292, -0.06515909731388092, 0.07460297644138336, 0.03443915396928787, 0.0025637936778366566, -0.034056294709444046, 0.03270716965198517, -0.03195968270301819, -0.01932530663907528, -0.051667846739292145, -0.03857768699526787, -0.04244275018572807, 0.02472180686891079, -0.020163951441645622, -0.005487657617777586, 0.05637155473232269, 0.0019860854372382164, -0.04236982390284538, -0.01810380071401596, 0.036991555243730545, 0.01192334946244955, -0.010191364213824272, -0.012406482361257076, 0.01961700990796089, -0.0015302998945116997, 0.042734451591968536, -0.011631647124886513, -0.039379868656396866, 0.022698119282722473, 0.07445712387561798, -0.00061474071117118, -0.04783925041556358, -0.00012769116437993944, -0.0022960195783525705, 0.007283452898263931, -0.018833057954907417, -0.021877706050872803, -0.04105716198682785, -0.05844993516802788, -0.039306942373514175, -0.006672699935734272, 0.025578683242201805, -0.007661754731088877, 0.03093872219324112, -0.01810380071401596, 0.008796660229563713, 0.012233283370733261, 0.05028225854039192, -0.0016624777344986796, 0.00452595017850399, -0.025870386511087418, -0.03531426191329956, -0.014366359449923038, 0.02315390482544899, -0.014958880841732025, 0.013135738670825958, 0.03850476071238518, -0.04958946630358696, 0.0109570836648345, 0.09290732443332672, 0.04550562798976898, 0.006271608639508486, 0.03279832750558853, -0.0033067238982766867, -0.009279793128371239, -0.03325411304831505, -0.004690032918006182, 0.029206736013293266, 0.028732718899846077, 0.04663597419857979, -0.018021760508418083, -0.03195968270301819, 0.03130334988236427, 0.032944176346063614, -0.0015337183140218258, 0.02054681070148945, 0.028915034607052803, -0.008272507227957249, -0.014174929820001125, 0.014740103855729103, 0.01885128952562809, -0.020674431696534157, -0.0402914397418499, 0.024812964722514153, 0.02397431805729866, 0.007607060484588146, 0.046016108244657516, -0.022315260022878647, -0.06628944724798203, 0.05928857997059822, 0.0009058737196028233, -0.045323312282562256, 0.0148586081340909, -0.031048109754920006, 0.007256105542182922, -0.08196847140789032, 0.052834659814834595, -0.010865926742553711, 0.010337215848267078, 0.0371556356549263, -0.0029717215802520514, -0.012552333064377308, 0.04608903080224991, 0.049553003162145615, -0.0017433796310797334, 0.00949857011437416, -0.005952558945864439, -0.030136538669466972, -0.11143044382333755, -0.06439337879419327, 0.009580612182617188, 0.05265234410762787, -0.06202329322695732, -0.0759156346321106, -0.04999055713415146, -0.024156633764505386, 0.05294404551386833, -0.040619608014822006, 0.017547743394970894, -0.025852154940366745, -0.011257902719080448, 0.022515805438160896, 0.02111198566854, 0.052761733531951904, -0.028313396498560905, 0.005050103645771742, -0.02355499565601349, 0.04105716198682785, 0.04670890048146248, -0.0076845441944897175, -0.03086579591035843, 0.025323443114757538, 0.04944361373782158, 0.03927047923207283, -0.028185777366161346, 0.00742930406704545, -0.013810301199555397, 0.04481283202767372, -0.044229429215192795, 0.02382846735417843, 0.01608922891318798, -0.009061016142368317, 0.0005868238513357937, -0.05491304025053978, -0.04999055713415146, -0.07398311048746109, -0.0700451210141182, 0.06898769736289978, -0.029826605692505836, -0.05334513634443283, -0.027018966153264046, -0.006226030178368092, -0.019307075068354607, -0.01164987776428461, 0.048386190086603165, 0.000613601238001138, 0.021130217239260674, 0.07708244770765305, -0.051813699305057526, -0.0030013476498425007, 0.07445712387561798, -0.004949830938130617, 0.02690957672894001, -0.0073973992839455605, 0.037811968475580215, -0.03400159999728203, -0.021914167329669, 0.06012722849845886, -0.029152043163776398, -0.05422024801373482, -0.021203143522143364, -0.0700451210141182, -0.05896041542291641, -0.008149445056915283, -0.017347197979688644, 0.05655386671423912, -0.028167545795440674, 0.05185016244649887, -0.027274206280708313 ]
16,415
presidio_analyzer.recognizer_registry
remove_recognizer
Remove a recognizer based on its name. :param recognizer_name: Name of recognizer to remove
def remove_recognizer(self, recognizer_name: str) -> None: """ Remove a recognizer based on its name. :param recognizer_name: Name of recognizer to remove """ new_recognizers = [ rec for rec in self.recognizers if rec.name != recognizer_name ] logger.info( "Removed %s recognizers which had the name %s", str(len(self.recognizers) - len(new_recognizers)), recognizer_name, ) self.recognizers = new_recognizers
(self, recognizer_name: str) -> NoneType
[ -0.013547803275287151, -0.034477364271879196, -0.04103698581457138, 0.0027222426142543554, -0.0556955523788929, 0.007779709994792938, -0.027900252491235733, 0.023369740694761276, 0.040512215346097946, 0.06314727663993835, 0.010547869838774204, 0.01633782871067524, -0.025853650644421577, -0.018961675465106964, -0.007679129019379616, -0.023037387058138847, 0.03970756754279137, 0.042366404086351395, -0.023929495364427567, -0.10264494270086288, -0.038762982934713364, 0.021847909316420555, -0.006948824506253004, -0.017089998349547386, -0.022180262953042984, 0.05800453573465347, 0.0176322590559721, -0.009751969017088413, -0.046949390321969986, 0.022250233218073845, -0.0526169016957283, -0.017982106655836105, 0.0018815178191289306, -0.0018246677936986089, -0.0016267858445644379, 0.004154426511377096, -0.02921217679977417, 0.07479716837406158, -0.05093764141201973, -0.02284497208893299, 0.019206568598747253, 0.017203697934746742, 0.004287805408239365, -0.02616851218044758, -0.022250233218073845, 0.06321725249290466, -0.03290305659174919, 0.04240138828754425, 0.016678927466273308, 0.03750353679060936, -0.00659897830337286, -0.016932567581534386, -0.02261757105588913, 0.09550807625055313, 0.021760446950793266, -0.020308585837483406, 0.0023067998699843884, 0.029264653101563454, 0.03792335093021393, 0.004438676405698061, 0.011466216295957565, -0.025643743574619293, 0.005580050405114889, -0.02422686479985714, 0.07325784116983414, -0.030191747471690178, 0.0445704348385334, 0.05751475319266319, -0.01087147742509842, -0.03529950603842735, -0.04722926765680313, -0.03437241166830063, -0.011335024610161781, 0.0365239679813385, 0.03438990190625191, 0.006096073891967535, 0.011973493732511997, 0.05254693329334259, 0.0792052298784256, -0.007858425378799438, 0.0563252754509449, 0.01632908172905445, 0.009157230146229267, 0.01150994747877121, -0.008562491275370121, -0.03603418171405792, -0.010241754353046417, -0.07934516668319702, 0.009970623068511486, -0.05915902927517891, -0.008794264867901802, -0.04568994417786598, 0.0006111379479989409, 0.024996526539325714, -0.06528134644031525, -0.003916093613952398, -0.018226997926831245, -0.036419011652469635, 0.018471891060471535, -0.045025236904621124, 0.013757710345089436, 0.06164294108748436, -0.04855868220329285, 0.023946987465023994, 0.026833221316337585, 0.03582427278161049, 0.028267590329051018, -0.014046333730220795, -0.023387232795357704, 0.07234824448823929, 0.03321791812777519, -0.027060620486736298, 0.023789556697010994, 0.052826810628175735, 0.020535985007882118, -0.03435491770505905, -0.0405471995472908, -0.07080891728401184, 0.018052075058221817, 0.03204593434929848, -0.021620508283376694, -0.0007084390381351113, -0.052686870098114014, -0.01890919916331768, -0.00038209790363907814, -0.01883923076093197, 0.03169608488678932, 0.031048869714140892, 0.0597187839448452, 0.011081385426223278, 0.009384630247950554, -0.007749098353087902, -0.0835433229804039, -0.05223207175731659, 0.03949766233563423, 0.027900252491235733, 0.033602748066186905, -0.032325807958841324, 0.02672826685011387, 0.0007171851466409862, -0.029597006738185883, -0.001720807165838778, 0.013066763989627361, 0.03241327032446861, 0.03956763073801994, 0.012183401733636856, -0.015550673939287663, 0.035614367574453354, -0.02622099034488201, -0.03213339298963547, -0.08340338617563248, 0.035929229110479355, 0.019573908299207687, -0.051147546619176865, 0.017256174236536026, 0.03349779546260834, -0.029334623366594315, 0.02060595527291298, -0.08536253124475479, -0.009734476916491985, 0.06202777102589607, 0.030069300904870033, -0.03397008776664734, -0.07339777797460556, -0.02471664920449257, -0.044290557503700256, 0.03655895218253136, 0.0196438767015934, -0.008225764147937298, 0.0687098354101181, -0.0033803910482674837, 0.002335224999114871, -0.015200827270746231, 0.020151155069470406, -0.014579850248992443, 0.07829563319683075, 0.002308986382558942, 0.037538520991802216, -0.02809266746044159, 0.013705234043300152, 0.027078112587332726, -0.03136373311281204, -0.05030791461467743, -0.08697181940078735, 0.013827679678797722, -0.015358258038759232, -0.022407663986086845, 0.02123567834496498, 0.010705300606787205, 0.028844837099313736, 0.04282120242714882, 0.030209239572286606, 0.03237828612327576, -0.05954386293888092, 0.0414917878806591, 0.0009292795439250767, -0.01610168255865574, 0.03097890131175518, -0.004010114818811417, -0.08333341777324677, -0.018944183364510536, 0.02085084654390812, -0.05615035071969032, 0.02566123567521572, -0.03582427278161049, 0.013678994961082935, 0.04506022110581398, 0.022722525522112846, -0.011859794147312641, -0.014754773117601871, 0.03269314765930176, 0.045584987848997116, 0.032955534756183624, -0.005461977329105139, 0.035999197512865067, -0.043660834431648254, 0.01512211188673973, -0.0026894444599747658, 0.02221524715423584, 0.029072238132357597, -0.027340497821569443, 0.08690185099840164, 0.038343168795108795, -0.011772331781685352, -0.040687140077352524, 0.016853852197527885, -0.03339284285902977, 0.0067520360462367535, 0.050832685083150864, -0.055975429713726044, 0.03529950603842735, -0.04065215587615967, 0.0028009579982608557, -0.01642528921365738, -0.009795700199902058, 0.031118839979171753, -0.01892669126391411, -0.03869301453232765, 0.00993563886731863, -0.0194864459335804, 0.002591049997135997, 0.02324729412794113, -0.056220319122076035, 0.002333038253709674, -0.006550874561071396, 0.04603978991508484, 0.018804244697093964, -0.009716984815895557, -0.004335909150540829, -0.02132313884794712, 0.07570676505565643, -0.026360929012298584, -0.0003290743043180555, 0.010163038969039917, 0.03438990190625191, -0.022425156086683273, -0.06909467279911041, 0.005348277278244495, 0.019976230338215828, -0.01456235721707344, -0.008715549483895302, 0.04271624982357025, -0.01915409229695797, 0.02929963730275631, -0.04289117082953453, 0.0017787504475563765, 0.04166670888662338, 0.023597141727805138, -0.028704898431897163, -0.060068629682064056, 0.024174388498067856, -0.036978766322135925, 0.01705501414835453, -0.0405471995472908, 0.015436973422765732, 0.02044852450489998, 0.00036897865356877446, 0.05079770088195801, -0.005846808198839426, 0.05852930620312691, 0.09501828998327255, -0.014746027067303658, 0.021707970649003983, 0.08130431175231934, 0.008466283790767193, 0.06150300055742264, 0.01770222932100296, -0.010294230654835701, -0.026973159983754158, -0.008295733481645584, 0.045025236904621124, -0.04065215587615967, 0.048733606934547424, 0.04593483731150627, -0.0059473891742527485, -0.019696353003382683, -0.052197087556123734, -0.017772197723388672, 0.0100580845028162, -0.004460541997104883, 0.011999732814729214, 0.03757350519299507, 0.011448724195361137, -0.0013633078197017312, -0.005313292611390352, -0.06780023872852325, 0.02141060121357441, 0.002153742127120495, -0.03034917823970318, -0.0020673738326877356, -0.03363773226737976, -0.017020028084516525, -0.03323541209101677, 0.004421184305101633, 0.038273200392723083, 0.021463077515363693, 0.031905993819236755, 0.04142181575298309, 0.012979302555322647, 0.03645399585366249, 0.008308853022754192, 0.0371536910533905, -0.08389317244291306, -0.030454130843281746, 0.021445585414767265, -0.03984750807285309, -0.028529975563287735, 0.010923954658210278, -0.04506022110581398, 0.017352383583784103, -0.05880918353796005, -0.08627212792634964, -0.02833756059408188, -0.018244491890072823, -0.006883228663355112, -0.011072639375925064, 0.04918840900063515, 0.026623312383890152, 0.007333655841648579, 0.011877286247909069, -0.06769528239965439, 0.006891974713653326, -0.027183067053556442, 0.050098009407520294, -0.02816263772547245, 0.02335224859416485, -0.008396314457058907, -0.0005419886438176036, 0.07829563319683075, -0.0029999332036823034, 0.015069634653627872, -0.07668633759021759, 0.00005257945667835884, 0.013713980093598366, 0.04754412919282913, -0.009174722246825695, -0.02872239239513874, 0.06377700716257095, -0.013486579991877079, -0.05849432200193405, -0.02268754132091999, 0.02406943403184414, -0.00754356337711215, -0.017422351986169815, -0.012533248402178288, -0.048908531665802, -0.005824943073093891, -0.04348590970039368, -0.025871142745018005, -0.06304232776165009, -0.005597542971372604, -0.007867171429097652, -0.009078514762222767, 0.027060620486736298, 0.013154225423932076, 0.003920466639101505, 0.1021551564335823, 0.05457604303956032, 0.0075829210691154, 0.0433109886944294, -0.016469020396471024, 0.08858111500740051, 0.004390572663396597, 0.02431432716548443, 0.016049204394221306, 0.004136933945119381, -0.10866229981184006, 0.03257070109248161, -0.009550807066261768, -0.014020095579326153, -0.03213339298963547, -0.03984750807285309, -0.0695844516158104, 0.007587294559925795, -0.031171316280961037, -0.02029109187424183, -0.10453411191701889, 0.0035115834325551987, -0.06496648490428925, 0.036488983780145645, -0.004167545586824417, 0.02270503342151642, -0.05754973739385605, -0.00348971807397902, -0.010915208607912064, 0.0761265829205513, 0.00035421951906755567, 0.06622593104839325, -0.008903591893613338, -0.05037788674235344, 0.029894378036260605, -0.023282280191779137, 0.009813192300498486, -0.04275123402476311, -0.014308718964457512, 0.050098009407520294, 0.025451326742768288, -0.014868472702801228, 0.0016858224989846349, 0.02744545228779316, -0.02277500182390213, 0.06360208243131638, -0.05835438519716263, 0.03718867525458336, 0.02581866644322872, 0.050587791949510574, -0.009393376298248768, 0.028599945828318596, -0.021672986447811127, -0.025083988904953003, -0.04464040324091911, -0.019748831167817116, 0.015428227372467518, -0.044290557503700256, -0.011090131476521492, 0.0036624546628445387, -0.016294097527861595, -0.0102155152708292, -0.06979436427354813, -0.005304546561092138, -0.021865401417016983, -0.017168713733553886, -0.023212309926748276, 0.01311924122273922, 0.014343703165650368, 0.0007417837623506784, -0.038273200392723083, 0.04974816367030144, 0.01114260870963335, -0.05020296201109886, -0.01667018234729767, -0.02253011055290699, -0.0405471995472908, -0.014527373015880585, 0.07584670186042786, 0.027340497821569443, 0.02270503342151642, 0.016783881932497025, -0.02002870850265026, -0.011011416092514992, -0.013556549325585365, 0.050727732479572296, 0.018489383161067963, -0.010066830553114414, 0.02655334398150444, 0.11950753629207611, 0.025398850440979004, 0.025783682242035866, -0.022267725318670273, -0.022670049220323563, 0.05744478479027748, -0.012681933119893074, 0.028442515060305595, -0.04079209268093109, -0.04726425185799599, 0.028844837099313736, 0.007088763173669577, 0.05786459892988205, 0.057094935327768326, 0.0347922258079052, 0.0665058046579361, -0.009428361430764198, -0.0590890608727932, -0.009052276611328125, 0.01892669126391411, -0.0010528190759941936, -0.0594039224088192, -0.04226144775748253, 0.002162488177418709, -0.00012497443822212517, -0.0326581634581089, -0.017282413318753242, -0.005011550150811672, -0.004963445942848921, 0.04460541903972626, 0.001471541472710669, 0.03213339298963547, -0.010705300606787205, 0.07976498454809189, 0.008798637427389622, -0.003172669792547822, -0.013110495172441006, -0.03627907484769821, -0.028914807364344597, 0.05289677903056145, -0.05482093617320061, 0.02018613927066326, 0.02898477576673031, -0.07927519828081131, 0.013093002140522003, -0.05177726969122887, -0.00820827204734087, 0.006760782096534967, -0.004884730558842421, 0.019049137830734253, -0.042121510952711105, -0.016066696494817734, -0.033182933926582336, -0.0013633078197017312, 0.03732861205935478, -0.02751542069017887, 0.010066830553114414, -0.023527171462774277, 0.0011293479474261403, 0.02527640387415886, 0.001571029075421393, -0.0603485070168972, 0.023439710959792137, 0.08025477081537247, 0.015358258038759232, 0.04128187894821167, 0.015480704605579376, -0.024349311366677284, -0.00048513858928345144, 0.036104150116443634, 0.03348030149936676, -0.01857684552669525, -0.0519871786236763, 0.04320603236556053, 0.05272185802459717, 0.0150084113702178, -0.0036537086125463247, 0.01316297147423029, 0.024086926132440567, -0.019678860902786255, 0.005479469429701567, -0.04079209268093109, -0.019171584397554398, 0.014291226863861084, 0.021043263375759125, -0.07136867195367813, -0.003918279893696308, -0.027165574952960014, -0.0513574555516243, 0.051707301288843155, -0.029806915670633316, 0.0050946385599672794, -0.022652555257081985, -0.00341100268997252, 0.010250500403344631, -0.044710371643304825, -0.004443049430847168, 0.09676752239465714, -0.004749165382236242, 0.019049137830734253, 0.0392877534031868, 0.008391940966248512, -0.013705234043300152, 0.034145012497901917, -0.014859726652503014, 0.01657397486269474, -0.07689624279737473, -0.0021231304854154587, -0.004639838356524706, -0.11663880199193954, 0.08403310924768448, 0.06804513186216354, 0.02190038561820984, -0.023527171462774277, -0.022320201620459557, 0.004064778331667185, 0.0021712344605475664, -0.011711109429597855, -0.06804513186216354, -0.04355588182806969, -0.03676886111497879, 0.029597006738185883, -0.015428227372467518, -0.030209239572286606, 0.028844837099313736, -0.03725864365696907, 0.007696621585637331, 0.026518359780311584, -0.0059561352245509624, -0.011798570863902569, 0.011527439579367638, -0.004049472510814667, -0.0008598568965680897, -0.06370703130960464, 0.05216210335493088, 0.05618533492088318, -0.07416744530200958, 0.006699559278786182, 0.011763585731387138, 0.02623848244547844, 0.02648337371647358, -0.06853491812944412, -0.042541325092315674, 0.007482340559363365, -0.017842167988419533, -0.041876617819070816, 0.05303671956062317, 0.03732861205935478, 0.05317665636539459, 0.04163172468543053, -0.026535851880908012, 0.03659393638372421, -0.028932299464941025, 0.01778969168663025, 0.08564240485429764, -0.00006067648791940883, -0.01577807404100895, 0.015095873735845089, -0.025293895974755287, -0.01308425609022379, -0.05118253082036972, -0.005496961995959282, -0.02704312838613987, -0.03073400817811489, -0.0016683301655575633, 0.0026828846894204617, -0.10376445204019547, -0.009865669533610344, -0.06412684917449951, -0.025731204077601433, 0.01852436736226082, -0.019014153629541397, -0.021340632811188698, 0.00023587302712257951, -0.03676886111497879, 0.08473280817270279, -0.03113633207976818, -0.001462795422412455, 0.04327600449323654, -0.04754412919282913, 0.019363999366760254, -0.0010484460508450866, -0.008470656350255013, 0.06549125164747238, 0.026203498244285583, -0.009996861219406128, 0.033830150961875916, 0.006157297175377607, 0.005011550150811672, 0.025451326742768288, -0.013897649012506008, 0.003006492741405964, 0.034092534333467484, -0.020710907876491547, -0.003542195074260235, -0.029562022536993027, 0.029264653101563454, 0.02809266746044159, 0.04950327053666115, 0.01850687526166439, -0.015428227372467518, -0.0199587382376194, -0.000941852165851742, -0.019591400399804115, 0.009647015482187271, -0.02107824757695198, -0.032238349318504333, 0.0009429454221390188, -0.04481532797217369, 0.019259044900536537, 0.041071970015764236, -0.02036106213927269, -0.027410468086600304, 0.052022162824869156, -0.015244558453559875, -0.08074455708265305, 0.03718867525458336, 0.010801508091390133, -0.023807048797607422, 0.007373013533651829, 0.05705995112657547, -0.026815729215741158, 0.010110561735928059, 0.038028307259082794, 0.02004620060324669, -0.03491467237472534, 0.0022040323819965124, 0.04037227854132652, -0.0059561352245509624, 0.013390371575951576, 0.012218386866152287, 0.02020363137125969, -0.06486152857542038, -0.041806649416685104, -0.004757911432534456, 0.07325784116983414, -0.001848719664849341, -0.04016236960887909, -0.06898971647024155, -0.046214714646339417, 0.047928959131240845, 0.01609293557703495, -0.025801174342632294, -0.0072899251244962215, -0.018769260495901108, 0.010993923991918564, -0.005706869997084141, 0.01034670788794756, 0.047369204461574554, 0.022022832185029984, 0.0320284403860569, -0.014466149732470512, -0.005606289021670818, 0.004722926765680313, -0.016696421429514885, 0.021917877718806267, 0.06433675438165665, 0.035439442843198776, 0.03194097802042961, -0.013967618346214294, -0.00953331496566534, 0.039077844470739365, -0.06832500547170639, -0.024681665003299713, 0.02179543301463127, -0.01287434808909893, -0.01794712245464325, -0.05377139523625374, -0.005256442353129387, -0.02664080448448658, -0.006926959380507469, 0.06244758889079094, 0.005580050405114889, 0.01866430602967739, -0.011851048097014427, -0.027620375156402588, -0.017649753019213676, -0.010171785019338131, 0.0198013074696064, 0.03138122335076332, 0.008321971632540226, 0.036174122244119644, -0.0003512130060698837, -0.018681799992918968, 0.02728802151978016, 0.045340098440647125, -0.0010008887620642781, -0.037538520991802216, 0.02664080448448658, -0.03160862624645233, -0.02809266746044159, 0.034547336399555206, 0.008028975687921047, -0.016276605427265167, 0.011579916812479496, 0.0028578080236911774, 0.02608105167746544, 0.01850687526166439, -0.04460541903972626, 0.020903324708342552, -0.0007784083136357367, 0.017439844086766243, -0.04617972671985626 ]
16,416
presidio_analyzer.recognizer_result
RecognizerResult
Recognizer Result represents the findings of the detected entity. Result of a recognizer analyzing the text. :param entity_type: the type of the entity :param start: the start location of the detected entity :param end: the end location of the detected entity :param score: the score of the detection :param analysis_explanation: contains the explanation of why this entity was identified :param recognition_metadata: a dictionary of metadata to be used in recognizer specific cases, for example specific recognized context words and recognizer name
class RecognizerResult: """ Recognizer Result represents the findings of the detected entity. Result of a recognizer analyzing the text. :param entity_type: the type of the entity :param start: the start location of the detected entity :param end: the end location of the detected entity :param score: the score of the detection :param analysis_explanation: contains the explanation of why this entity was identified :param recognition_metadata: a dictionary of metadata to be used in recognizer specific cases, for example specific recognized context words and recognizer name """ # Keys for recognizer metadata RECOGNIZER_NAME_KEY = "recognizer_name" RECOGNIZER_IDENTIFIER_KEY = "recognizer_identifier" # Key of a flag inside recognition_metadata dictionary # which is set to true if the result enhanced by context IS_SCORE_ENHANCED_BY_CONTEXT_KEY = "is_score_enhanced_by_context" logger = logging.getLogger("presidio-analyzer") def __init__( self, entity_type: str, start: int, end: int, score: float, analysis_explanation: AnalysisExplanation = None, recognition_metadata: Dict = None, ): self.entity_type = entity_type self.start = start self.end = end self.score = score self.analysis_explanation = analysis_explanation if not recognition_metadata: self.logger.debug( "recognition_metadata should be passed, " "containing a recognizer_name value" ) self.recognition_metadata = recognition_metadata def append_analysis_explanation_text(self, text: str) -> None: """Add text to the analysis explanation.""" if self.analysis_explanation: self.analysis_explanation.append_textual_explanation_line(text) def to_dict(self) -> Dict: """ Serialize self to dictionary. :return: a dictionary """ return self.__dict__ @classmethod def from_json(cls, data: Dict) -> "RecognizerResult": """ Create RecognizerResult from json. :param data: e.g. { "start": 24, "end": 32, "score": 0.8, "entity_type": "NAME" } :return: RecognizerResult """ score = data.get("score") entity_type = data.get("entity_type") start = data.get("start") end = data.get("end") return cls(entity_type, start, end, score) def __repr__(self) -> str: """Return a string representation of the instance.""" return self.__str__() def intersects(self, other: "RecognizerResult") -> int: """ Check if self intersects with a different RecognizerResult. :return: If intersecting, returns the number of intersecting characters. If not, returns 0 """ # if they do not overlap the intersection is 0 if self.end < other.start or other.end < self.start: return 0 # otherwise the intersection is min(end) - max(start) return min(self.end, other.end) - max(self.start, other.start) def contained_in(self, other: "RecognizerResult") -> bool: """ Check if self is contained in a different RecognizerResult. :return: true if contained """ return self.start >= other.start and self.end <= other.end def contains(self, other: "RecognizerResult") -> bool: """ Check if one result is contained or equal to another result. :param other: another RecognizerResult :return: bool """ return self.start <= other.start and self.end >= other.end def equal_indices(self, other: "RecognizerResult") -> bool: """ Check if the indices are equal between two results. :param other: another RecognizerResult :return: """ return self.start == other.start and self.end == other.end def __gt__(self, other: "RecognizerResult") -> bool: """ Check if one result is greater by using the results indices in the text. :param other: another RecognizerResult :return: bool """ if self.start == other.start: return self.end > other.end return self.start > other.start def __eq__(self, other: "RecognizerResult") -> bool: """ Check two results are equal by using all class fields. :param other: another RecognizerResult :return: bool """ equal_type = self.entity_type == other.entity_type equal_score = self.score == other.score return self.equal_indices(other) and equal_type and equal_score def __hash__(self): """ Hash the result data by using all class fields. :return: int """ return hash( f"{str(self.start)} {str(self.end)} {str(self.score)} {self.entity_type}" ) def __str__(self) -> str: """Return a string representation of the instance.""" return ( f"type: {self.entity_type}, " f"start: {self.start}, " f"end: {self.end}, " f"score: {self.score}" ) def has_conflict(self, other: "RecognizerResult") -> bool: """ Check if two recognizer results are conflicted or not. I have a conflict if: 1. My indices are the same as the other and my score is lower. 2. If my indices are contained in another. :param other: RecognizerResult :return: """ if self.equal_indices(other): return self.score <= other.score return other.contains(self)
(entity_type: str, start: int, end: int, score: float, analysis_explanation: presidio_analyzer.analysis_explanation.AnalysisExplanation = None, recognition_metadata: Dict = None)
[ 0.03237152099609375, -0.07290425896644592, -0.06150198355317116, 0.018284637480974197, 0.02579178474843502, -0.02596750482916832, -0.03086813911795616, -0.045296698808670044, 0.02727564238011837, -0.008161216042935848, 0.01175371278077364, 0.006789623759686947, -0.0027919949498027563, 0.005213025491684675, -0.021320687606930733, 0.005281360819935799, -0.009601143188774586, 0.005120284389704466, -0.014701902866363525, -0.007243567146360874, -0.015082629397511482, -0.0005082455463707447, -0.008844571188092232, 0.030926711857318878, 0.009615786373615265, -0.008537061512470245, 0.01446761004626751, -0.04588243365287781, -0.025186527520418167, 0.004583362024277449, -0.04482811316847801, -0.06376682221889496, 0.035729724913835526, 0.002713897032663226, -0.05587894469499588, -0.06970225274562836, -0.008917788043618202, 0.08208074420690536, -0.043812841176986694, 0.05896380916237831, -0.09496687352657318, 0.00003744726564036682, -0.02577226050198078, -0.021066870540380478, -0.017718428745865822, -0.01536573376506567, -0.02563558891415596, 0.006774980574846268, 0.020481137558817863, -0.07552053034305573, 0.0032239730935543776, -0.09801268577575684, -0.03465588018298149, 0.050216857343912125, -0.034597307443618774, 0.013569485396146774, 0.00026434261235408485, 0.06728121638298035, -0.013218045234680176, -0.03422634303569794, 0.02663133479654789, 0.009264346212148666, 0.004414964001625776, 0.058221880346536636, -0.016966737806797028, 0.002349034184589982, -0.029169512912631035, 0.034597307443618774, -0.024054110050201416, 0.015326685272157192, 0.009181368164718151, -0.005281360819935799, 0.052013106644153595, -0.0126518364995718, 0.023077888414263725, 0.01772819086909294, -0.044789064675569534, 0.00037248971057124436, 0.11558467894792557, -0.006472351495176554, 0.026338469237089157, 0.02661181055009365, 0.02089115045964718, -0.09254584461450577, 0.025440344586968422, -0.013813541270792484, -0.007131301332265139, -0.043929990381002426, 0.004683424718677998, -0.058924756944179535, -0.04471096768975258, 0.03678404539823532, -0.00285300868563354, 0.02926713414490223, -0.017025310546159744, 0.06505542993545532, 0.006731050554662943, -0.1005118116736412, -0.01593194343149662, -0.03291820362210274, -0.018118679523468018, 0.10847778618335724, -0.005769472103565931, 0.01675196923315525, 0.010972735472023487, -0.01904609054327011, -0.04088417813181877, 0.01395997405052185, 0.03875601291656494, 0.07044418156147003, -0.055488456040620804, 0.0052667176350951195, -0.032586291432380676, 0.024717940017580986, 0.02430792711675167, -0.049045391380786896, -0.03008716180920601, 0.008034306578338146, -0.027236593887209892, 0.03875601291656494, 0.06755456328392029, -0.018821559846401215, -0.029364757239818573, 0.04154800623655319, -0.045257650315761566, -0.01937800645828247, 0.010318666696548462, 0.05685516819357872, 0.009894009679555893, -0.0666564330458641, -0.0012568858219310641, 0.004327103961259127, -0.027841851115226746, 0.04209469258785248, 0.04584338515996933, 0.0591590516269207, 0.004622410982847214, 0.01610766351222992, -0.02397601120173931, 0.02581130899488926, 0.019993025809526443, -0.022218812257051468, 0.043969038873910904, -0.0446719191968441, -0.05279408395290375, -0.039205074310302734, -0.012212537229061127, 0.028544731438159943, -0.029989538714289665, -0.02762708254158497, 0.010855588130652905, -0.030653370544314384, 0.04978732019662857, -0.021164491772651672, 0.007121539209038019, -0.036061640828847885, 0.02253120392560959, -0.08020639419555664, 0.006101387552917004, 0.005974478553980589, 0.00394637743011117, -0.0923115536570549, 0.04553099349141121, -0.00000526721350979642, 0.018977755680680275, 0.02563558891415596, 0.013276618905365467, -0.01553169172257185, -0.035729724913835526, -0.00439543928951025, -0.008371103554964066, 0.0030873019713908434, -0.05603514239192009, -0.0017718429444357753, -0.03904888033866882, 0.0916086733341217, 0.007907398045063019, 0.03789693862199783, -0.005559584125876427, -0.00347046903334558, 0.02071543037891388, -0.03678404539823532, -0.06091625243425369, -0.057440903037786484, 0.01536573376506567, 0.010845826007425785, 0.03125862777233124, 0.02581130899488926, 0.0315905436873436, 0.033425841480493546, -0.0009426643373444676, -0.055800847709178925, -0.0023624571040272713, 0.0033337981440126896, 0.013471863232553005, 0.01562931388616562, -0.0321957990527153, 0.004317341838032007, 0.007316783536225557, -0.0018352973274886608, -0.06216581538319588, 0.017327940091490746, -0.003592496970668435, 0.02614322490990162, -0.027880899608135223, 0.023761242628097534, -0.017445087432861328, 0.0635325238108635, -0.028857121244072914, -0.06564116477966309, -0.07212328165769577, -0.03818980231881142, 0.008234431967139244, 0.010494385845959187, 0.07513004541397095, -0.06856983155012131, 0.06228296086192131, 0.03038002736866474, 0.006340561900287867, -0.013423052616417408, 0.04978732019662857, -0.0643915981054306, -0.009142318740487099, -0.010592008009552956, -0.011880621314048767, 0.024249354377388954, -0.031981032341718674, -0.005457080900669098, 0.03584687039256096, -0.0539265014231205, 0.031981032341718674, -0.05474652722477913, -0.004864025861024857, -0.021633079275488853, -0.033601559698581696, 0.02922808565199375, 0.04486716166138649, 0.06985844671726227, -0.02647514082491398, -0.015033818781375885, 0.01288613025099039, 0.021398786455392838, -0.02891569584608078, -0.030165258795022964, -0.062478207051754, -0.05482462793588638, 0.0863761231303215, -0.011880621314048767, 0.017132695764303207, -0.007507146801799536, -0.0017816050676628947, -0.046897705644369125, 0.001399658271111548, -0.0004399100143928081, 0.02038351446390152, -0.047756779938936234, -0.06978034973144531, 0.013032563030719757, 0.06966319680213928, -0.019329195842146873, 0.011451084166765213, 0.03662784770131111, -0.003975663799792528, 0.03768216818571091, -0.06528972834348679, -0.0028749736957252026, -0.013559723272919655, 0.0325472392141819, -0.0018182133790105581, -0.03157101944088936, 0.0001825840154197067, 0.005950072780251503, -0.04486716166138649, -0.022804545238614082, -0.03432396426796913, 0.07489574700593948, -0.040845125913619995, 0.006194128654897213, -0.05771424248814583, 0.023722194135189056, 0.006374729331582785, 0.003651070175692439, -0.012710410170257092, -0.030145734548568726, 0.08059688657522202, -0.00887873861938715, 0.011704901233315468, 0.026065126061439514, 0.0024649605620652437, -0.0469367541372776, -0.010845826007425785, -0.019319433718919754, 0.05162261798977852, 0.0026919320225715637, 0.05271598696708679, 0.010660343803465366, 0.0044296071864664555, -0.04603862762451172, -0.032137226313352585, -0.040649883449077606, 0.008454082533717155, 0.030321454629302025, 0.09988703578710556, -0.037701692432165146, -0.051817864179611206, 0.019319433718919754, 0.059237148612737656, -0.032469142228364944, 0.042641375213861465, -0.038033608347177505, -0.025713687762618065, 0.01662505976855755, 0.01988564245402813, -0.02596750482916832, -0.0335039384663105, -0.0022306672763079405, 0.03627640753984451, 0.011226552538573742, 0.024386024102568626, 0.0535750612616539, -0.019104663282632828, 0.035729724913835526, 0.011255839839577675, 0.004095251206308603, 0.10246425867080688, -0.1003556177020073, 0.013842827640473843, 0.04022034630179405, 0.027041349560022354, -0.018977755680680275, -0.03243009373545647, -0.07181088626384735, -0.02153545618057251, 0.006340561900287867, 0.021262114867568016, -0.04900634288787842, 0.02497175894677639, 0.0030824209097772837, 0.01313994824886322, -0.022277384996414185, 0.02860330417752266, -0.05045115202665329, 0.0034314203076064587, 0.03453873470425606, 0.05189596116542816, -0.021906420588493347, -0.0015412104548886418, -0.03449968621134758, 0.027021823450922966, -0.0029140226542949677, -0.046585313975811005, -0.00920089241117239, 0.04143086075782776, 0.017220554873347282, 0.035104941576719284, -0.03467540442943573, -0.01596122980117798, -0.0788787379860878, 0.02251167967915535, -0.021125443279743195, -0.027021823450922966, -0.005427794065326452, -0.032156750559806824, 0.027841851115226746, -0.048537757247686386, -0.012964228168129921, -0.026592286303639412, -0.03024335764348507, 0.015141203068196774, -0.030204307287931442, -0.03004811331629753, -0.03500732034444809, -0.05076354369521141, -0.0072972592897713184, 0.06443065404891968, -0.002953071380034089, 0.01543406955897808, 0.04303186386823654, -0.0364716537296772, 0.001064081909134984, 0.02350742556154728, 0.07989400625228882, -0.0535750612616539, 0.018948469310998917, 0.003050693776458502, -0.04303186386823654, 0.00918624922633171, 0.0040903701446950436, 0.017445087432861328, 0.027841851115226746, -0.025186527520418167, -0.0038170279003679752, 0.010055086575448513, -0.021164491772651672, -0.05127117782831192, 0.006765218451619148, -0.0713813528418541, 0.005749947391450405, -0.041508957743644714, -0.010533435270190239, 0.0016827626386657357, -0.003655951237305999, 0.032273899763822556, 0.00921553559601307, 0.007126420270651579, 0.010543197393417358, 0.06583640724420547, -0.006164841819554567, -0.02614322490990162, 0.02348790131509304, -0.042992815375328064, -0.03678404539823532, 0.011109406128525734, 0.018850846216082573, -0.08325221389532089, -0.01305208820849657, 0.0017388954292982817, 0.05439508706331253, -0.020910674706101418, 0.07134230434894562, -0.012759221717715263, 0.03662784770131111, 0.06599260866641998, 0.04900634288787842, -0.012241823598742485, 0.009464472532272339, -0.023370753973722458, 0.005642563104629517, -0.027509935200214386, -0.04619482532143593, -0.002167212776839733, -0.008908025920391083, -0.02284359373152256, -0.07216233015060425, -0.015678124502301216, -0.018333448097109795, -0.02594798058271408, -0.034929223358631134, 0.027998046949505806, 0.007629174739122391, 0.01856774277985096, 0.020637333393096924, 0.04506240785121918, 0.03762359544634819, 0.03875601291656494, -0.04459381848573685, -0.04365664720535278, -0.0004716372350230813, -0.006194128654897213, -0.03711596131324768, 0.03627640753984451, 0.02940380573272705, 0.023448852822184563, 0.03287915512919426, 0.03108290769159794, 0.014526182785630226, -0.026416566222906113, 0.01445784792304039, -0.007990377023816109, -0.0038097063079476357, -0.016332194209098816, 0.008390627801418304, -0.029696673154830933, 0.04521860182285309, -0.01826511323451996, 0.011119168251752853, 0.0256551131606102, -0.018841084092855453, -0.09059339761734009, 0.0007669443730264902, 0.023058362305164337, -0.04861585423350334, 0.02663133479654789, -0.010406526736915112, 0.009913533926010132, 0.0457262359559536, 0.038697440177202225, -0.03959556296467781, 0.007072728127241135, 0.025206051766872406, 0.05900285765528679, -0.020344465970993042, -0.02366362139582634, -0.01610766351222992, 0.014477372169494629, 0.003341119736433029, 0.010484623722732067, -0.030282406136393547, -0.04096227511763573, -0.004990934859961271, -0.022082140669226646, 0.01624433323740959, 0.014682378619909286, 0.009728051722049713, -0.016322432085871696, 0.017161982133984566, 0.03602259233593941, 0.01575622335076332, 0.011216790415346622, -0.02924760989844799, 0.021613555029034615, -0.030692419037222862, -0.0279199481010437, -0.01840178482234478, 0.08317410945892334, 0.00798061490058899, -0.02184784784913063, 0.01789414882659912, -0.03354298695921898, 0.022609300911426544, -0.08215884119272232, -0.031629592180252075, 0.11745902895927429, -0.015717172995209694, -0.022921692579984665, -0.005808520596474409, -0.020617807283997536, 0.004698068369179964, -0.025420820340514183, -0.032469142228364944, -0.02434697560966015, 0.0230388380587101, 0.007482741493731737, -0.033757757395505905, 0.026514189317822456, 0.05213025212287903, 0.016234571114182472, -0.014750714413821697, 0.02975524589419365, -0.020285893231630325, -0.008117285557091236, -0.042055644094944, 0.014985007233917713, 0.01792343519628048, 0.038521718233823776, 0.07001464068889618, 0.03781883791089058, -0.017786763608455658, 0.03157101944088936, 0.047600582242012024, 0.055137015879154205, 0.03692071512341499, -0.05833902582526207, -0.05966668576002121, 0.07524719089269638, 0.03483159840106964, 0.023429326713085175, 0.00888850074261427, -0.023565998300909996, 0.003926852717995644, 0.031981032341718674, -0.00193169922567904, 0.01645910181105137, -0.00694093806669116, 0.016215046867728233, 0.04096227511763573, 0.021633079275488853, -0.04353950172662735, 0.09551355987787247, 0.030340978875756264, 0.029130464419722557, -0.01726936735212803, -0.01560002751648426, -0.027334215119481087, -0.055293213576078415, 0.043969038873910904, 0.001202583429403603, 0.07204518467187881, -0.07345094531774521, -0.012212537229061127, 0.036081165075302124, 0.008639564737677574, -0.019182762131094933, -0.010377239435911179, -0.050880689173936844, 0.046741507947444916, -0.011236314661800861, -0.007346070371568203, 0.017171744257211685, -0.01739627495408058, 0.018450595438480377, 0.017669618129730225, 0.03137577325105667, -0.07044418156147003, 0.013393765315413475, 0.007829300127923489, -0.029364757239818573, 0.005051948595792055, 0.03926364704966545, -0.006682239472866058, -0.05244264379143715, 0.02891569584608078, 0.013364478945732117, 0.009698765352368355, 0.03801408410072327, 0.0427585244178772, -0.001554633490741253, -0.007287497166544199, 0.014262602664530277, -0.05435603857040405, -0.001260546618141234, -0.044789064675569534, -0.04365664720535278, -0.027666131034493446, 0.048732999712228775, -0.011558468453586102, -0.013608534820377827, 0.018011296167969704, 0.011402272619307041, -0.00439055822789669, 0.013393765315413475, -0.017611045390367508, 0.019914928823709488, -0.024366499856114388, 0.015141203068196774, -0.03824837878346443, -0.012007530778646469, 0.0665002390742302, 0.01920228637754917, 0.03684261813759804, 0.03405062109231949, 0.03789693862199783, 0.004102572798728943, 0.0046468167565763, -0.03120005503296852, -0.013393765315413475, 0.0049689700827002525, -0.06259535253047943, 0.007853705435991287, -0.0699755921959877, 0.01957325078547001, -0.009942821227014065, 0.032937727868556976, -0.05091973766684532, -0.026026077568531036, 0.017493898048996925, 0.050880689173936844, 0.02188689634203911, -0.0066383094526827335, 0.02253120392560959, -0.03818980231881142, -0.008512655273079872, -0.04107942059636116, 0.05638658255338669, -0.05814377963542938, 0.001497280434705317, -0.02366362139582634, -0.0012111254036426544, 0.07020988315343857, 0.06036956608295441, 0.003975663799792528, 0.09449828416109085, -0.011948957107961178, -0.023448852822184563, -0.03282058238983154, 0.01837249845266342, 0.009825673885643482, -0.02169165201485157, -0.000810874393209815, 0.05255979299545288, -0.033601559698581696, 0.06532877683639526, 0.0038438739720731974, -0.045765288174152374, 0.015063105151057243, 0.0009975768625736237, 0.035573527216911316, -0.006789623759686947, 0.05966668576002121, 0.05115403234958649, 0.02087162621319294, -0.0030897425021976233, 0.025440344586968422, 0.0450233593583107, 0.0016742206644266844, 0.03266438841819763, 0.011909907683730125, -0.022414056584239006, 0.007477860432118177, -0.06786695122718811, 0.032137226313352585, 0.0384826697409153, -0.016234571114182472, -0.008746949024498463, -0.009967226535081863, 0.014623804949223995, 0.0007791471434757113, -0.04373474419116974, 0.028017571195960045, -0.0364716537296772, -0.027041349560022354, 0.009381493553519249, 0.007160588167607784, -0.03479254990816116, 0.00702879810705781, 0.025069380179047585, -0.05255979299545288, -0.061853423714637756, -0.03151244670152664, -0.020910674706101418, 0.0431099608540535, -0.025186527520418167, -0.009854961186647415, -0.01609789952635765, -0.03371870890259743, 0.049045391380786896, -0.04752248525619507, -0.015219300985336304, 0.053965549916028976, -0.035104941576719284, 0.06118959188461304, 0.05162261798977852, 0.032605815678834915, -0.0016839829040691257, 0.009156961925327778, 0.03207865357398987, 0.042641375213861465, 0.05962763726711273, 0.010299141518771648, -0.007316783536225557, 0.02465936727821827, 0.02200404368340969, 0.03461683169007301, 0.04685865342617035, -0.026240846142172813, 0.016039326786994934, 0.05076354369521141, -0.0706784725189209, 0.017835576087236404, -0.028134716674685478, -0.04744438827037811, 0.01794295944273472, -0.0568942166864872, -0.049396831542253494, -0.061384838074445724, -0.031239103525877, 0.03776026517152786, -0.04717104509472847, 0.025108428671956062, 0.04978732019662857, 0.009342444129288197, 0.01158775482326746, -0.02499128319323063, -0.018626315519213676, -0.011607279069721699, 0.03746739774942398, 0.05240359529852867, 0.03248866647481918, -0.028818072751164436, -0.015590265393257141, 0.08606372773647308, 0.014321176335215569, 0.020949723199009895, 0.021574506536126137, 0.029638098552823067, 0.0355149544775486, 0.036061640828847885, -0.004414964001625776, 0.03797503560781479, -0.01707412302494049, 0.00402691587805748, -0.03660832345485687, -0.01010389719158411, -0.0022233454510569572, -0.04900634288787842, 0.04010319709777832, -0.0026675264816731215, 0.0483425110578537 ]
16,417
presidio_analyzer.recognizer_result
__eq__
Check two results are equal by using all class fields. :param other: another RecognizerResult :return: bool
def __eq__(self, other: "RecognizerResult") -> bool: """ Check two results are equal by using all class fields. :param other: another RecognizerResult :return: bool """ equal_type = self.entity_type == other.entity_type equal_score = self.score == other.score return self.equal_indices(other) and equal_type and equal_score
(self, other: presidio_analyzer.recognizer_result.RecognizerResult) -> bool
[ 0.034304216504096985, -0.05835787206888199, -0.03574743494391441, 0.0378197506070137, -0.03926296904683113, -0.04821833223104477, -0.03471127897500992, -0.0069061750546097755, 0.028531337156891823, 0.029585998505353928, -0.0006487548816949129, -0.04651607200503349, 0.05251098424196243, 0.05669261887669563, 0.006670264061540365, -0.04433273896574974, -0.02002004347741604, 0.03315703943371773, 0.002819366054609418, -0.007983963936567307, -0.03080718405544758, 0.04144630208611488, 0.00899699330329895, 0.049291495233774185, 0.018336288630962372, 0.042741499841213226, 0.025903938338160515, -0.02007555216550827, -0.02908642217516899, 0.07308611273765564, -0.061207305639982224, -0.06945955753326416, 0.04851437732577324, 0.06102227792143822, -0.0318063348531723, -0.05021663382649422, -0.019094903022050858, 0.08074627816677094, -0.03572893142700195, 0.015394340269267559, -0.04422172158956528, -0.04015110433101654, -0.019686993211507797, -0.0077295503579080105, -0.0251823291182518, -0.023165522143244743, -0.04362963140010834, -0.035451389849185944, 0.018771104514598846, -0.029234444722533226, -0.030770178884267807, -0.06350165605545044, -0.005726620554924011, 0.07734175771474838, -0.028901394456624985, 0.023461567237973213, 0.021056201308965683, 0.06468583643436432, -0.06616605818271637, 0.02488628402352333, -0.01950196549296379, -0.01593092270195484, -0.008793462067842484, 0.010037776082754135, -0.008326265960931778, -0.03800477832555771, -0.09214401245117188, 0.03811579570174217, 0.010380078107118607, 0.03182483837008476, -0.027624700218439102, 0.000037547699321294203, 0.018965383991599083, 0.01481150183826685, -0.017596175894141197, 0.024682752788066864, -0.02423868514597416, 0.0820784792304039, 0.07652763277292252, -0.03628401830792427, -0.0020249015651643276, -0.008626936934888363, -0.0015172306448221207, -0.06875645369291306, -0.07748977839946747, -0.019242925569415092, -0.03226890414953232, -0.0149872787296772, 0.034248705953359604, -0.046923134475946426, -0.02581142447888851, 0.018678590655326843, 0.010343072935938835, -0.018373293802142143, 0.010685374960303307, 0.06860843300819397, -0.00040879653533920646, -0.07652763277292252, -0.045664943754673004, -0.019668489694595337, -0.00532418442890048, 0.07785983383655548, 0.022554928436875343, 0.019649988040328026, -0.009741730988025665, 0.015764396637678146, -0.02545987069606781, -0.03567342460155487, -0.003330506384372711, 0.042963530868291855, -0.03776424005627632, 0.04962454363703728, -0.03019659034907818, 0.04455477371811867, 0.011786292307078838, -0.08933158218860626, 0.011009173467755318, 0.012045331299304962, -0.05206691473722458, 0.026662552729249, 0.08370672911405563, 0.05010561645030975, -0.007206845562905073, 0.03981805220246315, 0.02305450476706028, -0.01288720965385437, 0.060948267579078674, 0.04725618287920952, -0.06276154518127441, -0.03315703943371773, 0.01421941164880991, -0.018484311178326607, -0.02880888059735298, 0.09399428963661194, 0.06635108590126038, 0.038189806044101715, 0.02991904877126217, 0.02124122902750969, 0.00825225468724966, 0.008150489069521427, 0.024090662598609924, 0.03391565755009651, 0.06994063407182693, -0.010629866272211075, -0.030326111242175102, 0.0016120575601235032, -0.06350165605545044, 0.027735717594623566, -0.02125973254442215, -0.00796546135097742, -0.009963764809072018, -0.01318325474858284, 0.05428725481033325, -0.02277696318924427, -0.07149486988782883, -0.028901394456624985, 0.006563873030245304, -0.08370672911405563, 0.01582915708422661, -0.007479762192815542, -0.010851900093257427, -0.04651607200503349, 0.028956903144717216, -0.01481150183826685, 0.016948577016592026, 0.018669338896870613, -0.052622001618146896, -0.011749286204576492, -0.012970471754670143, -0.014145400375127792, -0.0071744658052921295, -0.01765168458223343, -0.031066223978996277, -0.03202836960554123, -0.030363116413354874, 0.05661860853433609, -0.0034600261133164167, 0.015736643224954605, 0.010222803801298141, -0.013294271193444729, 0.025533882901072502, -0.050475675612688065, -0.04288952052593231, -0.031269755214452744, 0.04714516922831535, 0.011545754969120026, 0.0008060287800617516, 0.024997301399707794, 0.0005276192678138614, 0.03841184079647064, 0.0027985505294054747, -0.018040243536233902, -0.03715365007519722, -0.025330351665616035, 0.02101919613778591, -0.02272145450115204, -0.02242540940642357, 0.0016583146061748266, 0.031269755214452744, 0.07471436262130737, -0.0623914860188961, -0.021703800186514854, -0.015024283900856972, 0.02573741227388382, -0.003566417144611478, -0.0075769019313156605, 0.0047020274214446545, 0.030048567801713943, 0.024331199005246162, -0.06512989848852158, -0.03717214986681938, -0.014922518283128738, 0.01674504578113556, 0.009797239676117897, 0.05846888944506645, 0.009519697166979313, 0.036080487072467804, -0.021130211651325226, -0.004792228806763887, 0.023295041173696518, 0.07926604896783829, -0.061836402863264084, -0.019335439428687096, 0.015588619746267796, -0.002132449299097061, 0.02488628402352333, -0.04644206166267395, 0.015755144879221916, -0.03139927238225937, -0.0658700168132782, 0.024479221552610397, 0.01889137178659439, 0.019649988040328026, -0.014441445469856262, -0.014589468017220497, 0.04466579109430313, 0.02786523662507534, 0.06494487076997757, -0.06302057951688766, -0.003901780815795064, -0.008104232139885426, 0.02068614587187767, -0.008307763375341892, -0.009510446339845657, -0.024035153910517693, -0.07808186858892441, 0.040299128741025925, 0.0013287332840263844, -0.0027337905485183, -0.0055878497660160065, -0.015764396637678146, -0.05547143518924713, -0.012156347744166851, -0.021167218685150146, 0.023794617503881454, -0.020908178761601448, -0.10117337852716446, -0.009787987917661667, 0.07837791740894318, -0.014348931610584259, 0.0041469428688287735, 0.06364967674016953, 0.011434738524258137, -0.006647135596722364, -0.08725926280021667, -0.007072700187563896, 0.0040706186555325985, 0.06905249506235123, 0.030603652819991112, -0.04096522927284241, 0.07978413254022598, -0.002479376969859004, -0.05202991142868996, 0.04285251349210739, -0.02481227181851864, 0.046923134475946426, -0.02190733142197132, -0.019909026101231575, -0.05957905948162079, -0.01183254923671484, 0.010324569419026375, 0.005430575460195541, 0.00022998418717179447, -0.04218641296029091, 0.01918741688132286, 0.004297278355807066, -0.0024423713330179453, -0.027328655123710632, 0.0011124815791845322, -0.08074627816677094, 0.004093747586011887, -0.009787987917661667, 0.0850389301776886, -0.0034669646993279457, -0.011323721148073673, 0.010870402678847313, -0.0010188111336901784, -0.03471127897500992, -0.005356564186513424, 0.027606196701526642, -0.02843882329761982, 0.017762700095772743, 0.05417623743414879, -0.025996452197432518, 0.005393569823354483, 0.015801401808857918, 0.01704109087586403, 0.03565492108464241, 0.0569886639714241, -0.00020916851644869894, 0.01481150183826685, 0.06102227792143822, 0.000056845557992346585, 0.02908642217516899, 0.014450697228312492, 0.013830852694809437, 0.012850203551352024, 0.002840181812644005, -0.0037144396919757128, 0.06102227792143822, -0.028309304267168045, 0.0269215926527977, -0.021426256746053696, 0.028309304267168045, 0.018401047214865685, -0.115013487637043, -0.023147018626332283, 0.023868629708886147, 0.00019818247528746724, 0.01770719140768051, -0.018206767737865448, -0.045627936720848083, 0.04337059333920479, 0.004172384273260832, 0.007692544721066952, -0.05354714021086693, 0.03025209903717041, 0.04226042330265045, 0.02101919613778591, 0.025015803053975105, 0.024405211210250854, -0.05654459819197655, 0.01731863245368004, -0.024645747616887093, 0.03465576842427254, 0.004137691576033831, -0.08577904105186462, 0.00591627461835742, 0.03152879327535629, -0.027051113545894623, -0.0766756609082222, -0.04592398181557655, 0.05684064328670502, -0.008391025476157665, 0.037616219371557236, 0.033989667892456055, 0.0062493253499269485, -0.020797161385416985, -0.00916351843625307, -0.012054583057761192, 0.04348161071538925, -0.02814277820289135, -0.004641893319785595, -0.0064852358773350716, -0.02816128171980381, 0.02275845967233181, -0.010888905264437199, -0.05029064416885376, -0.02275845967233181, -0.025089815258979797, -0.06424176692962646, -0.0013645824510604143, -0.04314855858683586, -0.03796777129173279, 0.027994755655527115, -0.021777810528874397, -0.07486238330602646, 0.05051267892122269, -0.022073855623602867, -0.030474133789539337, 0.06609205156564713, 0.03800477832555771, -0.034581758081912994, 0.028901394456624985, -0.011490247212350368, -0.01614370383322239, -0.01946495845913887, 0.03472977876663208, 0.014182406477630138, 0.06860843300819397, -0.04943951591849327, -0.008599182590842247, -0.02930845506489277, -0.01621771603822708, -0.052881039679050446, 0.009778737090528011, -0.08318864554166794, 0.0026158352848142385, -0.08718525618314743, -0.0437406487762928, 0.014996529556810856, 0.03558091074228287, 0.007896075025200844, 0.012692930176854134, -0.027957750484347343, 0.05684064328670502, 0.013201757334172726, 0.01511679869145155, -0.04510985687375069, 0.006869169417768717, -0.043555621057748795, -0.003298126393929124, 0.017466655001044273, -0.009621462784707546, -0.06675814837217331, -0.010814893990755081, 0.04881042242050171, 0.03260195627808571, 0.04733019694685936, 0.06054120510816574, 0.005698866210877895, 0.04551691934466362, 0.006568498443812132, 0.012443142011761665, -0.004399043973535299, -0.020205071195960045, 0.014182406477630138, 0.050438668578863144, -0.0015762083930894732, -0.039410993456840515, -0.03926296904683113, -0.03152879327535629, 0.01618071086704731, -0.02366509847342968, 0.021629787981510162, -0.0004073510062880814, -0.017429649829864502, -0.04022511467337608, -0.0035178472753614187, 0.035525400191545486, 0.01374758966267109, -0.029771026223897934, -0.0012408449547365308, 0.004459178075194359, -0.0016999460058286786, -0.06487086415290833, -0.010037776082754135, -0.000028061394914402626, -0.006318710744380951, -0.012017576955258846, 0.011564258486032486, 0.04170534014701843, -0.02607046440243721, -0.017586924135684967, 0.041187260299921036, -0.003284249221906066, -0.04666409641504288, -0.019686993211507797, -0.003274997929111123, -0.008039472624659538, -0.04340760037302971, -0.00007271027425304055, -0.053140077739953995, 0.03273147717118263, -0.01647675596177578, 0.030992211773991585, -0.0026944722048938274, -0.0008378304773941636, 0.0018699405482038856, 0.038744889199733734, 0.0008777271723374724, -0.06749825924634933, 0.002967388601973653, -0.0028864387422800064, -0.017901470884680748, 0.03959602117538452, 0.016680285334587097, 0.014950272627174854, -0.037283167243003845, 0.033360570669174194, -0.016569269821047783, 0.012461644597351551, 0.015237066894769669, -0.03593246266245842, 0.038448844105005264, -0.023554081097245216, -0.012017576955258846, -0.004442987963557243, -0.014182406477630138, -0.026255492120981216, 0.00007177067891461775, -0.023794617503881454, -0.029437975957989693, 0.022906482219696045, 0.019835015758872032, -0.017253873869776726, 0.011508749797940254, 0.04699714481830597, -0.021666795015335083, 0.012063833884894848, 0.03870788589119911, 0.00221108621917665, -0.05032765120267868, -0.002076940843835473, 0.05573047325015068, 0.004972631111741066, -0.0016004933277145028, -0.043333590030670166, -0.027791224420070648, 0.043555621057748795, -0.04829234257340431, -0.045701947063207626, 0.05713668838143349, -0.03154729679226875, 0.05476832762360573, 0.023165522143244743, -0.02040860243141651, -0.06102227792143822, -0.012369130738079548, -0.008733327500522137, 0.012822449207305908, 0.01440444029867649, -0.006189190782606602, -0.04651607200503349, -0.016846811398863792, 0.042445454746484756, -0.019057897850871086, 0.008918356150388718, 0.06479685008525848, -0.06209544092416763, -0.013951120898127556, -0.050734713673591614, -0.015385089442133904, 0.046849124133586884, -0.016097446903586388, 0.06723922491073608, 0.0014594093663617969, -0.00449387077242136, 0.03239842504262924, 0.06024516001343727, 0.027014106512069702, 0.014922518283128738, -0.03138077259063721, -0.029012411832809448, 0.03661706671118736, 0.0712728351354599, -0.008802712894976139, -0.004926374182105064, -0.008081103675067425, 0.030733171850442886, 0.00553696695715189, -0.003147791139781475, 0.031880345195531845, -0.03330506384372711, -0.015329580754041672, 0.049217481166124344, -0.0018340913811698556, -0.026162978261709213, 0.10376377403736115, 0.04510985687375069, 0.04799629747867584, -0.04144630208611488, 0.05791380628943443, -0.010787139646708965, -0.03889291360974312, -0.018077248707413673, 0.019612981006503105, 0.02125973254442215, -0.023258036002516747, 0.028938399627804756, 0.017771951854228973, -0.008571428246796131, -0.034285712987184525, -0.008909104391932487, 0.021333742886781693, 0.003036774229258299, -0.014182406477630138, 0.00099336972925812, -0.014117646031081676, -0.03509983792901039, -0.01674504578113556, 0.0474042072892189, 0.036135993897914886, -0.060319170355796814, -0.010296815074980259, -0.0395590141415596, -0.00806722603738308, -0.02244391292333603, 0.02545987069606781, -0.026533033698797226, -0.05221493914723396, 0.06261351704597473, -0.0006435509421862662, -0.0031223497353494167, 0.024405211210250854, -0.01705034263432026, -0.002339449478313327, -0.008608433417975903, 0.004542440641671419, -0.028975404798984528, 0.04855138063430786, -0.01827152818441391, -0.01916891522705555, -0.04877341538667679, 0.04222341999411583, -0.032194893807172775, -0.04714516922831535, 0.016846811398863792, 0.03384164348244667, 0.03676509112119675, 0.0636126697063446, 0.00023995836090762168, 0.040003083646297455, -0.04644206166267395, 0.043259575963020325, -0.05909798666834831, -0.01884511485695839, 0.08148638904094696, -0.030400121584534645, 0.06790532171726227, -0.0009598334436304867, 0.059431035071611404, 0.01509829517453909, 0.01440444029867649, -0.07093978673219681, -0.034914806485176086, 0.008377148769795895, -0.042112402617931366, 0.03648754581809044, -0.07008865475654602, 0.005583223886787891, -0.03317554295063019, 0.0474042072892189, -0.05669261887669563, -0.01792922616004944, -0.06087425351142883, 0.019668489694595337, 0.02340605854988098, 0.007239225786179304, 0.057654764503240585, -0.017189113423228264, 0.018040243536233902, -0.030733171850442886, 0.07271605730056763, -0.0599491149187088, -0.013877109624445438, -0.021426256746053696, -0.04407370090484619, 0.07600955665111542, 0.022036850452423096, -0.03052964247763157, 0.07852593809366226, -0.00643897894769907, 0.008784210309386253, -0.05099375173449516, 0.011934314854443073, 0.01139773242175579, 0.0017970857443287969, 0.04103923961520195, -0.008367897011339664, 0.0006233135354705155, 0.045072853565216064, 0.018669338896870613, -0.03471127897500992, 0.03443373367190361, 0.031306758522987366, 0.03837483376264572, -0.020279083400964737, 0.006938554812222719, 0.02512682043015957, -0.025330351665616035, 0.0437406487762928, -0.004440675023943186, -0.006503738928586245, -0.014543211087584496, -0.009029372595250607, -0.0037745737936347723, -0.014006629586219788, -0.0038000151980668306, -0.06505589187145233, -0.0008968082256615162, 0.00583301205188036, -0.028087269514799118, -0.005712743382900953, -0.0037445067428052425, 0.0224809180945158, -0.02249942161142826, -0.0021370749454945326, 0.04510985687375069, -0.07149486988782883, -0.03273147717118263, -0.047774262726306915, 0.031621307134628296, -0.006036542821675539, 0.018123505637049675, 0.049809571355581284, -0.0227399580180645, -0.03117723949253559, -0.04855138063430786, 0.006610129959881306, 0.0005148986238054931, -0.03328656032681465, -0.007692544721066952, 0.010037776082754135, -0.013803098350763321, 0.034840796142816544, -0.04733019694685936, 0.007336365524679422, 0.06487086415290833, -0.03478528931736946, -0.0026713437400758266, 0.025367356836795807, 0.010139541700482368, -0.038522858172655106, 0.025700407102704048, 0.03151028975844383, 0.026125971227884293, 0.04063217714428902, -0.011416235938668251, 0.006198442541062832, -0.008626936934888363, -0.024479221552610397, 0.052918046712875366, 0.03770873323082924, -0.012850203551352024, 0.013229511678218842, 0.04144630208611488, -0.03435972332954407, 0.026810575276613235, -0.027125123888254166, -0.009491942822933197, 0.024960294365882874, -0.008802712894976139, -0.016643280163407326, -0.08133836835622787, 0.01316475123167038, -0.00432965811342001, -0.05695165693759918, 0.04455477371811867, 0.07575051486492157, 0.051067765802145004, 0.01152725238353014, 0.048921436071395874, -0.03019659034907818, -0.0033490092027932405, 0.027199136093258858, 0.03676509112119675, 0.045701947063207626, -0.031325262039899826, -0.04766324535012245, 0.0761575773358345, 0.024941792711615562, 0.0359879732131958, 0.0023891758173704147, 0.07090277969837189, 0.04832934960722923, 0.034896306693553925, -0.028882890939712524, 0.029419472441077232, -0.026311000809073448, 0.002347544301301241, -0.011730783618986607, -0.01095366571098566, 0.010463341139256954, -0.07785983383655548, 0.030326111242175102, 0.033675119280815125, 0.04307454824447632 ]
16,418
presidio_analyzer.recognizer_result
__gt__
Check if one result is greater by using the results indices in the text. :param other: another RecognizerResult :return: bool
def __gt__(self, other: "RecognizerResult") -> bool: """ Check if one result is greater by using the results indices in the text. :param other: another RecognizerResult :return: bool """ if self.start == other.start: return self.end > other.end return self.start > other.start
(self, other: presidio_analyzer.recognizer_result.RecognizerResult) -> bool
[ 0.019322143867611885, -0.012585503980517387, -0.029296547174453735, 0.021358801051974297, -0.020853988826274872, -0.01869547925889492, -0.023256201297044754, 0.016058268025517464, 0.020627694204449654, -0.0494716502726078, 0.034431710839271545, -0.006667010020464659, 0.043866489082574844, -0.0171201154589653, -0.003337856847792864, 0.018190667033195496, -0.00624052993953228, -0.0058358097448945045, -0.02125435695052147, 0.01864325813949108, -0.03314356878399849, 0.022768795490264893, 0.019304735586047173, 0.0033879028633236885, 0.033839862793684006, 0.06273604184389114, -0.002859154948964715, -0.043100565671920776, -0.050864238291978836, 0.025275452062487602, -0.07039526849985123, -0.06284048408269882, 0.059393830597400665, -0.017694557085633278, -0.027016185224056244, -0.027138037607073784, -0.015623084269464016, 0.05490273982286453, -0.01143661979585886, 0.037947993725538254, -0.051038309931755066, -0.05803605914115906, -0.023813236504793167, 0.006188307888805866, -0.013838832266628742, -0.052883487194776535, -0.048287950456142426, -0.03291727229952812, 0.014935494400560856, -0.02191583625972271, 0.010444401763379574, -0.08355521410703659, -0.00027987733483314514, 0.02113250643014908, -0.08473891019821167, 0.04397093132138252, 0.021341394633054733, 0.08933445066213608, -0.04981979727745056, -0.0009758988162502646, 0.006549510173499584, 0.027782108634710312, 0.013551611453294754, -0.006414603441953659, 0.01970510557293892, -0.007097841240465641, -0.04062872380018234, 0.008420798927545547, -0.02699877880513668, 0.06109974905848503, -0.025780264288187027, 0.029192103073000908, 0.013003280386328697, 0.015283641405403614, -0.023482495918869972, 0.012951058335602283, -0.06193530187010765, 0.06412862986326218, 0.06350196152925491, -0.029070252552628517, 0.021010655909776688, 0.02503174915909767, 0.05643458291888237, -0.07241451740264893, -0.01791214942932129, -0.02807803265750408, -0.0268247053027153, -0.027364332228899002, 0.02819988504052162, -0.030428024008870125, -0.05629532411694527, 0.03850502893328667, 0.018591035157442093, -0.007637468632310629, -0.0033683194778859615, 0.06802786886692047, 0.008150985464453697, -0.04699980840086937, -0.05657384172081947, -0.03763465955853462, 0.03361356630921364, 0.11467953026294708, 0.019687697291374207, -0.014482904225587845, 0.041533906012773514, 0.011340879835188389, -0.0331609770655632, -0.015327159315347672, -0.02901802957057953, 0.026650631800293922, -0.030184321105480194, -0.013908461667597294, -0.020349176600575447, 0.02658100239932537, 0.019739920273423195, -0.00683673145249486, 0.020505841821432114, -0.020105473697185516, -0.012864021584391594, 0.017433447763323784, 0.07854190468788147, -0.05901087075471878, 0.019966214895248413, 0.022368427366018295, -0.0494716502726078, -0.0058967350050807, 0.05894124135375023, 0.04442352056503296, -0.03631170466542244, -0.046373143792152405, 0.04209093749523163, 0.0003073482948821038, -0.043866489082574844, 0.055633846670389175, 0.0389576181769371, 0.04365760087966919, 0.028739511966705322, 0.036520592868328094, -0.006035993807017803, -0.008116170763969421, 0.009713293984532356, 0.01754659414291382, 0.0578271709382534, -0.016989560797810555, -0.050794608891010284, -0.0007670107297599316, -0.06795824319124222, 0.07248415052890778, 0.0047957212664186954, 0.01864325813949108, -0.022890647873282433, -0.011889210902154446, 0.0859922394156456, -0.02997543290257454, 0.016980856657028198, -0.010313847102224827, 0.009304221719503403, -0.052047934383153915, 0.022229168564081192, -0.003311745822429657, 0.03269097954034805, -0.0378783643245697, -0.007881172001361847, -0.0018506174674257636, 0.01589289866387844, 0.0013708277838304639, -0.02198546566069126, 0.014178275130689144, -0.04860128462314606, 0.03906206414103508, 0.04271760210394859, 0.030062470585107803, -0.014935494400560856, -0.010557549074292183, -0.08459965139627457, 0.0178599264472723, -0.0032725792843848467, 0.0901700034737587, 0.02609359659254551, 0.01579715684056282, 0.040454648435115814, -0.006210067309439182, -0.05190867558121681, -0.06527750939130783, 0.031681351363658905, -0.009965700097382069, -0.006505991797894239, 0.03749540075659752, -0.003938409965485334, 0.040106501430273056, -0.008207558654248714, -0.037356145679950714, 0.008198855444788933, -0.06447677314281464, 0.011619397439062595, -0.0004640143015421927, -0.047034621238708496, 0.03554578125476837, 0.05250052735209465, 0.02795618213713169, -0.0690026804804802, 0.005095997825264931, -0.02938358299434185, 0.009304221719503403, 0.04773091524839401, 0.02741655521094799, -0.008938667364418507, 0.03274320065975189, -0.035685040056705475, -0.06764490902423859, -0.03603318706154823, -0.045467961579561234, 0.00019868843082804233, 0.03961909934878349, 0.03603318706154823, -0.014230497181415558, 0.04459759593009949, 0.016980856657028198, -0.024091754108667374, -0.017581408843398094, 0.10089292377233505, -0.05518125742673874, 0.023134350776672363, -0.022838424891233444, 0.034013934433460236, 0.031507279723882675, -0.026615817099809647, -0.0012174255680292845, 0.0056443288922309875, -0.03542393073439598, 0.05866272374987602, -0.025519154965877533, 0.048287950456142426, -0.0310024656355381, -0.03871391713619232, 0.03565022349357605, -0.0004705420578829944, 0.04379685968160629, -0.05500718206167221, -0.01056625321507454, -0.006362381391227245, 0.06391973793506622, -0.03378764167428017, -0.012689948081970215, -0.025954337790608406, -0.08759371936321259, 0.011828284710645676, -0.025101378560066223, 0.029783952981233597, 0.05866272374987602, -0.03474504500627518, -0.06586936116218567, -0.03923613578081131, -0.03551096469163895, -0.009486998431384563, -0.008137930184602737, -0.08571372181177139, -0.05549458786845207, 0.081675224006176, 0.013481982052326202, 0.021532874554395676, 0.05904568359255791, -0.027782108634710312, 0.003968872595578432, -0.04626870155334473, 0.022612130269408226, 0.012837911024689674, 0.009782923385500908, 0.007994319312274456, 0.006401548162102699, 0.0007985615520738065, -0.037947993725538254, -0.08362484723329544, -0.030323579907417297, -0.021828800439834595, 0.06176123023033142, 0.0012478884309530258, -0.02299509197473526, -0.05490273982286453, -0.022072503343224525, 0.022612130269408226, -0.006414603441953659, -0.06391973793506622, -0.020018436014652252, 0.0006146965897642076, 0.02336064539849758, 0.02019250951707363, -0.03930576518177986, -0.009034407325088978, -0.055041998624801636, 0.013743092305958271, -0.02395249530673027, 0.04818350821733475, 0.00009458439308218658, 0.04459759593009949, -0.02275138907134533, 0.04602499678730965, -0.04243908450007439, -0.008438206277787685, -0.012994576245546341, -0.011863099411129951, -0.05935901775956154, -0.017433447763323784, -0.001663488568738103, -0.025815078988671303, 0.05117756873369217, -0.007424228824675083, 0.0010357365244999528, 0.02144583873450756, -0.030915429815649986, -0.03469282016158104, 0.0004914852906949818, -0.012550689280033112, -0.055877551436424255, -0.017285484820604324, 0.05486792325973511, 0.028565438464283943, 0.02083658240735531, -0.012846614234149456, 0.040698353201150894, -0.02400471642613411, 0.035319484770298004, -0.026180634275078773, -0.009399961680173874, 0.03206431493163109, -0.07986485958099365, -0.04940202087163925, 0.007454691920429468, 0.01725067012012005, 0.020331768319010735, -0.02705099992454052, -0.010714215226471424, 0.07471229135990143, -0.013090317137539387, 0.002772118430584669, -0.017067892476916313, 0.05016794428229332, 0.054798293858766556, 0.008438206277787685, -0.005418033339083195, 0.0004009127151221037, -0.03328282758593559, 0.010470513254404068, 0.017215855419635773, 0.08550483733415604, 0.018295111134648323, -0.07185748219490051, -0.01982695609331131, 0.0674012079834938, -0.017285484820604324, -0.07485154271125793, -0.001190226641483605, 0.02724248170852661, -0.014378460124135017, 0.015457714907824993, -0.00892996322363615, 0.01892177388072014, -0.012646430172026157, 0.011314768344163895, 0.005740069318562746, 0.00045259075704962015, -0.017929555848240852, -0.0462338849902153, -0.008150985464453697, -0.06781898438930511, -0.012054580263793468, -0.004917572718113661, -0.016615303233265877, -0.04773091524839401, 0.0122982831671834, -0.03833095356822014, -0.008742834441363811, 0.008681909181177616, 0.0034618841018527746, 0.008142281323671341, -0.017094004899263382, -0.02663322538137436, 0.03620725870132446, -0.039688728749752045, -0.005687847267836332, 0.02955765649676323, 0.06301455944776535, -0.044353894889354706, 0.01668493263423443, 0.0030201729387044907, -0.001582979690283537, -0.06966415792703629, -0.0031072094570845366, 0.002165037440136075, 0.025519154965877533, 0.01643252559006214, -0.02950543537735939, -0.05051609128713608, 0.008568760938942432, -0.04473685473203659, 0.02262953668832779, -0.051873862743377686, -0.02061028592288494, -0.027329517528414726, 0.0006070808740332723, 0.03874872997403145, 0.05277904495596886, -0.04149908944964409, 0.029192103073000908, 0.04456277936697006, 0.037112440913915634, 0.047626473009586334, 0.006936823483556509, -0.06311900168657303, 0.028565438464283943, -0.06485973298549652, -0.02336064539849758, -0.039027247577905655, -0.014326238073408604, -0.07944708317518234, -0.03175098076462746, -0.020592879503965378, 0.07206637412309647, 0.0023347591049969196, 0.010696807876229286, 0.002443554811179638, 0.010705512017011642, 0.05967234820127487, -0.026232855394482613, -0.0008355521713383496, -0.022768795490264893, 0.009486998431384563, -0.006775805726647377, -0.01916547678411007, -0.020418806001544, -0.021289171651005745, -0.008364224806427956, 0.014230497181415558, -0.0046172961592674255, 0.026546187698841095, 0.0009933061664924026, -0.04233464226126671, -0.055877551436424255, 0.03655540570616722, 0.0031246168073266745, 0.04323982447385788, 0.015005123801529408, 0.0377391055226326, 0.04156871885061264, 0.015953823924064636, -0.06959453225135803, 0.013925869017839432, -0.040767982602119446, -0.00492627639323473, -0.047208696603775024, -0.0003949289384763688, 0.02484026923775673, 0.008855982683598995, 0.008755890652537346, 0.04066353663802147, -0.04080279543995857, -0.06593898683786392, -0.022298797965049744, 0.002482721349224448, 0.04226501286029816, -0.022960277274250984, 0.03589392825961113, -0.05765309929847717, 0.03815688192844391, -0.035859111696481705, 0.03840058296918869, -0.003733873600140214, -0.0026763780042529106, -0.049297574907541275, 0.00967847928404808, 0.008433854207396507, -0.06938564032316208, -0.018173258751630783, 0.0009438040433451533, -0.0107490299269557, 0.05685235932469368, -0.004874054342508316, 0.008847278542816639, 0.05065535008907318, 0.02240324206650257, 0.03524985536932945, -0.014500311575829983, -0.031507279723882675, 0.007036915514618158, 0.006096919532865286, -0.001924598589539528, -0.0626664087176323, -0.021062877029180527, -0.05124719813466072, -0.03136802092194557, 0.011454027146100998, -0.0330217182636261, -0.003988455981016159, 0.03756503015756607, 0.01047921646386385, -0.008251077495515347, 0.04466722533106804, 0.02336064539849758, 0.005444144364446402, 0.019618067890405655, 0.013203464448451996, 0.029644694179296494, -0.04605981335043907, -0.030114691704511642, 0.08557446300983429, 0.04682573303580284, 0.02705099992454052, -0.01714622601866722, -0.051560528576374054, 0.028043217957019806, -0.04156871885061264, -0.06795824319124222, 0.06576491892337799, 0.03913169354200363, 0.015692714601755142, -0.0029918858781456947, -0.023203980177640915, -0.025118786841630936, 0.015779750421643257, -0.010418291203677654, -0.01281179953366518, 0.005487662740051746, -0.02759062871336937, -0.07728857547044754, 0.028582846745848656, -0.014526422135531902, 0.0045955367386341095, 0.0014807115076109767, 0.037530217319726944, -0.02658100239932537, 0.01349938940256834, -0.008150985464453697, 0.06482492387294769, 0.01845177635550499, -0.006075160577893257, 0.08056115359067917, -0.04599018394947052, 0.04198649525642395, 0.015866786241531372, 0.06357159465551376, 0.04901906102895737, -0.021654726937413216, 0.017259374260902405, -0.018086222931742668, 0.033596158027648926, 0.05615606531500816, -0.026963964104652405, 0.009669775143265724, 0.004913220647722483, 0.05326645076274872, -0.03561541065573692, 0.005800995044410229, 0.0063580297864973545, 0.012933650985360146, 0.017215855419635773, 0.08453002572059631, -0.008864685893058777, 0.012489764019846916, 0.09887366741895676, 0.031507279723882675, 0.011732544749975204, -0.002930960152298212, 0.050446461886167526, 0.0009900422301143408, -0.0966455340385437, 0.025362489745020866, 0.015866786241531372, 0.01254198607057333, -0.03763465955853462, 0.019635476171970367, 0.041777607053518295, -0.020627694204449654, -0.05232645198702812, -0.012663837522268295, -0.009782923385500908, 0.0389576181769371, -0.0005913054337725043, 0.02597174607217312, -0.02819988504052162, -0.021846206858754158, -0.009112740866839886, 0.03780873492360115, 0.058558277785778046, -0.05399755761027336, 0.012071987614035606, -0.013986795209348202, -0.007824597880244255, -0.009713293984532356, -0.004042854066938162, -0.013125131838023663, -0.03088061511516571, 0.006101271603256464, 0.011984950862824917, -0.008490428328514099, 0.009913478046655655, -0.006632195319980383, -0.007663579657673836, -0.008433854207396507, -0.005431089084595442, 0.0004009127151221037, 0.06057753041386604, 0.00329216243699193, -0.010775141417980194, -0.041951682418584824, 0.04985461011528969, 0.022664351388812065, -0.01611919328570366, 0.000944892002735287, -0.02031436190009117, -0.003266051411628723, 0.05194349214434624, -0.0002855891070794314, 0.021097691729664803, 0.005940253380686045, 0.0024936008267104626, -0.017772890627384186, 0.010984029620885849, 0.04122057184576988, -0.0010803428012877703, 0.07930782437324524, 0.014848457649350166, 0.06628713756799698, 0.034013934433460236, 0.02090621180832386, 0.023726198822259903, -0.026354707777500153, 0.010191995650529861, -0.04901906102895737, 0.03662503510713577, -0.032638754695653915, 0.00519608985632658, -0.03631170466542244, 0.08341595530509949, -0.0674012079834938, -0.09149295836687088, -0.048044249415397644, 0.0006375436787493527, 0.03122876212000847, -0.006414603441953659, 0.002299944404512644, -0.09281592071056366, 0.030010247603058815, -0.030915429815649986, 0.04226501286029816, -0.047034621238708496, -0.02299509197473526, -0.01744215190410614, 0.029157288372516632, 0.03063691221177578, 0.02424841932952404, 0.023203980177640915, 0.08571372181177139, 0.009095333516597748, -0.005544236861169338, -0.05183904618024826, -0.02174176275730133, 0.02054065652191639, 0.021828800439834595, -0.006231826264411211, -0.01063588261604309, 0.008490428328514099, 0.01754659414291382, -0.002402212470769882, -0.02621544897556305, 0.02699877880513668, 0.015988638624548912, 0.03721688687801361, -0.00501766474917531, -0.02024473249912262, 0.008425150997936726, -0.00692811980843544, 0.010426994413137436, 0.004704332444816828, -0.0073763588443398476, -0.010044032707810402, 0.009661071933805943, 0.006989045534282923, -0.0431353785097599, -0.002617628313601017, -0.058384206146001816, 0.01239402312785387, 0.024944713339209557, -0.0357198528945446, -0.003849197179079056, 0.001651521073654294, 0.026911741122603416, -0.04174279421567917, 0.047382768243551254, 0.04477166756987572, -0.04710425063967705, -0.007842005230486393, -0.004438870586454868, 0.009330332279205322, -0.019792141392827034, 0.00022561539663001895, 0.05723532289266586, -0.012263468466699123, -0.0047652581706643105, -0.003274755086749792, -0.054554592818021774, 0.0429961197078228, -0.03624207526445389, -0.01582326926290989, -0.013307908549904823, -0.050133127719163895, 0.008551353588700294, -0.034379489719867706, -0.021654726937413216, 0.058140505105257034, -0.04038501903414726, 0.02766025811433792, 0.04532870277762413, 0.008607927709817886, -0.02341286651790142, -0.008164040744304657, -0.004188640508800745, 0.04376204311847687, 0.045711666345596313, 0.03547615185379982, 0.019792141392827034, -0.03469282016158104, 0.012733466923236847, 0.04317019507288933, -0.011123287491500378, -0.034971337765455246, 0.0199488066136837, 0.022890647873282433, -0.04790499061346054, -0.029226917773485184, -0.05190867558121681, -0.06541676819324493, 0.009565331041812897, -0.018190667033195496, -0.022020280361175537, -0.07742783427238464, 0.03161172196269035, -0.027364332228899002, -0.040767982602119446, 0.07868116348981857, 0.05082942172884941, 0.01946140266954899, 0.036172445863485336, 0.02734692580997944, -0.04936720430850983, 0.00837728101760149, -0.008137930184602737, 0.0031985980458557606, 0.07234489172697067, -0.048462025821208954, -0.018382146954536438, 0.07380710542201996, 0.016258452087640762, 0.059393830597400665, -0.020209917798638344, 0.06886342167854309, 0.07652264833450317, 0.03545874357223511, -0.01591900922358036, 0.0006816060049459338, -0.00241961982101202, -0.024892490357160568, 0.012089394964277744, 0.002804757095873356, -0.0036163742188364267, -0.07112637907266617, 0.04163834825158119, -0.0029287843499332666, 0.07784561067819595 ]