Questions tagged [letters]

251 questions
5
votes
2 answers

How do computers differentiate between letters and numbers in binary?

I was just curious because 65 is the same as the letter A If this is the wrong stack sorry.
GingerFish
  • 457
  • 3
  • 11
  • 26
5
votes
4 answers

Improve the quality of the letters in a image

I'm working with images that have text. The problem is that these images are receipts, and after a lot of transformations, the text lost quality. I'm using python and opencv. I was trying with a lot of combinations of morphological transformations…
Chuck Aguilar
  • 1,998
  • 1
  • 27
  • 50
5
votes
4 answers

MySQL - Case-insensitive search

Building my search engine for users to search for three variables $Title, $Text and $Number... How do i make it when user searches it finds all results no matter the case type (lower or upper case) user typed in $query? $query = trim…
user2129470
  • 47
  • 1
  • 1
  • 5
4
votes
5 answers

Regex - With Space and Special Characters

I'm using the following Regex ^[a-zA-Z0-9]\s{2,20}$ for input Letters A - Z Letters a - z Numbers 0 - 9 The input length must be a least 2 characters and maximum 20 characters. I also want to enable space in the input, but only space, not new…
user330885
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
3 answers

Convert Letters & Numbers in a Phone Number to all Numbers (Java)

import java.util.Scanner; import javax.swing.JOptionPane; public class PhonePadTranslator { private static Scanner input; public static void main(String[] args) { input = new Scanner(System.in); System.out.println("Enter The Phone…
John Sideris
  • 45
  • 1
  • 2
  • 4
4
votes
2 answers

Python - Comparing a list of characters to a list of words?

I have built a program that randomly generates 8 separate letters and assigns them into a list called ranlet (short for random letters). It then imports a .txt file into a list called wordslist. Both the random generation of letters and loading the…
4
votes
4 answers

How can I get the next letter alphabetically without incrementing? (php)

for ($i=A;$i'; echo ++$i; echo ', '; } gives me: A->B, C->D, E->F, G->H, I->J, K->L what I want is: A->B, B->C, C->D, D->E, E->F, F->G What's the simplest way to do this?
pg.
  • 2,503
  • 4
  • 42
  • 67
3
votes
4 answers

How to do a character search in any order (12 letters from which 6 should form a word) with PHP?

I am thinking about this all day and can't seem to figure out an memory efficient and speedy way. The problem is: for example, I have these letters: e f j l n r r t t u w x (12 letters) I am looking for this word TURTLE (6 letters) How do I find all…
djvdorp
  • 83
  • 5
3
votes
1 answer

Comparing the contents of two lists in prolog

I am having some kind of homework and I am stuck to one point. I am given some facts like those: word([h,e,l,lo]). word([m,a,n]). word([w,o,m,a,n]). etc and I have to make a rule so that the user will input one list of letters and I should compare…
Theocharis K.
  • 1,281
  • 1
  • 16
  • 43
3
votes
5 answers

Generating letters in Java

I need to generate some business letters in Java, with some dynamic information like address, to,from etc. Remaining letter content would be the same. These letters are not displayed to the user but are directly printed. I know i can do this using…
rakesh
  • 91
  • 1
  • 1
  • 3
3
votes
4 answers

Numeric to Alphabetic Lettering Function in R

I have written a function which works on the integers from 1 to 702 for converting a number to a letter in a very specific way. Here are some examples of how I would like the lettering function to work: 1 -> A, 2 -> B, 27 -> AA, 29 -> AC, and so…
ctesta01
  • 909
  • 8
  • 19
3
votes
0 answers

How to format sfChart DateTimeAxis Label Style so that it contains only capitalized words

I am using SyncFusion for graphics. For that purpose, I am specifically using SfChart component. In this component, I want to be able to format dates as following: MON,TUE,WED,THU,FRI,SAT,SUN (That means that show only days with capital letters) To…
Emrah Akgül
  • 630
  • 2
  • 7
  • 18
3
votes
1 answer

How to type Greek letters with Sikuli

I am using Sikuli to complete some forms and I have to type Greek letters on some of them. I can define a string with greek letters, for example a='Γεια σου', and even print it using Python 3.5.2 Shell (on Windows). However when I use the type…
stavros11
  • 31
  • 3
3
votes
4 answers

How to separate String into chars

public static string kw; public String parse(String keyword) { this.keyword = keyword; char[] letters = keyword.ToCharArray(); string g; long length = System.Convert.ToInt64(keyword.Length.ToString()); for (int i = 0; i <=…
Asyk
  • 33
  • 2
1
2
3
16 17