convert to flat text file format
This commit is contained in:
parent
4f7d74606c
commit
a7fae12500
|
@ -1,11 +1,9 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require "yaml"
|
|
||||||
|
|
||||||
# Generates some questions.
|
# Generates some questions.
|
||||||
module QuestionGenerator
|
module QuestionGenerator
|
||||||
# Version of QuestionGenerator
|
# Version of QuestionGenerator
|
||||||
VERSION = "1.1.0"
|
VERSION = "1.2.0"
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# The base path to the questions (e.g. +'/home/nilsding/questions'+).
|
# The base path to the questions (e.g. +'/home/nilsding/questions'+).
|
||||||
|
@ -31,8 +29,10 @@ module QuestionGenerator
|
||||||
# Compiles all the questions and stores it into the +@compiled+ hash.
|
# Compiles all the questions and stores it into the +@compiled+ hash.
|
||||||
# @param :locale [Symbol] The target locale
|
# @param :locale [Symbol] The target locale
|
||||||
def compile(locale: @default_locale)
|
def compile(locale: @default_locale)
|
||||||
questions = YAML.load_file(File.expand_path("#{locale}.yml", @question_base_path))
|
@compiled[locale] = File.readlines(
|
||||||
@compiled[locale] = build(questions)
|
File.expand_path("#{locale}.txt", @question_base_path),
|
||||||
|
chomp: true,
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
def question_base_path=(path)
|
def question_base_path=(path)
|
||||||
|
@ -46,27 +46,6 @@ module QuestionGenerator
|
||||||
|
|
||||||
module_function
|
module_function
|
||||||
|
|
||||||
def build(questions, q = "")
|
|
||||||
ary = []
|
|
||||||
|
|
||||||
case questions
|
|
||||||
when Hash
|
|
||||||
questions.each do |k, v|
|
|
||||||
Array(k).each do |variant|
|
|
||||||
ary << build(v, "#{q}#{variant} ")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
when Array
|
|
||||||
questions.each do |v|
|
|
||||||
ary << build(v, q)
|
|
||||||
end
|
|
||||||
when String
|
|
||||||
return "#{q}#{questions}".strip
|
|
||||||
end
|
|
||||||
|
|
||||||
ary.flatten
|
|
||||||
end
|
|
||||||
|
|
||||||
@question_base_path = File.expand_path("./questions/", __dir__)
|
@question_base_path = File.expand_path("./questions/", __dir__)
|
||||||
@default_locale = :en
|
@default_locale = :en
|
||||||
@compiled = {}
|
@compiled = {}
|
||||||
|
|
|
@ -0,0 +1,47 @@
|
||||||
|
Was machst du am liebsten mit deinen Freunden
|
||||||
|
Was machst du am liebsten an einem freien Tag
|
||||||
|
Was machst du an einem gewöhnlichen Samstagabend
|
||||||
|
Was machst du in deinem nächsten Urlaub
|
||||||
|
Was machst du, wenn du dich entspannen willst
|
||||||
|
Was machst du, wenn du nicht einschlafen kannst
|
||||||
|
Was machst du, wenn etwas Furchtbares passiert ist
|
||||||
|
Was war das letzte, das du gegessen hast
|
||||||
|
Was war das letzte, das du gemacht hast
|
||||||
|
Was würdest du tun, wenn du nur noch einen Monat zu leben hättest
|
||||||
|
Was würdest du tun, wenn du im Lotto gewinnen würdest
|
||||||
|
Was würdest du tun, wenn du dich zwischen Reichtum in Einsamkeit oder Armut in Gesellschaft entscheiden müsstest
|
||||||
|
Was würdest du tun, deine Eltern dir sagen würden, dass du adoptiert bist
|
||||||
|
Was würdest du tun, jemand bei dir einbrechen würde, während du im Haus bist
|
||||||
|
Was würdest du tun, es Drachen gäbe
|
||||||
|
Was würdest du tun, es Weltuntergang wäre
|
||||||
|
Was würdest du tun, es Geld regnen würde
|
||||||
|
Was trinkst du gerne
|
||||||
|
Was trinkst du gerade
|
||||||
|
Was hast du zuletzt gegessen
|
||||||
|
Was hast du zuletzt getrunken
|
||||||
|
Was hast du zuletzt gekocht
|
||||||
|
Was hast du zuletzt im Radio gehört
|
||||||
|
Glaubst du an Gott
|
||||||
|
Glaubst du an Jesus
|
||||||
|
Glaubst du an das fliegende Spaghettimonster
|
||||||
|
Glaubst du an dich
|
||||||
|
Möchtest du einmal eine Weltreise machen
|
||||||
|
Möchtest du einmal berühmt werden
|
||||||
|
Möchtest du einmal ein Haus besitzen
|
||||||
|
Möchtest du einmal ein Kind kriegen
|
||||||
|
Fährst du häufig Fahrrad
|
||||||
|
Fährst du häufig Auto
|
||||||
|
Fährst du häufig mit dem Bus
|
||||||
|
Fährst du häufig mit der Bahn
|
||||||
|
Fährst du häufig weg
|
||||||
|
Fährst du häufig aus der Haut
|
||||||
|
Fährst du häufig mit dem Schiff
|
||||||
|
Magst du Meeresfrüchte
|
||||||
|
Magst du Hunde
|
||||||
|
Magst du Kakadus
|
||||||
|
Magst du das Flugzeugfliegen
|
||||||
|
Magst du Reisen
|
||||||
|
Magst du neue Bekanntschaften
|
||||||
|
Magst du das Meer
|
||||||
|
Magst du die italienische Küche
|
||||||
|
Magst du die asiatische Küche
|
|
@ -1,80 +0,0 @@
|
||||||
Was:
|
|
||||||
- machst du:
|
|
||||||
- am liebsten:
|
|
||||||
- mit deinen Freunden
|
|
||||||
- an einem freien Tag
|
|
||||||
- an einem gewöhnlichen Samstagabend
|
|
||||||
- in deinem nächsten Urlaub
|
|
||||||
- "machst du, wenn":
|
|
||||||
- du:
|
|
||||||
- dich entspannen willst
|
|
||||||
- nicht einschlafen kannst
|
|
||||||
- etwas Furchtbares passiert ist
|
|
||||||
|
|
||||||
- war:
|
|
||||||
- das:
|
|
||||||
- letzte,:
|
|
||||||
- das:
|
|
||||||
- du:
|
|
||||||
- gegessen hast
|
|
||||||
- gemacht hast
|
|
||||||
- würdest:
|
|
||||||
- du:
|
|
||||||
- tun,:
|
|
||||||
- wenn:
|
|
||||||
- du:
|
|
||||||
- nur noch einen Monat zu leben hättest
|
|
||||||
- im Lotto gewinnen würdest
|
|
||||||
- dich zwischen Reichtum in Einsamkeit oder Armut in Gesellschaft entscheiden müsstest
|
|
||||||
- deine Eltern dir sagen würden, dass du adoptiert bist
|
|
||||||
- jemand bei dir einbrechen würde, während du im Haus bist
|
|
||||||
- es:
|
|
||||||
- Drachen gäbe
|
|
||||||
- Weltuntergang wäre
|
|
||||||
- Geld regnen würde
|
|
||||||
- trinkst:
|
|
||||||
- du:
|
|
||||||
- gerne
|
|
||||||
- gerade
|
|
||||||
- hast:
|
|
||||||
- du:
|
|
||||||
- zuletzt:
|
|
||||||
- gegessen # REDUNDANZ FTW
|
|
||||||
- getrunken
|
|
||||||
- gekocht
|
|
||||||
- im Radio gehört
|
|
||||||
Glaubst:
|
|
||||||
- du an:
|
|
||||||
- Gott
|
|
||||||
- Jesus
|
|
||||||
- das fliegende Spaghettimonster
|
|
||||||
- dich
|
|
||||||
|
|
||||||
Möchtest:
|
|
||||||
- du:
|
|
||||||
- einmal:
|
|
||||||
- eine Weltreise machen
|
|
||||||
- berühmt werden
|
|
||||||
- ein Haus besitzen
|
|
||||||
- ein Kind kriegen
|
|
||||||
Fährst:
|
|
||||||
- du:
|
|
||||||
- häufig:
|
|
||||||
- Fahrrad
|
|
||||||
- Auto
|
|
||||||
- mit dem Bus
|
|
||||||
- mit der Bahn
|
|
||||||
- weg
|
|
||||||
- aus der Haut
|
|
||||||
- mit dem Schiff
|
|
||||||
Magst:
|
|
||||||
- du:
|
|
||||||
- Meeresfrüchte
|
|
||||||
- Hunde
|
|
||||||
- Kakadus
|
|
||||||
- das Flugzeugfliegen
|
|
||||||
- Reisen
|
|
||||||
- neue Bekanntschaften
|
|
||||||
- das Meer
|
|
||||||
- die italienische Küche
|
|
||||||
- die asiatische Küche
|
|
|
@ -0,0 +1,181 @@
|
||||||
|
Do you recycle
|
||||||
|
Do you have a nickname
|
||||||
|
Do you have any siblings
|
||||||
|
Do you have any pets
|
||||||
|
Do you like social networks
|
||||||
|
Do you like muffins
|
||||||
|
Do you like video games
|
||||||
|
Do you like the city or country
|
||||||
|
Do you like the city where you live
|
||||||
|
Do you like to travel
|
||||||
|
Do you like to sing out loud when no one else is around
|
||||||
|
Do you want old times back
|
||||||
|
Do you want to know more about your future
|
||||||
|
Do you want to know more about your relatives
|
||||||
|
Do you want to know more about history
|
||||||
|
Do you want to know more about new inventions
|
||||||
|
Do you want more money
|
||||||
|
Do you want more friends
|
||||||
|
Do you want more things than you need
|
||||||
|
Do you think that late is better than never
|
||||||
|
Do you to take baths or showers
|
||||||
|
Do your friends like you the way you are
|
||||||
|
Do your friends like social networks
|
||||||
|
Do your friends like muffins
|
||||||
|
Do your friends like video games
|
||||||
|
Do your friends know much about your life
|
||||||
|
Do your friends know much about your hobbies
|
||||||
|
Do your friends know much about your family
|
||||||
|
Do your friends know much about your friends
|
||||||
|
Do your friends know much about you
|
||||||
|
Do your friends know too much about your life
|
||||||
|
Do your friends know too much about your hobbies
|
||||||
|
Do your friends know too much about your family
|
||||||
|
Do your friends know too much about your friends
|
||||||
|
Do your friends know too much about you
|
||||||
|
What was the best day of your life like
|
||||||
|
What was the last song you listened on repeat
|
||||||
|
What was the last thing you have bought
|
||||||
|
What was the last thing you have done
|
||||||
|
What was the last thing you have eaten
|
||||||
|
What was your favourite song as a 5 year old
|
||||||
|
What was your favourite song from a few weeks ago
|
||||||
|
What would you do if you had one million dollars
|
||||||
|
What would you do if you had the ability to fly
|
||||||
|
What would you do if you were a dragon
|
||||||
|
What would you do if you woke up with someone else next to you
|
||||||
|
What would you do if you woke up with some drawings in your face
|
||||||
|
What do you do for fun
|
||||||
|
What do you do on the weekend
|
||||||
|
What do you like more, dogs or cats
|
||||||
|
What do you like more, shower or bath
|
||||||
|
What do you like more, tea or coffee
|
||||||
|
What do you think about the Internet
|
||||||
|
What do you think about Bad Dragon
|
||||||
|
What do you think about dragons
|
||||||
|
What do you think about "fact" accounts
|
||||||
|
What do you think about society
|
||||||
|
What do you think about cats
|
||||||
|
What do you think about surveillance
|
||||||
|
What do you think about coyotes
|
||||||
|
What do you think about raccoons
|
||||||
|
What do you think about foxes
|
||||||
|
What do you think about dogs
|
||||||
|
What do you think about lizards
|
||||||
|
What activity do you enjoy the most
|
||||||
|
What activities do you enjoy the most
|
||||||
|
What kind of animals do you have
|
||||||
|
What habit do you really find cute in a person
|
||||||
|
What is your first memory
|
||||||
|
What is your dream job
|
||||||
|
What is your favourite season
|
||||||
|
What is your favourite video game
|
||||||
|
What is your favourite board game
|
||||||
|
What is your favourite sports team
|
||||||
|
What is your favourite activity
|
||||||
|
What is your favourite beverage
|
||||||
|
What is your favourite Internet browser
|
||||||
|
What is your favourite piece of music
|
||||||
|
What is your favourite console
|
||||||
|
What is your favourite snack
|
||||||
|
What is your favourite food
|
||||||
|
What is your favourite animal
|
||||||
|
What is your favourite programming language
|
||||||
|
What is your favourite programming language and why is it PHP
|
||||||
|
What is your favourite programming language and why is it Rust
|
||||||
|
What is your favourite programming language and why is it C++
|
||||||
|
What is your favourite programming language and why is it Lisp
|
||||||
|
What is your favourite programming language and why is it Pascal
|
||||||
|
What is your favourite programming language and why is it Swift
|
||||||
|
What is your favourite programming language and why is it Ruby
|
||||||
|
What is your favourite website
|
||||||
|
What is your favourite website and why is it Reddit
|
||||||
|
What is your favourite website and why is it Twitter
|
||||||
|
What is your favourite website and why is it Facebook
|
||||||
|
What is your favourite website and why is it YouTube
|
||||||
|
What is the best thing about the Internet
|
||||||
|
What is the best thing about your favourite series
|
||||||
|
What is the best thing about your favourite movie
|
||||||
|
What is the best thing about your favourite book
|
||||||
|
What is the best thing about your country
|
||||||
|
What is the best thing about your hometown
|
||||||
|
What is the best thing one can do if they're bored
|
||||||
|
What is the best thing ever
|
||||||
|
What is the best fast food chain
|
||||||
|
What is the worst thing about the Internet
|
||||||
|
What is the worst thing about your favourite series
|
||||||
|
What is the worst thing about your favourite movie
|
||||||
|
What is the worst thing about your favourite book
|
||||||
|
What is the worst thing about your country
|
||||||
|
What is the worst thing about your hometown
|
||||||
|
What is the worst thing one can do if they're bored
|
||||||
|
What is the worst thing ever
|
||||||
|
What is the worst fast food chain
|
||||||
|
What is one thing you would like to become better at
|
||||||
|
What was the last thing you did
|
||||||
|
What was the last thing you ate
|
||||||
|
What was the last thing you looked for
|
||||||
|
What was the best thing you've eaten so far
|
||||||
|
What was the worst thing you've eaten so far
|
||||||
|
What languages do you know
|
||||||
|
What apps do you use daily
|
||||||
|
What is heavier: a kilogram of steel, or a kilogram of feathers
|
||||||
|
Can you swim
|
||||||
|
Can you speak different languages
|
||||||
|
Can you play any sports
|
||||||
|
Can you play the piano
|
||||||
|
Can you play the guitar
|
||||||
|
Can you play the trumpet
|
||||||
|
Can you play the saxophone
|
||||||
|
Can you play baseball
|
||||||
|
Can you ski
|
||||||
|
Can you cook
|
||||||
|
Can you dance
|
||||||
|
Can you yodel
|
||||||
|
Can you draw
|
||||||
|
Are you religious
|
||||||
|
Have you ever been to Austria
|
||||||
|
Have you ever been to Germany
|
||||||
|
Have you ever been to Japan
|
||||||
|
Have you ever been to Switzerland
|
||||||
|
Have you ever been to France
|
||||||
|
Have you ever been to Sweden
|
||||||
|
Have you ever been to Norway
|
||||||
|
Have you ever been to Finland
|
||||||
|
Have you ever been to Australia
|
||||||
|
Have you ever been to Italy
|
||||||
|
Have you ever been to Russia
|
||||||
|
Have you ever been to China
|
||||||
|
Have you ever been to the USA
|
||||||
|
Have you ever been to the United Kingdom
|
||||||
|
Have you ever been caught doing things you shouldn't do
|
||||||
|
Have you ever been caught cheating
|
||||||
|
Have you ever been mistaken for someone else
|
||||||
|
Have you ever listened to classical music
|
||||||
|
Have you ever listened to music from the 80's
|
||||||
|
Have you ever listened to dubstep
|
||||||
|
Have you ever listened to nightcore
|
||||||
|
Have you ever listened to metal
|
||||||
|
Have you ever had an accident
|
||||||
|
Have you ever written a love letter
|
||||||
|
Have you ever written code
|
||||||
|
Have you ever written in Japanese
|
||||||
|
How has your day been
|
||||||
|
How old are you
|
||||||
|
How many open tabs do you currently have
|
||||||
|
How many followers is too many
|
||||||
|
Where do you work
|
||||||
|
Where do you live
|
||||||
|
Which food do you love
|
||||||
|
Which food do you hate
|
||||||
|
Who is the most famous person you have met
|
||||||
|
Who is your favourite Retrospring user
|
||||||
|
Who is your favourite actor
|
||||||
|
Who is your favourite artist
|
||||||
|
Who is your favourite comedian
|
||||||
|
Who is your favourite musician
|
||||||
|
Why do they call it oven when you of in the cold food of out hot eat the food
|
||||||
|
Would you rather live in a city or in the countryside
|
||||||
|
Would you rather live in a flat or in a house
|
||||||
|
Would you rather lose an arm or a leg
|
||||||
|
Would you rather be the best player on a horrible team or the worst player on a great team
|
|
@ -1,311 +0,0 @@
|
||||||
Do:
|
|
||||||
you:
|
|
||||||
- recycle
|
|
||||||
- have:
|
|
||||||
- a:
|
|
||||||
- nickname
|
|
||||||
- any:
|
|
||||||
- siblings
|
|
||||||
- pets
|
|
||||||
- like:
|
|
||||||
- social networks
|
|
||||||
- muffins
|
|
||||||
- video games
|
|
||||||
- the:
|
|
||||||
- city:
|
|
||||||
- or:
|
|
||||||
- country
|
|
||||||
- where you:
|
|
||||||
- live
|
|
||||||
- to:
|
|
||||||
- travel
|
|
||||||
- sing out loud when no one else is around
|
|
||||||
- want:
|
|
||||||
- old times back
|
|
||||||
- to know more:
|
|
||||||
about:
|
|
||||||
- your:
|
|
||||||
- future
|
|
||||||
- relatives
|
|
||||||
- history
|
|
||||||
- new inventions
|
|
||||||
- more:
|
|
||||||
- money
|
|
||||||
- friends
|
|
||||||
- things than you need
|
|
||||||
- think that:
|
|
||||||
- late is better than never
|
|
||||||
- prefer:
|
|
||||||
to:
|
|
||||||
- take baths or showers
|
|
||||||
your:
|
|
||||||
friends:
|
|
||||||
like:
|
|
||||||
- you:
|
|
||||||
- the way you are
|
|
||||||
- social networks
|
|
||||||
- muffins
|
|
||||||
- video games
|
|
||||||
know:
|
|
||||||
[much, too much]:
|
|
||||||
about:
|
|
||||||
- your:
|
|
||||||
- life
|
|
||||||
- hobbies
|
|
||||||
- family
|
|
||||||
- friends
|
|
||||||
- you
|
|
||||||
What:
|
|
||||||
- was:
|
|
||||||
the:
|
|
||||||
best:
|
|
||||||
- day of your life like
|
|
||||||
last:
|
|
||||||
song:
|
|
||||||
- you listened on repeat
|
|
||||||
thing:
|
|
||||||
you:
|
|
||||||
have:
|
|
||||||
- bought
|
|
||||||
- done
|
|
||||||
- eaten
|
|
||||||
your:
|
|
||||||
favourite:
|
|
||||||
song:
|
|
||||||
- as a 5 year old
|
|
||||||
- from a few weeks ago
|
|
||||||
- would:
|
|
||||||
you:
|
|
||||||
do:
|
|
||||||
if:
|
|
||||||
you:
|
|
||||||
had:
|
|
||||||
- one million dollars
|
|
||||||
- the ability to fly
|
|
||||||
were:
|
|
||||||
- a dragon
|
|
||||||
woke up:
|
|
||||||
with:
|
|
||||||
- someone else next to you
|
|
||||||
- some drawings in your face
|
|
||||||
- do:
|
|
||||||
you:
|
|
||||||
do:
|
|
||||||
- for fun
|
|
||||||
- 'on':
|
|
||||||
- the:
|
|
||||||
- weekend
|
|
||||||
like:
|
|
||||||
more,:
|
|
||||||
- dogs or cats
|
|
||||||
- shower or bath
|
|
||||||
- tea or coffee
|
|
||||||
think:
|
|
||||||
about:
|
|
||||||
- the:
|
|
||||||
- Internet
|
|
||||||
- Bad Dragon
|
|
||||||
- dragons
|
|
||||||
- '"fact" accounts'
|
|
||||||
- society
|
|
||||||
- cats
|
|
||||||
- surveillance
|
|
||||||
- coyotes
|
|
||||||
- raccoons
|
|
||||||
- foxes
|
|
||||||
- dogs
|
|
||||||
- lizards
|
|
||||||
- [activity, activities]:
|
|
||||||
do:
|
|
||||||
you:
|
|
||||||
- enjoy the most
|
|
||||||
- kind:
|
|
||||||
of:
|
|
||||||
animals:
|
|
||||||
- do you have
|
|
||||||
- habit:
|
|
||||||
do:
|
|
||||||
you:
|
|
||||||
really:
|
|
||||||
find:
|
|
||||||
cute:
|
|
||||||
- in a person
|
|
||||||
- is:
|
|
||||||
your:
|
|
||||||
- first memory
|
|
||||||
- dream job
|
|
||||||
- favourite:
|
|
||||||
- season
|
|
||||||
- video game
|
|
||||||
- board game
|
|
||||||
- sports team
|
|
||||||
- activity
|
|
||||||
- beverage
|
|
||||||
- Internet browser
|
|
||||||
- piece of music
|
|
||||||
- console
|
|
||||||
- snack
|
|
||||||
- food
|
|
||||||
- animal
|
|
||||||
- programming language:
|
|
||||||
- ''
|
|
||||||
- and why is it:
|
|
||||||
- PHP
|
|
||||||
- Rust
|
|
||||||
- C++
|
|
||||||
- Lisp
|
|
||||||
- Pascal
|
|
||||||
- Swift
|
|
||||||
- Ruby
|
|
||||||
- website:
|
|
||||||
- ''
|
|
||||||
- and why is it:
|
|
||||||
- Reddit
|
|
||||||
- Twitter
|
|
||||||
- Facebook
|
|
||||||
- YouTube
|
|
||||||
the:
|
|
||||||
[best, worst]:
|
|
||||||
thing:
|
|
||||||
- about:
|
|
||||||
the:
|
|
||||||
- Internet
|
|
||||||
your:
|
|
||||||
- favourite:
|
|
||||||
- series
|
|
||||||
- movie
|
|
||||||
- book
|
|
||||||
- country
|
|
||||||
- hometown
|
|
||||||
- one can do:
|
|
||||||
- if:
|
|
||||||
- "they're bored"
|
|
||||||
- ever
|
|
||||||
fast:
|
|
||||||
food:
|
|
||||||
- chain
|
|
||||||
one:
|
|
||||||
- thing you would like to become better at
|
|
||||||
- was:
|
|
||||||
the:
|
|
||||||
last:
|
|
||||||
thing:
|
|
||||||
you:
|
|
||||||
- did
|
|
||||||
- ate
|
|
||||||
- looked for
|
|
||||||
[best, worst]:
|
|
||||||
thing:
|
|
||||||
- "you've eaten so far"
|
|
||||||
- languages do you know
|
|
||||||
- apps do you use daily
|
|
||||||
- 'is heavier: a kilogram of steel, or a kilogram of feathers'
|
|
||||||
Can:
|
|
||||||
you:
|
|
||||||
- swim
|
|
||||||
- speak:
|
|
||||||
- different:
|
|
||||||
- languages
|
|
||||||
- play:
|
|
||||||
- any:
|
|
||||||
- sports
|
|
||||||
- the:
|
|
||||||
- piano
|
|
||||||
- guitar
|
|
||||||
- trumpet
|
|
||||||
- saxophone
|
|
||||||
- baseball
|
|
||||||
- ski
|
|
||||||
- cook
|
|
||||||
- dance
|
|
||||||
- yodel
|
|
||||||
- draw
|
|
||||||
Are:
|
|
||||||
you:
|
|
||||||
- religious
|
|
||||||
Have:
|
|
||||||
you:
|
|
||||||
ever:
|
|
||||||
- been:
|
|
||||||
- to:
|
|
||||||
- Austria
|
|
||||||
- Germany
|
|
||||||
- Japan
|
|
||||||
- Switzerland
|
|
||||||
- France
|
|
||||||
- Sweden
|
|
||||||
- Norway
|
|
||||||
- Finland
|
|
||||||
- Australia
|
|
||||||
- Italy
|
|
||||||
- Russia
|
|
||||||
- China
|
|
||||||
- the:
|
|
||||||
- USA
|
|
||||||
- United Kingdom
|
|
||||||
- caught:
|
|
||||||
- "doing things you shouldn't do"
|
|
||||||
- cheating
|
|
||||||
- mistaken for:
|
|
||||||
- someone else
|
|
||||||
- listened to:
|
|
||||||
- classical music
|
|
||||||
- music:
|
|
||||||
- "from the 80's"
|
|
||||||
- dubstep
|
|
||||||
- nightcore
|
|
||||||
- metal
|
|
||||||
- had:
|
|
||||||
- an:
|
|
||||||
- accident
|
|
||||||
- written:
|
|
||||||
- a love letter
|
|
||||||
- code
|
|
||||||
- in Japanese
|
|
||||||
How:
|
|
||||||
has:
|
|
||||||
your:
|
|
||||||
day:
|
|
||||||
- been
|
|
||||||
old:
|
|
||||||
are:
|
|
||||||
- you
|
|
||||||
many:
|
|
||||||
- open tabs do you currently have
|
|
||||||
- followers is too many
|
|
||||||
Where:
|
|
||||||
do:
|
|
||||||
you:
|
|
||||||
- work
|
|
||||||
- live
|
|
||||||
Which:
|
|
||||||
food:
|
|
||||||
do:
|
|
||||||
you:
|
|
||||||
- love
|
|
||||||
- hate
|
|
||||||
Who:
|
|
||||||
is:
|
|
||||||
the:
|
|
||||||
- most famous person you have met
|
|
||||||
your:
|
|
||||||
- favourite:
|
|
||||||
- Retrospring user
|
|
||||||
- actor
|
|
||||||
- artist
|
|
||||||
- comedian
|
|
||||||
- musician
|
|
||||||
Why:
|
|
||||||
do:
|
|
||||||
- they call it oven when you of in the cold food of out hot eat the food
|
|
||||||
Would:
|
|
||||||
you:
|
|
||||||
rather:
|
|
||||||
live:
|
|
||||||
- in:
|
|
||||||
- a city or in the countryside
|
|
||||||
- a flat or in a house
|
|
||||||
lose:
|
|
||||||
- an arm or a leg
|
|
||||||
be:
|
|
||||||
- the best player on a horrible team or the worst player on a great team
|
|
|
@ -0,0 +1,93 @@
|
||||||
|
Que feriez-vous si vous pouviez voler
|
||||||
|
Que feriez-vous si vous pouviez changer votre apparence pendant une journée
|
||||||
|
Que feriez-vous si vous pouviez devenir le Président de la République
|
||||||
|
Que feriez-vous si vous aviez un million d'euros
|
||||||
|
Que faites-vous le week-end
|
||||||
|
Que faites-vous pour vous amuser
|
||||||
|
Que faites-vous quand vous êtes en vacances
|
||||||
|
Que pensez-vous de l'internet
|
||||||
|
Que pensez-vous de Bad Dragon
|
||||||
|
Que pensez-vous de la société
|
||||||
|
Que pensez-vous de la loi renseignement
|
||||||
|
Que pensez-vous de la pornographie
|
||||||
|
Que pensez-vous de la vie en France
|
||||||
|
Que pensez-vous de la vie aux États-Unis
|
||||||
|
Que pensez-vous des dragons
|
||||||
|
Que pensez-vous des féministes
|
||||||
|
Que pensez-vous des chats
|
||||||
|
Que préférez-vous entre le thé et le café
|
||||||
|
Que préférez-vous entre les chiens et les chats
|
||||||
|
Que préférez-vous entre le bain et la douche
|
||||||
|
Quel est votre premier souvenir
|
||||||
|
Quel est votre jeu vidéo préféré
|
||||||
|
Quel est votre jeu de table préféré
|
||||||
|
Quel est votre navigateur préféré
|
||||||
|
Quel est votre plat préféré
|
||||||
|
Quel est votre langage de programmation préféré
|
||||||
|
Quel est votre langage de programmation préféré et pourquoi est-ce PHP
|
||||||
|
Quel est votre site préféré
|
||||||
|
Quel est votre site préféré et pourquoi est-ce 4chan
|
||||||
|
Quel est votre site préféré et pourquoi est-ce 9gag
|
||||||
|
Quel est votre site préféré et pourquoi est-ce Reddit
|
||||||
|
Quel est votre site préféré et pourquoi est-ce Twitter
|
||||||
|
Quel est votre site préféré et pourquoi est-ce Facebook
|
||||||
|
Quel est votre site préféré et pourquoi est-ce YouTube
|
||||||
|
Quel est votre site préféré et pourquoi est-ce Fanatic Game
|
||||||
|
Quel est votre modérateur Retrospring préféré
|
||||||
|
Quel est votre développeur Retrospring préféré
|
||||||
|
Quel est le métier de vos rêves
|
||||||
|
Quel est le plus beau cadeau qu'on ait pu vous faire
|
||||||
|
Quel âge avez-vous
|
||||||
|
Quelle est votre chanson préférée
|
||||||
|
Quelle est votre chiffre préféré
|
||||||
|
Quelle est votre couleur préférée
|
||||||
|
Quelle est votre saison préférée
|
||||||
|
Quelle est votre équipe de sport préférée
|
||||||
|
Quelle est votre musique préférée
|
||||||
|
Quelle est votre console préférée
|
||||||
|
Quelle est votre boisson préférée
|
||||||
|
Quelle est votre activité préférée
|
||||||
|
Quelle est votre série préférée
|
||||||
|
Quelle est votre série d'animation japonaise préférée
|
||||||
|
Quelle est la personne la plus célèbre que vous avez rencontrée
|
||||||
|
Quelle était votre chanson préférée quand vous aviez 5 ans
|
||||||
|
Quelle était votre chanson préférée il y a quelques semaines
|
||||||
|
Quelle la dernière chose que vous avez mangée
|
||||||
|
Êtes-vous déjà allé en Autriche
|
||||||
|
Êtes-vous déjà allé en Allemagne
|
||||||
|
Êtes-vous déjà allé en Suisse
|
||||||
|
Êtes-vous déjà allé en France
|
||||||
|
Êtes-vous déjà allé en Suède
|
||||||
|
Êtes-vous déjà allé en Norvège
|
||||||
|
Êtes-vous déjà allé en Finlande
|
||||||
|
Êtes-vous déjà allé en Australie
|
||||||
|
Êtes-vous déjà allé en Italie
|
||||||
|
Êtes-vous déjà allé en Russie
|
||||||
|
Êtes-vous déjà allé en Chine
|
||||||
|
Êtes-vous déjà allé au Japon
|
||||||
|
Êtes-vous déjà allé au Royaume-Uni
|
||||||
|
Êtes-vous déjà allé aux États-Unis
|
||||||
|
Êtes-vous une personne religieuse
|
||||||
|
Êtes-vous une personne courageuse
|
||||||
|
Avez-vous un animal de compagnie
|
||||||
|
Avez-vous un surnom
|
||||||
|
Avez-vous un frère ou une sœur
|
||||||
|
Avez-vous une console de jeux
|
||||||
|
Avez-vous déjà écrit une lettre d'amour
|
||||||
|
Avez-vous déjà écrit en japonais
|
||||||
|
Aimez-vous les jeux vidéo
|
||||||
|
Aimez-vous les réseaux sociaux
|
||||||
|
Aimez-vous les muffins
|
||||||
|
Aimez-vous les frites
|
||||||
|
Aimez-vous la pêche
|
||||||
|
Aimez-vous la ville où vous habitez
|
||||||
|
Aimez-vous la ville où vous êtes né
|
||||||
|
Aimez-vous voyager
|
||||||
|
Aimez-vous chanter - "quand il n'y a personne chez vous" - en japonais - dans la rue
|
||||||
|
Pouvez-vous jouer d'un instrument
|
||||||
|
Pouvez-vous jouer au baseball
|
||||||
|
Pouvez-vous jouer au football
|
||||||
|
Pouvez-vous nager
|
||||||
|
Pouvez-vous cuisiner
|
||||||
|
Pouvez-vous parler plusieurs langues
|
||||||
|
Comment allez-vous
|
|
@ -1,161 +0,0 @@
|
||||||
Que:
|
|
||||||
- "feriez-vous":
|
|
||||||
- si:
|
|
||||||
- vous:
|
|
||||||
- pouviez:
|
|
||||||
- voler
|
|
||||||
- "changer votre apparence pendant une journée"
|
|
||||||
- "devenir le Président de la République"
|
|
||||||
- aviez:
|
|
||||||
- "un million d'euros"
|
|
||||||
- "faites-vous":
|
|
||||||
- "le week-end"
|
|
||||||
- pour vous amuser
|
|
||||||
- "quand vous êtes en vacances"
|
|
||||||
- "pensez-vous":
|
|
||||||
- de:
|
|
||||||
- "l'internet"
|
|
||||||
- Bad Dragon
|
|
||||||
- la:
|
|
||||||
- "société"
|
|
||||||
- loi renseignement
|
|
||||||
- pornographie
|
|
||||||
- vie:
|
|
||||||
- en:
|
|
||||||
- France
|
|
||||||
- 2015
|
|
||||||
- aux:
|
|
||||||
- "États-Unis"
|
|
||||||
- des:
|
|
||||||
- dragons
|
|
||||||
- féministes
|
|
||||||
- chats
|
|
||||||
- "préférez-vous":
|
|
||||||
- entre:
|
|
||||||
- "le thé et le café"
|
|
||||||
- les chiens et les chats
|
|
||||||
- le bain et la douche
|
|
||||||
|
|
||||||
Quel:
|
|
||||||
- est:
|
|
||||||
- votre:
|
|
||||||
- premier souvenir
|
|
||||||
- "jeu vidéo préféré"
|
|
||||||
- "jeu de table préféré"
|
|
||||||
- "navigateur préféré"
|
|
||||||
- "plat préféré"
|
|
||||||
- "langage de programmation préféré":
|
|
||||||
- ''
|
|
||||||
- "et pourquoi est-ce":
|
|
||||||
- PHP
|
|
||||||
- "site préféré":
|
|
||||||
- ''
|
|
||||||
- "et pourquoi est-ce":
|
|
||||||
- 4chan
|
|
||||||
- 9gag
|
|
||||||
- Reddit
|
|
||||||
- Twitter
|
|
||||||
- Facebook
|
|
||||||
- YouTube
|
|
||||||
- Fanatic Game
|
|
||||||
- "modérateur Retrospring préféré"
|
|
||||||
- "développeur Retrospring préféré"
|
|
||||||
- le:
|
|
||||||
- "métier de vos rêves"
|
|
||||||
- "plus beau cadeau qu'on ait pu vous faire"
|
|
||||||
- "âge":
|
|
||||||
- "avez-vous"
|
|
||||||
|
|
||||||
Quelle:
|
|
||||||
- est:
|
|
||||||
- votre:
|
|
||||||
- "chanson préférée"
|
|
||||||
- "chiffre préféré"
|
|
||||||
- "couleur préférée"
|
|
||||||
- "saison préférée"
|
|
||||||
- "équipe de sport préférée"
|
|
||||||
- "musique préférée"
|
|
||||||
- "console préférée"
|
|
||||||
- "boisson préférée"
|
|
||||||
- "activité préférée"
|
|
||||||
- "série préférée"
|
|
||||||
- "série d'animation japonaise préférée"
|
|
||||||
- la:
|
|
||||||
- "personne la plus célèbre que vous avez rencontrée"
|
|
||||||
- "était":
|
|
||||||
- votre:
|
|
||||||
- chanson:
|
|
||||||
- "préférée":
|
|
||||||
- quand vous aviez 5 ans
|
|
||||||
- il y a quelques semaines
|
|
||||||
- la:
|
|
||||||
- "dernière":
|
|
||||||
- "chose que vous avez mangée"
|
|
||||||
|
|
||||||
"Êtes-vous":
|
|
||||||
- "déjà":
|
|
||||||
- "allé":
|
|
||||||
- en:
|
|
||||||
- Autriche
|
|
||||||
- Allemagne
|
|
||||||
- Suisse
|
|
||||||
- France
|
|
||||||
- "Suède"
|
|
||||||
- "Norvège"
|
|
||||||
- Finlande
|
|
||||||
- Australie
|
|
||||||
- Italie
|
|
||||||
- Russie
|
|
||||||
- Chine
|
|
||||||
- au:
|
|
||||||
- Japon
|
|
||||||
- "Royaume-Uni"
|
|
||||||
- aux:
|
|
||||||
- "États-Unis"
|
|
||||||
- une personne:
|
|
||||||
- religieuse
|
|
||||||
- courageuse
|
|
||||||
|
|
||||||
"Avez-vous":
|
|
||||||
- un:
|
|
||||||
- animal de compagnie
|
|
||||||
- surnom
|
|
||||||
- "frère ou une sœur"
|
|
||||||
- une:
|
|
||||||
- console de jeux
|
|
||||||
- "déjà":
|
|
||||||
- "écrit":
|
|
||||||
- "une lettre d'amour"
|
|
||||||
- en japonais
|
|
||||||
|
|
||||||
"Aimez-vous":
|
|
||||||
- les:
|
|
||||||
- "jeux vidéo"
|
|
||||||
- "réseaux sociaux"
|
|
||||||
- muffins
|
|
||||||
- frites
|
|
||||||
- la:
|
|
||||||
- "pêche"
|
|
||||||
- ville:
|
|
||||||
- "où vous":
|
|
||||||
- habitez
|
|
||||||
- "êtes né"
|
|
||||||
- voyager
|
|
||||||
- chanter
|
|
||||||
- "quand il n'y a personne chez vous"
|
|
||||||
- en japonais
|
|
||||||
- dans la rue
|
|
||||||
|
|
||||||
"Pouvez-vous":
|
|
||||||
- jouer:
|
|
||||||
- "d'un instrument"
|
|
||||||
- au baseball
|
|
||||||
- au football
|
|
||||||
- nager
|
|
||||||
- cuisiner
|
|
||||||
- parler:
|
|
||||||
- plusieurs:
|
|
||||||
- langues
|
|
||||||
|
|
||||||
Comment:
|
|
||||||
- "allez-vous"
|
|
|
@ -6,11 +6,11 @@ require 'questiongenerator'
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "questiongenerator"
|
spec.name = "questiongenerator"
|
||||||
spec.version = QuestionGenerator::VERSION
|
spec.version = QuestionGenerator::VERSION
|
||||||
spec.authors = ["nilsding"]
|
spec.authors = ["nilsding", "Kay Faraday"]
|
||||||
spec.email = ["nilsding@nilsding.org"]
|
spec.email = ["nilsding@nilsding.org", "KayFaraday@freak.university"]
|
||||||
spec.summary = %q{A simple question generator.}
|
spec.summary = %q{A simple question generator.}
|
||||||
spec.description = %q{A simple question generator, used by Retrospring.}
|
spec.description = %q{A simple question generator, used by Retrospring.}
|
||||||
spec.homepage = "https://github.com/retrospring/questiongenerator"
|
spec.homepage = "https://lab.freak.university/FreakU/questiongenerator"
|
||||||
spec.license = "MIT"
|
spec.license = "MIT"
|
||||||
|
|
||||||
spec.files = `git ls-files -z`.split("\x0")
|
spec.files = `git ls-files -z`.split("\x0")
|
||||||
|
|
Loading…
Reference in New Issue