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>VD~kK
EP•NEgoE>?}aEK?sBaE9P[P>NFKDR=C>_>Ir>
@KaE_>;<FC>Q>Er#HBNUs;<FC>9~nFEPX
@aZE_>N\ENE`RaEECaETaf;<FC>
_>C9:D>8TFEH%sB€ESEaEECaE9~Y
Y@CP>NFFC>N<KP>NFaEaE_>BaES_>I=K
DR=;<FC>(EK??s>r>P>NFKDR=aEn7<g•\;
‚8€kp€KsX8gƒkaf?_>?aK„E9:>nFE
>r>:P>NFKgBaEABCaE<9L?EzIaE
:kMVp€KaE:aNP•EKp€M9kE
hCE}€>=>?@:;<F}>9~N<KkEKg\€E
SE*FE@kP[WNEE}€>=>?@„EPK97Y@sB
C_>IN`;<FC>9~N<K:IEsKr]?@>NEM9kEVBp
€(•|EKBp€M9kEC>_>I;hC€ESE;<FC>9~
E|KEIN8:>aE€9kEVEP•K•9nC>>89kE
V\;,C_>IN`;<FC>EK??gaE…9;>roKk;
8>qP>NF]C>K…g†9nKBaESsCi?BP;E
B>W9U>?U9p]C>KaEW8IBaESEP•ZE
BNU7BK>E8r:>EN9USSS9iM
9kEVp€s9P[]P>FE?}>r>ECSVp€9P[E\KB
€ESE‡N[DR=BEC;FsgB>r>RSEaE<€
8;9U‡N[B>r>LiVBK~9MsBKW@P[
NEkp€skM€ESEXN9•SSBS9iK?X}
E\ˆCLiKDR=NY>?@‰‚B€ESEK?saE9P[P>NFsDR=
Kg@D>8BS9iSUPXMEPXEV9:(•BaE<ME
K?KBLisBK~nU9PNB_>?@9`M9kEkBC>
_>I8
ABafFC>BNU<€9k;sBaEP>NFPX
MEFC>E|9ME;sEP•WN…N8:>N€…:e
NEFC>KB€LiNPX9ngaEBCN=V89:K?K
BLiNPX9noXPXES9iSUVEP•BS9iK?
K]9`KBLiK?KKEP•9PNNEKISU
ABaEIBaNP•E?9pfEP•gaEWN9U9:>
oBLiK9PNBLiXBN€9nnUKPXEg
sBYB`NP•Es„EnUK]_>CEFBNP•E?k>E
FC>KEP•gaEf>EN9P[g@KafBBC]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E}€>:9:KDI;P>+>89~E|
k]9`PXENE_>BNfE}€>9:K
%
I. Đặt vấn đề
(P|E9~@sr>@BaE9P[N9pC?ŠPXME
KC>HIBaE9nnUKBKBsBKC>gsBaE
g@sBKE}€>g\*ZBSE;<FC>KNEM9kE
Vp€KN8p@K9M:>[igP>NFKDR=sPEgaE
U_>}9P[NŠE…N8:>MEaEgB9P[P>NFPXMEHI
WiE?INEBaE9P[P>NEB;<FC>frXNE
]|E„E9P[p€PXMEHI,C?sBp€9~BSEaE
ECaEK_>I=C]EaEHE8?•siSBC]ERSE>
(>?}9noYYKB_>I=>zEFC>HIs>E8BaE
Sg€s…FC>‹YYŠPXMEHI|EPnBEI
>WLMsfg@KC>sBaESNi\aEŠS9i]Eg}s
BCN€sN_>?@9`NY@N}BE>zFC>gU>K?
hXY@9ns89:97NKK@K|EnUgB9P[FE
aEF>iTBE>zKC>HIn>EBE>zFC>K?I
9P[DR=P@K9UEP•ZEnUnFEaESY9kEBN[E|
NECBCN€KgBaEd•NKEs|EIU>N•I
8VFC>HIsU>N•B97NPEVBFC>MK?9UnUn9P[
FEP;EB>Wr@
hCgBaETBE>zFC>HINEBp€hC(
••IYKFEg@_>IE}€>:HIn>Es:FC>H
IKBgj>WDR=9~9P[BNUN}@EX>?}sFEHI@E
hCMnFE97NPEN}EVnnUW8?9P[E?YgBC:
7giBs|BKEFB@EhCNEBHIXBEaEFp
@N}@EXP@E+s@E^BhW?fFE97NPEK?IP<E@
K9@Bgj>WgBFC>HIsrInFEg=>WXK9U
nUWSE9P[FEP>@V@EhC„EPEI_>?@9P[FE€
MNE@EhC
6UNI•9P[FEL>mK?s9zBŽ9TFEPXE}€>:A
BFC>HIsfU>FE97NPEV@EhCsT9n9:NP;EPXE
E|EI_>?@KBLMHI@EhC€M<BE}€>;
Bg@_>IVE}€>NE9:KYWK?ŽKPEPX@9r>}
>WH]ECVX9:K
"
II. Cơ sở lý thuyết
1. Khái niệm Text Mining
!"#$%&
hCRSE;<FC>KM9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