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

Descriptive attributes for \w ...\w* #26

klassenjm opened this Issue Jul 8, 2016 · 0 comments


None yet
1 participant

klassenjm commented Jul 8, 2016


  • Following the syntax for assigning word-level descriptive attributes (USFM 3.0 #24), explicitly extend character marker \w ...\w* with the following attributes:

A companion USX 3.0 proposal exists at: ubsicap/usx#20


  • lemma - citation form for the term in the glossary (default)
\w gracious|lemma="grace"\w*
\w gracious|grace\w*

The unidentified attribute in the second example (above) is acceptable because lemma is defined as the default attribute for \w ...\w*

  • strong - Strong’s ID in the form H##### (Hebrew) or G##### (Greek)
\w gracious|lemma="grace" strong="G05485"\w*
\w gracious|strong="G05485"\w*
\w gracious|strong="H01234,G05485"\w*

NOT \w gracious|G05485\w* (strong is not default)

  • strong augmentation - identifier for Strong’s augmentation, if required. The augmentation identifier is separated from the strong value by a colon :
\w gracious|strong="G05485:a"\w*
  • srcloc - location of the word in the source text; Example: GNT version 5 text, book 51, chapter 1, verse 2, word 1.
\w gracious|lemma="grace" srcloc="gnt5:"\w*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment