Skip to content

Commit

Permalink
change default morph type to stem
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Jul 12, 2024
1 parent c49acf7 commit bfaaadb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/FwLite/FwDataMiniLcmBridge/Api/FwDataMiniLcmApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,11 @@ public async Task<Entry> CreateEntry(Entry entry)
Cache.ServiceLocator.ActionHandler,
() =>
{
var rootMorphType = MorphTypeRepository.GetObject(MoMorphTypeTags.kguidMorphRoot);
var stemMorphType = MorphTypeRepository.GetObject(MoMorphTypeTags.kguidMorphStem);
var firstSense = entry.Senses.FirstOrDefault();
var lexEntry = LexEntryFactory.Create(new LexEntryComponents
{
MorphType = rootMorphType,
MorphType = stemMorphType,
LexemeFormAlternatives = MultiStringToTsStrings(entry.LexemeForm),
GlossAlternatives = MultiStringToTsStrings(firstSense?.Gloss),
GlossFeatures = [],
Expand Down

0 comments on commit bfaaadb

Please sign in to comment.