Closed balmas closed 6 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/alpheiostb/adapter.js | 43 | 58 | 74.14% | ||
<!-- | Total: | 44 | 59 | 74.58% | --> |
Totals | |
---|---|
Change from base Build 41: | -1.8% |
Covered Lines: | 245 |
Relevant Lines: | 302 |
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.