Questions tagged [abbreviation]

For questions related to short forms of words or phrases.

203 questions
14
votes
5 answers

Check if a string is a possible abbrevation for a name

I'm trying to develop a python algorithm to check if a string could be an abbrevation for another word. For example fck is a match for fc kopenhavn because it matches the first characters of the word. fhk would not match. fco should not match fc…
Björn Lindqvist
  • 19,221
  • 20
  • 87
  • 122
14
votes
2 answers

what is the abbreviation of GIT?

In the manual, GIT is "the stupid content tracker". The abbreviation of "the stupid content tracker" is not GIT. I doubt about what the abbreviation of GIT.
lisonwu
  • 177
  • 1
  • 1
  • 4
13
votes
1 answer

What does rc mean in angular versions

There are a lot of angular versions here. beta means still incomplete and not to use for production. but what is the meaning of rc. https://code.angularjs.org/
Sarawut Positwinyu
  • 4,974
  • 15
  • 54
  • 80
12
votes
3 answers

What does rt stands for in MIPS instruction format?

Take MIPS instruction format described here, there are some abbreviations eg rd,rs and rt. What does rt stands for? I know rt is the second source register in R-type instruction, and is the destination register in I-type instruction. It is easy to…
Michael Z
  • 4,534
  • 4
  • 21
  • 27
11
votes
2 answers

Is there a single character day of the week convention?

Is there a single character convention for the days of the week in English (or programmer-specific) and if so what is it? I realize this could be an English language question but I think it has special significance for programmers. Maybe something…
User
  • 62,498
  • 72
  • 186
  • 247
11
votes
1 answer

When to use :abbr vs. :map in vi/vim

The abbreviation and map commands both appear to give the user redundant functionality. :imap teh the seems to get the same job done as :iabbr teh the. I tend to make all my settings in :map commands of various types- everything from typo fixes to…
user17925
  • 989
  • 2
  • 10
  • 20
9
votes
1 answer

Somaliland Country Abbreviation

I can't find a two letter country abbreviation for Somaliland, likely because it's not a country, but rather, as Wikipedia puts it: "an unrecognized self-declared de facto sovereign state that is internationally recognized as an autonomous region of…
StronglyTyped
  • 2,134
  • 5
  • 28
  • 48
8
votes
4 answers

What does envp stand for?

I wonder what the abbreviation envp stands for, for example here: int main(int argc, char **argv, char **envp); I also wonder what the v in argv initially stood for. Was the v for "value"? Or maybe "vector"?
nngm
  • 129
  • 1
  • 1
  • 8
8
votes
2 answers

Ellipsize only a section in a TextView

I was wondering if it is possible to abbreviate only a portion of a string in a TextView. What I would like to do is something like this: Element with short title (X) Element with a very lo...(X) The title should be ellipsized, but the X must be…
Antonio
  • 3,128
  • 2
  • 22
  • 14
8
votes
1 answer

How to get the abbreviation / Country code of mobile timezone in android?

How to get the Time Zone Abbreviation like IST (India Standard Time), ET (Eastern Time) and all. I have used the below code to get the time zone information in android, Option 1: String mobileTimeZone = Calendar.getInstance().getTimeZone() …
M Vignesh
  • 1,586
  • 2
  • 18
  • 55
8
votes
10 answers

What is the easiest or most effective way to convert month's abbreviation to a number in Perl? (ie "jan" to 1)

If I import a library to use a method, would it be worth it? Does importing take up a lot of memory?
jcee14
  • 908
  • 3
  • 15
  • 28
7
votes
3 answers

How can I uniquely shorten a list of strings so that they are at most x characters long

I'm looking for an algorithm that will take a vector of strings v1 and return a similar vector of strings v2 where each string is less than x characters long and is unique. The strings in v1 may not be unique. While I need to accept ASCII in v1, I'd…
fmark
  • 57,259
  • 27
  • 100
  • 107
7
votes
5 answers

How do I write a function in JS to return abbreviation of the words?

For example: makeAbbr('central processing unit') === 'CPU' I could not find my mistake. I appreciate your help. function makeAbbr(words) { let abbreviation = words[0]; for (let i = 1; i < words.length; i++) { if (words[i] === '') { …
nezuko
  • 91
  • 5
6
votes
6 answers

How can I transform a string into an abbreviated form?

I want to fit strings into a specific width. Example, "Hello world" -> "...world", "Hello...", "He...rld". Do you know where I can find code for that? It's a neat trick, very useful for representing information, and I'd like to add it in my…
Nick Dandoulakis
  • 42,588
  • 16
  • 104
  • 136
6
votes
5 answers

Retrieve definition for parenthesized abbreviation, based on letter count

I need to retrieve the definition of an acronym based on the number of letters enclosed in parentheses. For the data I'm dealing with, the number of letters in parentheses corresponds to the number of words to retrieve. I know this isn't a reliable…
1
2
3
13 14