2009/1/23 Emad Nawfal (عماد نوفل)
>
>
> On Fri, Jan 23, 2009 at 8:04 PM, Andre Engels wrote:
>
>> 2009/1/24 Emad Nawfal (عماد نوفل) :
>> >
>> >
>> > 2009/1/23 Emad Nawfal (عماد نوفل)
>> >>
>> >>
>> >> On Fri, Jan 23, 2009 at 6:57 PM, Andre Engels
>> >> wrote:
>> >>>
>> >>> I made an error in my
On Fri, Jan 23, 2009 at 8:04 PM, Andre Engels wrote:
> 2009/1/24 Emad Nawfal (عماد نوفل) :
> >
> >
> > 2009/1/23 Emad Nawfal (عماد نوفل)
> >>
> >>
> >> On Fri, Jan 23, 2009 at 6:57 PM, Andre Engels
> >> wrote:
> >>>
> >>> I made an error in my program... Sorry, it should be:
> >>>
> >>> def has
2009/1/24 Emad Nawfal (عماد نوفل) :
>
>
> 2009/1/23 Emad Nawfal (عماد نوفل)
>>
>>
>> On Fri, Jan 23, 2009 at 6:57 PM, Andre Engels
>> wrote:
>>>
>>> I made an error in my program... Sorry, it should be:
>>>
>>> def hasRoot(word, root): # This order I find more logical
>>> loc = 0
>>> for lett
2009/1/23 Emad Nawfal (عماد نوفل)
>
>
> On Fri, Jan 23, 2009 at 6:57 PM, Andre Engels wrote:
>
>> I made an error in my program... Sorry, it should be:
>>
>> def hasRoot(word, root): # This order I find more logical
>> loc = 0
>> for letter in root:
>> loc = word.find(letter,loc) # I
On Fri, Jan 23, 2009 at 6:57 PM, Andre Engels wrote:
> I made an error in my program... Sorry, it should be:
>
> def hasRoot(word, root): # This order I find more logical
> loc = 0
> for letter in root:
> loc = word.find(letter,loc) # I missed the ,loc here...
> if loc == -1:
I made an error in my program... Sorry, it should be:
def hasRoot(word, root): # This order I find more logical
loc = 0
for letter in root:
loc = word.find(letter,loc) # I missed the ,loc here...
if loc == -1:
return false
return true
# main
infile = open("my
On Sat, Jan 24, 2009 at 12:02 AM, Emad Nawfal (عماد نوفل)
wrote:
> Hello Tutors,
> Arabic words are build around a root of 3 or 4 consonants with lots of
> letters in between, and also prefixes and suffixes.
> The root ktb (write) for example, could be found in words like:
> ktab : book
> mktob: l
Hello Tutors,
Arabic words are build around a root of 3 or 4 consonants with lots of
letters in between, and also prefixes and suffixes.
The root ktb (write) for example, could be found in words like:
ktab : book
mktob: letter, written
wktabhm: and their book
yktb: to write
lyktbha: in order for hi