Skip to content

Commit fb048d1

Browse files
committed
example for align hyphen words added
1 parent 35f4bc6 commit fb048d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
2+
# -*- coding: utf-8 -*-
33
from wordAligner import *
44

5-
sentence1 = "UAE is one of biggest country in the world."
6-
sentence2 = "Many people are living in United Arab Emirates"
5+
sentence1 = "UAE is really well-designed country in the world. US is powerful country"
6+
sentence2 = "Really well designed is United Arab Emirates. But United States is more populated"
77

88
print "sentence1 = ", sentence1
99
print "sentence2 = ", sentence2
1010

1111
if __name__ == '__main__':
1212

1313
processing = Aligner()
14-
print "Words alignment ", processing.align_sentences(sentence1,sentence2)
14+
processing.align_sentences(sentence1,sentence2)

0 commit comments

Comments
 (0)