alpheios-project / morph-client

Morphology Client Library Interface
ISC License
0 stars 1 forks source link

Feature treebank #16

Closed balmas closed 6 years ago

balmas commented 6 years ago

This is one in a set of changes to enable disambiguation of morphological parser results with explicit annotations.

This is a porting of functionality from V1, which allowed us to disambiguate with data from treebanks. The treebanks contain morpho-syntactic annotations of specific words in specific texts. These annotations normally identify a specific lemma and inflection for a word. But they do not provide all of the information the parser does, such as the stem and suffix of the word, the conjugation, etc.

So, when we have this data, we normally want to provide a merged view of the lexeme, which retains the information from the parser which wasn't provided in the annotation, but which also narrows the inflections down to the one identified in the annotation.

The morph-client change is to add a new adapter which knows how to read Alpheios v1 treebank files as returned by an existing service.

There are corresponding changes in the data-models, components and embed-lib repositories.

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 56


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/alpheiostb/adapter.js 43 58 74.14%
<!-- Total: 44 59 74.58% -->
Totals Coverage Status
Change from base Build 41: -1.8%
Covered Lines: 245
Relevant Lines: 302

💛 - Coveralls