I AE S In t er na t io na l J o urna l o f   Ro bo t ics a nd   Aut o m a t io ( I J RA)   Vo l.  14 ,   No .   3 Sep tem b er   20 25 ,   p p .   3 9 3 ~ 40 6   I SS N:  2722 - 2 5 8 6 DOI 1 0 . 1 1 5 9 1 /i jr a . v 14 i 3 . pp 3 9 3 - 40 6           393       J o ur na l ho m ep a g e h ttp : //ij r a . ia esco r e. co m   Fara id distrib utio n calcula tion usin g  AI - ba sed  Q ura nic chatbo t       I m a n H a f izi  M d Z in,  Nur  F a rr a liza   M a ns o r,   No riza n M a t   Dia h,  Sh a k ira h H a s him ,   M a s t ura   M a ns o r   F a c u l t y   o f   C o m p u t e r   a n d   M a t h e ma t i c a l   S c i e n c e s,   U n i v e r si t i   Te k n o l o g i   M A R A ,   S h a h   A l a m,   S e l a n g o r ,   M a l a y si a       Art icle  I nfo     AB S T RAC T   A r ticle  his to r y:   R ec eiv ed   Ma y   2 0 ,   2 0 2 5   R ev is ed   J u n   2 4 ,   2 0 2 5   Acc ep ted   J u l 1 0 ,   2 0 2 5       F a ra id ,   Isla m ic  in h e rit a n c e   law ,   r e fe rs  to   th a a sp e c o S h a riah   la wh ich   is  n o t   p r o p e rl y   u n d e rsto o d   a n d   h a c re a ted   issu e a n d   im p e d ime n ts  i n   th e   d istri b u ti o n   o f   e sta tes .   T h is  p a p e r   d isc u ss e t h e   d e v e lo p m e n o f   a n   AI - b a se d   Qu ra n ic  c h a tb o t   to   b e   u se d   b y   th e   p u b li c   t o   lea rn   t h e   F a ra id   ru les   a n d   a u to m a te  c a lcu latio n o i n h e rit a n c e   d istri b u ti o n .   T h e   c h a tb o h a b e e n   d e v e lo p e d   u sin g   n a t u ra lan g u a g e   p ro c e ss in g   a n d   a   ru le - b a se d   a lg o rit h m ,   wh ich   i n ten d t o   se a rc h   a n d   g e a n   a c c u ra te  in terp re tatio n   fr o m   th e   u se r   q u e r ies ,   re tri e v e   re lev a n v e rse o th e   Qu ra n ,   a n d   c o m p u te  th e   sh a re   o in h e rit a n c e   a c c o rd i n g   to   th e   e sta b li sh e d   Isla m ic  ju risp r u d e n c e .   F u z z y   m a tch   id e n ti fies   a n d   c o rre c ts  v a riatio n   in   q u e ries ,   e n h a n c in g   u se in tera c ti o n ,   e n su rin g   t h a it   a p p e a rs  m o re   in t u it iv e   a n d   a c c e ss ib le.  Th e   s y ste m   p ro c e ss e u se in p u re g a rd in g   h e irs  o th e   d e c e a se d ,   e sta te  v a lu e ,   a n d   d e b ts,  a n d   a p p li e F a ra id   ru les   to   g e n e ra te  a c c u ra te  d istri b u ti o n   re su l ts  th a t   h a p p e n   to   b e   we b - b a se d   p latfo rm o f   th is   c h a tb o t.   It   in te n d t o   li n k   trad it io n a Isla m ic   k n o wle d g e   wit h   m o d e rn   d i g it a so l u ti o n s,  b ri n g i n g   F a ra id   c a lcu latio n c lo se r,   m o re   c o m fo rtab le,  fa ste r,   a n d   tran sp a re n t.   T h ro u g h   rig o ro u tes ts  a n d   u se fe e d b a c k   will   p ro v e   a b o v e ,   re v e a li n g   t h e   c h a tb o t’s  p o ten ti a in   u n d e rsta n d i n g   t h e   a p p li c a ti o n   o Isla m ic  in h e rit a n c e   law   a n d   p ro m o ti n g   d ig it a l   e n g a g e m e n in   a ll   th e se   th r o u g h   Q u ra n ic t e a c h in g s.   K ey w o r d s :   Far aid     Fu zz y   Natu r al  lan g u ag e   p r o ce s s in g   Qu r an ic     Sh ar iah     T h is i a n   o p e n   a c c e ss   a rticle   u n d e r th e   CC B Y - SA   li c e n se .     C o r r e s p o nd ing   A uth o r :   Nu r   Far r aliza   Ma n s o r   Facu lty   o f   C o m p u ter   an d   Ma th em atica l Scie n ce s ,   Un iv er s iti T ek n o lo g i M AR A   4 0 4 5 0   Sh ah   Alam ,   Selan g o r ,   Ma lay s ia   E m ail: n u r f ar r aliza @ u itm . ed u . m y       1.   I NT RO D UCT I O N   T e c h n o l o g y   h a s   b e c o m e   c r u c i a l   c o m p o n e n t   o f   s e v e r a in d u s t r i e s   i n   t h m o d e r n   d a y ,   i n c l u d i n g   p r o d u c t i o n ,   e d u c a t i o n ,   a n d   r e l i g i o u s   s t u d y .   T h e   w a y   p e o p l e   c o n n e c t   w i t h   i n f o r m a t i o n   a n d   l o o k   f o r   k n o w l e d g e   h a s   b e e n   c o m p l et e l y   t r a n s f o r m e d   b y   a r t i f i ci a l   i n t e ll i g e n c e   ( A I ) ,   w h i c h   h as   c r e at e d   n e a v e n u e s   f o r   a c c ess i b i li t y   a n d   p a r t i c i p at i o n   [ 1 ] .   P r e s e n t - d a y   m a n u a l   t ec h n i q u e s   a r e   l a b o r - i n t e n s i v e ,   p r o n e   t o   h u m a n   m i s t a k e s ,   a n d   f r e q u e n t l y   u n a v a i l a b l e   t o   t h e   g e n e r a l   p u b l i c .   T h e   d e v e l o p m e n t   o f   A I ,   e s p e c i al l y   i n   t h e   a r e a s   o f   c h a t b o ts   a n d   n a t u r a l   l a n g u a g e   p r o c e s s i n g ,   h o l d s   g r e a t   p r o m i s e   f o r   a u t o m a ti n g   a n d   s t r e a m l i n i n g   F a r ai d   d e li v e r y ,   i n c r e a s i n g   i ts   a c c u r a c y   a n d   a cc e s s i b il i t y .   F a r a i d ,   o r   I s l a m i i n h e r it a n c e   l a w,   i s   s t i ll   c r u c i al   p a r o f   S h a r ia h   t h a g u a r a n t e es  e q u i t a b l e   as s et   d i s t r i b u t i o n   af t e r   d e a t h ,   b u t   i t   r e q u i r e s   co m p l i c a t e d   c a lc u l a ti o n s   t h a t   c a l l   f o r   s p e c ia l i ze d   k n o w l e d g e   i n   li g h t   o f   t h g r o w i n g   n e e d   f o r   e as il y   a v a il a b l e,   p r e c i s e,   a n d   te c h n o l o g i c a l l y   a d v a n c e d   s o l u ti o n s .   E v e n   t h o u g h   F a r a i d   i s   c r u c i a t o   m a i n t a i n i n g   f a i r   d i s t r i b u t io n   o f   w e a l t h   i n   I s l a m ,   t h e   t y p i c a l   p e r s o n   f i n d s   i c h a l l e n g i n g   t o   a c c u r a t e l y   c al cu l a t e   d u e   t o   i t s   c o m p l e x   r e g u la t i o n s   a n d   d e p e n d e n c e   o n   s p e c i a l i ze d   k n o w l e d g e .   M a n u a l   t e c h n i q u es   a r e   l a b o r i o u s ,   p r o n e   t o   m i s t a k e s ,   a n d   d i f f ic u l t   t o   u s e ,   p a r t i c u la r l y   i n   r u r a a r e a s .   B y   u s i n g   a n   AI - b a s e d   c h a t b o t   t o   a u t o m a t a n d   s i m p l i f y   F a r a i d   c o m p u t at i o n s ,   o u r   s t u d y   f i l ls   t h i s   g a p   a n d   i m p r o v e s   t h e i r   e f f i c i e n c y ,   a c c u r a c y ,   a n d   a c ce s s i b i li t y .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 7 2 2 - 2 5 8 6   I AE I n J   R o b   &   A u to m Vo l .   14 ,   No .   3 Sep tem b er   20 25 :   39 3 - 40 6   394   Millio n s   o f   Mu s lim s   ar o u n d   t h wo r ld   co n tin u to   r ely   h ea v ily   o n   th Qu r a n   as  tim eless   s o u r ce   o f   k n o wled g an d   m o r al  in s tr u cti o n .   Ho wev er ,   d u to   o b s tacle s   in clu d in g   lan g u ag d if f ic u lties ,   r estricte d   ac ce s s   to   s ch o lar ly   r eso u r ce s ,   an d   lack   o f   in ter ac tiv lear n in g   p latf o r m s ,   m a n y   p e o p le  f in d   it  d if f icu lt  to   co m p r eh e n d   an d   ap p l y   its   teac h in g s .   E v en   th o u g h   th Qu r an   is   v ital  s o u r ce   o f   g u id an ce ,   m an y   p eo p le   s tr u g g le  to   ap p ly   its   teac h in g s   b ec au s th ey   lack   ac ce s s   to   in ter ac tiv lear n in g   en v i r o n m en ts   an d   q u alif ied   m en to r s .   Acc o r d in g   t o   s tu d ies,  lo o f   Mu s lim s   f in d   it  d if f i cu lt  to   f in d   tim f o r   s tu d y i n g   th Qu r an   b ec au s e   o f   th eir   e m p lo y m en an d   h o u s eh o ld   o b lig atio n s   [ 2 ] .   Ad d iti o n ally ,   th e   ab s en ce   o f   r ea d ily   ac ce s s ib le  d ig ital   r eso u r ce s   d is co u r ag es  in v o lv e m en ev en   m o r e,   m a k in g   it  ch allen g in g   to   s tu d y   th Qu r a n   in   d ep th .   d ec r ea s e   in   s p ir itu al  c o n n ec tio n   a n d   in f o r m atio n   r eten tio n   m ay   r e s u lt  f r o m   lac k   o f   i n v o lv e m en with   Q u r an i c   teac h in g s .   T h e   ig n o r an ce   o f   a n d   d is r eg a r d   f o r   Far ai d   r eg u la tio n s   am o n g   Mu s lim s   is   an o t h er   im p o r tan to p ic  co v er ed   in   t h is   s tu d y .   Du to   s elf is h n ess ,   f alse  in f o r m atio n ,   o r   d ela y s   in   th leg al  p r o c ess ,   m an y   Mu s lim s   d ec id to   d iv id th eir   i n h er ita n ce   ac co r d in g   to   p er s o n al  p r ef er en ce s   r ath er   th an   I s lam ic  p r i n cip les,  wh ich   ca n   lead   to   an   u n eq u al  d is tr ib u tio n   an d   p o s s ib le  d is p u tes  [ 3 ]   I s m a i l   e t   a l .   [ 4 ]   c la i m   th a t   o n e   o f   th e   m a i n   c a u s e s   o f   a r g u m en t s   o v e r   F ar a id   d i s t r i b u t io n   i s   p o o r   c o m m u n ic a t i o n   w i t h in   th e   f a m i l y .   A s   a   w ay   t o   l e s s e n   th e s e   t e n s io n s ,   t h ey   r e c o m m e n d   u s i n g   a   d i g i t a p l a t f o r m   to   in c r ea s e   p u b l i c   k n o w le d g e   a n d   en g a g em e n t.  M o h d   S a a d   an d   M o h a m a d   R a s l i   [ 5 ]   c l a im   th a t h e y   h a v e   c r e a t e d   a   w eb   b r o ws e r - b a s ed   F a r a i d   d i s t r i b u t i o n   s y s t e m ,   b u t   th e i r   p r o g r a m   h a s   s e a r c h   c o n s t r a i n t s   a s   w e l l ,   a s   i c a n   o n l y   r u n   o n   w eb   b r o w s e r s   w i th   1 6 : 9   d e v i ce   r e s o l u t io n .   T h w e b   p l a t f o r m   i s   th e   s o l w a y   t o   a c ce s s   t h i s   p r o g r am .   Z u l k ef l i   e a l.   [ 6 ]   d ev e l o p ed   a   F a r a id   d i s tr i b u t i o n   p la t f o r m   i n   2 0 1 8   t h a t   w a s   b a s e d   o n   m o b i l a p p l i c a t io n ;   h o w ev e r ,   a s   th e   d ev e l o p m e n t   w a s   m o s t ly   f o cu s e d   o n   r u le - b a s e d   i d e a,   i f a i l e d   t o   i n co r p o r a t e   a n y   A I   el e m e n t s .   H i s h a m u d in   [ 7 ]   s u g g e s t e d   a n   i n t e l l ig en t   c a lc u l a to r   s y s t e m   b a s e d   o n   t h e   th e s i s   in t e l l ig e n F a r ai d   ca l c u l a to r   s y s t e m s ”,   a l s o   u n c le a r   w h a p r e c i s ar ti f i c i a l   in t e l l ig e n c t e c h n iq u e s   w er e m p l o y e d .   I n   ex a m in i n g   th r o l o f   ar t i f i c i a in t e l l i g en c ( G P T - 3 . 5 )   [ 8 ] ,   in   I s s u i n g   F a t w a s   f o r   I s l a m i F a m i ly   C as e s :   A   C o m p a r a t iv A n a ly s i s ,   i t   wa s   e x a m in e d   h o w   G P T - 3 . 5   c an   b u s e d   to   p r o v i d e   f a t w a s   o n   to p ic s   l i k i n h er i t a n c e ,   d i v o r c e,   an d   m ar r i ag e .   T h e   s t u d y   c o m e s   t o   th e   c o n c lu s i o n   th a w h i l e   G P T - 3 . 5   o f f er s   q u i ck e r   an s w e r s   th an   co n v en t i o n a l   a c ad e m i ap p r o ac h e s ,   i u s u a ll y   p r o d u c e s   i n a c cu r a t c h o i c e s   wh e n   a p p li e d   to   I s l am i c   f a m i l y   l a w ,   w h i c h   co u ld   l e ad   to   m i s l e ad i n g   r e c o m m e n d a t i o n s .   I n   o r d er   t o   o v e r c o m e   t h is   d if f icu lt y ,   t h is   s t u d y   p r ese n ts   a n   I - b ase d   Q u r an ic   c h at b o t   t h a u s es  n at u r al   lan g u a g p r o ce s s in g   ( NL P )   t o   p r o v i d e   a   m o r e   in te r est in g   an d   c u s t o m iz ed   ed u ca t io n a l   e x p e r ie n c e   [ 9 ] .   T h e   ch at b o t   h as   b ee n   d e v el o p e d   u s in g   NL P ,   F u z zy   lo g i c,   an d   a   r u le - b as ed   al g o r i th m ,   w h ic h   i n t en d s   t o   s e ar ch   an d   g et   a n   ac c u r ate   i n te r p r et ati o n   f r o m   t h u s e r   q u e r i es,   r et r ie v r el ev a n v e r s es  o f   t h e   Q u r a n ,   a n d   co m p u te   t h e   s h a r o f   i n h e r it a n ce   a cc o r d i n g   to   th es ta b lis h ed   I s l am ic  law .   F u zz y   m a tc h   i d e n t if ies  an d   c o r r ec ts   v ar i ati o n   i n   q u e r ies ,   e n h a n ci n g   u s er   i n t e r a cti o n ,   e n s u r in g   t h a it   a p p ea r s   m o r e   i n t u it iv e   a n d   ac ce s s i b l e .   I n   o r d e r   to   h a n d l lin g u is t ic  d i f f e r e n c es,   m is s p ell in g s ,   a n d   i n f o r m a p h r asi n g   i n   u s e r   in p u t ,   t h f u zz y   lo g i c o m p o n en t is   ess en tia l.   I in c r ea s es  r es p o n s e   a cc u r ac y   b y   al lo wi n g   t h e   s y s te m   to   m a tch   u n cl ea r   o r   in co m p le te   i n q u ir i es  w it h   t h m o s t   ap p r o p r ia te   p h r as es   o r   r u l es.   T h is   i m p r o v es   u s er   en g a g em en t   b y   g i v i n g   t h im p r ess i o n   th at   th e   ch at b o is   m o r f le x i b l e,   i n t u i ti v e ,   a n d   ap p r o ac h a b le - esp ec i all y   f o r   u s e r s   wh o   a r e   n o co n v e r s a n t   w it h   ac c u r ate   l e g al   o r   r el ig io u s   te r m s .   T h is   ch atb o allo ws  u s er s   to   i n ter ac with   Qu r an ic  teac h in g s ,   co m p r eh en d   I s lam ic  laws  li k Far aid   ( I s lam ic  law  o n   in h er itan ce ) ,   an d   g et  in ter p r etatio n s   o f   Qu r an ic  v er s es  b y   m im ick in g   h u m an - lik d ialo g u e   [ 8 ] .   AI   ch atb o ts   ar g ettin g   b etter   at  co n d u ctin g   n atu r al  co n v er s atio n s   an d   estab lis h in g   co n n ec tio n s   with   u s er s .   T h ey   h av e   th e   p o ten tial to   h elp   p r o g r am s   t h at  en c o u r a g life s ty le  ch a n g es.  T h ey   a r e,   th er ef o r e,   a   u s ef u l   an d   af f o r d a b le  to o l   f o r   b eh av io r   m o d if icatio n   p r o g r am s   [ 1 0 ] .   C h atb o ts   an d   AI   h av d e v elo p ed   q u ick l y   in   r ec en y ea r s   an d   ar n o wid ely   u s ed   in   v ar iety   o f   f ield s ,   in clu d in g   ac a d em ics  [ 1 1 ] .   B y   b r id g i n g   th g a p   b etwe en   tr ad itio n al  Qu r an ic  s tu d ies  an d   c o n tem p o r ar y   te ch n o lo g y ,   th is   in co r p o r atio n   o f   AI   in   r elig io u s   ed u ca tio n   m ak es  I s lam ic  teac h in g s   m o r ap p r o ac h a b le  f o r   i n d iv id u als  with   v ar y in g   b ac k g r o u n d s   an d   d eg r ee s   o f   u n d er s tan d in g .   T h e   A I - b a s ed   Q u r a n i c   c h a tb o t   w i l l   a d d r e s s   t h e s e   p r o b l em s   b y   a c t in g   a s   a n   i n te r a c t iv e   t e a ch i n g   t o o t h a s t r ea m l i n e s   F a r a i d   in h er i t a n ce   d i s t r i b u t i o n   a n d   Qu r an i c   le a r n i n g .   U s e r s   w i l g e t   t a i lo r ed   a n s w e r s   t h r o u g h   N L P - b a s e d   d i a l o g u es   a n d   a u to m a te d   a s s e t   c o m p u t a t i o n s ,   w h i ch   w i l l   f a c i l i ta t c o m p r e h e n s i o n   o f   I s l a m i c   te a c h in g s   a n d   g u a r an te e   t h a t   in h er i t a n c e   i s   a l l o ca t ed   eq u i t ab l y   i n   a c co r d an c e   w i th   I s l am i c   la w .   T h c r e a t i o n   o f   an   AI - b a s e d   Q u r an i c   ch a tb o t h a i m p r o v e s   Q u r a n i c   le a r n i n g   a n d   m a k e s   a p p r o p r ia t e   in h e r i t an c d i s t r i b u t i o n   e a s i e r   i s   th e   m ai n   g o a o f   t h i s   r e s e ar c h .   T h is   e n t a i l s   c r ea t i n g   an   N L P - p o w e r ed   c h a tb o t o   e f f i c i en t l y   r e t r ie v e   p e r t in en t   Q u r an i c   v er s e s   a n d   p r o v i d e   Fa r a i d   in h er i t an c e   c a l cu l a t io n s ,   d e s i g n i n g   a n   NL P   a l g o r i t h m   t o   a c c u r a t e ly   co m p r eh e n d   an d   r e s p o n d   t o   u s er   q u e r i e s ,   a n d   a s s e s s i n g   t h c h a tb o t’ s   e f f i c a cy   t h r o u g h   u s e r   f e ed b a ck   an d   i t er a t i v i m p r o v e m e n t s   to   i m p r o v e   a cc u r a c y   a n d   u s a b i l i ty .   B ec au s it  i s   web - b ased   p latf o r m ,   in d i v id u als  o f   all  ag es  an d   b ac k g r o u n d s   ca n   ea s ily   u s th ch atb o t.  B y   au to m atica lly   ca lcu latin g   in h er itan ce   in   ac co r d an ce   with   I s lam ic  Far aid   laws  an d   ex tr ac tin g   p er tin en Q u r an ic   p ass ag es  in   r esp o n s e   to   u s er   q u er ies,  it   w ill  f u n ctio n   as  a   lear n i n g   aid .   Alth o u g h   Mu s lim s   Evaluation Warning : The document was created with Spire.PDF for Python.
I AE I n J   R o b   &   A u to m   I SS N:   2722 - 2 5 8 6         F a r a id   d is tr ib u tio n   ca lcu la ti o n   u s in g   A I - b a s ed   Qu r a n ic  ch a tb o t   ( I ma n   Ha fiz i Md   Zin )   395   ar th m ain   au d ien ce   f o r   th is   ch atb o t,  n o n - Mu s lim s   wh o   wan to   lear n   ab o u I s lam ic  p r in cip les  ca n   also   u s it  to   lear n   ab o u I s lam ic  in h er itan ce   r u les.  T h ch atb o will  b ab le  to   co m p r eh e n d   u s er   in q u ir ies,  o f f e r   clar if icatio n s ,   an d   p r o d u ce   p r ec is an s wer s   b ased   o n   I s la m ic  p r in cip les  th an k s   to   NL tech n o lo g y .   I is   cr u cial  to   r em em b e r   th at  t h i s   s tu d y   d o es   n o t   a d d r ess   all   f a ce ts   o f   I s l am ic   j u r is p r u d e n ce   ( Fi q h )   a n d   o n l y   co n c e n tr at es  o n   F ar ai d   r e g u l ati o n s .   T h cr ea tio n   o f   th is   ch atb o is   n o tewo r th y   b ec a u s it  u s es  A I - d r iv e n   au to m atio n   an d   ac ce s s ib ilit y   to   m o d er n ize   I s lam ic  in s tr u ctio n .   T h is   p r o ject  im p r o v es  u s er s   co m p r eh en s io n   o f   I s lam ic  in h er itan ce   laws  b y   f u s in g   Qu r an ic  v e r s es  with   AI - b ased   in ter ac tiv lear n in g ,   w h ich   m ak es  it  s im p ler   f o r   u s er s   to   u n d er s tan d   an d   ap p ly   th ese  less o n s   in   p r ac tic al  s itu atio n s .   T h ch atb o als o   tack les  cr u cial  p r o b lem   b y   m ak in g   s u r th at  Far aid   in h er itan ce   r eg u latio n s   ar ap p r o p r iately   ad h e r ed   to ,   av o id in g   in ju s tices  an d   h eir   d is p u tes.  T h is   i s   co n s is ten with   I s lam ic  b elief s ,   wh ich   p lace   s tr o n g   e m p h asis   o n   ju s tice,   f air n ess ,   a n d   h u m an   d ig n ity   [ 1 2 ] Ad d itio n ally ,   th is   ef f o r r eso l v es  th m is u n d er s tan d in g   th at   I s lam   an d   m o d er n ity   ca n n o co ex is b y   b r i d g in g   th g ap   b etwe en   tr ad itio n al  r elig io u s   s tu d ies  an d   co n tem p o r ar y   tec h n ical  b r ea k th r o u g h s   b y   m a k in g   I s lam ic  k n o wled g m o r ac ce s s ib le  [ 1 3 ] .   Fin ally ,   b y   cr ea tin g   an   AI - b a s ed   Qu r an ic  ch at b o th at  im p r o v es  in ter ac tio n   with   Qu r an ic   teac h in g s   an d   m a k es  I s lam ic  in h er ita n ce   co m p u tatio n s   ea s ier ,   th i s   p r o ject  in v esti g ates  th i n co r p o r atio n   o f   AI   tech n o lo g y   in t o   I s lam ic  ed u ca tio n .   Natu r al   lan g u a g p r o ce s s in g   ( NL P)  will  b u s ed   b y   th c h atb o t o   co m p r eh e n d   cu s to m e r   in q u ir ie s ,   r etr iev p er tin en p ass ag es  f r o m   th Qu r a n ,   an d   d eter m in e   in h er itan ce   s h ar es   in   ac co r d a n ce   with   I s lam ic  Far aid   laws.  T h s tu d y s   im p o r tan ce   is   in   its   ab ilit y   to   b r id g th g ap   b etwe en   co n tem p o r ar y   tech n o lo g y   an d   tr ad itio n al  I s lam ic  teac h in g s ,   im p r o v in g   th ac ce s s ib ilit y ,   co m p r eh e n s io n ,   an d   ap p licab ilit y   o f   Qu r an ic   lear n i n g   an d   I s lam ic  leg al   p r in ci p les  in   d aily   life .   T h e   s tu d y   is   o r g an ized   as  f o llo ws:   s ec tio n   1   in tr o d u ctio n ,   s ec tio n   2   liter atu r s u r v e y ,   s ec tio n   3   m eth o d ,   s ec tio n   4   r esu lt  an d   d is cu s s io n   an d   s ec tio n   5   co n clu s io n   as we ll a s   r ec o m m en d atio n .         2.   L I T E R AT U RE   SU RVE   T h cr ea tio n   o f   th ese  an   in tellig en Qu r an ic  ch atb o t,  attem p ts   to   b r id g th g a p   b etwe e n   r elig io u s   ad v ice  an d   c o n tem p o r ar y   tec h n o lo g y   b y   h elp in g   u s er s   c o m p r eh en d   I s lam ic  in h er itan c law  ( Far aid )   an d   p r o v id e   p er tin e n Qu r a n ic  v e r s es.  T h in teg r atio n   o f   NL P   tech n iq u es  a n d   alg o r ith m s   i s   ex am in ed   i n   th is   liter atu r s tu d y ,   wh ich   co m p a r es  s ev er al  s tr ateg ies  to   i d en ti f y   th e   b est  f it   f o r   th is   ch at b o t.   I also   l o o k s   at   th s tu d y   o f   Far aid   in   th Q u r an ,   in clu d in g   its   v er s es,  d is tr ib u tio n   g u id elin es,  an d   in te g r at io n   with   NL f o r   p r ec is in h er itan ce   c o m p u tatio n s .     2 . 1 .     F a ra id s t ud ies in Al - Q u ra   T h is   s ec tio n   will  d is p lay   d et ailed   o v er v iew  o f   w h at  Far aid   o r   I s lam ic  L aw  o n   I n h e r itan c is   in   th Qu r an   h o to   in teg r ate  Far a id   with   an   in tellig en ch atb o t.  I co v er s   th d ef in itio n   o f   Qu r an ,   Far aid ,   its   d is tr ib u tio n   law,   an d   th in teg r atio n   o f   Far aid   an d   Qu r an ic  v er s in   an   in tellig en ch at b o t.  T h Ho ly   Qu r an   is   th h o l y   s cr ip tu r o f   I s lam ,   a n d   it  was  wr itten   in   C lass ical   Ar ab ic  a n d ,   f o r   Mu s lim s ,   it  i s   s o u r ce   o f   m o r al  co m p ass   f o r   th eir   f aith   an d   leg al  m atter s .   I s er v es  as  t r an s ce n d en co m m u n icatio n   m ed iu m ,   p r o m o tin g   h u m an   life   a n d   tr an s ce n d en co m m u n icatio n   with   Allah   th r o u g h   th Pro p h et  Mu h am m a d   SAW   [ 1 4 ] .   I n   th e   Qu r an ,   t h er ar e   v ar i o u s   r u l es,  tales,  an d   d ec r ee s   f r o m   Allah   th at  it  b ec o m e   th s ac r ed   g u id a n ce   f o r   th e   wh o le  Mu s lim s   in   th is   wo r ld   s in ce   th Pro p h et  Mu h am m ad   SAW .   C la s s ical   Mu s lim   s ch o lar s h ip   v iews  th e   Qu r an   as  th wo r d   o f   Go d   r e v ea led   to   th p r o p h et  Mu h a m m ad ,   th p r im ar y   s o u r ce   f o r   d eter m in in g   b elief s   an d   p r ac tices  o f   I s lam ,   an d   s e r v es  as  a   s ac r ed   o b ject   in   r itu al  an d   ev er y d ay   s ettin g s   [ 1 5 ] .   Far aid   o r   I s lam ic  in h er itan ce   law  is   o n o f   m an y   to p ics  to u c h ed   o n   in   th Qu r an .   T h er ar m u ltip l tim es  th Qu r an   m en tio n s   Far aid   in   Su r a h   An - Nis a.     2 . 1 . 1 .     F a r a id dis t ributio n la w   F a r a i d ,   t h I s la m i c   la w   o f   i n h er i t a n c e ,   d i v i d es   t h p r o p e r t i e s   o f   a   d e a d   M u s li m   a m o n g   h i s / h e r   c h i l d r e n   i n   a n   e x a c t   w a y .   T h is   m e t h o d   d e p e n d s   o n   p a r t i c u l a r   p o r t i o n s   m e n t i o n e d   i n   t h e   Q u r a n   a n d   t h e   t r a d i t i o n s   o f   t h P r o p h e t ,   w h i c h   m ai n t a i n   f ai r n es s   i n   p r o p e r t y   d i s t r i b u t i o n   a m o n g   c h i l d r e n   a n d   a v o i d   m i s u n d er s t a n d i n g   as   w e ll   as   p o r t r a y i n g   c o n s e r v a t i v e   I s l a m ic   v i r t u e s .   A s   f o r   c h i l d r e n   o f   t h e   d e c e a s e d ,   d a u g h t e r s   r e c e i v e   h a l f   o f   w h a t   s o n s   d o   b e c a u s e   t h e   Q u r a n   s a y s   s o n s   d e s e r v e   t w i ce   w h at   d a u g h t e r s   d o .   T h i s   i s   p r a c ti c e d   i n   t h e   i n h er i t a n c e   l a b e c a u s e ,   a c c o r d i n g   t o   t h e   Q u r a n ,   T o   t h e   m a l e   t h e   e q u i v a l e n t   o f   tw o   f em a l e s .   T h e r e f o r e ,   s o n s   g e t h b i g g e r   s h a r e   s i n c t h e y   a r e   s u p p o s e d   t o   t a k e   c a r e   o f   t h e i r   f a m i li e s   t r a d i ti o n a l ly .   T h e   F a r a i d   s y s te m   p r o t e c ts   a   b a l a n c e d   a n d   j u s a p p o r t i o n m e n t   o f   a   d e a d   M u s li m s   p r o p e r t y ,   s p e c i f i c a l l y   s et   o u t   u n d e r   I s l a m i c   la w .   H e n c e ,   b y   f o l l o w i n g   t h e s p r i n c i p l e s ,   t h e   p a r t it i o n   r e s p ec t s   r e l at i o n s   b e t we e n   r e l a t i v es  a n d   e n s u r e s   t h e   r i g h t   t o   p r o p e r t y   o w n e r s h i p   b y   t r a n s f e r r i n g   o w n e r s h i p   r i g h t s   f r o m   a   d e c e a s e d   p e r s o n   t o   t h e i r   li v i n g   r e l a t i v es   b as e d   o n   A l l a h s   p r o v i s i o n s   [ 1 6 ] .   I n   ca s th late  h u s b an d   leav es  k id s ,   th estate  s h ar o f   th wif is   lo wer ed   to   o n e - eig h th .   On   th o th er   h a n d ,   if   th er a r n o   ch i ld r en ,   th e n   th is   lad y   is   en titl e d   to   o n e - q u ar ter   o f   all  h is   p r o p er ties .   T h is   clea r ly   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 7 2 2 - 2 5 8 6   I AE I n J   R o b   &   A u to m Vo l .   14 ,   No .   3 Sep tem b er   20 25 :   39 3 - 40 6   396   d em o n s tr ates  o n o f   th r ea s o n s   f o r   r ed u ci n g   h e r   en titl em en is   d u to   th e   f ac th at  s o m eb o d y   is   alr ea d y   tak in g   u p   q u ite  an   a m o u n in   t er m s   o f   p ar en tal  r esp o n s ib ilit y .   I n   th s am wa y ,   th e   m an   wh o s wif h as  d ied   with o u h av in g   ch ild r en   s h o u l d   tak th h alf   o f   wh at  b el o n g s   to   h er b u wh en   th ey   lea v s o m k id s   b e h in d   h im   it  is   b etter   f o r   h im   to   lea v th r ee   q u ar ter s   ( ¼ )   b ec au s th ey   n ee d   it  m o r e   th an   a d u lts   af ter   all  as  th ey   ar e   m o r co n n ec ted   th a n   an y o n e ls as st ated   in   th   T h p r o p o r ti o n   o f   t h m o th e r s   e n ti tle m e n t   is   d e p e n d e n o n   wh e th e r   t h er ar an y   c h il d r e n   in v o l v e d   o r   n o t.  I f   t h d e ce as e d   h a d   ch il d r e n ,   s h w o u l d   g e t a   s i x t h   p a r t a s   a n   h ei r ;   o th e r wis e ,   s h w o u l d   t a k t h i r d   p a r t   co n s i d e r i n g   h e r   cl o s e r   p r o x i m ity   t o   a n d   m ai n   r esp o n s i b il it y   f o r   th d e p a r t e d .   T h f at h e r   g ets  1 / 6   o f   t h s h ar wh e n   t h e r e   a r e   k id s .   I f   th d e a d   p e r s o n   d o es  n o t   h a v e   a n y   k i d s ,   t h e n   t h d ad   c an   r ec ei v e   m o r m o n e y   f r o m   th e   estat b ec a u s h e s   s til p a r t   o f   it   a f te r   e v e r y o n else   g ets   t h e i r   f i x e d   p a r ts ,   it   is   o f te n   wh at   is   le f t   t o   h i m .     2 . 2 .     AI cha t bo t   I n tellig en ch at b o ts   ar e   cu ttin g - ed g e   AI - p o wer ed   d ev ices  m ad to   co n v er s lik e   h u m an s   an d   ca r r y   o u o p er atio n s   in   r esp o n s to   u s er   in p u t,  d ec r ea s in g   th e   n ee d   f o r   h u m an   in ter v e n tio n   an d   ac ce ler atin g   p r o ce d u r es  [ 1 7 ] .   I n tellig en ch atb o ts   u s AI ,   NL P,  an d   m ac h in lear n in g   to   c o m p r e h en d   c o n tex an d   p r o d u ce   p r ec is e,   n atu r al  r esp o n s es,  in   co n tr ast  to   s im p le  ch atb o ts   th at  d ep en d   o n   p r ed ef in e d   s cr ip t s .   B y   lear n in g   f r o m   u s er   ch ats,  i n tellig en ch at b o t s   m ay   p er s o n alize   in ter ac tio n s ,   in cr ea s in g   u s er   p leasu r a n d   en g ag em e n t.  Fo r   ex am p le,   AI   ch atb o ts   in   h ea lt h   p r o g r am s   h av d em o n s tr ated   ef f ec tiv en ess   in   en co u r a g in g   h ea lth y   h ab its   an d   life s ty le  ch an g es  [ 1 0 ] .   T h ey   ca n   h elp   with   cu s to m er   s er v ice,   e - co m m e r ce   tr an s ac tio n s ,   s ch ed u lin g ,   an d   f in an cial  ad v ice  in   a   v ar iety   o f   in d u s tr ies,  in cl u d in g   r etail,   b a n k in g ,   ed u ca tio n ,   an d   h ea lth ca r [ 1 8 ] .   I n tellig en t   ch atb o ts   p r o v id d y n am ic  a n d   ef f ec tiv s o lu tio n   f o r   v ar iety   o f   ap p licatio n s   b y   co m b in in g   r ea l - tim d ata   r etr iev al  an d   c o n ten t sear ch   ca p ab ilit ies.     2 . 3 .     Na t ura l la ng ua g pro ce s s ing   ( NL P )   in i nte llig ent   ch a t bo t   B ec au s ch atb o ts   ca n   ef f ec tiv ely   co n v er s u tili zin g   s o p h is ticated   NL tech n iq u es,  t h ey   ar g r o win g   in   p o p u lar ity .   NL g iv es  ch atb o ts   th ab ilit y   to   f u lly   u n d er s tan d   s y n tax ,   s em an tics ,   an d   co n tex t.  T h is   en ab les  th em   to   p r o p er ly   in ter p r et  an d   r ea ct  to   u s er   in q u ir ies.   NL h as  g r ea tly   e n h an ce d   au t o m ate d   tex a n d   lan g u a g an aly s is ,   b o o s tin g   c h atb o ca p ab ilit ies  with   ad v an ce s   in   m ac h in an d   d ee p   lear n i n g   [ 1 9 ] .   T h g o al  o f   th e   ar tific ial  in tellig en ce   f ield   o f   NL is   to   cr ea te  s y s tem s   th a ca n   co m p r eh en d   an d   p r o c ess   h u m an   lan g u ag e   [ 2 0 ] .   Data   p r ep ar atio n   is   th e   f ir s an d   m o s im p o r tan s tag e   in   tr an s f o r m in g   u n s tr u ct u r ed   t ex in to   s tr u ctu r ed   d ata  f o r   ad d itio n al  an aly s is ,   wh ich   r eq u ir es  v ar iety   o f   NL ap p r o ac h es.  L em m ati za tio n ,   s tem m in g ,   to k en izatio n ,   an d   s to p   wo r d   r em o v al  a r b asic  p r ep r o ce s s in g   m eth o d s .   T o   m a k a n aly s is   ea s ier ,   to k en izatio n   d iv id es tex t in to   s m aller   ch u n k s ,   lik wo r d s   o r   p h r ases   [ 2 1 ] .   T o   im p r o v p r o ce s s in g   s p ee d ,   s to p   wo r d   r em o v al   r em o v es c o m m o n   wo r d s   with   lo s em an tic  m ea n in g   [ 2 2 ] .     2 . 4 .     Alg o rit hm s   in NL P   B u ild in g   an   in tellig en t   ch at b o th at  e x ce ls   in   r esp o n s p r o d u ctio n ,   co n te x m an a g em en t,  an d   lan g u ag e   co m p r eh e n s io n   r eq u ir es  ca r ef u l   co n s id er atio n   o f   th alg o r ith m   to   b u s ed .   T h e   alg o r ith m   n ee d s   to   b ab le  to   f ig u r o u u s er   in q u ir ies  p r ec is ely ,   ca r r y   o n   m ea n i n g f u d is cu s s io n s ,   an d   p r o v id e   p er tin en an s wer s   in s tan tly .   Sev er al  v er y   ef f icie n alg o r ith m s   th at   ar f r eq u en t ly   em p lo y ed   in   NL P - b ased   c h atb o b u ild in g   h av e   b ee n   f o u n d   d u r in g   r esear ch .   T h ese  co n s is o f   tr an s f o r m er   an d   atten tio n   m ec h a n is m s ,   r u le - b ased   s y s tem s ,   m ac h in lear n in g - b as ed   m o d els ,   a n d   s e q u e n ce - to - s eq u e n c ( Se q 2 Se q )   m o d els .   R e g a r d i n g   a cc u r ac y ,   ef f ic ie n c y ,   a n d   c o n v e r s ati o n a l   co n tex ad ap tab ilit y ,   ea ch   o f   th ese  alg o r ith m s   h as  u n iq u b en ef its .   T h ey   d o ,   h o wev er ,   h av e   d r aw b ac k s   an d   d if f icu lties   o f   th eir   o wn ,   s u c h   as  p r o ce s s in g   co m p lex ity ,   d ata  d ep en d en cy ,   o r   tr o u b le  an s wer in g   u n clea r   in q u ir ies.  As  r esu lt,  ch o o s in g   th b est  alg o r ith m   d e p en d s   u p o n   th e   p ar ticu lar   n ee d s   o f   th e   ch atb o t,   th e   ty p e   o f   u s er   in ter ac tio n s ,   an d   th e   d eg r ee   o f   a u to m atio n   an d   in tell ig en ce   r e q u ir ed   f o r   th s y s tem   to   o p er ate  e f f icien t ly .   R u led - b ased   s y s tem   is   o n o f   NL alg o r ith m   th at  u s s et  o f   p r ed e f in ed   r u les  cr ea ted   b y   d ev elo p er s   to   d eter m in e   th c h atb o t’ s   r e s p o n s e.   T h ese  r u les  ar c o m m o n ly   wr itten   u s in g   if - th en   s tatem en ts   an d   ar d esig n ed   to   h an d le  s p ec if ic  q u er ies  an d   s ce n ar io .   T h is   alg o r ith m   co m es  with   f ea tu r es  th at  ea s y   to   d esig n   an d   im p lem en t,  an d   p r o v id es  p r ec i s co n tr o o v er   ch atb o b eh av i o r   an d   r esp o n s es  [ 2 3 ] .   Nex is   m ac h in lear n in g - b ased   s y s tem   alg o r ith m ,   an   NL alg o r ith m   th at   u s alg o r ith m   th at   allo th e   ch atb o to   l ea r n   f r o m   d ata   an d   im p r o v f r o m   tim to   tim e.   I t   ca n   u n d e r s tan d   an d   g en er ate  r esp o n s es  b ased   o n   p atter n s   an d   ex am p les  f o u n d   in   th tr ain in g   d ata.   T h ad v an tag es  o f   u s in g   th is   alg o r ith m   ar it  ca n   lear n   f r o m   p r e v io u s   alg o r ith m   a n d   in ter ac tio n s   an d   im p r o v o v er   tim with o u m an u al  in ter v en tio n .   Ho wev er ,   b y   u s in g   th is   alg o r ith m ,   lar g e   am o u n o f   d ata  f o r   tr ain i n g   is   r eq u ir ed   to   ac h iev h ig h   p er f o r m an ce   an d   it  r eq u ir es  s ig n if ican co m p u tatio n al   r eso u r ce s   f o r   tr ain in g   a n d   in f er en ce   [ 2 4 ] .   T h e   last   alg o r i th m   th at  ca n   b e   u s ed   t o   d e v elo p   NL in   th e   in tellig en ch atb o is   Seq 2 Se q   alg o r ith m   wh ich   is   g r o u p   o f   n e u r al - n etwo r k - b ased   m o d els  [ 2 5 ] .   Seq 2 Seq ,   u s u ally   im p lem en ted   u s in g   r e cu r r en n eu r al  n etwo r k   ( R NN)   o r   lo n g   s h o r t - ter m   m em o r y   n etwo r k   ( L STM s ) ,   ar p o wer f u l f o r   h an d lin g   c o n v er s atio n al  task .     Evaluation Warning : The document was created with Spire.PDF for Python.
I AE I n J   R o b   &   A u to m   I SS N:   2722 - 2 5 8 6         F a r a id   d is tr ib u tio n   ca lcu la ti o n   u s in g   A I - b a s ed   Qu r a n ic  ch a tb o t   ( I ma n   Ha fiz i Md   Zin )   397   2 . 5 .     E x p l o r in g   a pp r o a c h es   t o   F a r a i d   i mp le me n t a t i o n :   t r a di t i o n a l   p r a c t i c es   a nd   t e c hn o l o g i c a l   i nn o v a t i o ns   T h u s ef u ln ess   o f   GPT - 3 . 5   in   p r o v id i n g   f atwa s   ass o ciate d   with   I s lam ic  f am ily   law  is   in v es tig ated   in   th is   s tu d y   [ 8 ] .   I p r o v id es  an s wer s   m o r q u ick ly   an d   ea s ily   th an   co n v en tio n al  tech n iq u es ,   b u it  f r eq u en tly   co m es  s h o r t   o f   h u m an   r esear c h er s   clar ity   an d   d e p th .   GPT - 3 . 5   m ig h t   g iv e   in co r r ec a n s wer s ,   r ef lect  b iases   in   its   tr ain in g   d ata,   an d   m is in ter p r et  q u esti o n s .   Fu r th er m o r e,   i is   u n ab le  to   d u p licate  th i n ter ac tiv d ialo g u e   th at  is   n ec ess ar y   f o r   co n v en ti o n al  f atwa   p r o ce d u r es.  E - Far a id T an ah ,   web - b ased   ex p er s y s tem ,   was  cr ea ted   in   [ 5 ]   to   h elp   Mu s lim s   co m p r e h en d   I s lam ic  in h e r itan ce   law  a n d   d eter m i n lan d   allo ca tio n   b ased   o n   Far aid .   I n   th eir   r ec en s tu d y   in   [ 2 6 ] ,   th au th o r s   p r esen ted   b l o ck ch ain   tech n o lo g y   in   estate  d is tr ib u tio n ,   h ig h li g h tin g   its   ad v an tag es,  wh ich   in clu d q u i ck er   claim s ,   en h a n ce d   s ec u r ity ,   an d   th e   av o id a n ce   o f   illeg itima te  ass et  s ale s .     T h au th o r s   ex am in ed   t y p ical   p r o b lem s   with   co n v en tio n al  ap p r o ac h es  an d   p r esen ted   m o d if icatio n s   b ased   o n   th r esu lts   o f   th eir   q u alitativ s tu d y   in   o r d er   t o   en h an ce   th c u r r en t   in h er itan ce   d is tr ib u tio n   s y s tem   [ 2 7 ] .   I n   o r d e r   to   lear n   m o r ab o u th e   b est  p r ac tices  in   I s lam ic  estate  p lan n in g ,   th s tu d y   u s ed   in ter v iews.   R esp o n d en ts   an d   estate  p lan n in g   s er v ice  p r o v id er s   in   Pen i n s u lar   Ma lay s ia’ s   n o r th er n   r e g io n   p ar ticip ate d   in   s em i - s tr u ctu r ed   in ter v iews  [ 2 8 ] .   T h is   r esear ch   u s es  g r o u n d ed   th eo r y - b ased   q u alitativ e   m eth o d o lo g y   th at  co m b in es  in d u ctiv an d   q u a litativ an aly s is   with   co n s tr u ctiv is an d   in ter p r etiv is v iewp o in ts .   I n - p er s o n   in ter v iews a n d   r e v iew  o f   th e   liter atu r wer u s ed   to   co llect  d ata  [ 2 9 ] .   T o   f ac ilit ate  co n tin u al  im p r o v em en an d   ass ess   cu s to m er   s atis f ac tio n ,   th p r o ject  em p lo y ed   an   in cr em en tal  an d   iter ativ e   s tr ateg y .   T h c r ea tio n   o f   M - Far aid ,   s m ar t p h o n ap p   in te n d ed   to   in f o r m   Mu s lim s   ab o u I s lam ic  in h er itan ce   law ,   is   co v er ed   in   th is   s tu d y .   T h ap p licatio n   ass is ts   u s er s   in   d eter m in in g   t h eir   in h er itan ce   s h ar es  a n d   c o m p r eh en d in g   wea lth   d is tr ib u tio n .   I s ee k s   to   less en   in h er itan ce   d is p u tes  with in   th e   f am ily   b y   allo win g   s elf - ca lcu l atio n   [ 6 ] .   I n   o r d er   to   f ac ilit ate  th c o m p licated   p r o ce d u r o f   allo ca tin g   m o n ey   in   ac co r d a n ce   with   I s lam ic  I n h er itan ce   L aw  [ 7 ] ,   t h au th o r   p r esen ts   th I n tellig en Fa r aid   C alcu lato r .   T h e   s y s tem s   g o al  is   to   h elp   Mu s l im s   u n d er s tan d   an d   ex ec u te  t h r ig h ca lcu latio n s   in   lin with   I s lam ic  law.   I t   also   aim s   to   teac h   Mu s lim s   h o to   p r o p er ly   o r g a n ize  th eir   estate  d is tr ib u tio n   an d   im p r o v u p o n   an   e ar lier   v er s io n   cr ea ted   b y   USM  s tu d en t.    T h p u r p o s o f   th is   s tu d y   is   to   d eter m in h o m u ch   k n o w led g Mu s lim s   in   Ku ala  L ip is ,   Pah an g ,   h av ab o u Far aid   [ 3 0 ] .   T h er e   ar 1 0 2   p ar ticip an ts   ch o s en   b y   co n v e n ien ce   s am p lin g ,   an d   d ata  was  g ath er ed   q u an titativ ely   u s in g   an   o n lin e   q u esti o n n air e .   T h r esu lts   d e m o n s tr ate  th at  a   s izab le  p o r tio n   o f   r esp o n d e n ts   h ad   an   ad eq u ate  u n d er s tan d in g   o f   Far aid .   T h s tu d y   r esu lte d   to   th co n clu s io n   th at  th m ajo r ity   o f   Mu s lim s   ar ca p ab le  o f   d eter m i n in g   t h leg itima te  h eir s   in   in h er itan ce   ca s es  af ter   ca r ef u lly   r ev iewin g   th r esear ch   p ap er s   [ 3 1 ] .   T h is   r esu lt  em p h a s izes  h o im p o r tan it  is   to   m ain tain   an d   im p r o v I s lam ic  e d u ca tio n .   H o wev er ,   th er is   d em o n s tr ab le  d ec r ea s in   s o m p o p u latio n s   co m p r eh en s io n   o f   Far aid .     2 . 6 .     I nte g ra t io n o f   Q ur’ a wit h inte llig ent   cha t bo t   T h d ev elo p m e n o f   Qu r an ic  ch atb o ts   with   AI   in   p lace   i s   t o   o f f er   p latf o r m   wh e r f o llo wer s   ca n   ac ce s s ,   co m p r eh e n d ,   an d   in t er ac with   m ess ag es  co n tain e d   in   Al - Qu r an .   T h is   d o cu m e n in v esti g ates  th m ajo r   s u b jects,  a p p r o ac h es  ta k en   a n d   r esu lts   f o u n d   i n   th e   a p p licatio n s   o f   AI   t o   Qu r an ic  s tu d ies  with   s p ec if ic  r ef er en ce   to   NL P,   m ac h in le ar n in g   as  well  as  ch at b o d ev elo p m en t.   ch at b o i n   wh ich   NL is   in teg r ate d   with   th Qu r an ic  te x ca n   s u b s tan tially   im p r o v th a b ilit y   to   g iv e   p r ec is e,   m ea n in g f u l,  an d   co n te x tu al   r esp o n s es  to   u s er   q u er y .   D o in g   th is   m ay   r e q u ir e x p lo it in g   d iv er s NL ap p r o ac h es  wh ile  in ter p r etin g   Ar ab ic’ s   in tr icate   an d   s en s itiv n atu r e;  th u s ,   in f o r m ally   e d u ca tin g   o r   d ir ec tin g   p e o p le  th r o u g h   th ese  m ea n i n g s   is   m ad p o s s ib le  u s in g   s u ch   ch atb o t.   Stu d ies  lik ex is tin g   ch atb o t   th at  ef f ec tiv ely   h a n d les  g e n er al  m ed ical  q u esti o n   in   Alg e r ian   Ar ab ic   d ialec u s in g   th r ee   s eq u en ce - to - s eq u en ce   m o d els  b ased   o n   R NN  [ 3 2 ]   s h o th at  th ch at b o ca n   ex ec u te  an d   p er f o r m   th e   p r o ce s s   th at  in v o lv ed   d if f er e n lan g u ag e   d at aset  lik Qu r an ic   Ar ab ic.   T o k en izatio n ,   p ar t - of - s p ee ch   tag g in g ,   a n d   n am e d   en tity   r ec o g n itio n   a r lan g u ag p r o ce s s in g   tech n iq u e s   th at  h av b ee n   im p lem en ted   in   t h an aly s is   o f   Qu r an ic  v e r s es.       3.   M E T H O DO L O G Y   T h is   p ar in tr o d u ce s   th m eth o d o lo g y   u s ed   f o r   b u ild in g   th Qu r an ic  ch atb o d e v elo p e d   f o r   aid in g   p eo p le  in   co m p r eh en d in g   I s lam ic  in h er itan ce   laws  ( Far aid )   an d   p r o v is io n   o f   r elev an Qu r an ic  v er s es.  T h e   ch atb o th at  ass is t s   Mu s l im s   in   r eso lv in g   Far aid - r elate d   is s u es  is   d ev elo p ed   u s in g   v a r iety   o f   tech n iq u es.   T h is   s tu d y   ad d r ess es  th b asi Far aid   d is tr ib u tio n ,   wh ich   in clu d es  th h u s b an d ,   wif e,   f ath er ,   m o th er ,   a n d   ch ild r en ,   in clu d in g   b o t h   s o n s   an d   d au g h te r s .   T h f o u r   p r im ar y   s ec tio n s   o f   th tech n iq u ar r eq u ir em en ts ,   d esig n ,   d ev el o p m en t,   an d   test i n g .     3 . 1 .     Requirem ent   Ana ly s is   Un d er s tan d in g   a n d   s p ec if y in g   th ess en tial  elem en ts   f o r   an   ex ten s iv s tu d y   o r   s y s tem   ass o ciate d   with   I s lam ic  in h er itan ce   law  ( Far aid )   r eq u ir es  an   in ten s iv e   r eq u ir em en a n aly s is   p h ase.   I n   o r d er   t o   g u ar an tee   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 7 2 2 - 2 5 8 6   I AE I n J   R o b   &   A u to m Vo l .   14 ,   No .   3 Sep tem b er   20 25 :   39 3 - 40 6   398   au th en ticity ,   d e p en d a b ilit y ,   a n d   co m p r eh e n s iv en ess   in   th r ep r esen tatio n   o f   Qu r a n ic  in h er itan ce   p r in cip les,  th is   s tep   f o cu s es o n   g ath er i n g ,   ev alu atin g ,   a n d   v alid atin g   ap p r o p r iate  i n f o r m atio n   s o u r ce s .     3 . 1 . 1 .   Q ura nic v er s es da t a s et   Go o g le  C h r o m was u s ed   to   b r o wse a   GitHu b   r ep o s ito r y   wh er th d ata  was im p o r ted   an d   ex tr ac ted .   co m p lete  c o llectio n   o f   Qu r a n ic  v er s es  is   in clu d ed   in   th is   d ataset,   alo n g   with   tr an s latio n s   f o r   ea c h   wo r d   a n d   v er s e.   I also   o f f er s   th o r o u g h   ex p lan atio n s   o f   Far aid ,   o r   I s lam ic  in h er itan ce   law,   with   an   em p h asis   o n   im p o r tan Qu r an ic  v e r s es  th at  d escr ib th d i v is io n   o f   in h er itan ce .   T h ese  p ass ag es,  wh ich   d eter m i n th e   r ig h tf u l   s h ar es  o f   h eir s ,   i n clu d in g   p a r en ts ,   s p o u s es,  ch ild r en ,   an d   o th er   r elativ es,  in cl u d S u r ah   A n - Nis ( 4 :7 ,   4 :1 1 ,   4 :1 2 ,   an d   4 :1 7 6 ) .   I s lam ic  in h er itan ce   law  is   b ased   o n   t h ese  p ass ag es,  wh ich   g u ar a n te eq u ity   an d   ju s tice  in   th d is p o s al  o f   wea lth   in   ac co r d an ce   with   d iv in p r ec e p ts .   T h d ataset  h elp s   ex p er t s ,   r esear ch er s ,   an d   s tu d en ts   co m p r eh e n d   th e x a ct  leg al  an d   th eo lo g ical  r am i f icatio n s   o f   Far aid   as  o u tlin e d   in   th Qu r a n   b y   p r o v id i n g   wo r d - by - wo r d   tr an s latio n s   an d   co n te x tu al  m ea n i n g s .     3 . 1 . 2 .   F a ra id la ws a nd   princip les   I n f o r m atio n   a b o u t   Far aid   laws  an d   p r in cip les  is   co m p iled   f r o m   th o r o u g h   liter atu r ass ess m en an d   is   s u p p o r ted   b y   a   n u m b er   o f   r eliab le   s o u r ce s ,   i n clu d in g   s ch o lar ly   jo u r n als,  r esear ch   p ap e r s ,   r ep u tab le   web s ites ,   co u r r ec o r d s ,   an d   tr ad itio n al  I s lam ic  wr itin g s .   T h co m p r eh en s io n   o f   Far aid   is   f u r th er   en h an ce d   b y   in f o r m atio n   f r o m   r ec en leg al  r esear ch ,   f atwa s   p u b lis h e d   b y   I s lam ic  s ch o lar s ,   a n d   g o v e r n m en t   laws  p er tain in g   to   in h er ita n ce   law  i n   ce r tain   n atio n s   with   m ajo r ity   o f   Mu s lim s .   I n   o r d er   to   en s u r th o r o u g h   an d   well - r o u n d e d   ex am in atio n   o f   i n h er itan ce   d is tr ib u tio n ,   leg al  p r in cip les,  an d   co n tem p o r a r y   u s es o f   Far aid   in   th cu r r en s ettin g ,   th in f o r m at io n   is   also   s o u r ce d   f r o m   s ch o lar ly   p u b licatio n s ,   d ig ital   r ep o s ito r ies,  an d   u n iv er s ity   r esear ch   d atab ases .     3 . 2 .     Desig n pha s e   T h s y s tem   ar ch itectu r e,   w h ich   d escr ib es  th s tr u ctu r al  elem en ts   an d   th eir   in te r co n n ec tio n s ,   is   p r esen ted   to   g iv th o r o u g h   g r asp   o f   th im p lem en tatio n   s tr ateg y .   well - s tr u ctu r ed   f lo wc h ar t th at  s h o ws th e   m eth o d ical  p r o ce d u r an d   lo g ical  p r o g r ess io n   o f   o p er atio n s   is   th en   u s ed   to   p o r tr a y   th s y s tem s   s eq u en tial  f lo w.   Fig u r 1   s h o ws  th f lo b eg in s   with   u s er   in s er tin g   th eir   q u e r ies  in   th ch at  b o x .   Af ter   r ec eiv in g   u s er   q u er ies,  th e   ch atb o s y s tem   w ill  p r o ce s s   th q u er ies  al o n g   with   o th er   d etails  b ef o r s tar t in g   th e   ca lcu latio n .   T h en ,   with   all  t h r u les,  an d   p r in cip les  o f   Far aid   r elate d   to   u s er   q u er ies  g ath er e d ,   t h ca l cu latio n   p er f o r m   a t   th s am tim as  th p r o ce s s   o f   r etr iev al  o f   r elev an Qu r an ic  v er s es.  Fin aly ,   th ca lcu latio n   r esu lt  d is p lay ed   alo n g   with   th s elec ted   r ele v a n t Q u r an ic  v e r s to   th u s er .           Fig u r 1 .   Flo wch ar o u tlin in g   th en tire   r esear ch   p r o ce s s   Evaluation Warning : The document was created with Spire.PDF for Python.
I AE I n J   R o b   &   A u to m   I SS N:   2722 - 2 5 8 6         F a r a id   d is tr ib u tio n   ca lcu la ti o n   u s in g   A I - b a s ed   Qu r a n ic  ch a tb o t   ( I ma n   Ha fiz i Md   Zin )   399   3 . 2 . 1 .   Sy s t em   a rc hite ct ure   T h s u g g ested   Qu r a n ic  b o t’ s   s y s tem   ar ch itectu r e   as  d e p icted   in   Fig u r 2   is   b u ilt p r im ar ily   t o   r esp o n d   to   u s er   q u er ies,  it  also   f in d s   r elev an p ass ag es  f r o m   th Qu r an   as  well  as  ca lcu lat es  Far aid   ( I s lam ic   in h er itan ce ) .   T h p r im ar y   lay er s   o f   th s y s tem   in clu d u s er   in ter f ac lay er ,   ap p licatio n   lo g ic  lay er ,   a n d   d ata   lay er .   On lin e   u s er s   ca n   co m m u n icate   with   th e   ch atb o b y   m ea n s   o f   web - b ased   p latf o r m s ,   th is   is   wh er th e   u s er   in ter f ac lay er   is .   As f ar   as r eq u ests   ar co n ce r n ed ,   th a p p licatio n   lo g ic  lay er   is   co m p o s ed   o f   th ch atb o t   en g in e,   NL m o d u le  an d   Far aid   ca lcu lato r   wh ich   all  h an d le  th em   in   ter m s   th at  m ak s en s to   m an   wh ile  ca lcu latin g   in h er itan ce   at  th s am tim e.   I n   o r d er   f o r   co r r ec ac tio n s   to   b ca r r ied   o u t,  d at lay er   h as  ce r tain   k ey   d ata   s ets  lik Far aid   r u le s ,   u s er   q u e r y   lo g s ,   Qu r a n ic  v er s es  am o n g   o th er s   d e p en d i n g   o n   th s ce n ar i o   in   q u esti o n .           Fig u r 2 .   Diag r a m   o f   th p r o p o s ed   s y s tem s   ar ch itectu r e       3 . 3 .     Dev el o pm ent   ph a s e   T h m eth o d o lo g y   f o r   d ev elo p i n g   th Far aid   ch at b o is   ce n ter ed   ar o u n d   th im p lem en tatio n   o f   r u le - b ased   alg o r ith m   f o r   in h er itan ce   d is tr ib u tio n   a n d   a   f u zz y   m atch in g   f u n ctio n   f o r   u s er   i n ter ac tio n .   T h ese  two   co m p o n en ts   en s u r e   th at  th e   c h atb o p r o v i d es  ac cu r ate  a n d   r eliab le  ca lcu latio n s   wh ile  im p r o v in g   th e   o v e r all  u s er   ex p er ien ce .     3 . 3 . 1 .   Rule - ba s ed  a lg o rit hm   i m plem ent a t io n a nd   f uzzy   ma t ching   f un ct io n   T h Far aid   ch atb o is   im p lem en ted   u s in g   th r u le - b ased   s y s tem ,   wh ich   g iv es  it  a   h ig h   d eg r ee   o f   r eliab ilit y   an d   ac cu r ac y   b ased   o n   well - d ef in e d   Far aid   r u les.  Acc o r d in g ly ,   I s lam ic  in h er ita n ce   laws  h av b ee n   en co d ed   with in   an   if - th e n   f r a m ewo r k   th at  th c h atb o will  b ev alu atin g   i n   o r d er   to   r esp o n d   to   u s er   in p u a n d   d eter m in th e   lawf u d is tr ib u ti o n   o f   ass ets.  T h s y s tem   m ay   u s d ec is io n   tr ee s   o r   lo o k - u p   t ab les  to   f o llo a n d   an aly ze   d if f er en s itu atio n s   o f   in h er itan ce ,   b ased   o n   ac t u al  h eir s   in   th c ase:  p ar tn er s ,   c h ild r en ,   o r   p a r en ts .   B ased   o n   th p s eu d o c o d in   Fig u r 3 ,   th f u n ctio n   to   ca lc u late  Far aid   d is tr ib u tio n   in   t h r u le - b ased   h av m u ltip le  s u b f u n ctio n s   an d   p r o ce s s es.  First  o f f ,   it  d ed u cts  d eb ts   f r o m   th to tal  estate,   th en   ap p o r tio n s   f ix e d   s h ar es  to   p ar en ts   an d   s p o u s e s .   T h r em ain in g   estate  ( Asab ah )   is   eq u ally   s h ar ed   am o n g   th ch ild r en ,   with   d o u b le   allo ca tio n   t o   th e   s o n s   as  co m p a r ed   to   th eir   s is ter s   ac co r d in g   to   Far ai d   r u les.  I t,   in   f ac t,   ac ts   as  an   im p ar tial,  p r ec is e,   an d   au to m a ted   allo ca to r   b ased   o n   u s er   in p u t.  I n   o th e r   wo r d s ,   f ir s t,  th en tire   estate  is   u s ed   to   p ay   o f f   an y   ex is tin g   d e b ts .   Fo llo win g   th at,   o n e - s ix th   o f   th r em ain in g   ass ets  ar g iv en   to   ea ch   p ar en t.  T h e   b o y s   an d   d a u g h ter s   i n h er it  i n   t h p r o p o r tio n s   o f   h alf   an d   o n e - q u ar ter ,   r esp ec tiv ely ,   wh ile  t h wo m an   r ec eiv es   one - eig h t h .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 7 2 2 - 2 5 8 6   I AE I n J   R o b   &   A u to m Vo l .   14 ,   No .   3 Sep tem b er   20 25 :   39 3 - 40 6   400       Fig u r 3 .   Ps eu d o c o d f o r   r u le - b ased   Far aid   d is tr ib u tio n   alg o r ith m       As illu s tr ated   in   Fig u r 4 ,   f u zz y   m atch in g   co m es in   to   h elp   t h ch atb o t u n d er s tan d   u s er s   q u er ies th at  m ay   in clu d ty p o s   an d   v ar iatio n s .   I c o m p a r es  th tex t   in p u ag ain s p r e d ef in ed   q u esti o n s   in   lin e   with   f u zz y   m atch in g   an d   r etu r n s   th clo s est  p o s s ib le  r esp o n s if   th s im ilar ity   is   b ey o n d   g iv en   th r esh o ld   v alu e.   T h er ef o r e,   u s er s   ar ass u r ed   o f   g ettin g   an   ac cu r ate  a n s wer   wh er ev er   t h eir   wo r d in g s   d if f e r .             Fig u r 4 .   Fig u r p s eu d o co d e   o f   f u zz y   m atch in g   f u n ctio n       3 . 4 .     T esting   ph a s   Fu n ctio n ality   test in g   was  ca r r ied   o u to   ass ess   th Qu r an ic  ch atb o t’ s   ef f ec tiv en ess   in   o r d er   to   m ak e   s u r it  wo r k s   an d   d ev elo p e d   well.     T h ese  test s   ev alu ate  th ch atb o t’ s   p r ec is io n   in   an s wer in g   u s er   q u esti o n s ,   r etr iev in g   p er tin e n v e r s es  f r o m   th Q u r an ,   an d   ac c u r ately   c alcu latin g   Far aid   d is tr ib u tio n s .   T h e   f u n cti o n in g   o f   th ch atb o will  b e   m eth o d ically   v er if ie d   in   th is   s tu d y   u s in g   test   ca s es,  g u ar an teein g   th at  it   g en er ates  ac c u r ate   r esp o n s es,  f in d s   au t h en tic  Qu r an ic  r ef er en ce s ,   an d   ex ec u tes  Far aid   co m p u tatio n s   ac cu r a tely   in   v a r iety   o f   co n tex ts .   Sev en   s am p le   test   ca s es  th at  wer u tili ze d   to   ass ess   th Qu r an ic   ch atb o t   ar s h o w n   in   th e   T ab le  1 .   A   th o r o u g h   d escr ip tio n ,   u s er   in p u t,  ex p ec ted   an d   ac tu al  o u tp u t s ,   an d   p ass /f ail  s tatu s   ar all  in clu d ed   i n   ea ch   test   ca s e.   Evaluation Warning : The document was created with Spire.PDF for Python.
I AE I n J   R o b   &   A u to m   I SS N:   2722 - 2 5 8 6         F a r a id   d is tr ib u tio n   ca lcu la ti o n   u s in g   A I - b a s ed   Qu r a n ic  ch a tb o t   ( I ma n   Ha fiz i Md   Zin )   401   T ab le  1 .   E x am p les o f   test   ca s es u s ed   to   ev alu atio n   th Qu r a n ic  ch atb o   Te st   I D   Te st   c a s e   D e scri p t i o n   Ex p e c t e d   o u t p u t   P a ss/ F a i l   1   U ser Q u e r y   P r o mp t .   En s u r e   u ser  c a n   p r o mp t   t h e i r   q u e r i e s   i n   t h e   c h a t   b o x   f i e l d .   U ser c a n   f i l l   t h e   c h a t   b o x   f i e l d   w i t h   t h e i r   q u e r i e s .   P a sse d   2   S e n d   B u t t o n   F u n c t i o n a l i t y .   Te st   t h e   f u n c t i o n a l i t y   o f   t h e   S EN D   b u t t o n   U ser c a n   s e n d   t h e   q u e r i e t h e y   w r i t e   i n   t h e   c h a t   b o x   f i e l d   b y   c l i c k i n g   S EN D   b u t t o n .   P a sse d   3   EN TE R   k e y   F u n c t i o n a l i t y   Te st   t h e   f u n c t i o n a l i t y   o f   t h e   EN TE R   k e y   U ser c a n   s e n d   t h e   q u e r i e t h e y   w r i t e   i n   t h e   c h a t   b o x   f i e l d   b y   p r e ss i n g   EN T ER   k e y .   P a sse d   4   U ser Q u e r y   H a n d l i n g   En s u r e   t h e   c h a t b o t   a c c u r a t e l y   r e sp o n d t o   a   u s e r   q u e r y   a b o u t   F a r a i d .   C h a t b o t   r e s p o n d s   t o   t h e   u ser  q u e r i e b y   r e p l y i n g   t o   t h e   u s e r   w i t h   f o l l o w   u p   q u e st i o n   r e l a t e d   t o   t h e   q u e r i e s .   P a sse d   5   Q u r a n i c   V e r ses   R e t r i e v a l   Te st   c h a t b o t   r e t r i e v a l   Q u r a n i c   v e r ses   f u n c t i o n .   R e s p o n se s t o   t h e   u ser  q u e r i e s w i t h   t h e   r e l e v a n t   Q u r a n i c   v e r s e s.   P a sse d   6   F a r a i d   C a l c u l a t i o n   F u n c t i o n a l i t y   En s u r e   t h e   c h a t b o t   a c c u r a t e l y   c a l c u l a t e   t h e   F a r a i d   d i st r i b u t i o n .   C h a t b o t   r e s p o n ses  a n d   d i sp l a y   F a r a i d   d i s t r i b u t i o n   a m o u n t   a c c u r a t e l y .   P a sse d   7   C l e a r   C h a t   B u t t o n   F u n c t i o n a l i t y   Te st   t h e   f u n c t i o n a l i t y   o f   t h e   C l e a r   C h a t   b u t t o n   Th e   c h a t b o t   w i l l   r e se t   t h e   c o n v e r sat i o n   l o g   a n d   U ser   I n t e r f a c e   b a c k   t o   d e f a u l t .   P a sse d       4.   RE SU L T   AND  DI SCUS SI O N   T h is   ch ap ter   o f f er s   th o r o u g h   d is cu s s io n   o f   th o u tco m es  an d   co n cl u s io n s   d r awn   f r o m   t h cr ea tio n   an d   ass ess m en o f   th is   AI - p o wer ed   Qu r an ic  ch atb o t.  T h p r o to ty p u s er   in ter f ac will  b th m ain   to p ics  o f   d is cu s s io n .   T o   m ak s u r it  ef f icien tly   p r o m o tes  u s er   in ter ac tio n s ,   th p r o to t y p u s e r   in ter f ac will  b ex am in ed   i n   ter m s   o f   its   d esig n ,   u s ab ilit y ,   an d   o v er all   u s er   ex p er ie n ce .   T h o u tco m es  o f   th f u n ctio n ality   test s   will  b r ev iewe d   in   th i n ter im   to   ass ess   th ch atb o t’ s   p r ec is io n ,   ef f ec tiv en ess ,   a n d   ca p ac ity   to   d eliv e r   d ep en d a b le  an s wer s   to   u s er   in q u ir ies.      4 . 1 .     P r o t o t y pe  us er   inte rf a ce   T h u s er   in ter f ac is   th p o in at  wh ich   h u m an   u s er s   in ter ac with   co m p u ter ,   web s ite  o r   ap p licatio n .   T h e   g o al   o f   ef f e ctiv UI   is   to   m ak e   th u s er s   e x p er ien ce   ea s y   a n d   in tu itiv e,   r eq u ir in g   m in im u m   ef f o r o n   th e   u s er s   p a r to   r e ce iv th m a x im u m   d esire d   o u tco m e.   I t   h id es  th co m p le x ity   th at  r u n s   b eh in d   with   th s im p ler   an d   m o r u s er - f r ien d ly   p ag e.   Fig u r 5   s h o w s   th m ain   p ag o f   th Far aid   ch atb o t.  I n   th u s er   in ter f ac in clu d es  th s en d   m ess ag b o x   f o r   u s er   to   p r o m p th eir   q u er ies  an d   an   in ter ac tiv s en d   b u tto n   to   s en d   th q u er ies  to   th c h atb o t.  T h e   m ess ag s en will  p o p   u p   o n   th e   r ig h t   s id o f   th e   p ag e   with   g r ee n   b ac k g r o u n d   in d icatin g   it  is   th u s er   m ess ag es.  T h ch at b o th en   will  r ep ly   to   t h q u er ies  with   r elate d   r esp o n s es a t th lef t sid o f   th p ag with   wh ite  b ac k g r o u n d .   B esid es,  i t a ls o   h as   clea r   ch at  b u tto n   f o r   u s er   if   th ey   wan to   clea r   all  t h p r e v io u s   ch at  h is to r y   to   g et  b etter   u s er   e x p er ien ce .   I n   ad d itio n ,   th u s er   in ter f ac e   also   h as  th e   d ar k   m o d e   b u tto n   to   t o g g le   th t h em o f   th u s er   in ter f ac e   to   b e   d ar k   m o d e   t o   en h an ce   th u s er   co m f o r ta b ilit y   u s in g   th c h atb o t.            Fig u r 5 .   Far aid   ch atb o m ain   p ag e   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 7 2 2 - 2 5 8 6   I AE I n J   R o b   &   A u to m Vo l .   14 ,   No .   3 Sep tem b er   20 25 :   39 3 - 40 6   402   4 . 1 . 2 .   I np ut  pro ce s s   t est  a nd   re s ults   T h in p u p r o ce s s   r ef er s   to   u s er   in ter ac tio n s   wh e r th e y   en t er   m ess ag es,  q u er ies,  o r   c o m m an d s   in to   th ch atb o t.  As  s ee n   in   Fig u r es  6   to   8 ,   wh ich   s h o h o th in p u p r o ce s s in g   o p er ates,  t h ch atb o a n aly ze s   th ese  in p u ts   an d   r esp o n d s   a p p r o p r iately   b ased   o n   p r e - es tab lis h ed   cr iter ia.   T h c h atb o will  u s f u zz y   m atch in g   to   co m p ar u s er   q u er ies  with   th s im i lar ity   s co r with   p r ed ef in ed   r esp o n s es  to   d eter m in wh eth er   th u s er   in p u t is r elate d   to   Far aid   to p ic  o r   n o t.  T h s im ilar ity   s co r is   s et  d if f er en tly   b ased   o n   th ty p o f   in p u t   wh ich   ar f r e q u en tly   ask ed   q u esti o n s   ( FAQs ) ,   g r ee tin g s ,   an d   k ey   co m m an d s .           Fig u r 6 .   R esu lt o f   Far aid   r ela ted   q u esti o n           Fig u r 7 .   R esu lt o f   n o n - Far aid   r elate d   q u esti o n           Fig u r 8 .   R esu lt o f   g u id es q u e r ies       4 . 1 . 3 .   Ca lcula t io n a nd   o utput   pro ce s s   t est  a nd   re s ults   T h e   c a l c u l a ti o n   p r o c e s s   r e f e r s   to   t h e   p r o c e s s   t o   g e t   t h e   f i n a l   r es u l t   o f   t h e   F a r a i d   d is t r i b u ti o n   t h a t   o c c u r s   a t   b a c k e n d   o f   t h e   s y s t e m .   T h e   o u t p u t   p r o c e s s   r e f e r s   t o   t h e   p r o c e s s   o f   d i s p l a y i n g   f i n a l   r e s u l ts   o f   t h e   c a l c u l a t i o n s   o n   t h e   s c r e e n   f o r   t h e   u s e r s .   F i g u r e s   9   p o r t r a y e d   h o w   t h e   c al c u l a t i o n   a n d   o u t p u t   p r o c e s s   i s   wo r k i n g .   T h e   c h a t b o t   w i l l d e t e ct   t h k e y   c o m m a n d   f r o m   u s e r   i n p u t s u c h   a s   c a lc u l a te   t o   t r i g g e r   t h ei r   c a lc u l a ti o n   f u n c t i o n   w h i c h   l a t e r   w i l l   r e p l y   t o   t h e   u s e r   w i t h   f o l lo w   u p   q u e s t i o n s   f o r   u s e r   t o   i n s e r t   t o   g a i n   t h e   i n f o r m a t i o n   r e q u i r e d   f o r   t h e   F a r a i d   d i s t r i b u ti o n   c a l c u l a ti o n s .   T h c h a t b o t   t h e n   w i l l   g a t h e r   t h i n f o r m a t i o n   r e c e i v e d   f r o m   t h e   u s e r   u p d a t e   a n d   r e s p o n s e   a n d   s t a r t   t h e   c a l c u la ti o n   b a s e d   o n   t h e   d e c i s i o n   t r e c o n s t r u c t e d .   F i n al l y ,   t h e   c h a tb o t   w i l l   d is p l a y   t h c a l c u l a ti o n   r e s u lt s   a n d   s h o w   e ac h   h e i r s   s h a r es   a c c u r at e l y   f o l lo w i n g   t h e   F a r ai d   l a w .     4 . 2 .     User  ev a lua t io n t est     T h u s ab ilit y   test in g   tech n iq u was  u s ed   as  t h b asis   f o r   t h u s er   ev alu atio n   test .   Af ter   th Far aid   ch atb o was  d ev elo p e d ,   ten   u s er s   o p in io n s   wer g ath e r ed   th r o u g h   Go o g le  Fo r m   as  p ar o f   u s er   Evaluation Warning : The document was created with Spire.PDF for Python.