arabic

arabic text mining using R [closed]

六眼飞鱼酱① 提交于 2019-12-04 13:17:12
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I am a new user and I just want to get help with my work on R. i am doing Arabic text mining and I would love to have some help anyone have experience in this fields. So far I felt to normalize the Arabic text and even R doesn't print the Arabic characters in the console. I am

Remove Arabic Diacritic

不想你离开。 提交于 2019-12-04 12:15:31
问题 I want php to convert this... Text : الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ converted to : الحمد لله رب العالمين I am not sure where to start and how to do it. Absolutely no idea. I have done some research, found this link http://www.suhailkaleem.com/2009/08/26/remove-diacritics-from-arabic-text-quran/ but it is not using php. I would like to use php and covert the above text to converted text. I want to remove any diacritic from user input arabic text 回答1: The vowel diacritics in Arabic are

Why 'ARABIC LETTER PEH' is not shown correctly on Android 3.x?

╄→尐↘猪︶ㄣ 提交于 2019-12-04 11:48:45
In Unicode characters the ARABIC LETTER PEH INITIAL FORM 'ﭘ' is 0xFB58 . When I use the following code to show Unicode characters, everything is OK for every Unicode character in Android 2.2, 2.3. and 4.x But I have problem with ARABIC LETTER PEH 'ﭘ' on Android 3.x and in this case character '~' is shown. Typeface tf = Typeface.createFromAsset(context.getAssets(),"TAHOMA.TTF"); strChars = ""; strChars += (char) 0xFB58; tvChars.setTypeface(tf); tvChars.setText(strChars); I should mention that The problem is remained when I change the font or ignore using setTypeface(tf) Why? How can I find the

Arabic text in as3

感情迁移 提交于 2019-12-04 11:39:29
问题 How can I display arabic text from right to left with as3? 回答1: This code will do the trick: import flash.text.AntiAliasType; import flash.text.TextField; import flash.text.TextFieldAutoSize; import flash.external.* import fl.text.TLFTextField; import flash.text.TextFormat; import flashx.textLayout.formats.TextLayoutFormat; import flashx.textLayout.elements.TextFlow; var arabicTextField:TLFTextField = new TLFTextField(); arabicTextField.antiAliasType = AntiAliasType.ADVANCED; arabicTextField

Reading arabic data text in R and plot()

核能气质少年 提交于 2019-12-04 09:45:15
问题 R appears not to handle arabic text very well. Though it is possible to type some arabic strings like Names <- c("سليم", "سعيد", "مجدى"). Now I use word or excel to write longer lists of name and save the file as text. I can import the file in R (RStudio) and display correctly the imported data. However, I can not manipulate the imported list. Plotting for example produces funny characters. why directly typed lists (not easy at all) can be plotted but not the imported list? I am using windows

android grid view place items from right to left

纵饮孤独 提交于 2019-12-04 08:20:22
问题 I'm working on an android application with arabic version . In one of the interfaces, I have gridView. So to display items in the correct order, I have to display items in the GridView from the right to the left (and of corse from the top to the bottom). To do that, I tried to add these attributes in the GridView : android:gravity="right" android:layout_gravity="right" Unfortunately, items still displayed from the left to the right. any idea to do it in the right way ? 回答1: You can achieve

Convert numeral date(03-11-1991) into arabic no(۱۹۹۱/۱۱/۰۳) php

☆樱花仙子☆ 提交于 2019-12-04 06:42:23
问题 I just want to convert the date which is in this format dd-mm-yyyy(03-11-1991) into arabic no like this(۱۹۹۱/۱۱/۰۳) in php. Answer I Made This Logic And It Works Perfect $dateofbirth_numerial="03-05-2001"; $numerial_no = array("0","1","2","3","4","5","6","7","8","9","-"); $arabic_no = array("۰","۱","۲","۳","۴","۵","۶","۷","۸","۹","/"); $dateofbirth_arabic = str_replace($numerial_no , $arabic_no , $dateofbirth_numerial); $result = explode('/',$dateofbirth_arabic); echo $result[2]."/".$result[1

Using Arabic fonts with the extension .otf

时光怂恿深爱的人放手 提交于 2019-12-04 05:42:11
问题 I'm working on a small project, where the client sent me a font that he wants me to use for the Arabic language. The file extension for the file is .otf I embedded the file, and tried to use it, and the results were: IE8: Didn't recognize the font. Chrome: Didn't recognize the font. Firefox: Recognized the font, but when viewing it the letters were separated (in Arabic language the letters of the word is connected to each other) Any idea on how to fix it on Firefox and make IE and Chrome

Align text to the right in JOptionPane

跟風遠走 提交于 2019-12-04 05:28:54
问题 Is it possible to align the text to the right in JOptionPane? (I don't want to use JDialog) because I want to write some sentences in Arabic 回答1: Create a JPanel, align your text in your JPanel and then add the JPanel as the Object parameter of the JOptionPane. Or use a JDialog (why the desire not to use one of these?). 回答2: String message = "<html><body><div width='200px' align='right'>This is some text!</div></body></html>"; JLabel messageLabel = new JLabel(message); JOptionPane

How to convert english numbers inside a string to Persian/Arabic numbers in Objective-C?

a 夏天 提交于 2019-12-04 03:30:07
问题 I have an english string that may or may not have numbers. But i want those numbers to be printed on screen as Persian numbers. For example if NSString *foo = @"a string with numbers 1 2 3;" then output should be a string with numbers ۱۲۳ The code I'm using right now is : -(NSString *)convertEnNumberToFarsi:(NSString *) number{ NSString *text; NSDecimalNumber *someNumber = [NSDecimalNumber decimalNumberWithString:number]; NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init];