Index: graphspell-js/ibdawg.js ================================================================== --- graphspell-js/ibdawg.js +++ graphspell-js/ibdawg.js @@ -479,11 +479,11 @@ return []; } let lResult = []; for (let sSimilar of this.suggest(sWord, nSuggLimit)) { for (let sMorph of this.getMorph(sSimilar)) { - let nCut = sMorph.indexOf(" "); + let nCut = sMorph.indexOf("/"); lResult.push( [sSimilar, sMorph.slice(1, nCut), sMorph.slice(nCut+1)] ); } } return lResult; } Index: graphspell/ibdawg.py ================================================================== --- graphspell/ibdawg.py +++ graphspell/ibdawg.py @@ -453,11 +453,11 @@ if not sWord: return [] lResult = [] for sSimilar in self.suggest(sWord, nSuggLimit): for sMorph in self.getMorph(sSimilar): - nCut = sMorph.find(" ") + nCut = sMorph.find("/") lResult.append( (sSimilar, sMorph[1:nCut], sMorph[nCut+1:]) ) return lResult def select (self, sFlexPattern="", sTagsPattern=""): "generator: returns all entries which flexion fits and morphology fits "