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. Labour Market Institutions and the Personal Distribution of Income in the OECD
2. The name is absent
3. Declining Discount Rates: Evidence from the UK
4. Wirkt eine Preisregulierung nur auf den Preis?: Anmerkungen zu den Wirkungen einer Preisregulierung auf das Werbevolumen
5. DISCRIMINATORY APPROACH TO AUDITORY STIMULI IN GUINEA FOWL (NUMIDA MELEAGRIS) AFTER HYPERSTRIATAL∕HIPPOCAMP- AL BRAIN DAMAGE
6. Research Design, as Independent of Methods
7. A Rare Presentation of Crohn's Disease
8. FDI Implications of Recent European Court of Justice Decision on Corporation Tax Matters
9. Parent child interaction in Nigerian families: conversation analysis, context and culture
10. Bargaining Power and Equilibrium Consumption