Waiviogit / waivio

MIT License
8 stars 7 forks source link

[search / ingredients] Remove numbers and common words to broaden search results when searching by recipe ingredients. #6980

Open Diana-Cherry-8 opened 1 week ago

Diana-Cherry-8 commented 1 week ago

yammer search / ingredients

Remove numbers and common words to broaden search results when searching by recipe ingredients.

Image

Diana-Cherry-8 commented 1 week ago
Certainly! Here's a list of common words that often appear in recipes but are not actual ingredients. These include measurements, descriptors, preparation methods, and other general terms:

### Measurements
- cup
- teaspoon 
- tsp
- tablespoon 
- tbsp
- ounce 
- oz
- pint
- quart
- gallon
- liter
- milliliter 
- ml
- gram
- g
- kilogram 
- kg
- pound 
- lb
- dash
- pinch
- slice
- piece
- handful
- bunch
- stick
- can
- jar
- package
- block
- fillet
- head

### Quantifiers & Units
- clove
- sprig 
- stalk 
- leaf
- strip
- chunk
- cube
- drop
- layer
- drizzle
- splash
- handful

### Preparation Methods
- chopped
- diced
- minced
- sliced
- grated
- peeled
- seeded
- cored
- crushed
- ground
- beaten
- whipped
- mashed
- melted
- softened
- toasted
- roasted
- cooked
- boiled
- simmered
- steamed
- fried
- sautéed
- baked
- grilled
- broiled
- marinated
- seasoned
- blended

### Cooking Terms
- preheat
- bake
- cook
- grill
- broil
- fry
- stir
- mix
- combine
- whisk
- blend
- fold
- knead
- pour
- spread
- sprinkle
- drizzle
- coat
- garnish
- toss
- layer
- fill
- stuff
- arrange
- top
- serve

### Descriptors & Miscellaneous
- fresh
- dried
- unsalted
- salted
- raw
- cooked
- organic
- frozen
- canned
- ripe
- overripe
- room temperature
- large
- small
- medium
- whole
- sliced
- half
- quartered
- skinless
- boneless
- shredded
- finely
- coarsely
- light
- dark
- low-fat
- high-fat
- lean
- thick
- thin
- tender
- firm

### Miscellaneous
- to taste
- as needed
- for garnish
- optional

This list should cover most of the non-ingredient terms you might find in recipes. Let me know if you need any additional words or categories!
Diana-Cherry-8 commented 12 hours ago

Лишнее пробелы можно убирать https://waiviodev.com/object/mum-rote-grutze-red-berry-pudding

Image

Diana-Cherry-8 commented 12 hours ago

Скобки не убираются Image

Diana-Cherry-8 commented 12 hours ago

Добавить слова, которые нужно игнорировать: a squeeze of for serving for the filling and frosting: thinly a of -sized

https://waiviodev.com/object/mum-rote-grutze-red-berry-pudding https://waiviodev.com/object/mvl-eierlikortorte-egg-liqueur-cake/departments/Alcoholic%20Desserts https://waiviodev.com/object/chk-flammkuchen-thin-crust-tart-topped-with-creme-fraiche-onions-and-bacon https://waiviodev.com/object/ngc-dobbekoche-baked-potato-cake-with-bacon

Image Image

Diana-Cherry-8 commented 9 hours ago

g и ml не убираются, хотя они есть в списке для исключения Image

Diana-Cherry-8 commented 9 hours ago

Лишние две точки https://waiviodev.com/object/mvl-eierlikortorte-egg-liqueur-cake/

Image