Skip to content
This repository has been archived by the owner. It is now read-only.

Parse names ending on hybrid sign #88

Closed
dimus opened this issue Sep 14, 2015 · 2 comments
Closed

Parse names ending on hybrid sign #88

dimus opened this issue Sep 14, 2015 · 2 comments

Comments

@dimus
Copy link
Member

dimus commented Sep 14, 2015

Arthopyrenia hyalospora x

@alexander-myltsev
Copy link
Contributor

alexander-myltsev commented Oct 3, 2016

We already parse it. Is it OK to have JSON as follows:

scala> fromString("""Arthopyrenia hyalospora x""").render(false)
res0: String =
{
  "name_string_id" : "c056b89e-789b-5c28-89e7-e820ea0baebf",
  "parsed" : true,
  "quality" : 2,
  "quality_warnings" : [ [ 2, "Hybrid formula" ] ],
  "parser_version" : "0.3.3-SNAPSHOT",
  "verbatim" : "Arthopyrenia hyalospora x",
  "normalized" : "× Arthopyrenia hyalospora",
  "canonical_name" : {
    "value" : "× Arthopyrenia hyalospora"
  },
  "hybrid" : true,
  "surrogate" : false,
  "virus" : false,
  "details" : [ {
    "genus" : {
      "value" : "Arthopyrenia"
    },
    "specific_epithet" : {
      "value" : "hyalospora"
    }
  } ],
  "positions" : [ [ "genus", 0, 12 ], [ "specific_epithet", 13, 23 ], [ "hybrid_char", 24, 25 ] ]
}

@dimus
Copy link
Member Author

dimus commented Oct 3, 2016

I will close this one

@dimus dimus closed this as completed Oct 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants