Skip to content

Commit

Permalink
fixed typo in description 'farsi' -> 'hebrew'
Browse files Browse the repository at this point in the history
  • Loading branch information
eklem authored Mar 7, 2019
1 parent b7b0081 commit e66e145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ describe('general stopwordiness:', function () {
newString.should.eql([ 'در' ,'این' ,'بیانیه' ,'آمده' ,'است' ,'که' ,'اتو' ,'قادر' ,'به' ,'صحبت' ,'کردن،' ,'قادر' ,'به' ,'دیدن' ,'قادر' ,'به', 'عکس' ,'العمل' ,'نشان' ,'دادن' ,'به' ,'درخواست' ,'های' ,'شفاهی' ,'نبود' ])
})

it('should remove farsi stopwords and preserve case', function () {
it('should remove hebrew stopwords and preserve case', function () {
const oldString = 'אז מה קורה חברים אני מחר הולך לטייל בבוקר'.split(' ')
const newString = sw.removeStopwords(oldString, sw.he)
newString.should.eql([ 'קורה', 'חברים', 'מחר', 'הולך', 'לטייל', 'בבוקר' ])
Expand Down

0 comments on commit e66e145

Please sign in to comment.