{'fraction_non_alphanumeric': 0.02516411378555799, 'fraction_numerical': 0.0, 'mean_word_length': 5.443661971830986, '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}}
Fuzzy pocket algorithm: a generalized pocket algorithm for classification of fuzzy inputs

Perceptron algorithm has been widely adopted in pattern recognition to decide linear decision boundaries. Pocket algorithm, a perceptron-based algorithm, works well with nonseparable or even contradictory training instances. In this paper, a generalized pocket algorithm, called fuzzy pocket algorithm, that is capable of handling inputs in linguistics terms is proposed. Linguistic terms are represented as LR-type fuzzy sets. LR-type fuzzy sets operations and defuzzification method are utilized. The fuzzy pocket algorithm is suitable of both fuzzy and crisp inputs. Besides, nodes needed for a linguistic term are few and computation load is light. One sample problem, called knowledge-based evaluator, is considered to illustrate the working of the proposed method. Also, the experimental results are very encouraging.