Questions tagged [letters]

258 questions
4
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,698
  • 19
  • 45
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
1 answer

How to convert Cyrillic letters to English latin in Java String?

I have string a="L1-23Миграција од VPN и промена на брзина ACTELIS Agregator alternativna 8-/208"; I would like for every my string to check if there are some Cyrillic letters in string and to convert them to English: Output should…
Veljko
  • 1,422
  • 10
  • 34
  • 68
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,297
  • 4
  • 39
  • 62
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,221
  • 1
  • 15
  • 41
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
  • 81
  • 1
  • 1
  • 3
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
  • 602
  • 2
  • 6
  • 17
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
3
votes
1 answer

National characters list

How (or where) to get the national letters user by states/nationalities? E.g.: for example the: Gernan language uses öäüß (plus ascii letters) Hungarian: áéíóöúüőű Czech: áéíóúýčďěňřšťůž Iceland: áæéíðóöúýþ etc.. Tagged as perl because using it…
jm666
  • 52,991
  • 14
  • 92
  • 160
3
votes
1 answer

How to compare the first letters of a strings in R

I need compare a vector with strings which in any case they have the same two first letters. How I do it? I know the function compare in the library compare but I don't get it to work. Thanks in advance.
pescobar
  • 177
  • 1
  • 1
  • 10
3
votes
1 answer

Pandas Python: Delete Rows of DF That Have ASCII Letters

I have a column in my dataframe that I would like to convert to datatype int. However it is throwing an error because some of the rows have letters in their entries. I would like to create a new dataframe that only has entries in this column with…
sfortney
  • 1,746
  • 3
  • 18
  • 37
3
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
  • 35
  • 1
  • 2
  • 4
3
votes
5 answers

Program to convert numbers to letters

Im trying to crate a program that does this: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z AA AB AC AD....ZZ AAA AAB AAC The way I approached this is hard to put into words but I'll try explaining I tried creating a base 27 system and make A…
user2994363
  • 47
  • 1
  • 4
1
2
3
17 18