Closed hlridge closed 5 years ago
Självklart!
We can do it in a batch search-and-replace. I made a diff with how the database looked like before and tried to match the changes. Are these the ones?
(these must be changed in the word definitions)
animal_(bovine,ovine),bovid,bovine <== animal_(bovine),bovine,ovine
birth,giving_birth,parturition,delivery <== birth_(reproduction)
blissymbol,Bliss-word <== blissymbol
break,fracture,damage <== break,fracture
breast(s) <== breasts
calculation_(mathematical,in_mind) <== digital_processing,artificial_intelligence,AI
change,alteration,conversion <== change,alteration
cherry_(cherries) <== cherries
cod,codfish <== cod
combine_marker <== indicator_(combine)
countryside,country,nature <== countryside,country
crossed_racquets_(OLD) <== crossed_racquets
currant(s) <== currants
dolphin,porpoise,water_mammal_(with_tail) <== dolphin,porpoise_(etc)
Earth_axis,axis <== Earth_axis
fly,flying_insect <== fly
getting,acquiring,receiving <== receiving
grace,grace_of_God <== grace
grape(s) <== grapes
handbag,shopping_bag,carrier_bag <== handbag
it,itself <== it
kitchen_tool,utensil <== kitchen_tool,utensils
musical_note,music_(in_combinations) <== musical_note
nucleus_(atom) <== nucleus
oval <== oval_shape
oyster,clam,mussel <== oyster,clam
pea(s) <== peas
pliers,tongs,tweezer(s),pincer(s)_(pair_of) <== pliers
pod,seedcase,seedpod <== pod
pointer_(hand) <== pointer
protection_with_pointer <== eaves_character
puddle,pool,water_(ground_level) <== puddle,pool
quill(s),spine(s) <== quills,spines
rugby_ball,football_(N.A.) <== rugby_ball
shamrock,clover <== shamrock
somersault <== somersault_(1)
vegetable_(oval-shaped) <== vegetable_(cylinder-shaped)
what,question_mark_(small) <== what,question_mark
(I need to know how they should be defined as words)
second_(time)
minute
hour,o'clock
(meaning that the words should be deleted)
ability,capability,capacity,potential
ability_(halfsized)
after,behind
again
at
before,in_front_of,prior_to
there
apostrophe
body_with_mane
body_with_navel
body_with_pubic_hair
building_with_attic
building_with_cellar
building_with_chimney
building_with_foundation
building_with_storey
building_with_yard_and_fence
buildings_with_courtyard
bulbous_plant
degree
environs
eye_with_eyebrow
face_with_beard
face_with_pimple
furred_animal
head_and_neck
head_with_hair
membrane,drumhead,drum_skin
mountains_with_valley
northeast
northwest
one_third
out_of_body_(downward),elimination,excretion
pate,crown_(body_part)
pointer,arrowhead
pointer,arrowhead_(small)
present
road_and_car
southeast
southwest
steering_wheel
street_and_building
three_quarters
two_thirds
indicator_(continuous_form)
indicator_(diminutive_form)
indicator_(female)
indicator_(first_person)
indicator_(indefinite_form)
indicator_(neutral_form)
indicator_(object_form)
indicator_(possessive_form)
indicator_(second_person)
indicator_(third_person)
It seems like this method would cover all existing words' references to Bliss characters. There are, however, a number of changes among the Bliss words, too, not covered by this method.
Here are the definitions of the new words mentioned above: "second_(time)": ["time", "apostrophe", "apostrophe"], "minute": ["time", "apostrophe"], "hour,o'clock": ["time", "degree"]
Now I understand - you have already updated the word definitions in Karp! Then it's easy - just run this command:
python download_and_update_blissdata_words.py
This will update blissdata_words.js
from the Karp definitions. I did that now, so the file is up-to-date, but you can do that yourself next time.
Since a number of characters have been added or changed name, blissdata_words.js needs an update, too, to make the references to blissdata_chars.js right.