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

feat: Ambiguous term definition priority #269

Merged
merged 49 commits into from
Aug 22, 2023

Conversation

about-code
Copy link
Owner

@about-code about-code commented Apr 9, 2023

Closes #271

chore: Refactor. Improve performance by implementing
'linking by ID' and term-based auto linking in the
same tree-traversal. This keeps the number of
traversals by the linkifier at 2, again. The second
traversal will now be the new traversal for revisiting
term occurrences after having collected statistics
on how many terms of particular glossaries have been
mentioned and using those statistics to priortize
links for terms with multiple definitions.
Updating baseline due to different JSON serialization of class properties.
When disambiguating ambiguous terms in parent sections take
terminology use in subsections into account. Before this
change parent sections have been evaluated in isolation
ignoring glossary references in subsections. For example
when using ambiguous terms in an introductory paragraph
of a chapter disambiguation did only look at glossary
popularity in the introductory paragraph of the chapter
ignoring glossary popularity in subsections of the same
chapter. Now it disambiguates parent sections based on
an aggregation of glossary references in the introductory
paragraph and also  all subsections of the chapter.
@about-code about-code merged commit 74744a3 into master Aug 22, 2023
9 checks passed
@about-code about-code deleted the feat-ambiguous-term-definition-priority branch August 22, 2023 18:38
about-code added a commit that referenced this pull request Aug 23, 2023
* Fix perSectionDepth value range
* Fix perSectionDepth not being initialize with documented default.
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.

User Story: Context-sensitive linking and disambiguation for multiple glossaries
1 participant