Questions tagged [alphabet]
319 questions
3
votes
1 answer
Regular expression for three or more consecutive letters of the alphabet
I want to write a regular expression that will find instances of three or more consecutive letters of the alphabet. I'm planning to use this regex with both JavaScript and grep. This seems like something that regex should be able to do pretty…

Stephen Ostermiller
- 23,933
- 14
- 88
- 109
3
votes
0 answers
Turing Machine Blank Symbol After Halting
Given a Turing Machine with input alphabet Σ and tape alphabet Γ. Alphabet Σ does not include the blank symbol, Γ does. Let's represent the blank symbol as _ . Say this Turing Machine, given an input w, writes as output w_w. That is, the output is a…

RGG
- 31
- 1
3
votes
5 answers
Shift array forward in javascript
Okay, so I do not know if the title is right or not, but what I am struggling to do is find an algorithm to do something like this. So we have an input array such as: ['a','b', 'c', 'd', ...] until the end of the alphabet, and a number to shift…

Ivelin Dinev
- 51
- 2
- 8
3
votes
1 answer
Original Alphabet Creation
What software can I use to create an original (non-Latinized) alphabet with? I have found fontlab 5, but I cannot find documentation that discusses how you create an original alphabet. They assume everyone wants to create new fonts for English. I…
user7222747
3
votes
4 answers
Printing triangle with given letter in C++
I would like to to print a triangle with a given letter. For example, if I input D, the program should return:
A
AB
ABC
ABCD
So far, I have managed to print all letters until the given one in my example, but as you see this…

Nikola
- 53
- 7
3
votes
2 answers
Select rows with alphabet characters only
My data are in the following format:
data = [['@datumbox', '#machinelearning'],
['@datumbox', '#textanalysis'],
['@things_internet', '#iot'],
['@things_internet', '#h...'],
['@custmrcom', '#analytics123'],
['@custmrcom', '#strategy...123'],
…

kevin
- 1,914
- 4
- 25
- 30
3
votes
3 answers
Converting from letters to their relative positions in the alphabet (c#)
A while ago I found this code and I want to understand how it works)
int index = (int)c % 32 +1;
I have used this line successfully to convert letters into numbers - for example a becomes 1 (and so does A) Could someone please explain how this…

Baddog22
- 35
- 4
3
votes
3 answers
Create an alphabet in PHP with only some letters depending of names in database
I have a database (SQL) with a lot of names and I'd like to create alphabetical buttons so it's easy to navigate. I've found lots of examples on how to create an alphabet in PHP. However, I want to build an alphabet with only valid letters depending…

cesarcarlos
- 1,271
- 1
- 13
- 33
3
votes
7 answers
Can't convert 'list'object to str implicitly Python
I am trying to import the alphabet but split it so that each character is in one array but not one string. splitting it works but when I try to use it to find how many characters are in an inputted word I get the error 'TypeError: Can't convert…

user3112327
- 275
- 3
- 6
- 14
3
votes
1 answer
How do I force the player in a text-based game to use an alphabet-only name?
So this is my code:
name = input("So, what is your name? ")
if name.isalpha():
print ("So your name is " +(name) + "? Awesome.")
else:
print ("That's not a real name! Try again...")
I want to figure out how to return to the original…

user2975375
- 81
- 1
- 1
- 7
3
votes
3 answers
Generate list of 7 letter words meeting specific conditions - Python
I am trying to generate a list of 7 letter words in python that satisfy the following conditions:
Words are fixed length (7 letters)
Words are only uppercase (I'm using ascii_uppercase)
Is of the form ?D?R?T? where the ? acts as placeholders for…

karniv0re
- 53
- 7
3
votes
2 answers
What do I need to know about fonts and character sets for multi-language support
NOTE: I accepted an answer because it is helpful and I don't expect to get another one any time soon, but the question is still not completely answered so I may award a bounty to anyone who does. I guess what I'm looking for is a kind of flowchart…

spraff
- 32,570
- 22
- 121
- 229
2
votes
4 answers
Transform an int to a char
I'd like to write the alphabet with a link for each letter. So I used templates but I don't how to make this letter I tried that but I had a normal mistake : (A decimal representation must imediately follow the in a character…

M07
- 1,060
- 1
- 14
- 23
2
votes
0 answers
How can I save the tabula recta in an Array
I need to create a program, with GUI which can encrypt and decrypt the vigenere cipher. And I would start with saving the tabula recta in an array but I dont really have any experience with doing "bigger" projects. I cant really figure out how to…

David
- 21
- 1
2
votes
4 answers
String contains only the alphabet in haskell
I want to make a functions which decides wheter the character is a letter in the alphabet in Haskell
isLetter :: Char -> Bool
So the outcome may look like this: if I type isLetter 'c', the outcome will be True, and if it's isLetter ' ', then the…

Attila Fodor
- 27
- 2
- 6