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

Add ShortName to ConceptChunk. #658

Merged
merged 1 commit into from
Jun 14, 2018
Merged

Add ShortName to ConceptChunk. #658

merged 1 commit into from
Jun 14, 2018

Conversation

Mornix
Copy link
Collaborator

@Mornix Mornix commented Jun 14, 2018

This is the first of (probably) a few pull requests to enable/support referencing of ConceptChunk s as per #562 comment 6, third bullet point.

In an effort to not break everything, Maybe was added to the ShortName field's type for ConceptChunk. All existing constructors for ConceptChunk have been updated to "ignore" the short name. Which I believe makes sense as not all ConceptChunk s will be referenced.

@JacquesCarette I misspoke earlier. All the constructors of ConceptChunk take an existing NP (or type which contains an NP) as input so we don't have the String mentioned when ShortName would be constructed.

PS. I will send another PR adding Label related content once #643 has been merged.

@JacquesCarette JacquesCarette merged commit 4e1c705 into master Jun 14, 2018
@JacquesCarette JacquesCarette deleted the conceptchunk_ref branch June 14, 2018 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants