{'fraction_non_alphanumeric': 0.09090909090909091, 'fraction_numerical': 0.0013175230566534915, 'mean_word_length': 4.066666666666666, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Centre of Monoids, Centralisers, and Localisation

Given a monoid object A in a symmetric monoidal category (C, ⊗, 1), we associate a commutative monoid z(A): = Hom A−Bimod (A, A), which we refer to as the set of central elements of A. If A has a centre Z(A) in C, we describe an isomorphism z(A) = Hom A−Bimod (A, A) ≅ Hom Z(A)−Mod (Z(A), Z(A)). When C is closed and complete, we show that every subset S ⊆ Hom A−Mod (A, A) has a centraliser Z A (S) which is a Z(A)-algebra and under certain conditions, we show that Z A (Hom A−Mod (A, A)) = Z(A). Further, for any multiplicatively closed set S ⊆ z(A), we define the localisation M S of any right A-module M with respect to S and show that several properties of classical localisation extend to this context.