Похожие чаты

Anyone can help me ? Now we have a database

with English words in it. here we have to make a guess

Our word is: Apple.

What do I need to write a program that can calculate the percentage of occurrence of the letter "A" when I write the letter "P" and then the letter "P", "L" and "E" again?

12 ответов

8 просмотров

What do you mean?

M.Furkan- Автор вопроса
Pedro Aguiar
What do you mean?

In short, word prediction app. with the words in the database

Do you mean that you want to get the most likely words that can follow after "A" has been typed? And then after "Ap" has been typed and so on?

M.Furkan- Автор вопроса
M.Furkan
yes of course.

it was not very clear from your question :P btw I'm pretty sure there are index libraries that can help you with this issue, without having to write it on your own

M.Furkan- Автор вопроса
Alessio
it was not very clear from your question :P btw I'...

sorry my English , can you help me. can you show me how to do it?

M.Furkan
sorry my English , can you help me. can you show m...

it depends what you need it for. If it's a user feature why do you need python? I mean, if it's on a frontend, you probably want to look for a javascript solution (if we're talking about web stuff) and/or possibly an sql (if your database is sql) solution

M.Furkan- Автор вопроса
Alessio
it depends what you need it for. If it's a user fe...

no just i have db file. i want to see this result in terminal

M.Furkan
no just i have db file. i want to see this result ...

First you have to get the typed letters, you can't use input but you need a thirdy part library like curses When you're ready to get the typed letters once per time, you can create a simple query to the database This things are simpler using GUI or browsers

M.Furkan- Автор вопроса
M.Furkan
How can I do it easy using GUI

Each toolkit behaves differently First get if tkinter allows you to get the pressed keys for the entries

M.Furkan- Автор вопроса

Похожие вопросы

Обсуждают сегодня

Ясн. Но я всеравно к кедам отношусь с опасением. Чисто субьективное кедосозерцание. Что касаемо "восторга изяшности кед" так и не вкурил, хотя много слышал, пока не поставил с...
Артем Записной
30
Есть какой-нибудь для Delphi/FPC T*Compression(Decompression)Stream на базе LZ4/Zstd/любой другой быстрый(и хорошо сжимающий) алгоритм А ещё лучше в pure pascal А ещё лучше од...
notme
48
А чем вам питонисты не угодили?😂
.
79
type TObj = object procedure Init; virtual; end; TObj1 = object(TObj) procedure Init; override; end; procedure TObj1.Init; begin inherited; end; procedur...
Alexander 👋
29
Такой вопросец - есть функция function MySuperDuperConcat(const a: array of AnsiString): AnsiString; Как мне в её теле сделать вот так? Result:=Concat(a); А не грустный вариан...
notme
15
They keep hyping $FUN but where's the progress? 🙄
Noah Noure
23
Btw guys very stupid question but i haven't researchd so js asking you pros . Can ltc be traced too? Literally point to pint to the user? And getting the banks blocked ? Exch...
20
Hello everyone, sorry for asking as I guess this has already been answered a thousand times but... I m a bit concerned about the FTM -> S swap. I m hodler and quiet exposed a...
Tonton ToOn
6
Can I deposit from Bingx-exchange to wazirx? Any problem? Admin
Crypto Alt Trader
16
Hey guys, did you see the new announcement about $Fun? 🔥
Filip Murphy
55
Карта сайта