16,020,459 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Hesham_h4 (Top 8 by date)
Hesham_h4
18-Jul-11 12:52pm
View
I think I'm asking them, and if they answer me (5% probability) I'll mark this as the solution :).
Funny fact is that I asked that question at Microsoft forums, forgot that Bing would be using it if they knew :)
About your approach, I think that detecting the input language isn't a big deal if we talk about a .NET application and so the spell check would be just appropriate, "transkeying" as I called it is still the big problem here. We need to know what keys were pressed, let's assume we know because we are working upon user input not on a copy-past text, then we need to simulate each of these scripts to get a probable text (Remember that some characters can be entered in multiple ways) and then comes your method in place to detect which one is used and so narrow the language probabilities.
Hesham_h4
18-Jul-11 12:34pm
View
I think this method is close to the one used in Google translate (Not accurate at all though), it detects the language from a text written in it, not a text written in a different language which is our topic here.
Hesham_h4
18-Jul-11 0:49am
View
This is actually the answer to the Title questions though not answering the Main one but I decided to ask it separately.
Hesham_h4
17-Jul-11 23:53pm
View
As a second thought this can be simplified if we consider installed languages only but as is it can help people use their language without installation, just type your language in any installed language and we will understand your input, that seems great.
Hesham_h4
17-Jul-11 23:50pm
View
Knowing the input language might help finding out that the input isn't recognized as words in the selected input language and so trigger the whole process. I think you found the trigger, but we still don't have a gun :)
Hesham_h4
17-Jul-11 23:43pm
View
The thing we are trying to achieve here is much more different than what I was trying to do. I don't know for sure that the user is going to use a specific language to warn him about a wrong one, I could have used a character set for that. I'm intending to search the word list of every language upon user input to tell what language the user might be typing without it necessarily selected.
That requires:
1. Keyboard layout.
2. Keycode + Shift, Alt and Ctrl state.
3. Making an assumption out of this input for every known language.
4. Comparing these assumptions to word lists and detecting at which language this input may mean something. Google has super systems so I'm NOT expecting this to be done in a flash on an ordinary or even gaming computer. It's just interesting to do it.
Check the picture again please, I was typing English while the keyboard is switched to Arabic and it was detected to be English and automatically translated, same thing happens if you write Arabic with the keyboard set to Spanish, if you know what I mean!
Hesham_h4
9-Jul-11 19:14pm
View
Thanks for replying, what I mainly try to do here is to get text in a specified language from text typed in another language.
What I came up with is to convert that text (Given the language/keyboard layout) to a keycode array (Including shift state) then do what I'm trying to do here.
For example if we have the text "فاهس هس ُىلمهسا" that's in Arabic(101), I want to predict the text written in English (Assuming that the user forgot to switch language) which is "this is English".
Of course if there's another way to do that I'd love to know.
P.S: Google is already using such a method in the search bar.
http://imageshack.us/photo/my-images/89/capturece.jpg/
[
^
]
Hesham_h4
8-Jun-10 19:24pm
View
Do you mean that this value presents the index of the frame that the sub will show/hide at?
If so then I think that I will need the video itself to read the file but a program like Jet Audio is able to preview the subtitle with time even without the record how come then!
Show More