Questions tagged [alphabet]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
3 answers
172 views

Calling a recursive function using the alphabet

I'm supposed to write a statement that calls the recursive function backwards_alphabet() with input starting_letter. I've figured out how to do that. The problem is that at the end of my code it ...
Please Help's user avatar
-1 votes
2 answers
29 views

Adapting the SVG of a Phoenician letter for a HTML site

I'm trying to adapt an open-source SVG created in Inkscape so it can be embedded on my experimental website in the same I've done so with other SVGs from the same alphabet. Phoenician "mem" ...
Tom di Mino's user avatar
-3 votes
1 answer
184 views

Bard in react-native

Can I implement Bard in react-native project? I searched on Google and chatGPT as well to find that can use BardAPI in react-native project, so I didn't find any article or any things related to this. ...
Vinay S Upadhyay's user avatar
0 votes
0 answers
17 views

how to check if there is any alphabet character after @ and before .com in javascript [duplicate]

I'm programming a register system in javascript, and the problem is that i want to check if the email format is correct so i write if(regEmail.includes("@" + ".com")) but the ...
Learn Unity بلعربي's user avatar
0 votes
0 answers
38 views

Pyautogui.write() works for punctuations but not alphabet characters on windows

I am trying to type the website name using Pyautogui.write(). However, when I tried the below test code, it only typed './?@#$' on the windows machine. But it did work on mac. I have no clue why this ...
Evelyn Gao's user avatar
3 votes
5 answers
335 views

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 ...
rahularyansharma's user avatar
0 votes
0 answers
42 views

feature extraction on real data isolet dataset

it is my first time dealing with audio data and i'm having a bit of trouble extracting the freature of a real sample audio to pass on the model for evaluation especially that i didn't really ...
Reem Brimo's user avatar
-1 votes
2 answers
45 views

How to match complete words for acronym using regex?

I want to only get complete words from acronyms with ( ) around them. For example, there is a sentence 'Lung cancer screening (LCS) reduces NSCLC mortality'; ->I want to get 'Lung cancer screening' ...
정다라's user avatar
0 votes
2 answers
85 views

PowerShell or CMD - Find and Increment alphabet letter of files (revision management)

I need some help to automate rename files in a current directory. The following files that can exits in the directory is for example: AAA111A.txt AAA111A.pdf AAA111A.jpg BBB222B.jpg BBB222B.pdf Where ...
Martijn's user avatar
1 vote
2 answers
46 views

Print to the console the entire alphabet of uppercase and lowercase (A to Z, a to z) with custom foreground and background colors

How can I print all the alphabet characters (A to Z, a to z)? I did the following. It lets me print all the characters from A-Z and a-z but the problem is that I get the in-between ASCII characters ...
rediska's user avatar
  • 11
0 votes
1 answer
77 views

Rename Lithuanian alphabet in R

I would like to rename() or combine() different speakers' names in the same observation. For example, I have a variable called "speaker" with several speakers' names with Lithuanian ...
Alberto's user avatar
1 vote
2 answers
111 views

Ukrainian letters are poorly sorted

The problem is that when using order_by(), Ukrainian letters are incorrectly sorted alphabetically, that is, before "а", "б" is placed "і" and "є".
Patrick Bond's user avatar
-1 votes
2 answers
210 views

What is the best way to replace a letter with the letter following it in the alphabet in Java?

I'm a programming newbie and I am doing a coderbyte exercise that says " Replace every letter in the string with the letter following it in the alphabet (ie. c becomes d, z becomes a)" i'm ...
santa_cloudy's user avatar
0 votes
1 answer
33 views

create a list by multiplying list, indexes remain attached

I am trying to solve this: https://leetcode.com/problems/letter-combinations-of-a-phone-number/ but when appending the value to the first list inside the list it append it also to the 4th and the 7th ...
Gaia Vaccarezza's user avatar
-2 votes
3 answers
204 views

How to recursively print the alphabet in Javascript?

Seen some solutions using a regular for loop, but was interested in the recursive way maybe we can define the arr as the alphabet let arr = ['abcdefghij(...rest_of_alphabet)`] found this on the ...
zunny's user avatar
  • 1
0 votes
4 answers
2k views

Check whether a character is an alphabet, digit or special character- PYTHON

Ques - Check whether a character is an alphabet, digit or special character I have written a python code solution and it is working well. But when I input ("@"), I get the output as an ...
Solitary Paradise's user avatar
0 votes
1 answer
34 views

Infinite loop not checking for string size and belonging to alphabet

I've been trying to make a check for if the input (guesses) belongs to the alphabet and if it's a single character for my simple hangman game, but when I try to run the program it just ignores the ...
Maksiks's user avatar
  • 94
0 votes
0 answers
43 views

how to properly read Nordic alphabets like Ø

I just started data analysis with R and the dataset I'm currently working with reads Cédric as C<e9>dric. What's a way I can get read all names perfectly without having to correct them ...
Mega Erivona's user avatar
0 votes
1 answer
606 views

How to sort a list by number first in descending order and then by alphabet in ascending order

I have a list ff = [('o', 2), ('l', 1), ('e', 1), ('g', 2)] and i want to sort it in such a way in which it get sorted by number in descending order and if any element have same number then it get ...
Lakshya Kashyap's user avatar
-2 votes
2 answers
606 views

Cycle through letters of the alphabet in a loop and assign values to them in Python? [duplicate]

Here the number of variables (which correspond to numfactors) are assigned manually to each letter of the alphabet. So the first variable is A and it gets assigned the value of an array slice (paths[...
Matt's user avatar
  • 2,592
3 votes
1 answer
373 views

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 ...
Stephen Ostermiller's user avatar
0 votes
2 answers
266 views

Increment alphabetical string in Ruby on rails

Task I want to solve: Write a program that takes a string, will perform a transformation and return it. For each of the letters of the parameter string switch it by the next one in alphabetical order. ...
Azizbek Nusratilloyev's user avatar
-1 votes
1 answer
42 views

encrypt alphabet to unicode does not work

This is project from freecodecamp where a string is encrypt by the values of the letters are shifted by 13 places All letters will be uppercase. Do not transform any non-alphabetic character (i.e. ...
user avatar
-2 votes
1 answer
38 views

why are we subtracting the code from 64 on the bottom if statment, I am confused with that line

Just wondering about the line after the if statement and why are we subtracting 64 or using 64 in the code for the string. function alphabetPosition(text) { var result = ""; for (var i = ...
Otis Guess's user avatar
0 votes
0 answers
651 views

Replace With Alphabet Position

Write a function that is given a string, replace every letter with its position in the alphabet. If anything in the text isn't a letter, ignore it and don't return it. a being 1, b being 2, etc.As an ...
Mo008's user avatar
  • 21
0 votes
1 answer
298 views

adding alphabet letters for values with a do loop in sas

data test; length val $15; input obs val $ pvalue; cards; 1 demog 0.8812 2 ae 0.7112 3 dispostion 0.8234 4 exposure 0.7788 ; run; I would like to get a new dataset with pvalue like 0.8812a, 0.7112b,...
Lynn's user avatar
  • 19
0 votes
1 answer
634 views

Replace every letter with its position in the alphabet for a given string

The first step, I changed the string to a lowercase, after that I removed all the non letters from the string, now I am struggling to replace each letter with the alphabet position. does anyone know ...
Mo008's user avatar
  • 21
0 votes
2 answers
876 views

How Can I Split string every nth character, And Display like This?

I want to print the following string: 1234567890 as follows: 123 456 789 0 How can I do this in Python?
Punch-Kun 2229's user avatar
0 votes
2 answers
196 views

How do I extract a maximum of 14 names out of a big list that, together, have all the letters of the alphabet?

I am a new programmer. As the title states, this is my attempt to get this done: def alphabet_set(countrylist): alphabetical_list = [] alphabet = 'abcdefghijklmnopqrstuvwxyz' for ...
vedad hadzic's user avatar
0 votes
1 answer
99 views

Shift alphabetical characters in string

Let's say I have a string: s <- 'hello world zzz' I want to shift the alphabetical characters up by one. So: a becomes b b becomes c c becomes d d becomes e and so on... w becomes x x ...
U13-Forward's user avatar
  • 69.3k
0 votes
1 answer
65 views

How do I fix problems with letters from a different alphabet on R? [duplicate]

When I first wrote my script, letters such as 'ç' and 'ã - very commonly used in portuguese - were fine. So if I wrote, for example, the word 'vagão' in portuguese, that's how it would read it. But ...
Marina Bonatti's user avatar
0 votes
1 answer
331 views

Print non used character in alphabet

I'm trying to create a program in C that prints the letters from alphabet that are not in gussed_character. All unused letters are saved in available_character. Code: #include <stdio.h> #include ...
david's user avatar
  • 65
1 vote
0 answers
81 views

generate unique hash from strings composed of english smaller case letters of length upto 4

I want to generate unique hash from strings composed of English smaller case letters of length upto 4, so that I can store those unique hashes in my has map (STL unordered map) For example, strings ...
Network_starter's user avatar
1 vote
1 answer
1k views

How to shift letters in the alphabet using python? [duplicate]

I want to shift each letter in the alphabet (e.g. a→b, b→c,...) using python. When you write a word like "Car", it shifts the letters and the new word is "Dbs"(C→D, a→b, r→s). Here ...
Sneezy_HD's user avatar
0 votes
1 answer
66 views

How can I save strings from different alphabets to SQL?

I am developing a backend project for my mobile apps. I have users from Europa, China, Israel, ... on my app. The app needs users' info like name. I have a "name" column on the "users&...
Gokhan's user avatar
  • 41
0 votes
1 answer
397 views

How to create a substitution cipher in which the encryption alphabet changes everytime?

public static String encrypt(String plaintext, String encryptalpha) { char[] alpha = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', '...
PurplePetal's user avatar
1 vote
2 answers
113 views

some problems about sort() method on python

I have a two dimensional list and I want to sort them priority. my list like; [0] is number, [1] is name-surname, [2] is degree .. etc And the names are include non-english characters like "Ç İ Ş&...
maddog's user avatar
  • 29
0 votes
4 answers
753 views

Alphabet Layers In Python

How to multiply layers without ankwardly repeating elif lines? Cannot get += 1 working. Or perhaps different string approach? I'm certainly new in Python. layer = int(input("Give a number between ...
Stick-Man's user avatar
0 votes
2 answers
893 views

Alphabet Soup -Determine if you can write your message with the letters found in your bowl of soup

I have been given a task to solve in python, need a help as I am not able to get an output, below is the question: - Everyone loves alphabet soup. And of course, you want to know if you can construct ...
IDLE_Python_Developer's user avatar
-1 votes
1 answer
244 views

Sort array alphabetical as nordic/locale order

I'm sorry - im learning PHP. Looking for help to sort array by name - but as my locale alphabet. I would like to sort array as nordic alpabet and I would want to leave rows with numbers last, I tried ...
Rookie's user avatar
  • 15
0 votes
2 answers
540 views

What is the best way to create a substitution cipher to map a string of normal alphabet to a string of jumbled alphabet, to encrypt a message?

public static String EncodeString() { String plaintext = "Hello Jon"; String alphabet = "abcdefghijklmnopqrstuvwxyz"; String Substituion = "...
john's user avatar
  • 1
-3 votes
2 answers
477 views

I want to get Int value range 0-25 from a-z in Swift. And also reversely [duplicate]

I want to convert alphabets to numbers, in this way: a=0, b=1, c=2 ... z=25 in Swift. I have an array of integers range 0-25. I want to get alphabets from the Int array. If I have an array of ...
David S's user avatar
  • 55
1 vote
1 answer
897 views

Quill Editor Alphabetic List

Is there anybody that already got an alphabetic list working on Quill Editor? For now you can only List with numeric 1. 2. 3. I need : a. b. c. I could replace with JS but thats not the cleanest thing....
Peter Lustig's user avatar
0 votes
1 answer
151 views

Creating a CFG that satisfies rules

So I have the following problem, I need to create a context free unambiguous grammar to meet the following criteria. The alphabet will be { (, a, b, ), £ }, every correct string must include; a ...
KyleB9's user avatar
  • 9
0 votes
1 answer
41 views

Replacing given letter with a specific number value in Java [duplicate]

I wanted to pass a letter as a String to this method and it should give back the corresponding number (as String) stored in the same index as in the letterDispari array but in the numberDispari array. ...
chiagger's user avatar
-1 votes
2 answers
506 views

Python vowels constant

Is there a Python library that contains a variable which contains vowels, e.g. 'aeiou', ['a', 'e', 'i', 'o', 'u'] or something like that? in the string library there is ascii_lowercase variable with ...
eerio's user avatar
  • 53
0 votes
1 answer
1k views

How can i sort a string in alphabetical order in python

I've been trying to sort a string in alphabetical order and got stuck. I know that the sort function exists on python but i cant use it. Cant even use the .join method as well. Gotta do it all using ...
Travis Reed's user avatar
0 votes
2 answers
164 views

My program just will not recognize letters from alphabetical arrays

So this program won't recognize letters from the arrays of lowercase and uppercase alphabets. I've wasted wayy too many hours on trying to figure this out but I just don't get it. It seems to ...
ILoveYeezis's user avatar
1 vote
1 answer
463 views

Implementing an alphabet in C++

I'm making a code for cipher that reads alphabet in it's binary code. Is there a way to implement custom alphabet (not using ASCII)? For example alphabet={a,b,c,d,e,...,z,],[,.,..., ,-} and for each ...
bheadr 73's user avatar
-1 votes
1 answer
157 views

Ruby Alphabet sorting

I was going through some questions on HackerRank, that need to sort data a substring alphabetically "the shortest comes first" for example ["cd","cc","cca", &...
Ismail Al.Mahdi's user avatar

1
2 3 4 5
7