Elamur Research

Refining the SED Heuristic for Morpheme Discovery: Another Look at Swahili

Paper · 2005 · Yu Hu, Irina Matveeva, John Goldsmith et al.

Summary

A long Swahili verb can contain several meaningful parts without spaces to show where they begin or end. The paper asks how to discover those parts and their order from a collection of words with no grammatical labels. Its starting point is a comparison between spellings. In anapenda and anamupenda, the surrounding letters line up and mu appears in only one of the forms. That contrast makes mu a plausible morpheme, a recurring unit with a lexical or grammatical role. It also gives the learner two possible boundaries to investigate. The challenge for morphology is to turn many such local clues into analyses that hold across a vocabulary.

The authors use string edit distance to find a low-cost alignment between two words, then group aligned letters into stretches of agreement and difference. They represent the resulting contrasts as small finite-state automata. Each automaton specifies an order of slots and the strings available in each slot. The initial procedure combines automata when it can account for a larger group of observed words while preserving the requirement that every combination it licenses already occurs in the corpus. It ranks the resulting templates by how many letters their shared representation saves. The authors then refine the boundaries between slots, merge templates with sufficiently similar inventories, and return to words that the earlier templates could only partly explain. The last two refinements let the templates generate forms beyond those that established them.

The Swahili experiments use 7,180 distinct words from 50,000 running words of a Bible translation. The initial edit-distance method achieves a morpheme-boundary F-score of 0.65, compared with 0.22 for successor frequency and 0.31 for predecessor frequency, which look for branching patterns from opposite ends of words. The boundary refinement improves both precision and recall in the authors’ ranked-template comparison. Merging some templates also yields forms absent from the corpus, and a Yahoo search finds an average of 87% of the words predicted for a template in that experiment. Those tests examine different outcomes. Boundary scores assess the placement of cuts in observed words, while the searches look for independent occurrences of predicted spellings. The evidence is most detailed for Swahili and shows how pairwise spelling contrasts can support both boundary discovery and limited generalization to new forms.

Deep dive: Refining the SED Heuristic for Morpheme Discovery: Another Look at Swahili

How string edit distance reveals recurring parts of Swahili words, and how the paper tests the boundaries and new forms it predicts. · about 37 minutes to read

The problem and its context

A boundary inside a word

The learner begins with written forms rather than analyses. A word form gives it a sequence of letters. The corresponding morphological analysis says which pieces make up that sequence and how those pieces fit together. For the paper’s purposes, the immediate question is where to put the cuts. A broader question is which pieces can take each other’s place. If forms regularly differ in a subject marker while keeping the material that follows, the learner can propose both a boundary after that marker and a slot whose alternatives include the markers observed there.

Those questions are related but require different evidence. A proposed cut concerns a position in a particular spelling. A proposed slot concerns a set of alternatives that recur across spellings. A learner might identify an edge between two stretches of letters without knowing what either stretch does. It might also find a recurring set of strings in a fixed position even though one of those strings contains an additional boundary. The paper’s templates give it a way to represent both kinds of partial progress. They organize repeated contrasts at the same time as they propose where to divide the words that exhibit them.

Swahili makes this distinction consequential. The authors describe it as a Bantu language with an especially high number of morphemes per word in the verbal system. They characterize it as primarily prefixing and also point to important suffixes in verbs and nouns. A written word can therefore carry several pieces on the same side of a lexical base, as well as material at the other end. An algorithm that identifies one recurring edge may leave a substantial part of the analysis open. A procedure that can compare internal pieces has a way to look for structure in the part that remains.

The example anapenda and anamupenda illustrates the opportunity in its simplest form. Both spellings contain ana before the point of difference and penda after it. The intervening alternative is either mu or an empty string. That observation motivates a division of the longer form and identifies exactly where the shorter form lacks the extra material. It leaves open the internal analysis of ana and penda. The match tells the learner which letters stay together in this comparison. Further contrasts are needed to decide whether those letters stay together across the vocabulary.

This is an unsupervised discovery problem because the input offers the spellings without the cuts or grammatical labels the learner is meant to infer. The paper distinguishes the initial search for candidate pieces from a fuller account of the corpus. The first stage is a heuristic, a procedure designed to produce plausible candidates. A later stage in the general research framework can give an explicit account of what makes a morphological analysis satisfactory, or specify an objective to optimize over the corpus. The authors concentrate on the discovery stage and on refinements that improve the candidates it produces. A template can be informative at that stage even when some of its labels are provisional or some of its words remain only partly divided.

What word edges reveal

The main predecessor the authors describe is Zellig Harris’s successor-frequency heuristic. Imagine putting the vocabulary in a trie, a tree in which words that start the same way follow the same path for as long as they agree. A node reached by spelling a sequence from the beginning of a word represents that shared beginning. Different letters continuing from it create different branches. Branching is evidence for a possible morphological cut at the point where the continuations diversify.

In the paper’s English example, governed, governing, government, governor, and governs all reach the node for govern. Their continuations start with different letters. The successor-frequency heuristic can therefore mark the position after govern as a candidate boundary. It uses the variety of following letters as its signal. The trie makes the signal easy to see because the distinct continuations share a path until that position. The paper discusses branching above a threshold as the basis for a proposal and cites earlier work evaluating a successor-based approach on English.

Predecessor frequency makes the analogous comparison from the other direction. The trie is built by reading words from right to left, so its shared paths correspond to common endings. Branching occurs where the material preceding a shared ending diverges. The authors expect successor frequency to suit languages where words tend to keep their beginnings and vary at the end, and predecessor frequency to suit languages where words frequently keep their endings and vary at the beginning. The labels describe the direction in which the evidence is gathered. They do not require the shared sequence itself to be a grammatical prefix or suffix.

That distinction between position and grammatical function matters throughout the paper. A string prefix is any sequence taken from the beginning of a spelling. In jump-ing, the initial string jump can be a stem. In the reverse trie, a shared string suffix can likewise include a stem or several pieces. The search procedures initially see where letters occur. Their success as tools for morphology depends on how reliably the positions identified with those letters coincide with meaningful cuts.

The paper also describes John Goldsmith’s earlier use of signatures. A signature collects stems and suffixes whose combinations all occur in the corpus, with the collection made maximal under that requirement. It is possible to write such a collection as a small automaton. A path first chooses a stem and then chooses a suffix. Because every stem goes with every suffix in that particular signature, the automaton can share the lists across all the words they form. The signature supplies evidence about repeated combinations as well as evidence for a cut.

Successor and predecessor frequency each offer a natural starting point at an edge. A signature already asks whether the same choices recur across multiple stems. The edit-distance proposal brings a related question to contrasts that may lie inside a word. If two words agree at both ends but differ in the middle, their shared beginning and ending can jointly locate the difference. When further comparisons show the same middle alternatives between different surrounding strings, those alternatives begin to look like part of a reusable pattern.

The authors draw on the string edit distance algorithm associated with Wagner and Fischer. They also point to earlier use of alignment in unsupervised language learning, including van Zaanen’s work on syntactic structure. They present the use of edit distance for detecting morphemes as new to their knowledge. They see comparison of the kind illustrated by anapenda and anamupenda as a conceivable mechanism for human learning as well, citing Dahan and Brent in that connection. The experiment in this paper addresses computational discovery from written forms.

The method, step by step

From a pair of spellings to a template

The procedure starts by lining up two words and asking where their spellings agree. Exact matches are cheap, substitutions cost more, and a letter left opposite a gap also has a cost. The cheapest alignment gives the learner a proposal about which letters correspond. It can then group consecutive matching positions and consecutive positions that contain differences. An alignment with one differing stretch between shared stretches can be expressed as a choice between alternative pieces in the same context.

The next steps pool those small comparisons. First the procedure collects alternatives observed in identical surroundings. It then tries to share additional slots across patterns that already agree everywhere except one slot. The initial templates produced this way account for words seen in the corpus. The later procedures address a different pair of questions. They ask whether the same words admit better cuts and whether well-supported templates can account for more forms than the ones that first established them.

From Swahili spellings to reusable morphological templates

The steps in order.

From Swahili spellings to reusable morphological templatesStep 1: Screen candidate word pairs1. Screen candidate word pairsStep 2: Find low-cost letter alignments2. Find low-cost letter alignmentsStep 3: Group matches and differences into spans3. Group matches and differences into spansStep 4: Pool contrasts with identical surroundings4. Pool contrasts with identical surroundingsStep 5: Build and rank templates from observed combinations5. Build and rank templates from observed combinationsStep 6: Resolve ambiguous boundaries between slots6. Resolve ambiguous boundaries between slotsStep 7: Merge templates with similar inventories7. Merge templates with similar inventoriesStep 8: Reparse words and add supported stems8. Reparse words and add supported stems

What the alignment measures

The initial search considers pairs of words from the corpus. Applying dynamic programming to every possible pair would be slow, so the authors screen out many pairs before running the edit-distance procedure. They refer to a technical report for the details of those preliminary checks. The alignment costs and the rules for turning the surviving alignments into candidates are the part described in this paper.

For a pair that passes the screening, the alignment preserves letter order in both words. A column can match a letter against the same letter, match it against a different letter, or put a letter on one side opposite a gap. The paper calls the identical pair twins, the differing pair siblings, and the unmatched letter an orphan. The cost assigned to a twin is 0. A sibling costs 1.5 and an orphan costs 1. A low total favors sharing identical material and makes the placement of gaps and substitutions part of the decision.

C(A) = 0·t(A) + 1.5·s(A) + 1·o(A)

Here A is a candidate alignment and C(A) is its total cost. The functions t(A), s(A), and o(A) count twin, sibling, and orphan columns, respectively. The numeric factors are the authors’ costs per column. The dot denotes multiplication, the plus signs add the contributions, and the equals sign gives the resulting total.

Dynamic programming finds a lowest-cost alignment by working with prefixes of the two input strings. At a position in that calculation, consuming a letter from each string gives either an exact match or a substitution. Consuming a letter from just one gives an unmatched letter. Each of those choices extends an alignment of shorter prefixes. Comparing the total costs of the possible extensions gives a way to arrive at an optimal alignment of the whole pair without separately evaluating all complete paths through the choices.

The paper gives a cost of 5 for its displayed alignment of nilimupenda and nitakamupenda. These words illustrate why the procedure uses gaps as well as substitutions. They share the initial ni and the ending mupenda, with differing material between them. The two stretches in the middle have different lengths. The alignment can isolate that variation while preserving the long identical ending. Its score is a property of the displayed letter alignment. The morphological interpretation comes from what the procedure does with such alignments afterward.

The authors write the three possible forms of an aligned column in terms of positions in the input strings.

(S[i], T[j]), (S[i], 0), or (0, T[j])

S and T denote the two input words. The indices i and j specify positions in those words, and the square brackets select the letters at those positions. Parentheses enclose the entries for a single column. In this notation 0 is the placeholder for an absent letter. Thus the first pair contains two letters, while either of the remaining pairs contains a letter on one side and a gap on the other. The gap symbol here plays a different role from the cost of an exact match in the preceding formula.

Once an alignment is in this form, the procedure divides it into maximal spans. A perfect span continues for as long as every column pairs identical letters. An imperfect span continues for as long as the columns are substitutions or gaps. Maximal means the span extends to the next change of kind or the edge of the alignment. A gap and a substitution next to each other belong to the same imperfect span. Several consecutive exact matches belong to a single perfect span. This grouping turns letter-by-letter correspondence into a description of larger pieces that can be compared across words.

How a local contrast becomes an automaton

For an elementary alignment, the shared strings before and after the differing stretch form the context. The two strings realized in the differing stretch are the counterparts. A counterpart may be empty, as it is in the shorter member of anapenda and anamupenda. At most one of the context pieces may be empty. Allowing that possibility makes a difference at the beginning or end of a word representable in the same way as an internal difference. When a context piece is empty, that position contributes no letters.

S = m₁·m₂·m₄

S is the first word in the elementary alignment. The pieces m₁ and m₄ are the left and right context, respectively. The piece m₂ is the counterpart selected for this word. The dot concatenates strings in the written order, and the equals sign states which word the pieces produce.

T = m₁·m₃·m₄

T is the second word. The labels m₁ and m₄ name the same context pieces used for S, while m₃ is the alternative counterpart. The dots again concatenate the strings, and the equals sign identifies the resulting word. The subscripts distinguish positions and alternatives in this representation.

The authors express this pattern as a finite-state automaton, a structure in which a path moves from state to state and builds a word from the labels on its transitions. In the sequential automata used here, each state with outgoing transitions leads to a unique next state. Several differently labeled transitions can lead to that same next state. Choosing a label therefore changes the string contributed at a position while preserving the order of positions in the pattern. The final state ends the path.

The elementary comparison can be drawn with four states and three steps between them. At the first and last steps the shared context determines the string to output. At the middle step the automaton chooses between the counterparts. In the anapenda example, it outputs ana, then either the empty string or mu, and then penda. Both paths are possible, and each produces one of the aligned spellings. The construction makes the analogy between an alignment and a small word-generating structure explicit.

The paper calls the set of labels leaving a state its production. That term names an inventory. A production can contain a fixed context string, alternatives that distinguish the two words, or a larger set built up from multiple comparisons. It can contain the empty string as a choice. The distinction between a state and its production is important for understanding merging. Two patterns can have the same state positions and use different inventories at one of those positions. A merge can keep the positions and change just the relevant inventory.

The authors say an automaton exactly generates a set when its possible outputs are precisely the words in that set. For an elementary alignment, that set consists of the words furnishing the two alternatives. Later in the initial procedure, exact generation is a constraint on the relationship between a template and the group of corpus words it summarizes. A choice made in one slot can be followed by any choice in a later slot. A proposed merger consequently has to preserve the attestation of the combinations made possible by those independent choices. That requirement governs which templates the initial search can construct.

Pooling repeated evidence

The first merger operates on elementary alignments with the same left and right context. Suppose two comparisons share the same strings on both sides of the changing material. The procedure can put all the alternatives from those comparisons into a single middle production. The shared context is specified once. Any counterpart that occurs in both comparisons needs only one entry in the combined inventory. Because the context stays fixed, each resulting path corresponds to a word already supported by one of the comparisons.

The key check at this stage is identity of the surrounding strings. A context is an ordered pair. Both its left and its right members have to match in the two alignments. The same differing material in visibly similar surroundings can still belong to separate elementary groups. The rule keeps the first kind of merger tied closely to the evidence of the individual comparisons.

The authors then generalize the merger to sequential automata of corresponding shape. If all productions except one are identical, they keep the shared productions and pool the two inventories at the remaining position. There is a reason for requiring agreement in all the other positions. Once an alternative is selected from the union, it came from at least one of the original automata. Every choice at the other positions was already available in that original automaton. The new path therefore has support in one of the inputs. If two positions differed, combining their inventories could allow an alternative from one automaton to meet an alternative from the other for the first time.

The paper illustrates the general merger with aliyesema, alimfuata, anayesema, and anamfuata. All four begin with a. Both li and na are followed by both yesema and mfuata in this group. The resulting pattern keeps a fixed, chooses a string from the li and na inventory, and then chooses a continuation from the yesema and mfuata inventory. Each path corresponds to one of the observed forms. The same list of choices for the last position serves after either choice in the preceding position.

A template in the initial procedure has three or four states and at least two transitions along the sequence that offer multiple morpheme choices. Here a transition position can have several alternative labels leading to the same next state. Requiring more than one position with alternatives distinguishes a template from an isolated contrast in a fixed context. In the four-word example, the pattern can reuse both the tense alternatives and the continuations. Its structure expresses evidence that these choices can vary independently within this small group.

Ranking by the amount of spelling shared

The authors call their ranking score robustness. They compare the letters needed to write the generated words individually with the letters in all the strings listed on the template’s transitions. The latter count reuses a string every time the template selects it. In the example beginning with a, a single copy of a serves every generated word. The strings li and na each serve after that initial a and before either continuation. The continuations also need only one entry each.

R(F) = Lwords(F) − Llabels(F)

F denotes the template and R(F) its robustness. Lwords(F) adds the lengths of the distinct words generated by the template. Llabels(F) adds the lengths of the strings listed on its transitions, counting the labels in their respective productions. The minus sign takes the difference between the two totals. The equals sign identifies that difference as the robustness score.

For the four-word example, the paper gives 36 letters when the words are written separately and 17 letters in the transition labels. It gives the label count as follows.

1 + 4 + 12 = 17

1 counts the letters in the fixed a production. 4 is the combined length of li and na. 12 is the combined length of yesema and mfuata. The plus signs add those counts, and 17 is the resulting total for the transition labels.

36 − 17 = 19

36 is the total length of the separately written words. 17 is the label total from the preceding calculation. The minus sign subtracts the label total, and 19 is the number of letters the paper says the example template saves.

According to the authors, using significant templates in practice saves roughly 200 to 5,000 letters. A large saving indicates that several forms can be expressed by reusing their pieces. The score depends on how many word spellings a pattern expresses and how much material the representation can share. It gives the initial search a way to distinguish a small, local analogy from a pattern that organizes a substantial part of the vocabulary. It also supplies weights for the subsequent boundary repair.

Deciding which slot owns shared letters

Even when all of a template’s words are known, the template can place a boundary in more than one way. Suppose every string in the production of a state ends with the same letter. The automaton can remove that letter from every label at that state and put it at the start of every label at the next state. Each complete path still spells the same word. A sequence of letters shared at the edge of a production gives more possible placements. The same ambiguity can start from a common beginning in the later production and be resolved by moving material toward the earlier state.

This is a problem exact generation cannot settle by itself. Both allocations can generate the observed set, so evidence that the words exist leaves the cut unresolved. The authors try to choose an allocation that makes the larger grammar more compact and that gives reusable pieces the same representation across templates. They apply two decisions suited to different neighboring inventories.

The first decision applies when the inventories are quite different in size. The shared material goes to the smaller production. A state with relatively few alternatives frequently produces grammatical markers, while the neighboring state may have many stems. Keeping a shared stretch in the smaller inventory means writing it into fewer labels. The rule follows from counting letters in the inventories, and its motivation depends on that representation. The paper describes the size disparity qualitatively for this decision.

The second decision addresses neighboring grammatical positions where that size comparison offers less guidance. The authors motivate it by treating occurrences of strings in the grammar as references to shared pieces. In that account a string used often deserves a shorter reference. The paper describes the reference length as inversely proportional to the logarithm of frequency. Its implemented scoring rule uses template robustness to give greater influence to pieces seen in strong templates.

W(x) = ∑F∈T(x) R(F)

x is a candidate morpheme string. T(x) is the collection of templates containing that string, and F ranges over those templates. R(F) is the robustness of template F. The summation sign adds those robustness scores, so W(x) is the resulting weight for the string. A string can receive a high weight by appearing in several robust templates. Its weight reflects this evidence across templates, instead of a count of all running-word tokens in the corpus.

Q(p) = ∑x∈p W(x)

p denotes a candidate division into component strings, with the sum taken over its components. x denotes a component string and W(x) is its weight. The summation gives Q(p), the score of the division. The procedure compares the possible divisions of the ambiguous material between the neighboring states and selects the division with the highest total.

One resulting change moves the k in ak to the following position. The original pattern has ak followed by either a or i, then a stem. The repaired version has a followed by either ka or ki, then a stem. The spellings covered by that choice remain the same. The cuts now preserve the tense markers ka and ki identified by the authors. The evidence for moving the letter comes from the way candidate pieces are supported elsewhere in the discovered templates.

A second change starts with wali, followed by an optional po, and then a stem. The revised template puts wa in the first slot and allows li or lipo after it. This gives the forms with li a boundary between the subject marker wa and the tense marker li. The alternative lipo still bundles li with the subordinate-clause marker po. The authors regard the revised pattern as an improvement because the remaining error affects a less frequent case in the data, and the separation of wa and li makes the pattern easier to integrate with neighboring templates. The example also shows the level at which the repair operates. It redistributes letters among existing positions.

Relaxing the requirement that every form be observed

The original mergers can leave many separate templates that look like partial descriptions of the same structure. The initial constraint favors this outcome. An automaton may have evidence for its subject markers, tense markers, and stems in several configurations, with some of the possible full words absent. If the procedure were still to require evidence for every complete combination, those gaps could keep closely related patterns separate.

The next refinement permits a merger on partial overlap. The authors compare templates with the same number of states. For this rule, a production of five or fewer distinct strings is treated as grammatical, and a production of six or more as lexical, supplying stems. These are operational categories defined by the inventory sizes. A stem column in the rule is thus a position the procedure can treat as a substantial inventory of continuations. That designation can apply before the internal morphology of each continuation is settled.

For corresponding stem productions, the intersection has to contain at least two stems. The rule asks for actual shared strings, so similarity of grammatical shape alone is insufficient. For the grammatical positions in the comparison, one corresponding pair of productions must agree exactly. The other may differ within a bound. The paper expresses the bound through symmetric difference, the alternatives belonging to either production alone.

|G △ H| ≤ 2

G and H are the inventories at the corresponding grammatical position allowed to differ. The symbol △ denotes their symmetric difference, which contains the strings found in exactly one of the inventories. The vertical bars denote the number of members of that set. The sign ≤ means at most, and 2 is the allowed bound.

These conditions provide evidence from both the small grammatical inventories and the larger lexical ones. They also permit the inventories to be combined when some paths through the enlarged template were unavailable in either input. Consider a shared subject-marker slot, compatible tense inventories, and overlapping stems. A tense marker peculiar to one input can now be followed by a stem peculiar to the other. The resulting word is a prediction. It may already occur elsewhere in the corpus, or it may be absent from it. That possibility is the intended consequence of the relaxed merger.

The tests answer a more limited question than whether every path through the resulting automaton is linguistically sound. The structure, the overlap, and the bounded differences together provide reasons to try the merger. The generated forms can then be checked separately. The paper uses this step to see whether it can move from a catalog of attested combinations toward a more general account of how some Swahili words are assembled.

Returning to words with a partial fit

The last refinement starts with established templates and goes back to the same corpus. A word may fit the known grammatical material and leave a remainder that is missing from the template’s stem inventory. The procedure treats that remainder as a candidate addition. It then asks whether adding it to the template would account for several distinct observed words.

The authors illustrate the coverage problem with a four-state automaton whose three production positions each offer two strings. The paper gives 8 possible words for such a pattern. For the original exact-generation procedure to establish that particular template, all 8 have to occur. The paper argues that complete evidence of this kind is most likely for common material. The revised procedure can retain a stem when multiple attested combinations support it, even though other combinations permitted by the template may be missing.

The rule requires 3 distinct corpus words that the template would generate if the candidate stem were added. Distinctness matters because repeated occurrences of the same spelling offer the same form-level combination. Once the rule is met, the addition can explain the supporting words that previously fitted only in part. It also makes every permitted combination of the new stem and the established grammatical alternatives available. Some of those other forms may be predictions beyond the corpus. Reanalysis of observed words and generation of further forms thus follow from the same addition, while the evidence for the addition is the observed set.

Experiments and results

The vocabulary and the comparison

The experiments use a Swahili Bible translation obtained on the internet. The paper gives its size as 50,000 running words and specifies 7,180 distinct words for the refinement evaluations. Running words count occurrences in the text. Distinct words count different spellings in the vocabulary. The distinction matters because an elementary contrast requires two forms, and the last refinement requires support from distinct forms. A often repeated spelling can be important in the text while providing only one of the spellings needed to make a contrast.

The initial comparison reports results for SED, the string edit distance heuristic, and the two direction-based baselines, SF and PF. SF uses branching after a shared beginning. PF uses branching before a shared ending. The outcome being measured is identification of morpheme boundaries. Precision measures how many of the proposed boundaries are correct, as a share of the boundaries proposed. Recall measures how many of the reference boundaries are found, as a share of the boundaries to be found. The F-score combines precision and recall so that both kinds of success contribute to the comparison.

The SED row reports precision of 0.77, recall of 0.57, and F-score of 0.65 for Swahili morpheme boundaries. The SF row reports 0.54 precision, 0.14 recall, and 0.22 F-score for the same task. The PF row reports 0.68 precision, 0.20 recall, and 0.31 F-score. SED leads on each reported metric. PF also leads SF on each, an ordering consistent with the authors’ description of Swahili as mainly prefixing and with the direction in which PF examines variation.

Boundary discovery on the Swahili corpus by F-score

String edit distance achieves the highest boundary F-score in the comparison.

Boundary discovery on the Swahili corpus by F-scoreSuccessor frequency: 0.22Successor frequency0.22Predecessor frequency: 0.31Predecessor frequency0.31String edit distance (this paper): 0.65String edit distance (this paper)0.65
The numbers
System or settingF-score
Successor frequency0.22
Predecessor frequency0.31
String edit distance (this paper)0.65

The recall figures are particularly relevant to the motivation for the comparison. The direction-based heuristics find some correct cuts through branching evidence at a word edge. The edit-distance procedure can make use of agreement on both sides of variation, as well as variation appearing at either edge. Its higher reported recall establishes that it recovers more of the reference boundaries in this experiment. The experiment compares complete procedures, so the result alone leaves open how much of the advantage comes specifically from internal contrasts, alignment costs, or the subsequent grouping of comparisons into templates.

What the highest-ranked templates contain

The authors examine the first 6 templates when ranked by robustness. The top one puts a and wa, identified as class 1 and 2 subject markers, before 246 correct verb continuations. All those continuations are described as polymorphemic, meaning they themselves contain multiple morphemes. This is a productive result at the level of the opening slot. The two subject markers can share a substantial list of following material. At the same time, the size of the shared inventory says little by itself about how fully the material within it has been divided.

Another high-ranking pattern combines ku and hu, identified as infinitive and habitual markers, with 51 stems. Further patterns separate some of the material following a subject marker. A template with wa before the tense markers ka and li has 25 stems. A template with a and the same tense alternatives has 29 stems. The authors point to these two templates as candidates for a larger common pattern. Another a template includes ka and na before 28 stems. The list also includes a pattern consisting of 37 strings followed by the passive marker w and then a. The high-ranked results therefore illustrate how the same procedure can expose alternatives at the beginning of a word and shared structure toward the end.

These inventory counts describe the structures that the procedure found. They differ in meaning from both the corpus size and the number of boundaries recovered. The figure 246 counts continuations listed within a particular template. It does not count new stem analyses, running words, or correctly placed cuts. Likewise, the strings listed as stems in the template descriptions play the role of eligible lexical continuations in those structures. Their status as a single transition label can coexist with internal morphology that the template leaves unresolved.

The rankings make the later experiments easier to interpret. Several of the templates already distinguish subject markers, tense markers, and following material, but their subject markers or tense inventories can differ. If stem overlap and grammatical agreement support pooling them, the relaxed merger can express more of that structure in a single pattern. The results of the initial stage show which inventories are available for such an attempt. The later checks address the consequences of letting those inventories combine.

Checking predictions from template mergers

The authors report eight merger operations in their prediction experiment. In one operation, two templates with a in the first slot pool the tense alternatives ka, na, and ki. The corresponding step with wa produces a pattern with the same tense alternatives. The two resulting patterns can then be merged to put a and wa in a shared first slot. In another part of the experiment, matching tense inventories make it possible to pool subject alternatives. The table thus includes mergers of patterns produced by earlier mergers as well as mergers of the smaller inputs.

The authors describe the dominant structure of these patterns as subject marker, tense marker, and stem. They call out po as a qualification. In the relevant pattern, the subordinate-clause marker is bundled with tense material, although its proper position would be in a separate column to the right. A merger can therefore preserve an informative general order while carrying forward a local problem with how the slots divide the word.

The researchers inspect newly generated forms for morphological well-formedness and identify themselves as non-native speakers of Swahili. They also try to find the forms through Yahoo search. A hit is an occurrence of the predicted spelling on the indexed web, according to their check. For the eight operations they report an average of 87% of predicted words found per template. The rows report different numbers of predictions, so the average across templates and a proportion obtained by pooling all their words are different summaries. The paper gives the former.

Predicted forms found on Yahoo after merging Swahili templates

The new spellings were frequently found, with search coverage varying across mergers.

Predicted forms found on Yahoo after merging Swahili templatesa with ka, ki, na: 86a with ka, ki, na86wa with ka, ki, na: 95wa with ka, ki, na95a or wa with ka, ki, na: 84a or wa with ka, ki, na84a with liye, li, me (this paper): 100a with liye, li, me (this paper)100a or wa with ki, li: 90a or wa with ki, li90a or wa with lipo, li: 90a or wa with lipo, li90a or wa with ki, lipo, li: 74a or wa with ki, lipo, li74a with na, ta, naye: 80a with na, ta, naye80
The numbers
System or settingpredicted forms found %
a with ka, ki, na86
wa with ka, ki, na95
a or wa with ka, ki, na84
a with liye, li, me (this paper)100
a or wa with ki, li90
a or wa with lipo, li90
a or wa with ki, lipo, li74
a with na, ta, naye80

The search counts show the sizes behind those percentages. For a with liye, li, and me, the paper reports 21/21 predicted forms found. For a or wa with ka, ki, and na, it reports 154/183. For a or wa with ki, lipo, and li, it reports 52/70. The complete set of hits for the first of these is a result on that template’s own candidate set. The larger candidate set in the second illustrates how the procedure can make many more predictions while obtaining a lower percentage of search hits. The chart measures search attestation for each pattern’s predictions, with no common candidate list across the bars.

The corpus and web play different roles. The corpus supplies the forms on which the learner builds and merges its templates. A new form can be new to a template because it did not participate in its construction, and some new forms are absent from the corpus itself. The search asks whether predicted spellings turn up in a broader collection. The authors’ judgments address whether the forms seem morphologically sound. Those checks provide complementary evidence, because the status of a spelling on the web and the linguistic analysis assigned to it are different questions.

What reparsing recovers

The reparsing results show words that earlier templates had left unanalyzed alongside examples of stems added to four enlarged patterns. For the pattern allowing a or wa, then ka, ki, or na, the authors list such reparsed forms as akawakweza, akiwa, and anacho. The same row includes additions such as toka, anza, fanya, and enda. The authors gloss anza as “begin” and fanya as “do” and report that the relevant subject and tense combinations derived with these stems give accurate words.

The other rows give the reader a view of the range of additions. The pattern beginning with a and allowing li, liye, or me lists forms such as ameinuka and ameugua among the reparsed words, with examples including zaliwa, kuwa, fanya, and sema in its added inventory. The a or wa pattern with ki, li, and lipo gives alimtoboa, alimtaka, and waliamini as examples of reparsing. It lists additions such as pata, kuwa, kaa, fanya, and chukua. The a pattern with na, naye, and ta lists analazwa, atanitukuza, and anakuita among the forms brought within reach. These are examples from the respective rows, whose lists are presented as samples.

The examples show the two directions in which the additional inventory matters. A newly recognized candidate makes it possible to explain observed forms using a grammatical frame that has already been established. The same candidate then enters other combinations supplied by that frame. The paper reports this part through examples of words and additions. It gives no overall boundary score or corpus coverage figure for the reparsing stage. Its numerical search results apply to the template merger experiment, while the reparsing evidence is an account of particular successful extensions.

What the ablations show

The boundary repair has a direct comparison

The clearest controlled comparison applies the boundary disambiguation procedure and compares the resulting boundaries with those obtained without it. Both conditions use the edit-distance approach, so the comparison asks what changes when the learner is allowed to reassign ambiguous material between successive slots. The authors plot precision and recall as progressively larger portions of the robustness-ranked templates are included. The first point concerns the top 10% and the next point the top 20%. The ranking is part of the evaluation design because the authors consider the strongest templates more reliable.

A cumulative comparison is helpful here because taking only the highest-ranked templates restricts the set of analyses under consideration. As the evaluation incorporates more templates, it may gain boundaries that the first group did not propose and inherit mistakes from weaker patterns. Looking at precision and recall over that progression shows how the repair behaves as more of the proposed morphology is admitted. A single result at an unspecified portion of the ranking would leave the relationship between reliability and coverage harder to read.

The authors describe the repair as correcting almost 50% of the previous errors and increasing recall by about 10%. These are their descriptions of the effect in the ranked-template comparison. The reported recall change remains in their wording because the prose does not specify a percentage-point conversion or a single cutoff to which the figure applies. The precision and recall plots and the discussion support the conclusion that the boundary redistribution improves both measures in the comparison.

The improvement makes sense given what the intervention changes. The exact same spelling can support multiple placements of a cut. Reassigning shared letters changes which positions are predicted as boundaries, even when the template still generates the same words. Moving the k from the end of ak to the start of ka or ki makes one previous cut disappear and introduces a cut at a different position. A correct reassignment can remove an incorrect proposal and recover a missed boundary in the same word. The evaluation is able to register both effects.

The procedure tested in this comparison includes the small-inventory decision and the decision based on weights collected across templates. The paper gives examples of what the repair produces, with the ka and ki case providing a clear instance of agreement with the authors’ analysis. It does not give separate measured effects for the two decisions. The comparison supports the repair as a combined intervention. It leaves the contribution of each decision and its behavior under different conditions unquantified.

The wali example shows why the aggregate improvement can coexist with residual problems. Dividing it into wa and li recovers a meaningful cut for forms with the ordinary tense marker. A form containing lipo still needs an additional cut. The procedure can improve scores by putting a more useful boundary in a frequently recurring pattern while retaining a less frequent error. An increase in the number of correct cuts and the completeness of a word’s morphological analysis are related outcomes measured at different levels.

The baselines test the discovery heuristic as a whole

The comparison with SF and PF shows how the full initial SED heuristic performs against two alternatives for finding boundaries. The two baselines offer a directional check. PF’s stronger performance than SF agrees with the authors’ argument about the importance of prefixation for this vocabulary. SED’s higher performance shows what the full alignment-based procedure achieves on the same task. The comparison includes the variation in what evidence each procedure considers, how it represents that evidence, and how it turns evidence into a candidate cut.

Several narrower questions remain open within that comparison. For instance, the experiment does not assign separate scores to cuts found through initially identical endings and cuts found through a shared beginning and ending together. It also gives no comparison of alternative alignment costs. A reader can see where the proposed advantage of pairwise alignment comes from in examples such as anapenda and anamupenda. The aggregate comparison measures the boundary decisions made by the procedure that uses those alignments.

Robustness is similarly evaluated through its role in the procedure. The paper shows examples of the highest-ranked templates and uses the ranking in the boundary plots. That lets the reader see what kind of structure a large saving can highlight and how the comparison changes as it admits lower-ranked material. A ranking based on other criteria was not evaluated alongside it. The paper gives empirical descriptions of the patterns it emphasizes and motivates the score by the amount of shared spelling that the templates capture.

Merger and reparsing tests ask different questions

The merger experiment examines the particular forms that become available when the procedure pools similar templates. The original templates are the immediate point of comparison because their productions show which choices were available before the merger. Looking at the added strings tells the reader whether the relaxed overlap conditions can preserve a coherent subject and tense pattern beyond the original evidence. The reported search results show that many of the new predictions have independent spelling attestations. The inspection of the patterns also reveals that po may still occupy a combined slot.

This analysis evaluates the consequences of the chosen merging rule. There is no measured curve for relaxing the stem overlap requirement or allowing a larger grammatical difference. The rows of the search experiment change which templates are merged, and their prediction sets vary accordingly. Their differing search rates therefore characterize the outcomes for those specific inputs. They cannot isolate the effect of one similarity condition. The paper’s claim is that the conservative procedure it tried finds several useful larger patterns in this corpus.

Reparsing provides a further kind of check. The authors identify forms overlooked by the established templates and show how the addition of stems makes them derivable. Since the candidate stem needs support from 3 distinct observed words, finding some newly covered forms is part of the criterion by which additions are made. The examples show what that criterion yields, and the authors’ discussion of combinations with anza and fanya considers the forms enabled by the addition. There is no aggregate comparison of reparsing on and off. There is also no comparison of the distinct-word threshold with other choices. The evidence for this refinement is the set of demonstrated extensions and the authors’ judgment about the resulting words.

Limitations

Limits the authors identify

The authors locate their detailed evaluation in Swahili and say the value of the heuristic should ultimately be tested over a wider range of languages with complex concatenative morphology. In such morphology pieces can be put together in sequence, the organization their automata represent. They report having also applied the method to English, Hungarian, and Finnish. For English they describe performance as comparable to SF and PF and say the edit-distance approach is slower. For Hungarian and Finnish they characterize the results as promising and single out a possible comparison with the Finnish work of Creutz and Lagus. The comparative scores and detailed template analyses presented here concern Swahili.

They also identify a limit of the original exact-generation requirement. A useful pattern may license a large set of combinations whose members have uneven chances of occurring in a finite text. Requiring the complete set can keep the learner from recognizing a template even when there is repeated evidence for its structure. Relaxed merging and reparsing are the paper’s responses. The authors describe feeding templates enriched by reparsing back into the merger as future work. The reported experiment shows that parsers can acquire more stems and that mergers can generate new forms. It leaves open how much additional merging would result from repeatedly combining the two refinements.

The authors flag the interpretation of their predictions. They identify themselves as non-native speakers and supplement their inspection with searches. They also draw attention to the unresolved position of the subordinate-clause marker po. In the affected pattern, the label offered by the tense position can include it, while the linguistic account they give calls for another position. This is a specific case where the small automaton captures the broad arrangement and the analysis still needs another distinction.

Their motivation for screening word pairs is another explicit constraint. The dynamic programming operation is relatively slow, and the authors use preliminary heuristics to cut down the number of pairs that reach it. The paper directs readers to a technical report for those details. The stated costs describe how surviving pairs are aligned. A complete account of which pairs supply evidence also depends on the screening choices. The reported application establishes practicality for the vocabulary used in the Swahili experiments. It gives no measured scaling results for larger vocabularies.

Limits of what the setup establishes

The principal Swahili corpus comes from a single translation. Its size is given and its origin is identified, but the paper offers no separate evaluation on another Swahili text or register. Every initial contrast depends on which word forms happen to be present together. The same dependence is especially strong for a template whose combinations must all be attested. A different collection could change which contrasts are available, which templates rank highly, and which stems meet the test for addition. The web check extends the search for particular spellings and leaves the coverage of the discovery procedure on other Swahili corpora open.

Much of the later evaluation reuses the discovery corpus. In reparsing, the learner deliberately returns to words that only partly fit its established patterns. This tests whether a robust template can extract more structure from the same material. An evaluation of prediction on a separately designated set of words would answer a different question. It would help measure how well templates and stem additions carry over to forms whose occurrence was unavailable when the decisions were made. The paper’s reparsing samples concern recovery of forms within the original corpus.

The precision and recall figures evaluate boundaries. The scope of that outcome is narrower than the recovery of each morpheme’s identity and function across all words. A correct boundary can be found without assigning a grammatical role to either piece. A continuation may contain more than one morpheme even though it appears as a single choice in a productive template. The top-ranked pattern’s 246 polymorphemic continuations are an explicit instance of the latter. The reported boundary comparison and the examined templates show progress at the levels they measure. They leave a full analysis of the continuations outside the demonstrated result.

The representation also shapes the possible discoveries. A sequential automaton draws its choices from ordered inventories and makes every full path available. In the initial stage, this independence is backed by observing all of the paths for a given set of forms. In later stages, independence is an inference from similarity and support. If particular combinations require conditions beyond the order and membership of the inventories, a template with independent positions can generate them anyway. The conservative merger reduces the extent of the extrapolation by demanding overlapping stems and grammatical agreement. It still permits combinations whose well-formedness must be checked afterward.

The inventory size rule is a practical way to compare small marker sets with larger continuation sets. The thresholds of five or fewer and six or more define the method’s treatment of a production in the merger. They are not an independent linguistic test of what each label contains. A short inventory of lexical material or an extensive set of grammatical variants would challenge the intended correspondence. The paper gives evidence that the rule is useful for the mergers it reports. It does not measure the stability of the results across alternative cutoffs.

Finally, a search hit confirms the kind of attestation measured by the Yahoo experiment. It supplies an occurrence of a spelling in the search collection. It leaves open whether that occurrence uses the interpretation assigned by the template and whether the proposed internal cuts are the correct ones. Conversely, failure to retrieve a spelling leaves open whether the word could be formed. The study combines search with the authors’ inspection, and each addresses a different part of the prediction. The 87% figure is consequently a result about retrieval of the predicted forms under the paper’s check. The evidence about the grammar comes from considering those attestations together with the structure of the mergers and the authors’ analyses.

What came after

Unsupervised Learning of Morphology (2011) cites the Swahili paper, carrying the edit-distance study into later work on the broader problem of learning morphology from unannotated data. The documented connection is the citation. It establishes that the study was taken up in discussion of this research area. A more specific claim about reuse of the alignment procedure, the automata, or the Swahili evaluation remains unestablished.

Cite

Cite as Yu Hu, Irina Matveeva, John Goldsmith and Colin Sprague. 2005. Refining the SED Heuristic for Morpheme Discovery: Another Look at Swahili. Proceedings of the Workshop on Psychocomputational Models of Human Language Acquisition.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{hu2005refining,
  title = {{Refining the SED Heuristic for Morpheme Discovery: Another Look at Swahili}},
  author = {Yu Hu, Irina Matveeva, John Goldsmith and Colin Sprague},
  booktitle = {Proceedings of the Workshop on Psychocomputational Models of Human Language Acquisition},
  year = {2005},
  url = {https://aclanthology.org/W05-0504/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/hu-2005-refining-sed-heuristic-morpheme-discovery/