Skip to content

Commit 48b8cf3

Browse files
committed
fixup! Only use 'main' Parts of speech. Like FLEx. This excludes e.g. Reversel index parts of speech.
1 parent ab502bc commit 48b8cf3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

backend/FwLite/FwDataMiniLcmBridge/Api/FwDataMiniLcmApi.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,7 @@ void MoveWs(CoreWritingSystemDefinition ws,
271271

272272
public IAsyncEnumerable<PartOfSpeech> GetPartsOfSpeech()
273273
{
274-
return Cache.LangProject.PartsOfSpeechOA
275-
.ReallyReallyAllPossibilities
276-
.Cast<IPartOfSpeech>()
274+
return Cache.LangProject.AllPartsOfSpeech
277275
.OrderBy(p => p.Name.BestAnalysisAlternative.Text)
278276
.ToAsyncEnumerable()
279277
.Select(FromLcmPartOfSpeech);

0 commit comments

Comments
 (0)