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 Functions of Postpartum Depression
2. Towards a Mirror System for the Development of Socially-Mediated Skills
3. Education Research Gender, Education and Development - A Partially Annotated and Selective Bibliography
4. THE UNCERTAIN FUTURE OF THE MEXICAN MARKET FOR U.S. COTTON: IMPACT OF THE ELIMINATION OF TEXTILE AND CLOTHING QUOTAS
5. Reform of the EU Sugar Regime: Impacts on Sugar Production in Ireland
6. Ronald Patterson, Violinist; Brooks Smith, Pianist
7. How much do Educational Outcomes Matter in OECD Countries?
8. ENVIRONMENTAL POLICY: THE LEGISLATIVE AND REGULATORY AGENDA
9. The name is absent
10. Gender and headship in the twenty-first century