Во время его использования было обнаружено, что эта версия нестабильна (опции иногда не работают по непонятным причинам) и не поддерживает создание аббревиатур на русском языке. Переходите на версию, написанную на Java, так как она гораздо стабильнее.
Crab (🦀) - это английская аббревиатура из "CReate ABbreviations". Если у вас есть ключевые слова для проекта, но вы не можете придумать ему название, то Crab вам поможет.
- Windows 10 1607 или новее
- Android: Termux
LinuxMacOS
Перейдите в раздел "Releases" и выберите crab.exe, если у вас Windows, или crab, если вы на Android и там установлен Termux.
Посмотрите на следующую команду:
$ crab "Lazataknes Software"
Результатом будет lazataknsw. Не понравилось, как software сократилось в sw? Вам нужна опция -D!
Попробуем!
$ crab -D "Lazataknes Software"
Результатом будет lazatasof.
Посмотрите на следующую команду:
$ crab "Mike at home"
Результатом будет mikathom.
at всё испортило? Секунду! вы можете запустить crab с опцией -P! Попробуем!
$ crab -P "Mike at home"
Результатом будет mikeho.
Посмотрите на следующую команду:
$ crab "What is laptop?"
Результатом будет whaslaptop.
Хотите перемешать сокращения? Без проблем! Опция -s Вам поможет.
Попробуйте:
$ crab -s "What is laptop?"
Результатом будет swhl.
Посмотрите на следующую команду:
$ crab "computer game"
Результатом будет compg.
Не хочется вводить crab "computer game" каждый раз? Тогда опция -r спешит на помощь!
Попробуйте:
$ crab -r=5 "computer game"
Результатом будет
compgame
compg
compgam
compga
compga
Посмотрите на следующую команду:
$ crab "small company which makes games"
Результатом будет smcomwhichmg.
Эта аббревиатура получилась слишком длинной, не так ли? Для решения таких проблем есть опция -u, которая максимально сокращает слова.
Попробуйте:
$ crab -u "small company which makes games"
Результатом будет scowmgam.
Посмотрите на следующую команду:
$ crab -u "small company which makes games"
Помните предыдущую аббревиатуру? Она короткая, но если вы хотите сократить ее еще больше, вы можете использовать опцию -x, которая исключается некоторые ключевые слова.
Попробуйте:
$ crab -x -u "small company which makes games"
Результатом будет scowhm.
Все аббревиатуры по типу sw - software, tv - television, 0 - nothing и т.д. crab получает из dict.txt.
dict.txt, то crab не запуститься (однако вы можете это обойти с помощью опции -D).
Если вы хотите добавить слово, то добавьте выражение вида abbr - abbreviation в конец dict.txt.
✔️ Примеры:
mem - memorygpu - videocardver - versionkb - keyboardsnd - sound
➡️ Замечания:
- Аббревиатуры, состоящие более чем из одного слова, должны быть первыми в
dict.txt, иначеcrabне запустится!- Пустые линии и пробелы в
dict.txtзапрещены.
❎ НЕ пишите так:
V - volume, versionX - extended, execute
Просто удалите ненужную аббревиатуру.
During the usage of this version it is seen that it is unstable (switches don't work because of mysterious reasons) and doesn't support creation of Russian abbreviations. Use Java version, because it is more stable.
Crab (🦀) is abbreviation from "CReate ABbreviations". If you have keywords for your project, but you can't invent name for your project, then Crab will help you.
- Windows 10 1607 or newer
- Android: Termux
LinuxMacOS
Go to Releases and select crab.exe if you are on Windows or crab for Android (Termux)
Consider following command line:
$ crab "Lazataknes Software"
Its output will be lazataknsw. Did not you like software was shorten to sw? There is -D goes to help you!
Let's try it!
$ crab -D "Lazataknes Software"
Its output will be lazatasof.
Consider following command line:
$ crab "Mike at home"
Its output will be mikathom.
Did at spoil all? Don't worry! You can run crab with -P flag! Let's try it!
$ crab -P "Mike at home"
Its output will be mikeho.
Consider following command line:
$ crab "What is laptop?"
Its output will be whaslaptop.
Do you want to remix it? No problems! -s flag will help you.
Try it:
$ crab -s "What is laptop?"
Its output will be: swhl.
Consider following command line:
$ crab "computer game"
Its output will be: compg.
Did you tire to enter crab "computer game" every time? Then -r flag will help you!
Try it:
$ crab -r=5 "computer game"
Its output will be:
compgame
compg
compgam
compga
compga
Consider following command line:
$ crab "small company which makes games"
Its output will be: smcomwhichmg.
This abbreviation is too long, isn't it? There is -u flag which shortens word maximally.
Try it:
$ crab -u "small company which makes games"
Its output will be: scowmgam.
Consider following command line:
$ crab -u "small company which makes games"
Do you remember the past abbreviation? It is short, but if you want to more, you can use -x flag, which excludes some keywords.
Try it:
$ crab -x -u "small company which makes games"
Its output will be: scowhm.
All abbreviations like sw - software, tv - television, 0 - nothing, etc. crab takes from dict.txt.
dict.txt, then crab won't run (however, you can bypass it by -D flag).
If you want to add word, then append abbreviation like abbr - abbreviation into end of dict.txt.
✔️ Examples:
mem - memorygpu - videocardver - versionkb - keyboardsnd - sound
➡️ Notes:
- The abbreviations which values contain more than word, must be put first in
dict.txt, otherwisecrabwon't run!- Empty lines and spaces are forbidden in
dict.txt
❎ Please, do NOT write like:
V - volume, versionX - extended, execute
Just remove disliked abbreviation.