Starting with the intersection of ef and fe alignment one by one and finding the square neighbors including the union and intersection, recursively.

1 | ```
squareN(fe, ef, n_row)
``` |

`fe` |
an integer vector. |

`ef` |
an integer vector. |

`n_row` |
an integer. Number of rows of an initial matrix. |

An integer vector.

Neda Daneshgar and Majid Sarmad.

Koehn P. (2010), "Statistical Machine Translation.", Cambridge University, New York.

1 2 3 4 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.