<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=Talk%3ANepali_and_Hindi%2FVerbs</id>
	<title>Talk:Nepali and Hindi/Verbs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=Talk%3ANepali_and_Hindi%2FVerbs"/>
	<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Talk:Nepali_and_Hindi/Verbs&amp;action=history"/>
	<updated>2026-04-30T14:54:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Talk:Nepali_and_Hindi/Verbs&amp;diff=28028&amp;oldid=prev</id>
		<title>RajeshPandey: Putting information on how to use the rules (Source: Nepali Wikipedia Translator)</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Talk:Nepali_and_Hindi/Verbs&amp;diff=28028&amp;oldid=prev"/>
		<updated>2011-08-27T12:10:58Z</updated>

		<summary type="html">&lt;p&gt;Putting information on how to use the rules (Source: Nepali Wikipedia Translator)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;Rules&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This file contains information on how to use the rules defined in the rules page here. This might be helpful for developing any rules in apertium. &lt;br /&gt;
Since it contains my continuous effort of about 12 months to prepare the rule (for Nepali Wikipedia Translator )&lt;br /&gt;
== Example: ==&lt;br /&gt;
Lets say that all the apples and Bananas need to be changed with Fruits. &lt;br /&gt;
&lt;br /&gt;
Text. &lt;br /&gt;
 All apples are good and Bananas are good for health. &lt;br /&gt;
Required text after conversion: &lt;br /&gt;
 All fruits are good and fruits are good for health.&lt;br /&gt;
&lt;br /&gt;
We can have nouns in nounlist.txt&lt;br /&gt;
:apple|fruit &lt;br /&gt;
:banana.&lt;br /&gt;
&lt;br /&gt;
So here : &lt;br /&gt;
::(HI_noun)+ will be Apple&lt;br /&gt;
::::(NE_noun)+ will be fruit&lt;br /&gt;
::(HI_noun)+ will be Banana&lt;br /&gt;
::::(NE_noun)+ will be fruit&lt;br /&gt;
&lt;br /&gt;
The rule file will contain a rule : &lt;br /&gt;
 (HI_noun)+s|(NE_noun)+s&lt;br /&gt;
&lt;br /&gt;
Now the application will search for all the nouns with s in it.&lt;br /&gt;
&lt;br /&gt;
 apple and banana&lt;br /&gt;
add s in it &lt;br /&gt;
 apples&lt;br /&gt;
 bananas&lt;br /&gt;
&lt;br /&gt;
replace apples with fruits&lt;br /&gt;
 fruits&lt;br /&gt;
replace bananas with fruits&lt;br /&gt;
 fruits&lt;br /&gt;
&lt;br /&gt;
the result will be &lt;br /&gt;
 All fruits are good and fruits are good for health.&lt;br /&gt;
&lt;br /&gt;
=== Benefit === &lt;br /&gt;
You can add a single rule: Nouns have &amp;#039;s&amp;#039; in it. You can update the Nouns in the nounlist.txt and you don&amp;#039;t have to worry about the rules every time. The rules will be used automatically for all the nouns that are catagorised as Nouns. &lt;br /&gt;
&lt;br /&gt;
Hence Nouns will be treated as nouns to make them plural (adding s) &lt;br /&gt;
Similarly other parts of speech can have their own rules. &lt;br /&gt;
Its likely that the list of nouns can increase, because there are more than apple and banana as nouns. Lets say papaya. In the future when you add papaya, you will not have to worry about pluralizing into papayas because the rule has already been created for papayas as (HI_noun)+s will be &amp;#039;&amp;#039;papaya&amp;#039;&amp;#039;s as long as you categorize papaya as a noun.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file was originally used by Nepali Wikipedia Translator application to generate the rules in runtime. &lt;br /&gt;
&lt;br /&gt;
== See also == &lt;br /&gt;
[http://ne.wikipedia.org/wiki/User:RajeshPandey/Nepali_Wikipedia_Translator]&lt;br /&gt;
&lt;br /&gt;
[[User:RajeshPandey|RajeshPandey]] 12:10, 27 August 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>RajeshPandey</name></author>
		
	</entry>
</feed>