Difference between revisions of "Hindi and Bengali/Pending-Tests"

From Apertium
Jump to navigation Jump to search
(Updated Pending Tests)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Exceptions: ==

* Neg (না / नहीं) vs Emphasis (না / न) vs Itg (তো / न) :


== Rules: ==
== Rules: ==


* '''Noun'''
* '''Noun'''


''Default:''
''Rule 1:''
(hin) NomNom (ben)
<s>(hin) noun.nom + postnoun.gen + post(ben) </s>


Example:
Example:
# रहीम से → রাহিমের থেকে
# यह किताब बहुत अच्छी है → এই বইটা দারুন


''Rule 2:''

(hin) Obl + का/की → Gen (ben) [Add का / की based on gender of noun]
''Default:''
(hin) Obl → Obj (ben)

Example:
# सुभाष ने एक नई किताब खरीदी → সুভাষ একটি নতুন বই কিনেছি


''Default:''
(hin) Loc → Loc (ben)

Example:
# इस कमरे में है → এই ঘরটা তে আছে


''Rule 1:''
(hin) Obl/Nom + का/की → Gen (ben) [Add का / की based on gender of noun]


Example:
Example:
# Obl: इस स्कूल का छात्र → এই স্কুলের ছাত্র
# Obl: इस स्कूल का छात्र → এই স্কুলের ছাত্র
# Nom: लड़की की बिल्ली → মেয়েটির বিড়াল
# Nom: लड़की की बिल्ली → মেয়েটির বিড়াল


* '''Noun phrases'''

''Default:''
(hin) np → np (ben)

Example:
# भारत → ভারত (Getting #)
# चंद्रमा → চন্দ্র


* '''Numeral'''

''Default:''
(hin) num + noun → num + noun

Example:
# दो छात्र → দুই ছাত্র
# चौदह छात्र → চৌদ্দ ছাত্র

''Rule 1:''
(hin) num.count + noun.pl → num + 'টি' + noun.sg (ben)

Example:
# दो गायें → দুটি গরু [Transfer rules required: Currently shows দুই গরুগুলো]
# दो इमारतें → দুটি বিল্ডিং [Transfer rules required: Currently shows দুই বিল্ডিং]
# मेरे तीन कुत्ते → আমার তিনটি কুকুর [ Sentence with count]
# मेरा सफेद कुत्ता → আমার সাদা কুকুর [ Sentence without count]

''Rule 2:''
(hin) adj.ord + noun → adj.ord + noun (ben)

Example:
# पच्चीसवाँ इमारतें → পঁচিশতম বিল্ডিং




Line 75: Line 20:


''Default:''
''Default:''
(hin) adj.case + noun → adj.case + noun (ben)
<s>(hin) adj.case + noun → adj + noun (ben)</s>


Example:
Example:
Line 85: Line 30:
# विशेष बात → বিশেষ কথা [adj.psint]
# विशेष बात → বিশেষ কথা [adj.psint]


''Rule 1:''

<s>(hin) adj + vbser.pres.pers → adj (ben)</s>
* Comparative
''Rule:''
(hin) Noun1 + Noun2 + से + adj.sint + है → Noun1 + Noun2 + চেয়ে + adj.sint (ben) [से = চেয়ে , है is dropped in ben]


Example:
Example:
# सुभाष रहीम से लंबा है → সুভাষ রাহিমের চেয়ে লম্বা [Need to move to pending test after fix]
# सुभाष रहीम से अधिक लंबा है → সুভাষ রাহিমের চেয়ে আরও লম্বা [Need to move to pending test after fix, same rule अधिक → আরও (adv)]


# सुभाष लम्बा है → সুভাষ লম্বা

* Superlative
''Rule:''
(hin) Noun1 + सबसे + adj.psint + है → Noun1 + সবারচে + adj.psint (ben) [सबसे = সবারচে , है is dropped in ben]
or
(hin) Noun1 + adj.psint + है → Noun1 + adj.psint (ben)

Example:
# सुभाष सबसे लंबा है → সুভাষ সবারচে লম্বা [Need to fix]




Line 116: Line 49:


#(ben) p2.infml.aa.mf.pl → prn.pers.p2.mf.pl.pol (hin) (As of now)
#(ben) p2.infml.aa.mf.pl → prn.pers.p2.mf.pl.pol (hin) (As of now)


* Personal

''Rule 1 :''
pers.p1.sg + pers.p2.sg + vblex → pers.p1.sg + pers.p2.sg + vblex

Example:
# (hin) मैं तुमको देख → আমি তোমাকে দেখি (ben)

''Rule 2 :''
pers.p1.sg + pers.p3.sg + vblex → pers.p1.sg + pers.p3.sg + vblex
# (hin) मैं उनको देख → আমি তাকে দেখেছি (ben)

''Rule 3 :''
pers.p1.sg + prn.p3.infml.nn.sg (here det.dem) + vblex → pers.p1.sg + prn.p3.infml.nn.sg (here det.dem) + vblex. [Dem Dist/Prox tags must match]
# (hin) मैं ए देख → আমি এটা দেখি (ben)

''Rule 4 :''
pers.p1 + prn.ref + vblex → pers.p1 + prn.ref + vblex
(hin) हम खुदको देख → আমরা নিজেদেরকে দেখি (ben)

''Rule 5 :''
pers.p1.sg + pers.p2.pl + vblex → pers.p1.sg + pers.p2.pl + vblex
(hin) मैं उन लोगों का देख → আমি তাদের দেখি (ben)


* Genitive

''Rule :''
m/f/mf → mf , (ben) → (hin), mf by default if Noun=Sg, f if Noun=Pl

#(hin) मेरी (f) → আমার (mf) (ben)


* Possessives

''Default:''
p1.pl.gen → p1.pl.gen
p1.sg.gen → p1.sg.gen

(hin) हमारा घर → আমাদের ঘর (ben)

(hin) मेरी बिल्ली → আমার বিড়াল (ben)

(hin) मेरी पुस्तक → আমার বই (ben)

(hin) मेरी बिल्लियां → আমার বিড়ালগুলো (ben)

(hin) मेरी बेटी → আমার মেয়ে (ben)

(hin) मेरी बेटियाँ → আমার মেয়েরা (ben)

''Default:''
p3.pl.gen → p3.pl.gen

(hin) उन लोगों का घर → তাদের ঘর (ben)

''Default:''
p2.pl.gen → p2.pl.gen
p2.sg.gen → p2.sg.gen

(hin) तुम लोगों का घर → তোমাদের ঘর (ben)

(hin) तुमहारा पुस्तक → তোমার বই (ben)


* Reflexive / emphatic

''Default:''
prn.ref → prn.ref

(hin) मैंने खुद को देखा → আমি নিজেকে দেখলাম

(hin) आपने खुदको देखा → আপনি নিজেকে দেখলেন

(hin) उसने खुद को देखा → সে নিজেকে দেখল

(hin) उसने खुद को देखा → সে নিজেকে দেখল

(hin) हमने खुद को देखा → আমরা নিজেদেরকে দেখলাম

(hin) उन्होंने खुद को देखा → তারা নিজেদেরকে দেখল





* Interrogatives
* Interrogatives


''Default:''
''Rule 1:''
prn.itg → prn.itg
(hin) det.obl.itg / prn.itg + prn.pers → prn.pers + det.itg / prn.p3.itg (ben)


(hin) क्या मैं काम करूं? → আমি কি কাজ করি?
(hin) क्या मैं काम करूं? → আমি কি কাজ করি?
Line 218: Line 67:


(hin) क्या मैं काम कर रहा था? → আমি কি কাজ করছিলাম?
(hin) क्या मैं काम कर रहा था? → আমি কি কাজ করছিলাম?

''Rule 2:''
(hin) prn.pers + det.obl.itg / prn.itg → prn.pers + det.itg / prn.p3.itg (ben)


(hin) आप कितनी किताबें पढ़ते हैं? → তুমি কতগুলো বই পড় ?
(hin) आप कितनी किताबें पढ़ते हैं? → তুমি কতগুলো বই পড় ?
Line 226: Line 78:




* '''Determiners'''
* '''Negative Cases:'''


* Neg (না / नहीं) vs Emphasis (না / न) vs Itg (তো / न) :
''Default:''
det.ind → det.ind

(hin) सभी लोग मौजूद थे → সমস্ত লোক উপস্থিত ছিল

(hin) सभी लोग मौजूद थे → সমস্ত লোক উপস্থিত ছিল

(hin) मेरे सभी दोस्त मौजूद थे → আমার সব বন্ধু উপস্থিত ছিল

''Default:''
det.qnt → det.qnt

(hin) बहुत कम काम है → খুব সামান্য কাজ আছে (ben)

(hin) कुछ लड़के आए थे → কিছু ছেলে এসেছিল (ben)

''Default:''
det.pos → det.pos

(hin) तुम लोग का घर कहा है? → আপনাদেড় ঘর কোথায়? (ben)

(hin) हमारा देश → আমাদের দেশ (ben)

''Default:''
det.dem → det.dem

(hin) यह किताब अच्छा है → এই বইটি ভাল (ben)


''Itg (?):''
(hin) उन सब चीजों निकाल दो → ওই সব জিনিস কে বের করে দাও (ben)
(hin) verb + नहीं → verb + তো (ben)
''Neg:''
(hin) नहीं + verb → verb + না (ben)
''Emphasis (!):''
(hin) verb + न → verb + না (ben)




* '''Verbs'''
* '''Verbs'''


''Rule 1:''

<s>vblex.impf + vbser.pres.pers → vblex.pres</s>
* Simple Past

''Default:''
vblex.past → vblex.past

(hin) मैं बचपन में खेलता था। → আমি ছোটবেলায় খেলা করতাম ৷

(hin) इस जंगल में शेर हुआ करते थे। → এই জঙ্গলে বাঘ থাকতো ৷


* Past Perfect Continuous

''Default:''
det + post + vblex.past.cont → det + post + vblex.past.cont

(hin) मैं ढाका जाने से पहले घर जा चुका था। → আমি ঢাকা যাওয়ার আগে বাড়ি গিয়েছিলাম ৷

(hin) ट्रेन के आने के बाद हम स्टेशन पहुंचे। → ট্রেন আসার পরে আমরা স্টেশনে পৌঁছেছিলাম ৷

(hin) मैं उसके आने से पहले वहां गया था। → তারা আসার আগে আমরা সেখানে গিয়েছিলাম ৷

(hin) लगभग एक सप्ताह के उपवास के बाद शरणार्थियों को कुछ भोजन मिला। → এক সপ্তাহের উপবাসের পর শরণার্থীরা কিছু খাবার পেল ৷


* Past Continuous

''Rule 2:''
vblex.past.cont → vblex.past.cont

(hin) बारिश हो रही थी। → বৃষ্টি হচ্ছিল ৷

(hin) मजदूर सड़क पर काम कर रहे थे। → শ্রমিকরা রাস্তায় কাজ করছিল ৷

(hin) वह मुझे देख रहा था। → সে আমাকে দেখছিল ৷

(hin) आदमी चल रहा था। → লোকটি হাঁটছিল ৷

(hin) लड़के खेल रहे थे → ছেলেরা খেলছিল ৷


* Simple Present

''Default:''
vblex.pres → vblex.pres



(hin) सूरज पूरब में उगता है → সূর্য পূর্ব দিকে ওঠে ৷
(hin) सूरज पूरब में उगता है → সূর্য পূর্ব দিকে ওঠে ৷
Line 313: Line 100:


(hin) सूर्य पश्चिम में अस्त होता है → সূর্য পশ্চিম দিকে অস্ত যাই ৷
(hin) सूर्य पश्चिम में अस्त होता है → সূর্য পশ্চিম দিকে অস্ত যাই ৷

* Present Continuous

''Rule 1:''
vblex.impf + vbser.pres.pers → vblex.pres

(hin) मैं दौड़ रहा हूं → আমি দৌড়াচ্ছি ৷

(hin) बच्चा रो रहा है → বাচ্চা টা কাঁদছে ৷

(hin) माली फूलों को पानी दे रहा है → মালি ফুল গাছে জল দিচ্ছে ৷

* Present Perfect Continuous


''Rule 2:''
''Rule 2:''
det + post + vblex.perf + vbser.pres.pers det + post + vblex.pres
<s>vblex.perf + vbser.past → vblex.plprft</s>

(hin) दो दिनों से बारिश हो रही है → দু দিন ধরে বৃষ্টি পড়ছে ৷

(hin) मुझे कल से बुखार है → আমার কাল থেকে জ্বর চলছে ৷

* Simple Future

''Default:''
vblex.fut → vblex.fut

(hin) मित्रों से मिलकर प्रसन्नता होगी। → বন্ধুদের সাথে হলে তুমি আনন্দিত হবে ৷

(hin) मैं उसे कल देखूंगा। → আমি কাল তার সাথে দেখা করব ৷

(hin) मेरे वहां जाना होगा। → আমি সেখানে যাবই ৷

(hin) उसके आने पर मैं चला जाऊँगा। → সে যখন আসবে তখন আমি যাব ৷


* Future Continuous

''Rule 2:''
vblex.impf + vbser.pres.pers → vblex.fut + "থাকবে"

(hin) अगले सात दिनों तक बारिश जारी रहेगी। → আগামী সাত দিন ধরে বৃষ্টি হতে থাকবে ৷

(hin) सोमवार से हर दिन बारिश जारी रहेगी। → সোমবার থেকে রোজ বৃষ্টি হতে থাকবে ৷


(hin) दौड़ता था → দৌড়াত ৷


(hin) करता था → করত ৷
* Future Perfect Continuous


''Rule 3:''
''Rule 3:''
det + post + vblex.fut.cont → det + post + vblex.fut.cont
<s>vblex.gna > vblex.pcnd</s>


(hin) दोकरके → করে
(hin) छुट्टियों पर हम दोपहर से खेलना जारी रखेंगे। → ছুটির দিনে আমরা বিকেল থেকে খেলতে থাকবো ৷


(hin) कहकर → বলে
(hin) आयुषी दो घंटे तक पढ़ती रहेंगी। → আয়ুষী দু ঘন্টা ধরে পড়তে থাকবে ৷


''Rule 4:''
<s>vblex.stem + गया_perf > vblex(stem).prft</s>


(hin) चला गया। → চলেগেছে ৷
* Verb Patterns (Needs Editing):
'' ''
1. impf participle + "be" present → pres


''Rule 5:''
2. stem + "raha" impf participle + "be" present → "be" present + ger
<s>vblex.stem + रहा_perf > vblex(stem).prft</s>


(hin) कर रही → করছে
3. perf participle → past


''Rule 6:''
4. perf participle + "be" present → "have" present + pp
<s>vblex1.stem + vblex2.perf + vbser.tense > vblex1.pcnd + vblex2.tense.pers</s>


(hin) पड़ गये थे। → পড়ে গিয়েছিল।
5. perf participle + "be" past → past / "have" past + pp


(hin) कर दिया है। → করে দিয়েছে।
6. impf participle + "be" past → past / "used to" + inf


7. impf participle + "raha" present + "be" past → "be" past + ger


8. future → "will" present + inf


'''NEED TO ADD MORE RULES'''
9. impf participle + "raha" future → "will be" + ger


[[Category:Hindi and Bengali|*]]
10. prs → "may" present + inf

Latest revision as of 15:59, 26 August 2021

Rules:[edit]

  • Noun

Rule 1:

 (hin) noun.nom + post → noun.gen + post(ben) 

Example:

  1. रहीम से → রাহিমের থেকে

Rule 2:

 (hin) Obl + का/की → Gen (ben) [Add का / की based on gender of noun]

Example:

  1. Obl: इस स्कूल का छात्र → এই স্কুলের ছাত্র
  2. Nom: लड़की की बिल्ली → মেয়েটির বিড়াল


  • Adjectives

Default:

(hin) adj.case + noun → adj + noun (ben)

Example:

  1. अच्छा नारी → সুন্দরী মহিলা [adj.f]
  2. पुरुष आदमी → পুরুষ মানুষ [adj.m]
  3. गर्म चाय → গরম চা [adj.mf]
  4. ऊंचाई पर्वत → উচ্চ পর্বত [adj.sint]
  5. विशेष बात → বিশেষ কথা [adj.psint]

Rule 1:

 (hin) adj + vbser.pres.pers → adj (ben)

Example:

  1. सुभाष लम्बा है → সুভাষ লম্বা


  • Pronouns

Rules:

 1. (hin) p3.frm.dist.dem.hin → p3.pol & p3.pol.dem.dist (ben)  (dist = ও__prn, উনি__prn for ben and वह__prn for hindi)
 2. (hin) p3.frm.dem.prox → p3.pol.dem.prox (ben)   (prox = এ__prn & ইনি__prn for ben and यह__prn for hin)
  
  • notes
  1. (ben) p2.infml.aa.mf.pl → prn.pers.p2.mf.pl.pol (hin) (As of now)


  • Interrogatives

Rule 1:

 (hin) det.obl.itg / prn.itg + prn.pers → prn.pers + det.itg / prn.p3.itg (ben)

(hin) क्या मैं काम करूं? → আমি কি কাজ করি?

(hin) क्या मैं काम कर रहा हूं? → আমি কি কাজ করছি?

(hin) क्या मैंने काम किया है? → আমি কি কাজ করেছি?

(hin) क्या मैं काम कर रहा था? → আমি কি কাজ করছি?

(hin) क्या मैंने काम किया था? → আমি কি কাজ করেছিলাম?

(hin) क्या मैं काम कर रहा था? → আমি কি কাজ করছিলাম?

Rule 2:

 (hin) prn.pers + det.obl.itg / prn.itg → prn.pers + det.itg / prn.p3.itg (ben)

(hin) आप कितनी किताबें पढ़ते हैं? → তুমি কতগুলো বই পড় ?

(hin) तुम्हें कितने पैसे चाहिए? → তুমি কত টাক চাও ?

(hin) खबर कहाँ तक सच है? → সংবাদটি কতদূর সত্য ?


  • Negative Cases:
  • Neg (না / नहीं) vs Emphasis (না / न) vs Itg (তো / न) :

Itg (?):

 (hin) verb + नहीं → verb + তো (ben)

Neg:

 (hin) नहीं + verb → verb + না (ben)

Emphasis (!):

 (hin) verb + न → verb + না (ben)


  • Verbs

Rule 1:

 vblex.impf + vbser.pres.pers → vblex.pres

(hin) सूरज पूरब में उगता है → সূর্য পূর্ব দিকে ওঠে ৷

(hin) मैं रोज कॉलेज जाता हूँ → আমি রোজ কলেজে যায় ৷

(hin) सूर्य पश्चिम में अस्त होता है → সূর্য পশ্চিম দিকে অস্ত যাই ৷

Rule 2:

 vblex.perf + vbser.past → vblex.plprft

(hin) दौड़ता था → দৌড়াত ৷

(hin) करता था → করত ৷

Rule 3:

 vblex.gna > vblex.pcnd

(hin) दोकरके → করে

(hin) कहकर → বলে

Rule 4:

 vblex.stem + गया_perf > vblex(stem).prft

(hin) चला गया। → চলেগেছে ৷

Rule 5:

 vblex.stem + रहा_perf > vblex(stem).prft

(hin) कर रही → করছে

Rule 6:

 vblex1.stem + vblex2.perf + vbser.tense > vblex1.pcnd + vblex2.tense.pers

(hin) पड़ गये थे। → পড়ে গিয়েছিল।

(hin) कर दिया है। → করে দিয়েছে।


                                                            NEED TO ADD MORE RULES