<jupyter_start><jupyter_text>KoNLP Engine별 성능 비교  KoNLPy Engine 설치<jupyter_code>!pip install konlpy
from konlpy.tag import *
engines = [Kkma, Hannanum]
s = u"갤럭시는 화면이 큰데, 좋은데?" 
for e in engines:
    print(e)
    print(e().pos(s))<jupyter_output><class 'konlpy.tag._kkma.Kkma'>
[('갤럭시', 'UN'), ('는', 'JX'), ('화면', 'NNG'), ('이', 'JKS'), ('크', 'VA'), ('ㄴ데', 'ECE'), (',', 'SP'), ('좋', 'VA'), ('은데', 'ECD'), ('?', 'SF')]
<class 'konlpy.tag._hannanum.Hannanum'>
[('갤럭시', 'N'), ('는', 'J'), ('화면', 'N'), ('이', 'J'), ('크', 'P'), ('ㄴ데', 'E'), (',', 'S'), ('좋', 'P'), ('은', 'E'), ('데', 'N'), ('?', 'S')]
{'fraction_non_alphanumeric': 0.367003367003367, 'fraction_numerical': 0.0, 'mean_word_length': 5.467391304347826, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '260685', 'license': 'MIT', 'n_tokens_mistral': 323, 'n_tokens_neox': 360, 'n_words': 67, 'path': '2.NLP_and_Preprocessing/KoNLP_Engine.ipynb', 'repo_name': 'Finfra/AI_NLP', 'size': '594'}