Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Src/Utilities/pcpatrflex/ToneParsFLExDll/ANABuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ private string GetAnaProperties(ParseMorph pMorph)
case MoStemMsaTags.kClassId:
var stemMsa = msa as IMoStemMsa;
sb.Append("RootPOS");
sb.Append(stemMsa.PartOfSpeechRA.Hvo);
sb.Append((stemMsa.PartOfSpeechRA != null) ? stemMsa.PartOfSpeechRA.Hvo : 0);
break;
case MoInflAffMsaTags.kClassId:
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ out ParseMorph morph
// The LexEntry is a variant form and the (non-zero) index indicates
// which set of LexEntryRefs it is for.
ICmObject objForm;
if (
if (String.IsNullOrEmpty(formHvo) ||
!cache.ServiceLocator
.GetInstance<ICmObjectRepository>()
.TryGetObject(int.Parse(formHvo), out objForm)
Expand Down
Loading