summaryrefslogtreecommitdiffstats
path: root/src/align.rs
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2019-08-04 00:05:19 -0700
committerDan Davison <dandavison7@gmail.com>2019-08-06 23:05:52 -0700
commit1bb19ef8ba6af230df1148c86ccec240a03f8f89 (patch)
treea5d9af5754186592bb5643ae7eface53bd1a7808 /src/align.rs
parent41c43314da3cee8bbaa98c1deff0e7c45646b28d (diff)
Align tokenized string instead of characters/graphemes
Thanks @clnoll
Diffstat (limited to 'src/align.rs')
-rw-r--r--src/align.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/align.rs b/src/align.rs
index 9a3978cc..ee1052f2 100644
--- a/src/align.rs
+++ b/src/align.rs
@@ -3,7 +3,6 @@ use std::cmp::{max, min};
/// Needleman-Wunsch / Wagner-Fischer table for computation of edit distance and associated
/// alignment.
pub struct Alignment<'a> {
- // Inputs to be aligned are vecs derived from grapheme_indices().
pub xx: Vec<(usize, &'a str)>,
pub yy: Vec<(usize, &'a str)>,
table: Vec<usize>,