Comments (2)
A start.
rule note_template
'Vrij van'i !char /
( 'E' / '"E"' ) ws* '-' ws* 'nummers zijn'i !char /
'E' ws* '=' ws* 'door'i ws+ ( 'de'i ws+ )? ( 'EU' / 'E.U' '.'? / 'E.G' '.'? ) !char /
'HOOFDLETTERS staan'i !char /
'Deze verpakking kan'i !char /
'Kan sporen van'i !char /
'Kan sporen bevatten'i !char /
'Bevat een bron'i !char /
'Dit product is'i !char /
'Zie www.'i /
'Overmatig gebruik kan'i !char /
'GGN'i ws* digit+ /
char* 'chocolade:'i ws* 'ten minste'i !char /
'Producten uit'i !char /
'Kan'i ( ws+ word ','? )+ ws+ 'bevatten'i !char /
'Voor allergenen:'i /
'Deze verpakking kan'i !char /
'Bevat mogelijk'i !char /
'cacao'i ( 'bestanddelen'i )? ( ':'i )? ws* 'ten minste'i !char /
'Allergenen staan' !char /
'bereid met'i !char /
'Verpakt onder beschermende atmosfeer'i !char /
'Geproduceerd in'i !char /
'Wordt gemaakt in'i !char /
'Bereid in een bedrijf'i !char /
'Allergie-informatie staat'i !char /
'In een fabriek geproduceerd'i !char /
'Op natuurlijke wijze'i !char /
'Voor allergenen'i !char /
'Van nature lactosevrij'i !char /
'Ondanks onze kwaliteitszorg'i !char /
'Kijk voor meer informatie'i !char
end
from food-ingredient-parser-ruby.
This could alternatively be implemented as a pre- or post-processor.
from food-ingredient-parser-ruby.
Related Issues (20)
- Amount dropped with mark in loose parser HOT 2
- Handle **ingredient** HOT 4
- Handle separator in "stabilisatoren: e407-e412-e415"
- Handle semicolon after colon HOT 7
- Coloned amount not parsed correctly HOT 1
- Handle amount after nesting colon
- 'and' not parsed in coloned list context
- Handle weight and percentage both being specified HOT 1
- Handle chemical names better HOT 2
- Unhandled mixed brackets HOT 1
- Compare with PulseFoodInnovation HOT 1
- part after bracketed text with 'and' dropped
- strip "ingredient list"
- Mention academic use
- Handle multiple marks HOT 1
- Fix colon with bracketed amount HOT 2
- Mark in front confuses loose parser HOT 2
- Colon in ingredient name
- Add to_html to the loose parser HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from food-ingredient-parser-ruby.