language

How to detect language

Hi guys, Are there any good, open source engines out there for detecting what language a text is in, perhaps with a probability metric? One that I can run locally and doesn't query Google or Bing? I'd like to detect language for each page in about 15 million pages of OCR'ed text Cheers Nik ...

NLTK and language detection

How do I detect what language a text is written in using NLTK? The examples I've seen use nltk.detect, but when I've installed it on my mac, I cannot find this package. Cheers Nik ...

Vim object-select with syntax-aware text-objects

I just learned about the truly awesome object-select capabilities of vim. With the cursor within some "text object", a set of simple verbs can select or operate on the whole object. For example, with the cursor anywhere inside the quotes below (e.g. over the 'o'): print "Hello, world" ^ The command vi" will select the who...

Getting assembly language programming skills

Hello, I am a DSP,Embedded software programmer, looking to improve my assembly language programming skills. For 7 years of my career i have been programming in C, Matlab, little bit of assembly language coding.(ARM assembly, DSP processor assembly). Now i want to improve my assembly language coding skills(it can be any assembly languag...

Language Translation Dictionaries For Tech Terms

I'm creating a web app that I would like to be able to translate into different languages. I realize that hiring a translator is the best option, but some terms may not be in the translator's vocabulary depending on their exposure to the web and technology. The translator may produce a direct translation that does not match the conventio...

I need a language

I need a language to help me develop some data convertion utils, which includes librarys of MySQL,SOAP,XML,HTTP,Multi-Threading,File I/O and so on. and easy to learn, easy to modify and debug, just need console output. It can run in Windows and Linux. (I think script language is berter ^_^, I 've never release it, just help me to convert...

Setting the Culture in ASP.NET

I have an asp:literal: <asp:Literal id="language" OnClick="changeLangauge" Text="<%$ Resources:Translate, switchLanguage %>" runat="server"/> When it is clicked it switches the language: public void ChangeLanguage(Object sender, EventArgs e) { string lang = langauge.Attribues["class"]; language.Attributes.Remove("class"); if (l...

Multi-language ePub

I searched high and low but couldn't find a single ebook in a non-english language, especially Arabic? Does ePus support non-english languages? Does it support Arabic (right to left)? Thanks ...

Why ActionScript is said scripting language even after grown up so much and having compiled language?

From the Wikipedia defination, Programming language is Scripting languages are languages that allow you to send commands directly to a system that executes these commands. These commands are read line by line and executed-interpreted, but not compiled. Whilst, Scripting language is Programming languages are languages that all...

List of Language Codes in YAML or JSON?

Is there a list of language codes in YAML or JSON somewhere out there? Another format is fine, I can convert it if necessary. ...

What is the dominant reason for Python's popularity as a systems and application programming language?

Coming from an enterprise systems background (think Java and Windows) - I'm surprised at the popularity of python as a prototyping language and am trying to put my finger on the precise reason for this. Examples include being listed as one of the four languages Google uses. Possible reasons include: enables rapid systems application pr...

What does 'predicate' mean in the context of computer science?

Specifically I've seen it used in the context of text filtering. As if "predicate" == "filter criteria". Is this accurate? ...

What is the best way to store multiple language versions of a website?

My web site (on Linux servers) needs to support multiple languages. What is the best practice to have/store multiple languages versions of the same site? Some I can think of: store in DB different view file for each language gettex hard coded words in PHP files (like in phpBB) ...

Localization in C# Application

Im creating a C# Application based on WinForms / KryptonForms, and as the application is halfway in development i thought to myself I best sort the localization out. As a born and bread PHP Programmer (and I know C# is a whole new level), I would create a class to detect the language and auto assign the language pack to the application....

"Error - symbol 'tr' has multiple definitions."

I'm trying to compile a code for bumper switches in my robot and i get this error:" Error - symbol 'tr' has multiple definitions." What does this mean? I'm painfully new to this... ...

How to recognize user language in PHP

Is there any way to parse the HTTP_USER_AGENT to get the current user language ? ...

Clearing bits in a register in assembly

How to write an instruction that clears bits 0 and 1 in the AL register using assembly? ...

Does .Net / Visual Studio support foreign language keywords for non English speaking cultures?

I was wondering whether the majority of non English speaking cultures, especially in Europe, tend to develop their .Net code in their native language or in English? My personal assumption is that there would be a tendency to keep the code in English in order to ensure maintenance is possible across teams operating in different cultures...

Add a new language to gtksourceview (Django's template language for gedit)

Edit: I found the problem : in another context, there was a % in a regexp, so the %} was not interpreted. Hello ! I got a problem to add a new language to gtksourceview (used by gedit). I want to add the Django's template language and something does not work : I am not able to make %} stop the syntactic coloring. Here is a snippet : ...

Provide HTML-attribute LANG in multilanguage sharepoint site

I have to create a master page for Sharepoint and include the correct HTML-attribute lang (html lang="en" e.g.). What is the best way to do this? Is there a resource like <%$Resources:wss, multipages_direction_dir_value %> used for html:dir? I don't want to create custom code for this. ...