bacook17 / acronym Goto Github PK
View Code? Open in Web Editor NEWACRONYM (Acronym CReatiON for You and Me)
License: MIT License
ACRONYM (Acronym CReatiON for You and Me)
License: MIT License
hi, i find the tool pretty use full, and it would be nice if you could make this a lib, with a stable interface, that can be imported into other projects.
for this i would suggest that the logic to choose "corpus" should move into find_acronyms
$ acronym "acronym creation for you and me" --min-length 7 --max-length 7 --strict
Collecting word corpus
Identifying matching acronyms
Process Complete
ACETONE ACronym crEaTion for yOu aNd mE
AMATORY AcronyM creATion fOR You and me
ANYMORE AcroNYM creation fOR you and mE
ANYTIME AcroNYm creaTIon for you and ME
$ acronym "acronym creation for you and me" --min-length 7 --max-length 7
Collecting word corpus
Identifying matching acronyms
Process Complete
ACCARON ACronym CreAtion foR yOu aNd me
ANYMORE AcroNYM creation fOR you and mE
ANYRATE AcroNYm cReATion for you and mE
When asked to create an acronym for Compiler Language With No Pronounceable Acronym the program gives a number of answers but not the correct one: INTERCAL. Additionally, some of these acronyms are pronounceable, which—by definition—is impossible.
the download of the word corpus should move into a dedicated command line option "--init" or something like this.
it is somewhat unexpected that the first run of the cli tool will download something, without asking the user.
Such as when an instrument name appears within another acronym.
Probably should assign this issue to @pkgw.
Can the acronym start from any letter in the phrase rather than the first letter?
Just tried this on an existing, hand-crafted acronym. It got the one we use, but not as elegant as it should be given the same acronym could be generated form the 1st letter of each word. Might be good to check/include acronyms made up of the 1st letters of each word.
output of acronym
BEAST BayEsiAn extinction and Stellar Tool
actual
BEAST Bayesian Extinction And Stellar Tool
Very cool tool - BTW!
acronym "Science, Math, Technology, Engineering"
doesn't discover STEM.
(Excited to use this for real)
Not sure if it can be considered as an issue but I'm pretty sure it can cause issue. (not in software itself)
I tried to create an acronyme for my project "NIAEI Cosmic Ray Logger" and the results was a little unexpected.
user@computer:~$ acronym "NIAEI Cosmic Ray Logger" --nested
some_path/existing_acronyms.txt
Collecting word corpus
Comparing to known acronyms
Identifying matching acronyms
Process Complete
NIGGER NIaei cosmic ray loGGER
NAGGE NiAei cosmic ray loGGEr
NAOMI NiAei cOsMIc ray logger
NASAL NiAei coSmic rAy Logger
NASCE NiAei coSmiC ray loggEr
NICER NIaei Cosmic ray loggER
NIECE NIaEi cosmiC ray loggEr
NIGER NIaei cosmic ray loGgER
NAIL NiAei cosmIc ray Logger
NAME NiAei cosMic ray loggEr
NEAR NiaEi cosmic rAy loggeR
NEER NiaEi cosmic ray loggER
NERE NiaEi cosmic Ray loggEr
NERO NiaEi cosmic Ray lOgger
NICE NIaei cosmiC ray loggEr
NILE NIaei cosmic ray LoggEr
NOSE Niaei cOSmic ray loggEr
I see dictionaries describe the word shown in bold, however it might be a good idea to have a flag in acronym
to prevend such results.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.