Query regarding company.yml

17 views
Skip to first unread message

Sibi Prabakaran

unread,
Feb 26, 2019, 1:27:12 PM2/26/19
to Ruby Faker
Hi,

Is there a reason why in the file `company.yml`, the field buzzwords
and bs are multi-level array instead of a single array containing all the items ?

I can send a PR if you think the current way isn't right.

Regards,
Sibi Prabakaran

Benjamin Curtis

unread,
Feb 26, 2019, 1:31:58 PM2/26/19
to Ruby Faker
That's not a bug, that's a feature. :) The lists are sampled and combined into phrases.

Sibi Prabakaran

unread,
Feb 26, 2019, 9:31:15 PM2/26/19
to Ruby Faker
Thanks Benjamin. I just checked with your ruby implementation:

irb(main):006:0> Faker::Company::bs
=> "morph holistic content"
irb(main):007:0> Faker::Company::buzzwords
=> ["Adaptive", "Advanced", "Ameliorated", "Assimilated", "Automated", "Balanced", "Business-focused", "Centralized", "Cloned", "Compatible", "Configurable", "Cross-group", "Cross-platform", "Customer-focused", "Customizable", "Decentralized", "De-engineered", "Devolved", "Digitized", "Distributed", "Diverse", "Down-sized", "Enhanced", "Enterprise-wide", "Ergonomic", "Exclusive", "Expanded", "Extended", "Face to face", "Focused", "Front-line", "Fully-configurable", "Function-based", "Fundamental", "Future-proofed", "Grass-roots", "Horizontal", "Implemented", "Innovative", "Integrated", "Intuitive", "Inverse", "Managed", "Mandatory", "Monitored", "Multi-channelled", "Multi-lateral", "Multi-layered", "Multi-tiered", "Networked", "Object-based", "Open-architected", "Open-source", "Operative", "Optimized", "Optional", "Organic", "Organized", "Persevering", "Persistent", "Phased", "Polarised", "Pre-emptive", "Proactive", "Profit-focused", "Profound", "Programmable", "Progressive", "Public-key", "Quality-focused", "Reactive", "Realigned", "Re-contextualized", "Re-engineered", "Reduced", "Reverse-engineered", "Right-sized", "Robust", "Seamless", "Secured", "Self-enabling", "Sharable", "Stand-alone", "Streamlined", "Switchable", "Synchronised", "Synergistic", "Synergized", "Team-oriented", "Total", "Triple-buffered", "Universal", "Up-sized", "Upgradable", "User-centric", "User-friendly", "Versatile", "Virtual", "Visionary", "Vision-oriented"]
i
So, what you say is true for the field bs, but not for the field buzzwords. Do you think buzzwords is behaving properly as it is supposed to ?

Regards,

Benjamin Curtis

unread,
Feb 26, 2019, 10:48:11 PM2/26/19
to Ruby Faker
Please see https://github.com/stympy/faker/blob/master/doc/default/company.md for the correct usage and expected output. 

Sibi Prabakaran

unread,
Mar 2, 2019, 1:04:56 AM3/2/19
to Ruby Faker
Thanks for the clarification!
Reply all
Reply to author
Forward
0 new messages