Questions tagged [alphabet]
319 questions
5
votes
5 answers
Defining the alphabet to any letter string to then later use to check if a word has a certain amount of characters
This is what I have so far:
alphabet = "a" or "b" or "c" or "d" or "e" or "f" or \
"g" or "h" or "i" or "j" or "k" or "l" or \
"m" or "n" or "o" or "p" or "q" or "r" or \
"s" or "t" or "u" or "v" or "w" or "x" or \
…

Ethan McRae
- 124
- 2
- 13
5
votes
2 answers
how to sort non-english strings?
I did look up answers, and they are good for the standard alphabet. but I have a different situation than that.
so, I am programming in Java. I am writing a certain program. this program has at some place some list of string items.
I would like to…

SYOB SYOT
- 900
- 10
- 14
5
votes
1 answer
Python string.letters does not include locale diacritics
I am trying to get the alphabet from python string module depending on a given locale with no success (that is with the diacritics, i.e. éèêà... for French). Here is a minimal example :
import locale, string
locale.setlocale(locale.LC_ALL,…

F. Boudin
- 53
- 4
5
votes
2 answers
How to get character position in alphabet in Python 3.4?
I need to know the alphabet position of the n-th character in a text and I read the answer of this question but it not works with my Python 3.4
My program
# -*- coding: utf-8 -*-
"""
Created on Fri Apr 22 12:24:15 2016
@author: Asus
"""
import…

ParaH2
- 519
- 1
- 4
- 21
5
votes
2 answers
Iterate a to zzz in python
So I need to get a function that generates a list of letters that increase from a, and end in zzz.
Should look like this:
a
b
c
...
aa
ab
ac
...
zzx
zzy
zzz
The code I currently have is this:
for combo in product(ascii_lowercase, repeat=3):
…

user3642145
- 155
- 4
- 5
- 9
4
votes
8 answers
Javascript reverse alphabet
so I've been messing around with the .replace() function lately and wanted to make it reverse whatever the user inputs.
(Aka a -> z, A -> Z, b -> y, B -> Y, ...)
I'm using function stacking, so I just added .replace().replace()... for every letter,…

Aci
- 546
- 5
- 22
4
votes
1 answer
Unicode letters with more than 1 alphabetic latin character?
I'm not really sure how to express it but I'm searching for unicode letters which are more than one visual latin letter.
I found this in Word so far:
DZ
Dz
dz
NJ
Lj
LJ
Nj
nj
Any others?

BlackMatrix
- 474
- 5
- 19
4
votes
2 answers
Regex to match all Hangul (Korean) characters and syllable blocks
I'm trying to validate user input (in Python) and see if the right language is being used, Korean in this case. Lets take the Korean word for email address: 이메일 주소
I can check each character like so:
import unicodedata as ud
for chr in u'이메일 주소':
…

Simon Steinberger
- 6,605
- 5
- 55
- 97
4
votes
2 answers
UITableView - Alphabet
Here is the improvement that I wish to add to my UITableView with alphabet:
If there are no results in my table that don't start with one of the letters of the alphabet, I don't want to see this titleForHeaderInSection in my UITableView.
And I don't…

EMontesMac
- 123
- 1
- 2
- 10
4
votes
1 answer
how to implement alphabetic scroll bar in android
i am using fastscroll with indexer, but i want to implement a alphabetic scroll view just similar to Iphone. any idea?
i hope u can take a look at this image

Ads
- 6,681
- 12
- 47
- 72
4
votes
2 answers
Bullet list with alphabet in ng-repeat
I have an ng-repeat block as below, I wan't the placeholder [[THE ALPHABET]] in code to render a, b, c, d like bullets for the list, in respective order. I will have 4 values always. What is the best way to achieve this?
…

esafwan
- 17,311
- 33
- 107
- 166
4
votes
4 answers
How can I know in Javascript if character is part of alphabet (not just English alphabet)?
I need to analyze pressed key if it is alphabet (for all languages) in UTF-8 encoding. Is that possbile in anyway?

newbie
- 24,286
- 80
- 201
- 301
4
votes
3 answers
Show that the following set over {a,b} is regular
Given the alphabet {a, b} we define Na(w) as the number of occurrences of a in the word w and similarly for Nb(w). Show that the following set over {a, b} is regular.
A = {xy | Na(x) = Nb(y)}
I'm having a hard time figuring out where to start…

user2804857
- 41
- 1
3
votes
2 answers
The Alphabet and Recursion
I'm almost done with my program, but I've made a subtle mistake. My program is supposed to take a word, and by changing one letter at a time, is eventually supposed to reach a target word, in the specified number of steps. I had been trying at first…

Unknown
- 666
- 3
- 11
- 23
3
votes
5 answers
sequential alphanumeric string generation with 2 alpha and 7 numeric digits
I want to generate alphanumeric number in such way that its first two character represents the alpha and rest 7 digits represent numeric and it should be sequential. for example it should start like this
and once its reaches seven time 9 it should…

rahularyansharma
- 11,156
- 18
- 79
- 135