Hello everyone,
I am looking for a tool similar to http://www.downes.ca/memorization.htm to help me memorize arabic text
The tool should be able to extract up to first 3 letters of an Arabic word when I copy paste the Arabic text into the field box.
Can this be done automatically or will I need this be done manually where someone goes through the text and inserts first 3 letters from each word. What programming language can this be coded in? Which would give the best result? I want it to be a fluid user experience.
Please read here for more info - http://www.productiv...batim-text/294/
Here is an example of Arabic text - http://www.allahsquran.com/learn/
Thanks!
programming a software tool
Page 1 of 12 Replies - 1306 Views - Last Post: 27 October 2012 - 03:10 PM
Replies To: programming a software tool
#2
Re: programming a software tool
Posted 22 October 2012 - 04:49 PM
Moving to 'share your project'.
#3
Re: programming a software tool
Posted 27 October 2012 - 03:10 PM
It can be coded in any programming language you want, it's really your choice.
I'll throw in a few pointers about doing it in .NET:
1. Every string implements a char array. So you can access any letter in a string just like you could access a variable in an array, or List<> or any IEnumerable.
2. The "String" class implements a Split() method. It splits the string into several strings on a character that you pass as a parameter. It returns an array of strings.
3. You can do a operation upon each member of an array by using a 'for' loop. (NOTE: You can also use the 'foreach' loop but you can't change array members directly using the 'foreach')
If you can't figure out on which character to split, look at this:
So basically what you want to do is:
1. Split the sentence into words
2. Extract the first 3 letter from each word
3. Output the result
Some Suggested Reading:
For Loop
Foreach Loop
String Class
String.Split() Method
I'll throw in a few pointers about doing it in .NET:
1. Every string implements a char array. So you can access any letter in a string just like you could access a variable in an array, or List<> or any IEnumerable.
2. The "String" class implements a Split() method. It splits the string into several strings on a character that you pass as a parameter. It returns an array of strings.
3. You can do a operation upon each member of an array by using a 'for' loop. (NOTE: You can also use the 'foreach' loop but you can't change array members directly using the 'foreach')
If you can't figure out on which character to split, look at this:
Spoiler
So basically what you want to do is:
1. Split the sentence into words
2. Extract the first 3 letter from each word
3. Output the result
Some Suggested Reading:
For Loop
Foreach Loop
String Class
String.Split() Method
This post has been edited by RexGrammer: 27 October 2012 - 03:10 PM
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote







|