Implementation of Rule Based Algorithm for Sandhi-Vicheda Of Compound Hindi Words



IJCSI International Journal of Computer Science Issues, Vol. 3, 2009

47


ISSN (Online): 1694-0784

ISSN (Printed): 1694-0814

Table 1:Sandhi-Vicheda of Hindi Compound Words

IV IMPLEMENTATION

We have implemented the Rule-Based algorithm to
first manually find the compound words and then
develop the program that uses the database for
displaying the correct meaning to the Sandhi-Vicheda
word according to the Hindi grammar Sandhi-Vicheda
rules.

4.1 Algorithm

hword = hindi word to be entered

cur = Variable that stores the length of string

Step 1: Repeat for every word of the input string.

Step 2: Count the Length of String.

Step 2.1: Store the Length of String in variable.

For i = 1 To Len(hword)

cur = Mid$(hword, i, 1)

Step 3: Find the position of Matra.

hword.Substring(b - 1, 1)

Step 4: Apply the rules for sandhi -vicheda

Step 4.1: (Rule for “Sign-AA( k )” replaced with Swar
“Letter-A(
v )” in Sandhi vicheda)

LOkFkh

LO $ VFTh

HTTOTFt

HtTO $ VFt

iR;iFTh

iR; $ vFTh

;FttFT

;ftt $ VFt

Table 2: Rule I Implemented Word List

Step 4.2: (Rule for “Sign-AA( k )” replaced with Swar
“Letter-AA(
vk )” in Sandhi vicheda)

ujun

uj $ bn

ljn

lj $ bn

dOhun

dfO $ bn

'Tph7n

'Tph $ bn

Table 4: Rule III Implemented Word List

Step 4.4: (Rule for “Sign-E( h )” replaced with Swar
“Letter-E(
f )” in Sandhi vicheda)

fXjh'τ

fXfj $ ⅛5T

jtUι't

jtul $ b5T

4^151

XπT $ b5T

ije'oj

ije $ b'oj

Table 5: Rule IV Implemented Word List

Step 4.5: (Rule for “Sign-U( kss )” replaced with “Letter-
U(
m )” in Sandhi Vicheda)

i√Tid∣j

ij $ mid∣j

egtnf¾τ

eg∣ $ mn∣∕τ

VtReTRiX

VTRe $ mRlX

itxjtfe

itxj $ mfe

Table 6: Rule V Implemented Word List

Step 4.6: (Rule for “Sign-EE(SS )” replaced with Vowel
“Letter-E(
, )” in Sandhi Vicheda)

fOι∣y;

fOι∣ $ v∣y;

f’ioiy;

f'TO $ vty;

iLrdiy;

iLrd $ v∣y;

H∣Ttu∣y;

HtTtu $ v∣y;

Table 3: Rule II Implemented Word List

inO

ink $ ,O

egO

egτ $ ,o

;FTo

;Ftt $ ,O

,dd

,d $ ,d

Table 7: Rule VI Implemented Word List

Step 4.3: (Rule for “Sign-E( h )” replaced with Swar
“Letter-E(
b )” in Sandhi vicheda)

Step 4.7: (Rule for “Sign-EE ( SS )” replaced with
“Letter-EE (
,ss )” in Sandhi Vicheda)

IJCSI



More intriguing information

1. The name is absent
2. The name is absent
3. Cross border cooperation –promoter of tourism development
4. Road pricing and (re)location decisions households
5. Dual Inflation Under the Currency Board: The Challenges of Bulgarian EU Accession
6. Problems of operationalizing the concept of a cost-of-living index
7. The Impact of Cognitive versus Affective Aspects on Consumer Usage of Financial Service Delivery Channels
8. Large Scale Studies in den deutschen Sozialwissenschaften:Stand und Perspektiven. Bericht über einen Workshop der Deutschen Forschungsgemeinschaft
9. NATIONAL PERSPECTIVE
10. A Duality Approach to Testing the Economic Behaviour of Dairy-Marketing Co-operatives: The Case of Ireland