Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse area when method unknown #3

Open
wvengen opened this issue Mar 25, 2020 · 0 comments
Open

Parse area when method unknown #3

wvengen opened this issue Mar 25, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@wvengen
Copy link
Member

wvengen commented Mar 25, 2020

The text

Alaska pollakfilet, uit de Stille Oceaan

Has a fish name and an area, but it is unknown whether it is wild or aquaculture. It would be nice to still recognize this. This requires a change in the data structure (which the flat parser sometimes already does), to something like:

[
  {
    :names =>   [{ :common=>"Alaska pollakfilet", :latin=>nil }],
    :areas =>   [{ :text=>"de Stille Oceaan", :fao_codes=>[]}],
    :methods => [],
    :kind =>    nil,
  },
]
@wvengen wvengen added the enhancement New feature or request label Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant