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 acronyms to data model #5

Open
danmichaelo opened this issue Nov 27, 2015 · 1 comment
Open

Add acronyms to data model #5

danmichaelo opened this issue Nov 27, 2015 · 1 comment

Comments

@danmichaelo
Copy link
Member

Requirements:

  • For presentation purposes, acronyms should be linked to terms
  • It should be allowed to use acronyms as preferred terms or alternative terms

Example from Roald 2:

te= Hypertext markup language
bf= Dynamisk html
bf= Dhtml
bf= Xhtml
en= Hypertext markup language
ak= HTML

Roald 3 suggestion:

{
    "13819": {
        "prefLabel": {
            "en": {
                "acronymFor": "HyperText Markup Language",
                "value": "HTML"
            },
            "nb": {
                "acronymFor": "HyperText Markup Language",
                "value": "HTML"
            }
        },
        "altLabel": {
            "nb": [
                {
                    "value": "DHTML",
                    "acronymFor": "Dynamisk HTML",
                },{
                    "value": "XHTML"
                }
            ],
            "en": [
                {
                    "value": "DHTML",
                    "acronymFor": "Dynamic HyperText Markup Language",
                },{
                    "value": "XHTML",
                    "acronymFor": "Extensible HyperText Markup Language"
                }
            ]
        }
    }
}

If the acronym is not the presentation term, we could use hasAcronym instead of acronymFor.

Some manual work will be involved in matching terms to their acronyms, but there's < 500 acronyms so that's ok.

@danmichaelo danmichaelo changed the title Data model: acronyms Add acronyms to data model Nov 27, 2015
@danmichaelo
Copy link
Member Author

Example using acronymFor:

    {
        "nb": {
          "value": "LVSEM",
          "acronymFor": "Low-voltage scanning electron microscopy"
        }, 
        "en": {
          "value": "LVSEM", 
          "acronymFor": "Low-voltage scanning electron microscopy"
        }

danmichaelo added a commit that referenced this issue Nov 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant