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

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


* Noun
* '''Noun'''


''Rule 1:''
(hin) Nom → Nom (ben)
<s>(hin) noun.nom + post → noun.gen + post(ben) </s>


Example:
(hin) Obl → Obj (ben)
# रहीम से → রাহিমের থেকে


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


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




* '''Adjectives'''
* Adjective:


''Default:''
(hin) अच्छा नारी → সুন্দরী মহিলা (adj.f)
<s>(hin) adj.case + noun → adj + noun (ben)</s>


Example:
(hin) पुरुष आदमी → পুরুষ মানুষ (adj.m)


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


''Rule 1:''
(hin) ऊंचाई पर्वत → উচ্চ পর্বত (adj.sint)
<s>(hin) adj + vbser.pres.pers → adj (ben)</s>


Example:
(hin) विशेष बात → বিশেষ কথা (adj.psint)


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


* Noun phrases


* '''Pronouns'''
(hin) भारत → ভারত (np) (Getting #)


''Rules:''
(hin) चंद्रमा → চন্দ্র (np)
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
* Numerical


#(ben) p2.infml.aa.mf.pl → prn.pers.p2.mf.pl.pol (hin) (As of now)
(hin) दो छात्र → দুই ছাত্র (Tested)


(hin) दो गायें → দুটি গরু (Transfer rules required: Currently shows দুই গরুগুলো)


* Interrogatives
(hin) दो इमारतें → দুটি বিল্ডিং (Tested)


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


=Pronouns=

(hin) मिलते हैं → আমি তোমাকে দেখি

(hin) मैंने उसे देखा → আমি তাকে দেখি

(hin) मैं उसे देखता हूं → আমি তাকে দেখি

(hin) मैँ इसे देखता हूँ → আমি এটা দেখি

(hin) मैं हमें देखता हूँ → আমি নিজেদেরকে দেখি

(hin) मैं उन्हें देख रहा हूं → আমি তাদের দেখি


* Possessives

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

(hin) मेरी किताब → আমার বই

(hin) उनका घर → তাদের ঘর

(hin) आपका घर → তোমাদের ঘর

(hin) तुम्हारी किताब → তোমার বই

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

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

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

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


* Reflexive / emphatic.

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

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

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

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

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

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



* Interrogatives


(hin) क्या मैं काम करूं? → আমি কি কাজ করি?
(hin) क्या मैं काम करूं? → আমি কি কাজ করি?
Line 107: 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 115: Line 78:




* '''Negative Cases:'''


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

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


''Itg (?):''
(hin) मजदूर सड़क पर काम कर रहे थे। → শ্রমিকরা রাস্তায় কাজ করছিল ৷
(hin) verb + नहीं → verb + তো (ben)
''Neg:''
(hin) नहीं + verb → verb + না (ben)
''Emphasis (!):''
(hin) verb + न → verb + না (ben)


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


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


''Rule 1:''
(hin) लड़के खेल रहे थे → ছেলেরা খেলছিল ৷
<s>vblex.impf + vbser.pres.pers → vblex.pres</s>


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


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


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


''Rule 2:''
(hin) मैं ढाका जाने से पहले घर जा चुका था। → আমি ঢাকা যাওয়ার আগে বাড়ি গিয়েছিলাম ৷
<s>vblex.perf + vbser.past → vblex.plprft</s>


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


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


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


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


(hin) कहकर → বলে


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


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


''Rule 5:''
(hin) मैं उसे कल देखूंगा। → আমি কাল তার সাথে দেখা করব ৷
<s>vblex.stem + रहा_perf > vblex(stem).prft</s>


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


''Rule 6:''
(hin) उसके आने पर मैं चला जाऊँगा। → সে যখন আসবে তখন আমি যাব ৷
<s>vblex1.stem + vblex2.perf + vbser.tense > vblex1.pcnd + vblex2.tense.pers</s>


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


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


Indef:


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


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


[[Category:Hindi and Bengali|*]]
(hin) मेरे सभी दोस्त मौजूद थे → আমার সব বন্ধু উপস্থিত ছিল

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