Questions tagged [hindi]

Hindi is the most spoken language of India, the world's second-most populated country. The script which is used to write Hindi is called "Devanagari".

Hindi (हिन्दी), or more precisely Modern Standard Hindi (मानक हिन्दी), is a standardized and Sanskritised register of the Hindustani language. Hindustani is the native language of people living in Delhi, Haryana, Uttar Pradesh, Bihar, Jharkhand, Madhya Pradesh and parts of Rajasthan. Hindi is one of the official languages of India and predominantly spoken by people in the Northern India.

Know more about Hindi, See Hindi Language wiki.

280 questions
3
votes
2 answers

Order hindi characters

I have a page that renders alphabetically a directory of keywords (A, B, C, D....Z, 0, 1...9) and some of the keywords are in Hindi (devanagari). My php code go through the alphabet array, sorts the keywords by first letter and renders columns for…
McRui
  • 1,879
  • 3
  • 20
  • 31
3
votes
2 answers

How can I transliterate Hindi text between Hindi and Latin characters using Java?

How to convert a hindi meanig written in english alphabet to Hindi using Java? eg. Input text is: anil NE lath marke apko Ganga me hi Fenk diya. in Hindi Output text is: अनिल ने लात मार्के आपको गंगा में ही फेंक दिया How to convert using…
Sonia Gupta
  • 95
  • 2
  • 9
3
votes
1 answer

Read localized PDF file using Itextsharp

I am trying to read PDF file using iTextSharp. The issue is when trying to read a PDF file other than English (Hindi or Arabic for example) it's not getting the correct words. I am wondering, should I install the Hindi or Arabic font on my system or…
Parwej
  • 580
  • 9
  • 30
2
votes
1 answer

Hindi text is not visible completely in Inno Setup WelcomeLabel2

Text is not visible completely due to fixed height of labels. The below character of each word in "खुली & हुई" is improper due to height of WelcomeLabel2. The language is Hindi. I used the same .islu file available on Inno Setup official website. In…
2
votes
1 answer

Regex to keep all letters in all alphabets along with digits and underscore (problem on hindi letters)

I found out a regex pattern to remove all non alphabet letters: \p{L} I thus did a regex to remove all non alphabet, non digit and non underscore pattern : /[^\p{L}\d_]/gimu Unfortunately, it does not work with a hindi character like #फ्रांस which…
Martin Ratinaud
  • 600
  • 5
  • 12
2
votes
5 answers

How to retrieve the unicode decimal representation of the chars in a string containing hindi text?

I am using visual studio 2010 in c# for converting text into unicodes. Like i have a string abc= "मेरा" . there are 4 characters in this string. i need all the four unicode characters. Please help me.
Deepak
  • 97
  • 3
  • 5
2
votes
3 answers

Escaping Hindi Characters in mysql

I'm trying to fetch data from database using MySQL, the table has some entries in hindi, I'm looking to filter out those hindi results in google sheets automatically by running SQL queries in google sheets. I've been able to fetch data into google…
2
votes
1 answer

PyPDF returning Junk encodes

I have been trying to extract text from a PDF file containing text in Hindi (Devanagari) and stored the value in a text file. Can you help me with extracting Hindi text from the PDF using PyPDF2 instead of pdfminer and other tools? This is my…
thanatoz
  • 212
  • 3
  • 15
2
votes
1 answer

How we can write Unicode Hindi text in iTextSharp?

How we can write Unicode Hindi text in iTextSharp? I want that text to be inserted into a PDF. doc.Add(new Paragraph("\n\n\n\n\n\n")); PdfPTable table16page7 = new PdfPTable(8); table16page7.WidthPercentage = 100; table16page10.AddCell(new…
2
votes
0 answers

KeyError when using 'devnagri'(Hindi) script for a key in creating a dictionary

This part of code works fine and builds the dictionary fine. #!/usr/bin/env python #-*- coding: utf-8 -*- import collections from operator import itemgetter S_eng = "Hindi constitutional form in India first" S_hindi = "हिन्दी संवैधानिक रूप से…
SilentFlame
  • 487
  • 5
  • 15
2
votes
1 answer

Not getting hindi text from image

I want to recognize Hindi text from an image using the pytesseract library. What I tried The following script recognizes overall text, but I am not getting it into hindi language. It only recognizes typically European / American characters: # -*-…
Shubham Sharma
  • 2,763
  • 5
  • 31
  • 46
2
votes
1 answer

Android Studio is showing squares box on hindi language at string.xml file

I have a translation from english to Hindi and I`m adding it to Android Studio for my app, so I created the strings.xml (hi) on Android Studio. When I copy the data from word document to the strings.xml (hi) file on Android Studio, the strings.xml…
Carlos
  • 433
  • 5
  • 19
2
votes
2 answers

Problem with Hindi keyboard on Android 2.3 emulator

I have selected some of the languages (like Hindi, English(India), English(United Kingdom) etc.) from Input languages option in Android keyboard settings in my emulator (Android 2.3 API). But the problem is that neither it is showing HINDI…
Vikas Patidar
  • 42,865
  • 22
  • 93
  • 106
2
votes
0 answers

What numeral system should be used for hi (Hindi) locale?

Opinions seem to differ on what numeral system to use when localising software to Hindi: Java hi: Western Arabic Locale hi = new Locale("hi") System.out.format(hi, "%d", 123456) -> 123456 hi_IN: Devanagari Locale hi_IN = new Locale("hi",…
Armand
  • 23,463
  • 20
  • 90
  • 119
2
votes
1 answer

Large corpus of Hindi text in Roman script

Where can I find such a corpus? I require this to build a language detector between Hindi and English at the token (word) level. For instance, something like the Hindi Wikipedia in the Roman alphabet would be quite useful. Or short stories, social…
piedpiper
  • 1,222
  • 3
  • 14
  • 27