natural 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +7 -0
- package/README.md +3 -3
- package/lib/natural/inflectors/present_verb_inflector.js +1 -0
- package/lib/natural/phonetics/double_metaphone.js +9 -4
- package/lib/natural/phonetics/metaphone.js +4 -0
- package/lib/natural/phonetics/soundex.js +11 -7
- package/lib/natural/stemmers/porter_stemmer.js +90 -62
- package/lib/natural/stemmers/porter_stemmer_pt.js +302 -0
- package/lib/natural/stemmers/stemmer_pt.js +65 -0
- package/lib/natural/stemmers/token.js +163 -0
- package/lib/natural/util/stopwords_pt.js +136 -0
- package/package.json +2 -2
- package/spec/double_metaphone_spec.js +10 -1
- package/spec/metaphone_spec.js +5 -0
- package/spec/porter_stemmer_pt_spec.js +50 -0
- package/spec/porter_stemmer_spec.js +45 -0
- package/spec/present_verb_inflector_spec.js +3 -0
- package/spec/soundex_spec.js +13 -9
- package/spec/stemmer_token_spec.js +161 -0
- package/spec/test_data/snowball_pt.txt +32016 -0
- package/coverage/coverage.json +0 -1
- package/coverage/lcov-report/index.html +0 -584
- package/coverage/lcov-report/io_spec/index.html +0 -350
- package/coverage/lcov-report/io_spec/tfidf_spec.js.html +0 -469
- package/coverage/lcov-report/lib/natural/analyzers/index.html +0 -350
- package/coverage/lcov-report/lib/natural/analyzers/sentence_analyzer.js.html +0 -850
- package/coverage/lcov-report/lib/natural/classifiers/bayes_classifier.js.html +0 -496
- package/coverage/lcov-report/lib/natural/classifiers/classifier.js.html +0 -823
- package/coverage/lcov-report/lib/natural/classifiers/index.html +0 -376
- package/coverage/lcov-report/lib/natural/classifiers/logistic_regression_classifier.js.html +0 -502
- package/coverage/lcov-report/lib/natural/distance/dice_coefficient.js.html +0 -529
- package/coverage/lcov-report/lib/natural/distance/index.html +0 -376
- package/coverage/lcov-report/lib/natural/distance/jaro-winkler_distance.js.html +0 -670
- package/coverage/lcov-report/lib/natural/distance/levenshtein_distance.js.html +0 -526
- package/coverage/lcov-report/lib/natural/index.html +0 -350
- package/coverage/lcov-report/lib/natural/index.js.html +0 -547
- package/coverage/lcov-report/lib/natural/inflectors/count_inflector.js.html +0 -484
- package/coverage/lcov-report/lib/natural/inflectors/form_set.js.html +0 -406
- package/coverage/lcov-report/lib/natural/inflectors/fr/count_inflector.js.html +0 -520
- package/coverage/lcov-report/lib/natural/inflectors/fr/index.html +0 -363
- package/coverage/lcov-report/lib/natural/inflectors/fr/noun_inflector.js.html +0 -1027
- package/coverage/lcov-report/lib/natural/inflectors/index.html +0 -402
- package/coverage/lcov-report/lib/natural/inflectors/ja/index.html +0 -350
- package/coverage/lcov-report/lib/natural/inflectors/ja/noun_inflector.js.html +0 -727
- package/coverage/lcov-report/lib/natural/inflectors/noun_inflector.js.html +0 -637
- package/coverage/lcov-report/lib/natural/inflectors/present_verb_inflector.js.html +0 -544
- package/coverage/lcov-report/lib/natural/inflectors/singular_plural_inflector.js.html +0 -649
- package/coverage/lcov-report/lib/natural/ngrams/index.html +0 -363
- package/coverage/lcov-report/lib/natural/ngrams/ngrams.js.html +0 -595
- package/coverage/lcov-report/lib/natural/ngrams/ngrams_zh.js.html +0 -571
- package/coverage/lcov-report/lib/natural/normalizers/index.html +0 -389
- package/coverage/lcov-report/lib/natural/normalizers/normalizer.js.html +0 -607
- package/coverage/lcov-report/lib/natural/normalizers/normalizer_ja.js.html +0 -2194
- package/coverage/lcov-report/lib/natural/normalizers/normalizer_no.js.html +0 -496
- package/coverage/lcov-report/lib/natural/normalizers/remove_diacritics.js.html +0 -685
- package/coverage/lcov-report/lib/natural/phonetics/dm_soundex.js.html +0 -1063
- package/coverage/lcov-report/lib/natural/phonetics/double_metaphone.js.html +0 -1840
- package/coverage/lcov-report/lib/natural/phonetics/index.html +0 -402
- package/coverage/lcov-report/lib/natural/phonetics/metaphone.js.html +0 -886
- package/coverage/lcov-report/lib/natural/phonetics/phonetic.js.html +0 -484
- package/coverage/lcov-report/lib/natural/phonetics/soundex.js.html +0 -562
- package/coverage/lcov-report/lib/natural/spellcheck/index.html +0 -350
- package/coverage/lcov-report/lib/natural/spellcheck/spellcheck.js.html +0 -562
- package/coverage/lcov-report/lib/natural/stemmers/index.html +0 -571
- package/coverage/lcov-report/lib/natural/stemmers/lancaster_rules.js.html +0 -2692
- package/coverage/lcov-report/lib/natural/stemmers/lancaster_stemmer.js.html +0 -544
- package/coverage/lcov-report/lib/natural/stemmers/porter_stemmer.js.html +0 -937
- package/coverage/lcov-report/lib/natural/stemmers/porter_stemmer_es.js.html +0 -985
- package/coverage/lcov-report/lib/natural/stemmers/porter_stemmer_fa.js.html +0 -418
- package/coverage/lcov-report/lib/natural/stemmers/porter_stemmer_fr.js.html +0 -1450
- package/coverage/lcov-report/lib/natural/stemmers/porter_stemmer_it.js.html +0 -1018
- package/coverage/lcov-report/lib/natural/stemmers/porter_stemmer_no.js.html +0 -784
- package/coverage/lcov-report/lib/natural/stemmers/porter_stemmer_ru.js.html +0 -775
- package/coverage/lcov-report/lib/natural/stemmers/stemmer.js.html +0 -505
- package/coverage/lcov-report/lib/natural/stemmers/stemmer_es.js.html +0 -496
- package/coverage/lcov-report/lib/natural/stemmers/stemmer_fa.js.html +0 -484
- package/coverage/lcov-report/lib/natural/stemmers/stemmer_fr.js.html +0 -496
- package/coverage/lcov-report/lib/natural/stemmers/stemmer_it.js.html +0 -427
- package/coverage/lcov-report/lib/natural/stemmers/stemmer_ja.js.html +0 -736
- package/coverage/lcov-report/lib/natural/stemmers/stemmer_no.js.html +0 -505
- package/coverage/lcov-report/lib/natural/stemmers/stemmer_pl.js.html +0 -496
- package/coverage/lcov-report/lib/natural/stemmers/stemmer_ru.js.html +0 -496
- package/coverage/lcov-report/lib/natural/tfidf/index.html +0 -350
- package/coverage/lcov-report/lib/natural/tfidf/tfidf.js.html +0 -904
- package/coverage/lcov-report/lib/natural/tokenizers/aggressive_tokenizer.js.html +0 -430
- package/coverage/lcov-report/lib/natural/tokenizers/aggressive_tokenizer_es.js.html +0 -430
- package/coverage/lcov-report/lib/natural/tokenizers/aggressive_tokenizer_fa.js.html +0 -466
- package/coverage/lcov-report/lib/natural/tokenizers/aggressive_tokenizer_fr.js.html +0 -430
- package/coverage/lcov-report/lib/natural/tokenizers/aggressive_tokenizer_it.js.html +0 -430
- package/coverage/lcov-report/lib/natural/tokenizers/aggressive_tokenizer_nl.js.html +0 -430
- package/coverage/lcov-report/lib/natural/tokenizers/aggressive_tokenizer_no.js.html +0 -439
- package/coverage/lcov-report/lib/natural/tokenizers/aggressive_tokenizer_pl.js.html +0 -457
- package/coverage/lcov-report/lib/natural/tokenizers/aggressive_tokenizer_pt.js.html +0 -442
- package/coverage/lcov-report/lib/natural/tokenizers/aggressive_tokenizer_ru.js.html +0 -457
- package/coverage/lcov-report/lib/natural/tokenizers/index.html +0 -519
- package/coverage/lcov-report/lib/natural/tokenizers/regexp_tokenizer.js.html +0 -580
- package/coverage/lcov-report/lib/natural/tokenizers/tokenizer.js.html +0 -475
- package/coverage/lcov-report/lib/natural/tokenizers/tokenizer_ja.js.html +0 -1153
- package/coverage/lcov-report/lib/natural/tokenizers/treebank_word_tokenizer.js.html +0 -544
- package/coverage/lcov-report/lib/natural/transliterators/ja/index.html +0 -350
- package/coverage/lcov-report/lib/natural/transliterators/ja/index.js.html +0 -2068
- package/coverage/lcov-report/lib/natural/trie/index.html +0 -350
- package/coverage/lcov-report/lib/natural/trie/trie.js.html +0 -1012
- package/coverage/lcov-report/lib/natural/util/bag.js.html +0 -472
- package/coverage/lcov-report/lib/natural/util/edge_weighted_digraph.js.html +0 -658
- package/coverage/lcov-report/lib/natural/util/index.html +0 -532
- package/coverage/lcov-report/lib/natural/util/longest_path_tree.js.html +0 -619
- package/coverage/lcov-report/lib/natural/util/shortest_path_tree.js.html +0 -622
- package/coverage/lcov-report/lib/natural/util/stopwords.js.html +0 -445
- package/coverage/lcov-report/lib/natural/util/stopwords_es.js.html +0 -430
- package/coverage/lcov-report/lib/natural/util/stopwords_fa.js.html +0 -436
- package/coverage/lcov-report/lib/natural/util/stopwords_fr.js.html +0 -904
- package/coverage/lcov-report/lib/natural/util/stopwords_it.js.html +0 -478
- package/coverage/lcov-report/lib/natural/util/stopwords_ja.js.html +0 -499
- package/coverage/lcov-report/lib/natural/util/stopwords_no.js.html +0 -445
- package/coverage/lcov-report/lib/natural/util/stopwords_pl.js.html +0 -508
- package/coverage/lcov-report/lib/natural/util/stopwords_ru.js.html +0 -445
- package/coverage/lcov-report/lib/natural/util/topological.js.html +0 -616
- package/coverage/lcov-report/lib/natural/util/utils.js.html +0 -679
- package/coverage/lcov-report/lib/natural/wordnet/data_file.js.html +0 -580
- package/coverage/lcov-report/lib/natural/wordnet/index.html +0 -389
- package/coverage/lcov-report/lib/natural/wordnet/index_file.js.html +0 -742
- package/coverage/lcov-report/lib/natural/wordnet/wordnet.js.html +0 -829
- package/coverage/lcov-report/lib/natural/wordnet/wordnet_file.js.html +0 -529
- package/coverage/lcov-report/natural/analyzers/index.html +0 -350
- package/coverage/lcov-report/natural/analyzers/sentence_analyzer.js.html +0 -850
- package/coverage/lcov-report/natural/classifiers/bayes_classifier.js.html +0 -496
- package/coverage/lcov-report/natural/classifiers/classifier.js.html +0 -823
- package/coverage/lcov-report/natural/classifiers/index.html +0 -376
- package/coverage/lcov-report/natural/classifiers/logistic_regression_classifier.js.html +0 -502
- package/coverage/lcov-report/natural/distance/dice_coefficient.js.html +0 -529
- package/coverage/lcov-report/natural/distance/index.html +0 -376
- package/coverage/lcov-report/natural/distance/jaro-winkler_distance.js.html +0 -670
- package/coverage/lcov-report/natural/distance/levenshtein_distance.js.html +0 -526
- package/coverage/lcov-report/natural/index.html +0 -350
- package/coverage/lcov-report/natural/index.js.html +0 -433
- package/coverage/lcov-report/natural/inflectors/count_inflector.js.html +0 -484
- package/coverage/lcov-report/natural/inflectors/form_set.js.html +0 -406
- package/coverage/lcov-report/natural/inflectors/fr/index.html +0 -350
- package/coverage/lcov-report/natural/inflectors/fr/noun_inflector.js.html +0 -1027
- package/coverage/lcov-report/natural/inflectors/index.html +0 -402
- package/coverage/lcov-report/natural/inflectors/ja/index.html +0 -350
- package/coverage/lcov-report/natural/inflectors/ja/noun_inflector.js.html +0 -727
- package/coverage/lcov-report/natural/inflectors/noun_inflector.js.html +0 -637
- package/coverage/lcov-report/natural/inflectors/present_verb_inflector.js.html +0 -544
- package/coverage/lcov-report/natural/inflectors/singular_plural_inflector.js.html +0 -649
- package/coverage/lcov-report/natural/lib/natural/analyzers/index.html +0 -350
- package/coverage/lcov-report/natural/lib/natural/analyzers/sentence_analyzer.js.html +0 -850
- package/coverage/lcov-report/natural/lib/natural/classifiers/bayes_classifier.js.html +0 -496
- package/coverage/lcov-report/natural/lib/natural/classifiers/classifier.js.html +0 -823
- package/coverage/lcov-report/natural/lib/natural/classifiers/index.html +0 -376
- package/coverage/lcov-report/natural/lib/natural/classifiers/logistic_regression_classifier.js.html +0 -502
- package/coverage/lcov-report/natural/lib/natural/distance/dice_coefficient.js.html +0 -529
- package/coverage/lcov-report/natural/lib/natural/distance/index.html +0 -376
- package/coverage/lcov-report/natural/lib/natural/distance/jaro-winkler_distance.js.html +0 -670
- package/coverage/lcov-report/natural/lib/natural/distance/levenshtein_distance.js.html +0 -526
- package/coverage/lcov-report/natural/lib/natural/index.html +0 -350
- package/coverage/lcov-report/natural/lib/natural/index.js.html +0 -547
- package/coverage/lcov-report/natural/lib/natural/inflectors/count_inflector.js.html +0 -484
- package/coverage/lcov-report/natural/lib/natural/inflectors/form_set.js.html +0 -406
- package/coverage/lcov-report/natural/lib/natural/inflectors/fr/index.html +0 -350
- package/coverage/lcov-report/natural/lib/natural/inflectors/fr/noun_inflector.js.html +0 -1027
- package/coverage/lcov-report/natural/lib/natural/inflectors/index.html +0 -402
- package/coverage/lcov-report/natural/lib/natural/inflectors/ja/index.html +0 -350
- package/coverage/lcov-report/natural/lib/natural/inflectors/ja/noun_inflector.js.html +0 -727
- package/coverage/lcov-report/natural/lib/natural/inflectors/noun_inflector.js.html +0 -637
- package/coverage/lcov-report/natural/lib/natural/inflectors/present_verb_inflector.js.html +0 -544
- package/coverage/lcov-report/natural/lib/natural/inflectors/singular_plural_inflector.js.html +0 -649
- package/coverage/lcov-report/natural/lib/natural/ngrams/index.html +0 -363
- package/coverage/lcov-report/natural/lib/natural/ngrams/ngrams.js.html +0 -595
- package/coverage/lcov-report/natural/lib/natural/ngrams/ngrams_zh.js.html +0 -571
- package/coverage/lcov-report/natural/lib/natural/normalizers/index.html +0 -389
- package/coverage/lcov-report/natural/lib/natural/normalizers/normalizer.js.html +0 -607
- package/coverage/lcov-report/natural/lib/natural/normalizers/normalizer_ja.js.html +0 -2194
- package/coverage/lcov-report/natural/lib/natural/normalizers/normalizer_no.js.html +0 -496
- package/coverage/lcov-report/natural/lib/natural/normalizers/remove_diacritics.js.html +0 -685
- package/coverage/lcov-report/natural/lib/natural/phonetics/dm_soundex.js.html +0 -1063
- package/coverage/lcov-report/natural/lib/natural/phonetics/double_metaphone.js.html +0 -1840
- package/coverage/lcov-report/natural/lib/natural/phonetics/index.html +0 -402
- package/coverage/lcov-report/natural/lib/natural/phonetics/metaphone.js.html +0 -886
- package/coverage/lcov-report/natural/lib/natural/phonetics/phonetic.js.html +0 -484
- package/coverage/lcov-report/natural/lib/natural/phonetics/soundex.js.html +0 -562
- package/coverage/lcov-report/natural/lib/natural/stemmers/index.html +0 -571
- package/coverage/lcov-report/natural/lib/natural/stemmers/lancaster_rules.js.html +0 -2692
- package/coverage/lcov-report/natural/lib/natural/stemmers/lancaster_stemmer.js.html +0 -544
- package/coverage/lcov-report/natural/lib/natural/stemmers/porter_stemmer.js.html +0 -937
- package/coverage/lcov-report/natural/lib/natural/stemmers/porter_stemmer_es.js.html +0 -985
- package/coverage/lcov-report/natural/lib/natural/stemmers/porter_stemmer_fa.js.html +0 -418
- package/coverage/lcov-report/natural/lib/natural/stemmers/porter_stemmer_fr.js.html +0 -1450
- package/coverage/lcov-report/natural/lib/natural/stemmers/porter_stemmer_it.js.html +0 -1018
- package/coverage/lcov-report/natural/lib/natural/stemmers/porter_stemmer_no.js.html +0 -784
- package/coverage/lcov-report/natural/lib/natural/stemmers/porter_stemmer_ru.js.html +0 -775
- package/coverage/lcov-report/natural/lib/natural/stemmers/stemmer.js.html +0 -505
- package/coverage/lcov-report/natural/lib/natural/stemmers/stemmer_es.js.html +0 -496
- package/coverage/lcov-report/natural/lib/natural/stemmers/stemmer_fa.js.html +0 -484
- package/coverage/lcov-report/natural/lib/natural/stemmers/stemmer_fr.js.html +0 -496
- package/coverage/lcov-report/natural/lib/natural/stemmers/stemmer_it.js.html +0 -427
- package/coverage/lcov-report/natural/lib/natural/stemmers/stemmer_ja.js.html +0 -736
- package/coverage/lcov-report/natural/lib/natural/stemmers/stemmer_no.js.html +0 -505
- package/coverage/lcov-report/natural/lib/natural/stemmers/stemmer_pl.js.html +0 -496
- package/coverage/lcov-report/natural/lib/natural/stemmers/stemmer_ru.js.html +0 -496
- package/coverage/lcov-report/natural/lib/natural/tfidf/index.html +0 -350
- package/coverage/lcov-report/natural/lib/natural/tfidf/tfidf.js.html +0 -904
- package/coverage/lcov-report/natural/lib/natural/tokenizers/aggressive_tokenizer.js.html +0 -430
- package/coverage/lcov-report/natural/lib/natural/tokenizers/aggressive_tokenizer_es.js.html +0 -430
- package/coverage/lcov-report/natural/lib/natural/tokenizers/aggressive_tokenizer_fa.js.html +0 -466
- package/coverage/lcov-report/natural/lib/natural/tokenizers/aggressive_tokenizer_fr.js.html +0 -430
- package/coverage/lcov-report/natural/lib/natural/tokenizers/aggressive_tokenizer_it.js.html +0 -430
- package/coverage/lcov-report/natural/lib/natural/tokenizers/aggressive_tokenizer_nl.js.html +0 -430
- package/coverage/lcov-report/natural/lib/natural/tokenizers/aggressive_tokenizer_no.js.html +0 -439
- package/coverage/lcov-report/natural/lib/natural/tokenizers/aggressive_tokenizer_pl.js.html +0 -457
- package/coverage/lcov-report/natural/lib/natural/tokenizers/aggressive_tokenizer_pt.js.html +0 -442
- package/coverage/lcov-report/natural/lib/natural/tokenizers/aggressive_tokenizer_ru.js.html +0 -457
- package/coverage/lcov-report/natural/lib/natural/tokenizers/index.html +0 -519
- package/coverage/lcov-report/natural/lib/natural/tokenizers/regexp_tokenizer.js.html +0 -580
- package/coverage/lcov-report/natural/lib/natural/tokenizers/tokenizer.js.html +0 -475
- package/coverage/lcov-report/natural/lib/natural/tokenizers/tokenizer_ja.js.html +0 -1153
- package/coverage/lcov-report/natural/lib/natural/tokenizers/treebank_word_tokenizer.js.html +0 -544
- package/coverage/lcov-report/natural/lib/natural/transliterators/ja/index.html +0 -350
- package/coverage/lcov-report/natural/lib/natural/transliterators/ja/index.js.html +0 -2068
- package/coverage/lcov-report/natural/lib/natural/trie/index.html +0 -350
- package/coverage/lcov-report/natural/lib/natural/trie/trie.js.html +0 -1012
- package/coverage/lcov-report/natural/lib/natural/util/bag.js.html +0 -472
- package/coverage/lcov-report/natural/lib/natural/util/edge_weighted_digraph.js.html +0 -658
- package/coverage/lcov-report/natural/lib/natural/util/index.html +0 -532
- package/coverage/lcov-report/natural/lib/natural/util/longest_path_tree.js.html +0 -619
- package/coverage/lcov-report/natural/lib/natural/util/shortest_path_tree.js.html +0 -622
- package/coverage/lcov-report/natural/lib/natural/util/stopwords.js.html +0 -445
- package/coverage/lcov-report/natural/lib/natural/util/stopwords_es.js.html +0 -430
- package/coverage/lcov-report/natural/lib/natural/util/stopwords_fa.js.html +0 -436
- package/coverage/lcov-report/natural/lib/natural/util/stopwords_fr.js.html +0 -904
- package/coverage/lcov-report/natural/lib/natural/util/stopwords_it.js.html +0 -478
- package/coverage/lcov-report/natural/lib/natural/util/stopwords_ja.js.html +0 -499
- package/coverage/lcov-report/natural/lib/natural/util/stopwords_no.js.html +0 -445
- package/coverage/lcov-report/natural/lib/natural/util/stopwords_pl.js.html +0 -508
- package/coverage/lcov-report/natural/lib/natural/util/stopwords_ru.js.html +0 -445
- package/coverage/lcov-report/natural/lib/natural/util/topological.js.html +0 -616
- package/coverage/lcov-report/natural/lib/natural/util/utils.js.html +0 -679
- package/coverage/lcov-report/natural/lib/natural/wordnet/data_file.js.html +0 -580
- package/coverage/lcov-report/natural/lib/natural/wordnet/index.html +0 -389
- package/coverage/lcov-report/natural/lib/natural/wordnet/index_file.js.html +0 -742
- package/coverage/lcov-report/natural/lib/natural/wordnet/wordnet.js.html +0 -829
- package/coverage/lcov-report/natural/lib/natural/wordnet/wordnet_file.js.html +0 -529
- package/coverage/lcov-report/natural/ngrams/index.html +0 -363
- package/coverage/lcov-report/natural/ngrams/ngrams.js.html +0 -595
- package/coverage/lcov-report/natural/ngrams/ngrams_zh.js.html +0 -571
- package/coverage/lcov-report/natural/normalizers/index.html +0 -389
- package/coverage/lcov-report/natural/normalizers/normalizer.js.html +0 -607
- package/coverage/lcov-report/natural/normalizers/normalizer_ja.js.html +0 -2194
- package/coverage/lcov-report/natural/normalizers/normalizer_no.js.html +0 -496
- package/coverage/lcov-report/natural/normalizers/remove_diacritics.js.html +0 -685
- package/coverage/lcov-report/natural/phonetics/dm_soundex.js.html +0 -1063
- package/coverage/lcov-report/natural/phonetics/double_metaphone.js.html +0 -1840
- package/coverage/lcov-report/natural/phonetics/index.html +0 -402
- package/coverage/lcov-report/natural/phonetics/metaphone.js.html +0 -886
- package/coverage/lcov-report/natural/phonetics/phonetic.js.html +0 -484
- package/coverage/lcov-report/natural/phonetics/soundex.js.html +0 -562
- package/coverage/lcov-report/natural/stemmers/index.html +0 -571
- package/coverage/lcov-report/natural/stemmers/lancaster_rules.js.html +0 -2692
- package/coverage/lcov-report/natural/stemmers/lancaster_stemmer.js.html +0 -544
- package/coverage/lcov-report/natural/stemmers/porter_stemmer.js.html +0 -937
- package/coverage/lcov-report/natural/stemmers/porter_stemmer_es.js.html +0 -985
- package/coverage/lcov-report/natural/stemmers/porter_stemmer_fa.js.html +0 -418
- package/coverage/lcov-report/natural/stemmers/porter_stemmer_fr.js.html +0 -1450
- package/coverage/lcov-report/natural/stemmers/porter_stemmer_it.js.html +0 -1018
- package/coverage/lcov-report/natural/stemmers/porter_stemmer_no.js.html +0 -784
- package/coverage/lcov-report/natural/stemmers/porter_stemmer_ru.js.html +0 -775
- package/coverage/lcov-report/natural/stemmers/stemmer.js.html +0 -505
- package/coverage/lcov-report/natural/stemmers/stemmer_es.js.html +0 -496
- package/coverage/lcov-report/natural/stemmers/stemmer_fa.js.html +0 -484
- package/coverage/lcov-report/natural/stemmers/stemmer_fr.js.html +0 -496
- package/coverage/lcov-report/natural/stemmers/stemmer_it.js.html +0 -427
- package/coverage/lcov-report/natural/stemmers/stemmer_ja.js.html +0 -736
- package/coverage/lcov-report/natural/stemmers/stemmer_no.js.html +0 -505
- package/coverage/lcov-report/natural/stemmers/stemmer_pl.js.html +0 -496
- package/coverage/lcov-report/natural/stemmers/stemmer_ru.js.html +0 -496
- package/coverage/lcov-report/natural/tfidf/index.html +0 -350
- package/coverage/lcov-report/natural/tfidf/tfidf.js.html +0 -904
- package/coverage/lcov-report/natural/tokenizers/aggressive_tokenizer.js.html +0 -430
- package/coverage/lcov-report/natural/tokenizers/aggressive_tokenizer_es.js.html +0 -430
- package/coverage/lcov-report/natural/tokenizers/aggressive_tokenizer_fa.js.html +0 -466
- package/coverage/lcov-report/natural/tokenizers/aggressive_tokenizer_fr.js.html +0 -430
- package/coverage/lcov-report/natural/tokenizers/aggressive_tokenizer_it.js.html +0 -430
- package/coverage/lcov-report/natural/tokenizers/aggressive_tokenizer_nl.js.html +0 -430
- package/coverage/lcov-report/natural/tokenizers/aggressive_tokenizer_no.js.html +0 -439
- package/coverage/lcov-report/natural/tokenizers/aggressive_tokenizer_pl.js.html +0 -457
- package/coverage/lcov-report/natural/tokenizers/aggressive_tokenizer_pt.js.html +0 -442
- package/coverage/lcov-report/natural/tokenizers/aggressive_tokenizer_ru.js.html +0 -457
- package/coverage/lcov-report/natural/tokenizers/index.html +0 -519
- package/coverage/lcov-report/natural/tokenizers/regexp_tokenizer.js.html +0 -580
- package/coverage/lcov-report/natural/tokenizers/tokenizer.js.html +0 -475
- package/coverage/lcov-report/natural/tokenizers/tokenizer_ja.js.html +0 -1153
- package/coverage/lcov-report/natural/tokenizers/treebank_word_tokenizer.js.html +0 -544
- package/coverage/lcov-report/natural/transliterators/ja/index.html +0 -350
- package/coverage/lcov-report/natural/transliterators/ja/index.js.html +0 -2068
- package/coverage/lcov-report/natural/trie/index.html +0 -350
- package/coverage/lcov-report/natural/trie/trie.js.html +0 -1012
- package/coverage/lcov-report/natural/util/bag.js.html +0 -472
- package/coverage/lcov-report/natural/util/edge_weighted_digraph.js.html +0 -658
- package/coverage/lcov-report/natural/util/index.html +0 -532
- package/coverage/lcov-report/natural/util/longest_path_tree.js.html +0 -619
- package/coverage/lcov-report/natural/util/shortest_path_tree.js.html +0 -622
- package/coverage/lcov-report/natural/util/stopwords.js.html +0 -445
- package/coverage/lcov-report/natural/util/stopwords_es.js.html +0 -430
- package/coverage/lcov-report/natural/util/stopwords_fa.js.html +0 -436
- package/coverage/lcov-report/natural/util/stopwords_fr.js.html +0 -904
- package/coverage/lcov-report/natural/util/stopwords_it.js.html +0 -478
- package/coverage/lcov-report/natural/util/stopwords_ja.js.html +0 -499
- package/coverage/lcov-report/natural/util/stopwords_no.js.html +0 -445
- package/coverage/lcov-report/natural/util/stopwords_pl.js.html +0 -508
- package/coverage/lcov-report/natural/util/stopwords_ru.js.html +0 -445
- package/coverage/lcov-report/natural/util/topological.js.html +0 -616
- package/coverage/lcov-report/natural/util/utils.js.html +0 -679
- package/coverage/lcov-report/natural/wordnet/data_file.js.html +0 -580
- package/coverage/lcov-report/natural/wordnet/index.html +0 -389
- package/coverage/lcov-report/natural/wordnet/index_file.js.html +0 -742
- package/coverage/lcov-report/natural/wordnet/wordnet.js.html +0 -829
- package/coverage/lcov-report/natural/wordnet/wordnet_file.js.html +0 -529
- package/coverage/lcov-report/normalizers/index.html +0 -350
- package/coverage/lcov-report/normalizers/normalizer.js.html +0 -607
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -1
- package/coverage/lcov-report/spec/aggressive_tokenizer_es_spec.js.html +0 -430
- package/coverage/lcov-report/spec/aggressive_tokenizer_fr_spec.js.html +0 -625
- package/coverage/lcov-report/spec/aggressive_tokenizer_nl_spec.js.html +0 -430
- package/coverage/lcov-report/spec/aggressive_tokenizer_pt_spec.js.html +0 -490
- package/coverage/lcov-report/spec/aggressive_tokenizer_spec.js.html +0 -490
- package/coverage/lcov-report/spec/bayes_classifier_spec.js.html +0 -841
- package/coverage/lcov-report/spec/classifier_spec.js.html +0 -847
- package/coverage/lcov-report/spec/count_inflector_fr_spec.js.html +0 -454
- package/coverage/lcov-report/spec/count_inflector_spec.js.html +0 -538
- package/coverage/lcov-report/spec/dice_coefficient_spec.js.html +0 -400
- package/coverage/lcov-report/spec/double_metaphone_spec.js.html +0 -2548
- package/coverage/lcov-report/spec/index.html +0 -883
- package/coverage/lcov-report/spec/jaro-winkler_spec.js.html +0 -481
- package/coverage/lcov-report/spec/lancaster_stemmer_spec.js.html +0 -541
- package/coverage/lcov-report/spec/levenshtein_spec.js.html +0 -520
- package/coverage/lcov-report/spec/logistic_regression_classifier_spec.js.html +0 -688
- package/coverage/lcov-report/spec/longest_path_tree_spec.js.html +0 -628
- package/coverage/lcov-report/spec/metaphone_spec.js.html +0 -1063
- package/coverage/lcov-report/spec/ngram_spec.js.html +0 -712
- package/coverage/lcov-report/spec/ngram_zh_spec.js.html +0 -688
- package/coverage/lcov-report/spec/normalizer_ja_spec.js.html +0 -802
- package/coverage/lcov-report/spec/normalizer_no_spec.js.html +0 -655
- package/coverage/lcov-report/spec/normalizer_spec.js.html +0 -742
- package/coverage/lcov-report/spec/noun_inflector_fr_spec.js.html +0 -1750
- package/coverage/lcov-report/spec/noun_inflector_ja_spec.js.html +0 -658
- package/coverage/lcov-report/spec/noun_inflector_spec.js.html +0 -1132
- package/coverage/lcov-report/spec/porter_stemmer_fr_spec.js.html +0 -625
- package/coverage/lcov-report/spec/porter_stemmer_it_spec.js.html +0 -454
- package/coverage/lcov-report/spec/porter_stemmer_no_spec.js.html +0 -751
- package/coverage/lcov-report/spec/porter_stemmer_ru_spec.js.html +0 -511
- package/coverage/lcov-report/spec/porter_stemmer_spec.js.html +0 -733
- package/coverage/lcov-report/spec/present_verb_inflector_spec.js.html +0 -697
- package/coverage/lcov-report/spec/remove_diacritics_spec.js.html +0 -415
- package/coverage/lcov-report/spec/sentence_analyzer_spec.js.html +0 -1153
- package/coverage/lcov-report/spec/shortest_path_tree_spec.js.html +0 -718
- package/coverage/lcov-report/spec/soundex_spec.js.html +0 -784
- package/coverage/lcov-report/spec/spellcheck_spec.js.html +0 -598
- package/coverage/lcov-report/spec/stemmer_ja_spec.js.html +0 -520
- package/coverage/lcov-report/spec/tfidf_spec.js.html +0 -1288
- package/coverage/lcov-report/spec/tokenizer_ja_spec.js.html +0 -496
- package/coverage/lcov-report/spec/transliterator_ja_spec.js.html +0 -631
- package/coverage/lcov-report/spec/treebank_word_tokenizer_spec.js.html +0 -430
- package/coverage/lcov-report/spec/trie_spec.js.html +0 -940
- package/coverage/lcov-report/util/index.html +0 -350
- package/coverage/lcov-report/util/utils.js.html +0 -679
- package/coverage/lcov.info +0 -11094
- package/lib/natural/parsers/Agenda.js +0 -68
- package/lib/natural/parsers/CYKParser.js +0 -87
- package/lib/natural/parsers/CYK_Item.js +0 -159
- package/lib/natural/parsers/Chart.js +0 -211
- package/lib/natural/parsers/ChartParser.js +0 -60
- package/lib/natural/parsers/DoubleDottedItem.js +0 -226
- package/lib/natural/parsers/EarleyItem.js +0 -155
- package/lib/natural/parsers/EarleyParser.js +0 -58
- package/lib/natural/parsers/FunctionWordTagger.js +0 -84
- package/lib/natural/parsers/GoalItem.js +0 -206
- package/lib/natural/parsers/GrammarParser.js +0 -1289
- package/lib/natural/parsers/HeadCornerParser.js +0 -101
- package/lib/natural/parsers/LeftCornerParser.js +0 -58
- package/lib/natural/parsers/PEG-grammar-for-unification-grammar.txt +0 -345
|
@@ -1,1750 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<title>Code coverage report for spec/noun_inflector_fr_spec.js</title>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
|
|
7
|
-
<link rel="stylesheet" href="../prettify.css">
|
|
8
|
-
|
|
9
|
-
<style>
|
|
10
|
-
body, html {
|
|
11
|
-
margin:0; padding: 0;
|
|
12
|
-
}
|
|
13
|
-
body {
|
|
14
|
-
font-family: Helvetica Neue, Helvetica,Arial;
|
|
15
|
-
font-size: 10pt;
|
|
16
|
-
}
|
|
17
|
-
div.header, div.footer {
|
|
18
|
-
background: #eee;
|
|
19
|
-
padding: 1em;
|
|
20
|
-
}
|
|
21
|
-
div.header {
|
|
22
|
-
z-index: 100;
|
|
23
|
-
position: fixed;
|
|
24
|
-
top: 0;
|
|
25
|
-
border-bottom: 1px solid #666;
|
|
26
|
-
width: 100%;
|
|
27
|
-
}
|
|
28
|
-
div.footer {
|
|
29
|
-
border-top: 1px solid #666;
|
|
30
|
-
}
|
|
31
|
-
div.body {
|
|
32
|
-
margin-top: 10em;
|
|
33
|
-
}
|
|
34
|
-
div.meta {
|
|
35
|
-
font-size: 90%;
|
|
36
|
-
text-align: center;
|
|
37
|
-
}
|
|
38
|
-
h1, h2, h3 {
|
|
39
|
-
font-weight: normal;
|
|
40
|
-
}
|
|
41
|
-
h1 {
|
|
42
|
-
font-size: 12pt;
|
|
43
|
-
}
|
|
44
|
-
h2 {
|
|
45
|
-
font-size: 10pt;
|
|
46
|
-
}
|
|
47
|
-
pre {
|
|
48
|
-
font-family: Consolas, Menlo, Monaco, monospace;
|
|
49
|
-
margin: 0;
|
|
50
|
-
padding: 0;
|
|
51
|
-
line-height: 14px;
|
|
52
|
-
font-size: 14px;
|
|
53
|
-
-moz-tab-size: 2;
|
|
54
|
-
-o-tab-size: 2;
|
|
55
|
-
tab-size: 2;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
div.path { font-size: 110%; }
|
|
59
|
-
div.path a:link, div.path a:visited { color: #000; }
|
|
60
|
-
table.coverage { border-collapse: collapse; margin:0; padding: 0 }
|
|
61
|
-
|
|
62
|
-
table.coverage td {
|
|
63
|
-
margin: 0;
|
|
64
|
-
padding: 0;
|
|
65
|
-
color: #111;
|
|
66
|
-
vertical-align: top;
|
|
67
|
-
}
|
|
68
|
-
table.coverage td.line-count {
|
|
69
|
-
width: 50px;
|
|
70
|
-
text-align: right;
|
|
71
|
-
padding-right: 5px;
|
|
72
|
-
}
|
|
73
|
-
table.coverage td.line-coverage {
|
|
74
|
-
color: #777 !important;
|
|
75
|
-
text-align: right;
|
|
76
|
-
border-left: 1px solid #666;
|
|
77
|
-
border-right: 1px solid #666;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
table.coverage td.text {
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
table.coverage td span.cline-any {
|
|
84
|
-
display: inline-block;
|
|
85
|
-
padding: 0 5px;
|
|
86
|
-
width: 40px;
|
|
87
|
-
}
|
|
88
|
-
table.coverage td span.cline-neutral {
|
|
89
|
-
background: #eee;
|
|
90
|
-
}
|
|
91
|
-
table.coverage td span.cline-yes {
|
|
92
|
-
background: #b5d592;
|
|
93
|
-
color: #999;
|
|
94
|
-
}
|
|
95
|
-
table.coverage td span.cline-no {
|
|
96
|
-
background: #fc8c84;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.cstat-yes { color: #111; }
|
|
100
|
-
.cstat-no { background: #fc8c84; color: #111; }
|
|
101
|
-
.fstat-no { background: #ffc520; color: #111 !important; }
|
|
102
|
-
.cbranch-no { background: yellow !important; color: #111; }
|
|
103
|
-
|
|
104
|
-
.cstat-skip { background: #ddd; color: #111; }
|
|
105
|
-
.fstat-skip { background: #ddd; color: #111 !important; }
|
|
106
|
-
.cbranch-skip { background: #ddd !important; color: #111; }
|
|
107
|
-
|
|
108
|
-
.missing-if-branch {
|
|
109
|
-
display: inline-block;
|
|
110
|
-
margin-right: 10px;
|
|
111
|
-
position: relative;
|
|
112
|
-
padding: 0 4px;
|
|
113
|
-
background: black;
|
|
114
|
-
color: yellow;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.skip-if-branch {
|
|
118
|
-
display: none;
|
|
119
|
-
margin-right: 10px;
|
|
120
|
-
position: relative;
|
|
121
|
-
padding: 0 4px;
|
|
122
|
-
background: #ccc;
|
|
123
|
-
color: white;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.missing-if-branch .typ, .skip-if-branch .typ {
|
|
127
|
-
color: inherit !important;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.entity, .metric { font-weight: bold; }
|
|
131
|
-
.metric { display: inline-block; border: 1px solid #333; padding: 0.3em; background: white; }
|
|
132
|
-
.metric small { font-size: 80%; font-weight: normal; color: #666; }
|
|
133
|
-
|
|
134
|
-
div.coverage-summary table { border-collapse: collapse; margin: 3em; font-size: 110%; }
|
|
135
|
-
div.coverage-summary td, div.coverage-summary table th { margin: 0; padding: 0.25em 1em; border-top: 1px solid #666; border-bottom: 1px solid #666; }
|
|
136
|
-
div.coverage-summary th { text-align: left; border: 1px solid #666; background: #eee; font-weight: normal; }
|
|
137
|
-
div.coverage-summary th.file { border-right: none !important; }
|
|
138
|
-
div.coverage-summary th.pic { border-left: none !important; text-align: right; }
|
|
139
|
-
div.coverage-summary th.pct { border-right: none !important; }
|
|
140
|
-
div.coverage-summary th.abs { border-left: none !important; text-align: right; }
|
|
141
|
-
div.coverage-summary td.pct { text-align: right; border-left: 1px solid #666; }
|
|
142
|
-
div.coverage-summary td.abs { text-align: right; font-size: 90%; color: #444; border-right: 1px solid #666; }
|
|
143
|
-
div.coverage-summary td.file { text-align: right; border-left: 1px solid #666; white-space: nowrap; }
|
|
144
|
-
div.coverage-summary td.pic { min-width: 120px !important; }
|
|
145
|
-
div.coverage-summary a:link { text-decoration: none; color: #000; }
|
|
146
|
-
div.coverage-summary a:visited { text-decoration: none; color: #333; }
|
|
147
|
-
div.coverage-summary a:hover { text-decoration: underline; }
|
|
148
|
-
div.coverage-summary tfoot td { border-top: 1px solid #666; }
|
|
149
|
-
|
|
150
|
-
div.coverage-summary .yui3-datatable-sort-indicator, div.coverage-summary .dummy-sort-indicator {
|
|
151
|
-
height: 10px;
|
|
152
|
-
width: 7px;
|
|
153
|
-
display: inline-block;
|
|
154
|
-
margin-left: 0.5em;
|
|
155
|
-
}
|
|
156
|
-
div.coverage-summary .yui3-datatable-sort-indicator {
|
|
157
|
-
background: url("https://yui-s.yahooapis.com/3.6.0/build/datatable-sort/assets/skins/sam/sort-arrow-sprite.png") no-repeat scroll 0 0 transparent;
|
|
158
|
-
}
|
|
159
|
-
div.coverage-summary .yui3-datatable-sorted .yui3-datatable-sort-indicator {
|
|
160
|
-
background-position: 0 -20px;
|
|
161
|
-
}
|
|
162
|
-
div.coverage-summary .yui3-datatable-sorted-desc .yui3-datatable-sort-indicator {
|
|
163
|
-
background-position: 0 -10px;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.high { background: #b5d592 !important; }
|
|
167
|
-
.medium { background: #ffe87c !important; }
|
|
168
|
-
.low { background: #fc8c84 !important; }
|
|
169
|
-
|
|
170
|
-
span.cover-fill, span.cover-empty {
|
|
171
|
-
display:inline-block;
|
|
172
|
-
border:1px solid #444;
|
|
173
|
-
background: white;
|
|
174
|
-
height: 12px;
|
|
175
|
-
}
|
|
176
|
-
span.cover-fill {
|
|
177
|
-
background: #ccc;
|
|
178
|
-
border-right: 1px solid #444;
|
|
179
|
-
}
|
|
180
|
-
span.cover-empty {
|
|
181
|
-
background: white;
|
|
182
|
-
border-left: none;
|
|
183
|
-
}
|
|
184
|
-
span.cover-full {
|
|
185
|
-
border-right: none !important;
|
|
186
|
-
}
|
|
187
|
-
pre.prettyprint {
|
|
188
|
-
border: none !important;
|
|
189
|
-
padding: 0 !important;
|
|
190
|
-
margin: 0 !important;
|
|
191
|
-
}
|
|
192
|
-
.com { color: #999 !important; }
|
|
193
|
-
.ignore-none { color: #999; font-weight: normal; }
|
|
194
|
-
|
|
195
|
-
</style>
|
|
196
|
-
</head>
|
|
197
|
-
<body>
|
|
198
|
-
<div class="header high">
|
|
199
|
-
<h1>Code coverage report for <span class="entity">spec/noun_inflector_fr_spec.js</span></h1>
|
|
200
|
-
<h2>
|
|
201
|
-
|
|
202
|
-
Statements: <span class="metric">100% <small>(304 / 304)</small></span>
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
Branches: <span class="metric">100% <small>(0 / 0)</small></span>
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
Functions: <span class="metric">100% <small>(63 / 63)</small></span>
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
Lines: <span class="metric">100% <small>(304 / 304)</small></span>
|
|
212
|
-
|
|
213
|
-
Ignored: <span class="metric"><span class="ignore-none">none</span></span>
|
|
214
|
-
</h2>
|
|
215
|
-
<div class="path"><a href="../index.html">All files</a> » <a href="index.html">spec/</a> » noun_inflector_fr_spec.js</div>
|
|
216
|
-
</div>
|
|
217
|
-
<div class="body">
|
|
218
|
-
<pre><table class="coverage">
|
|
219
|
-
<tr><td class="line-count">1
|
|
220
|
-
2
|
|
221
|
-
3
|
|
222
|
-
4
|
|
223
|
-
5
|
|
224
|
-
6
|
|
225
|
-
7
|
|
226
|
-
8
|
|
227
|
-
9
|
|
228
|
-
10
|
|
229
|
-
11
|
|
230
|
-
12
|
|
231
|
-
13
|
|
232
|
-
14
|
|
233
|
-
15
|
|
234
|
-
16
|
|
235
|
-
17
|
|
236
|
-
18
|
|
237
|
-
19
|
|
238
|
-
20
|
|
239
|
-
21
|
|
240
|
-
22
|
|
241
|
-
23
|
|
242
|
-
24
|
|
243
|
-
25
|
|
244
|
-
26
|
|
245
|
-
27
|
|
246
|
-
28
|
|
247
|
-
29
|
|
248
|
-
30
|
|
249
|
-
31
|
|
250
|
-
32
|
|
251
|
-
33
|
|
252
|
-
34
|
|
253
|
-
35
|
|
254
|
-
36
|
|
255
|
-
37
|
|
256
|
-
38
|
|
257
|
-
39
|
|
258
|
-
40
|
|
259
|
-
41
|
|
260
|
-
42
|
|
261
|
-
43
|
|
262
|
-
44
|
|
263
|
-
45
|
|
264
|
-
46
|
|
265
|
-
47
|
|
266
|
-
48
|
|
267
|
-
49
|
|
268
|
-
50
|
|
269
|
-
51
|
|
270
|
-
52
|
|
271
|
-
53
|
|
272
|
-
54
|
|
273
|
-
55
|
|
274
|
-
56
|
|
275
|
-
57
|
|
276
|
-
58
|
|
277
|
-
59
|
|
278
|
-
60
|
|
279
|
-
61
|
|
280
|
-
62
|
|
281
|
-
63
|
|
282
|
-
64
|
|
283
|
-
65
|
|
284
|
-
66
|
|
285
|
-
67
|
|
286
|
-
68
|
|
287
|
-
69
|
|
288
|
-
70
|
|
289
|
-
71
|
|
290
|
-
72
|
|
291
|
-
73
|
|
292
|
-
74
|
|
293
|
-
75
|
|
294
|
-
76
|
|
295
|
-
77
|
|
296
|
-
78
|
|
297
|
-
79
|
|
298
|
-
80
|
|
299
|
-
81
|
|
300
|
-
82
|
|
301
|
-
83
|
|
302
|
-
84
|
|
303
|
-
85
|
|
304
|
-
86
|
|
305
|
-
87
|
|
306
|
-
88
|
|
307
|
-
89
|
|
308
|
-
90
|
|
309
|
-
91
|
|
310
|
-
92
|
|
311
|
-
93
|
|
312
|
-
94
|
|
313
|
-
95
|
|
314
|
-
96
|
|
315
|
-
97
|
|
316
|
-
98
|
|
317
|
-
99
|
|
318
|
-
100
|
|
319
|
-
101
|
|
320
|
-
102
|
|
321
|
-
103
|
|
322
|
-
104
|
|
323
|
-
105
|
|
324
|
-
106
|
|
325
|
-
107
|
|
326
|
-
108
|
|
327
|
-
109
|
|
328
|
-
110
|
|
329
|
-
111
|
|
330
|
-
112
|
|
331
|
-
113
|
|
332
|
-
114
|
|
333
|
-
115
|
|
334
|
-
116
|
|
335
|
-
117
|
|
336
|
-
118
|
|
337
|
-
119
|
|
338
|
-
120
|
|
339
|
-
121
|
|
340
|
-
122
|
|
341
|
-
123
|
|
342
|
-
124
|
|
343
|
-
125
|
|
344
|
-
126
|
|
345
|
-
127
|
|
346
|
-
128
|
|
347
|
-
129
|
|
348
|
-
130
|
|
349
|
-
131
|
|
350
|
-
132
|
|
351
|
-
133
|
|
352
|
-
134
|
|
353
|
-
135
|
|
354
|
-
136
|
|
355
|
-
137
|
|
356
|
-
138
|
|
357
|
-
139
|
|
358
|
-
140
|
|
359
|
-
141
|
|
360
|
-
142
|
|
361
|
-
143
|
|
362
|
-
144
|
|
363
|
-
145
|
|
364
|
-
146
|
|
365
|
-
147
|
|
366
|
-
148
|
|
367
|
-
149
|
|
368
|
-
150
|
|
369
|
-
151
|
|
370
|
-
152
|
|
371
|
-
153
|
|
372
|
-
154
|
|
373
|
-
155
|
|
374
|
-
156
|
|
375
|
-
157
|
|
376
|
-
158
|
|
377
|
-
159
|
|
378
|
-
160
|
|
379
|
-
161
|
|
380
|
-
162
|
|
381
|
-
163
|
|
382
|
-
164
|
|
383
|
-
165
|
|
384
|
-
166
|
|
385
|
-
167
|
|
386
|
-
168
|
|
387
|
-
169
|
|
388
|
-
170
|
|
389
|
-
171
|
|
390
|
-
172
|
|
391
|
-
173
|
|
392
|
-
174
|
|
393
|
-
175
|
|
394
|
-
176
|
|
395
|
-
177
|
|
396
|
-
178
|
|
397
|
-
179
|
|
398
|
-
180
|
|
399
|
-
181
|
|
400
|
-
182
|
|
401
|
-
183
|
|
402
|
-
184
|
|
403
|
-
185
|
|
404
|
-
186
|
|
405
|
-
187
|
|
406
|
-
188
|
|
407
|
-
189
|
|
408
|
-
190
|
|
409
|
-
191
|
|
410
|
-
192
|
|
411
|
-
193
|
|
412
|
-
194
|
|
413
|
-
195
|
|
414
|
-
196
|
|
415
|
-
197
|
|
416
|
-
198
|
|
417
|
-
199
|
|
418
|
-
200
|
|
419
|
-
201
|
|
420
|
-
202
|
|
421
|
-
203
|
|
422
|
-
204
|
|
423
|
-
205
|
|
424
|
-
206
|
|
425
|
-
207
|
|
426
|
-
208
|
|
427
|
-
209
|
|
428
|
-
210
|
|
429
|
-
211
|
|
430
|
-
212
|
|
431
|
-
213
|
|
432
|
-
214
|
|
433
|
-
215
|
|
434
|
-
216
|
|
435
|
-
217
|
|
436
|
-
218
|
|
437
|
-
219
|
|
438
|
-
220
|
|
439
|
-
221
|
|
440
|
-
222
|
|
441
|
-
223
|
|
442
|
-
224
|
|
443
|
-
225
|
|
444
|
-
226
|
|
445
|
-
227
|
|
446
|
-
228
|
|
447
|
-
229
|
|
448
|
-
230
|
|
449
|
-
231
|
|
450
|
-
232
|
|
451
|
-
233
|
|
452
|
-
234
|
|
453
|
-
235
|
|
454
|
-
236
|
|
455
|
-
237
|
|
456
|
-
238
|
|
457
|
-
239
|
|
458
|
-
240
|
|
459
|
-
241
|
|
460
|
-
242
|
|
461
|
-
243
|
|
462
|
-
244
|
|
463
|
-
245
|
|
464
|
-
246
|
|
465
|
-
247
|
|
466
|
-
248
|
|
467
|
-
249
|
|
468
|
-
250
|
|
469
|
-
251
|
|
470
|
-
252
|
|
471
|
-
253
|
|
472
|
-
254
|
|
473
|
-
255
|
|
474
|
-
256
|
|
475
|
-
257
|
|
476
|
-
258
|
|
477
|
-
259
|
|
478
|
-
260
|
|
479
|
-
261
|
|
480
|
-
262
|
|
481
|
-
263
|
|
482
|
-
264
|
|
483
|
-
265
|
|
484
|
-
266
|
|
485
|
-
267
|
|
486
|
-
268
|
|
487
|
-
269
|
|
488
|
-
270
|
|
489
|
-
271
|
|
490
|
-
272
|
|
491
|
-
273
|
|
492
|
-
274
|
|
493
|
-
275
|
|
494
|
-
276
|
|
495
|
-
277
|
|
496
|
-
278
|
|
497
|
-
279
|
|
498
|
-
280
|
|
499
|
-
281
|
|
500
|
-
282
|
|
501
|
-
283
|
|
502
|
-
284
|
|
503
|
-
285
|
|
504
|
-
286
|
|
505
|
-
287
|
|
506
|
-
288
|
|
507
|
-
289
|
|
508
|
-
290
|
|
509
|
-
291
|
|
510
|
-
292
|
|
511
|
-
293
|
|
512
|
-
294
|
|
513
|
-
295
|
|
514
|
-
296
|
|
515
|
-
297
|
|
516
|
-
298
|
|
517
|
-
299
|
|
518
|
-
300
|
|
519
|
-
301
|
|
520
|
-
302
|
|
521
|
-
303
|
|
522
|
-
304
|
|
523
|
-
305
|
|
524
|
-
306
|
|
525
|
-
307
|
|
526
|
-
308
|
|
527
|
-
309
|
|
528
|
-
310
|
|
529
|
-
311
|
|
530
|
-
312
|
|
531
|
-
313
|
|
532
|
-
314
|
|
533
|
-
315
|
|
534
|
-
316
|
|
535
|
-
317
|
|
536
|
-
318
|
|
537
|
-
319
|
|
538
|
-
320
|
|
539
|
-
321
|
|
540
|
-
322
|
|
541
|
-
323
|
|
542
|
-
324
|
|
543
|
-
325
|
|
544
|
-
326
|
|
545
|
-
327
|
|
546
|
-
328
|
|
547
|
-
329
|
|
548
|
-
330
|
|
549
|
-
331
|
|
550
|
-
332
|
|
551
|
-
333
|
|
552
|
-
334
|
|
553
|
-
335
|
|
554
|
-
336
|
|
555
|
-
337
|
|
556
|
-
338
|
|
557
|
-
339
|
|
558
|
-
340
|
|
559
|
-
341
|
|
560
|
-
342
|
|
561
|
-
343
|
|
562
|
-
344
|
|
563
|
-
345
|
|
564
|
-
346
|
|
565
|
-
347
|
|
566
|
-
348
|
|
567
|
-
349
|
|
568
|
-
350
|
|
569
|
-
351
|
|
570
|
-
352
|
|
571
|
-
353
|
|
572
|
-
354
|
|
573
|
-
355
|
|
574
|
-
356
|
|
575
|
-
357
|
|
576
|
-
358
|
|
577
|
-
359
|
|
578
|
-
360
|
|
579
|
-
361
|
|
580
|
-
362
|
|
581
|
-
363
|
|
582
|
-
364
|
|
583
|
-
365
|
|
584
|
-
366
|
|
585
|
-
367
|
|
586
|
-
368
|
|
587
|
-
369
|
|
588
|
-
370
|
|
589
|
-
371
|
|
590
|
-
372
|
|
591
|
-
373
|
|
592
|
-
374
|
|
593
|
-
375
|
|
594
|
-
376
|
|
595
|
-
377
|
|
596
|
-
378
|
|
597
|
-
379
|
|
598
|
-
380
|
|
599
|
-
381
|
|
600
|
-
382
|
|
601
|
-
383
|
|
602
|
-
384
|
|
603
|
-
385
|
|
604
|
-
386
|
|
605
|
-
387
|
|
606
|
-
388
|
|
607
|
-
389
|
|
608
|
-
390
|
|
609
|
-
391
|
|
610
|
-
392
|
|
611
|
-
393
|
|
612
|
-
394
|
|
613
|
-
395
|
|
614
|
-
396
|
|
615
|
-
397
|
|
616
|
-
398
|
|
617
|
-
399
|
|
618
|
-
400
|
|
619
|
-
401
|
|
620
|
-
402
|
|
621
|
-
403
|
|
622
|
-
404
|
|
623
|
-
405
|
|
624
|
-
406
|
|
625
|
-
407
|
|
626
|
-
408
|
|
627
|
-
409
|
|
628
|
-
410
|
|
629
|
-
411
|
|
630
|
-
412
|
|
631
|
-
413
|
|
632
|
-
414
|
|
633
|
-
415
|
|
634
|
-
416
|
|
635
|
-
417
|
|
636
|
-
418
|
|
637
|
-
419
|
|
638
|
-
420
|
|
639
|
-
421
|
|
640
|
-
422
|
|
641
|
-
423
|
|
642
|
-
424
|
|
643
|
-
425
|
|
644
|
-
426
|
|
645
|
-
427
|
|
646
|
-
428
|
|
647
|
-
429
|
|
648
|
-
430
|
|
649
|
-
431
|
|
650
|
-
432
|
|
651
|
-
433
|
|
652
|
-
434
|
|
653
|
-
435
|
|
654
|
-
436
|
|
655
|
-
437
|
|
656
|
-
438
|
|
657
|
-
439
|
|
658
|
-
440
|
|
659
|
-
441
|
|
660
|
-
442
|
|
661
|
-
443
|
|
662
|
-
444
|
|
663
|
-
445
|
|
664
|
-
446
|
|
665
|
-
447
|
|
666
|
-
448
|
|
667
|
-
449
|
|
668
|
-
450
|
|
669
|
-
451
|
|
670
|
-
452
|
|
671
|
-
453
|
|
672
|
-
454
|
|
673
|
-
455
|
|
674
|
-
456
|
|
675
|
-
457
|
|
676
|
-
458
|
|
677
|
-
459
|
|
678
|
-
460
|
|
679
|
-
461
|
|
680
|
-
462
|
|
681
|
-
463
|
|
682
|
-
464
|
|
683
|
-
465
|
|
684
|
-
466
|
|
685
|
-
467
|
|
686
|
-
468
|
|
687
|
-
469
|
|
688
|
-
470
|
|
689
|
-
471
|
|
690
|
-
472
|
|
691
|
-
473
|
|
692
|
-
474
|
|
693
|
-
475
|
|
694
|
-
476
|
|
695
|
-
477</td><td class="line-coverage"><span class="cline-any cline-neutral"> </span>
|
|
696
|
-
<span class="cline-any cline-neutral"> </span>
|
|
697
|
-
<span class="cline-any cline-neutral"> </span>
|
|
698
|
-
<span class="cline-any cline-neutral"> </span>
|
|
699
|
-
<span class="cline-any cline-neutral"> </span>
|
|
700
|
-
<span class="cline-any cline-neutral"> </span>
|
|
701
|
-
<span class="cline-any cline-neutral"> </span>
|
|
702
|
-
<span class="cline-any cline-neutral"> </span>
|
|
703
|
-
<span class="cline-any cline-neutral"> </span>
|
|
704
|
-
<span class="cline-any cline-neutral"> </span>
|
|
705
|
-
<span class="cline-any cline-neutral"> </span>
|
|
706
|
-
<span class="cline-any cline-neutral"> </span>
|
|
707
|
-
<span class="cline-any cline-neutral"> </span>
|
|
708
|
-
<span class="cline-any cline-neutral"> </span>
|
|
709
|
-
<span class="cline-any cline-neutral"> </span>
|
|
710
|
-
<span class="cline-any cline-neutral"> </span>
|
|
711
|
-
<span class="cline-any cline-neutral"> </span>
|
|
712
|
-
<span class="cline-any cline-neutral"> </span>
|
|
713
|
-
<span class="cline-any cline-neutral"> </span>
|
|
714
|
-
<span class="cline-any cline-neutral"> </span>
|
|
715
|
-
<span class="cline-any cline-neutral"> </span>
|
|
716
|
-
<span class="cline-any cline-neutral"> </span>
|
|
717
|
-
<span class="cline-any cline-yes">1</span>
|
|
718
|
-
<span class="cline-any cline-neutral"> </span>
|
|
719
|
-
<span class="cline-any cline-neutral"> </span>
|
|
720
|
-
<span class="cline-any cline-yes">1</span>
|
|
721
|
-
<span class="cline-any cline-yes">1</span>
|
|
722
|
-
<span class="cline-any cline-yes">1</span>
|
|
723
|
-
<span class="cline-any cline-yes">1</span>
|
|
724
|
-
<span class="cline-any cline-yes">1</span>
|
|
725
|
-
<span class="cline-any cline-yes">1</span>
|
|
726
|
-
<span class="cline-any cline-neutral"> </span>
|
|
727
|
-
<span class="cline-any cline-neutral"> </span>
|
|
728
|
-
<span class="cline-any cline-yes">1</span>
|
|
729
|
-
<span class="cline-any cline-yes">1</span>
|
|
730
|
-
<span class="cline-any cline-yes">1</span>
|
|
731
|
-
<span class="cline-any cline-yes">1</span>
|
|
732
|
-
<span class="cline-any cline-neutral"> </span>
|
|
733
|
-
<span class="cline-any cline-neutral"> </span>
|
|
734
|
-
<span class="cline-any cline-yes">1</span>
|
|
735
|
-
<span class="cline-any cline-yes">1</span>
|
|
736
|
-
<span class="cline-any cline-yes">1</span>
|
|
737
|
-
<span class="cline-any cline-yes">1</span>
|
|
738
|
-
<span class="cline-any cline-neutral"> </span>
|
|
739
|
-
<span class="cline-any cline-neutral"> </span>
|
|
740
|
-
<span class="cline-any cline-yes">1</span>
|
|
741
|
-
<span class="cline-any cline-yes">1</span>
|
|
742
|
-
<span class="cline-any cline-yes">1</span>
|
|
743
|
-
<span class="cline-any cline-yes">1</span>
|
|
744
|
-
<span class="cline-any cline-neutral"> </span>
|
|
745
|
-
<span class="cline-any cline-neutral"> </span>
|
|
746
|
-
<span class="cline-any cline-yes">1</span>
|
|
747
|
-
<span class="cline-any cline-yes">1</span>
|
|
748
|
-
<span class="cline-any cline-yes">1</span>
|
|
749
|
-
<span class="cline-any cline-neutral"> </span>
|
|
750
|
-
<span class="cline-any cline-neutral"> </span>
|
|
751
|
-
<span class="cline-any cline-yes">1</span>
|
|
752
|
-
<span class="cline-any cline-yes">1</span>
|
|
753
|
-
<span class="cline-any cline-yes">1</span>
|
|
754
|
-
<span class="cline-any cline-yes">1</span>
|
|
755
|
-
<span class="cline-any cline-neutral"> </span>
|
|
756
|
-
<span class="cline-any cline-neutral"> </span>
|
|
757
|
-
<span class="cline-any cline-yes">1</span>
|
|
758
|
-
<span class="cline-any cline-yes">1</span>
|
|
759
|
-
<span class="cline-any cline-yes">1</span>
|
|
760
|
-
<span class="cline-any cline-yes">1</span>
|
|
761
|
-
<span class="cline-any cline-neutral"> </span>
|
|
762
|
-
<span class="cline-any cline-neutral"> </span>
|
|
763
|
-
<span class="cline-any cline-yes">1</span>
|
|
764
|
-
<span class="cline-any cline-yes">1</span>
|
|
765
|
-
<span class="cline-any cline-yes">1</span>
|
|
766
|
-
<span class="cline-any cline-yes">1</span>
|
|
767
|
-
<span class="cline-any cline-neutral"> </span>
|
|
768
|
-
<span class="cline-any cline-neutral"> </span>
|
|
769
|
-
<span class="cline-any cline-yes">1</span>
|
|
770
|
-
<span class="cline-any cline-yes">1</span>
|
|
771
|
-
<span class="cline-any cline-yes">1</span>
|
|
772
|
-
<span class="cline-any cline-yes">1</span>
|
|
773
|
-
<span class="cline-any cline-neutral"> </span>
|
|
774
|
-
<span class="cline-any cline-neutral"> </span>
|
|
775
|
-
<span class="cline-any cline-yes">1</span>
|
|
776
|
-
<span class="cline-any cline-yes">1</span>
|
|
777
|
-
<span class="cline-any cline-yes">1</span>
|
|
778
|
-
<span class="cline-any cline-yes">1</span>
|
|
779
|
-
<span class="cline-any cline-neutral"> </span>
|
|
780
|
-
<span class="cline-any cline-neutral"> </span>
|
|
781
|
-
<span class="cline-any cline-yes">1</span>
|
|
782
|
-
<span class="cline-any cline-yes">1</span>
|
|
783
|
-
<span class="cline-any cline-yes">1</span>
|
|
784
|
-
<span class="cline-any cline-yes">1</span>
|
|
785
|
-
<span class="cline-any cline-neutral"> </span>
|
|
786
|
-
<span class="cline-any cline-neutral"> </span>
|
|
787
|
-
<span class="cline-any cline-yes">1</span>
|
|
788
|
-
<span class="cline-any cline-yes">1</span>
|
|
789
|
-
<span class="cline-any cline-yes">1</span>
|
|
790
|
-
<span class="cline-any cline-yes">1</span>
|
|
791
|
-
<span class="cline-any cline-neutral"> </span>
|
|
792
|
-
<span class="cline-any cline-neutral"> </span>
|
|
793
|
-
<span class="cline-any cline-yes">1</span>
|
|
794
|
-
<span class="cline-any cline-yes">1</span>
|
|
795
|
-
<span class="cline-any cline-neutral"> </span>
|
|
796
|
-
<span class="cline-any cline-neutral"> </span>
|
|
797
|
-
<span class="cline-any cline-yes">1</span>
|
|
798
|
-
<span class="cline-any cline-yes">1</span>
|
|
799
|
-
<span class="cline-any cline-yes">1</span>
|
|
800
|
-
<span class="cline-any cline-yes">1</span>
|
|
801
|
-
<span class="cline-any cline-neutral"> </span>
|
|
802
|
-
<span class="cline-any cline-yes">1</span>
|
|
803
|
-
<span class="cline-any cline-yes">1</span>
|
|
804
|
-
<span class="cline-any cline-yes">1</span>
|
|
805
|
-
<span class="cline-any cline-neutral"> </span>
|
|
806
|
-
<span class="cline-any cline-yes">1</span>
|
|
807
|
-
<span class="cline-any cline-yes">1</span>
|
|
808
|
-
<span class="cline-any cline-yes">1</span>
|
|
809
|
-
<span class="cline-any cline-neutral"> </span>
|
|
810
|
-
<span class="cline-any cline-neutral"> </span>
|
|
811
|
-
<span class="cline-any cline-yes">1</span>
|
|
812
|
-
<span class="cline-any cline-yes">1</span>
|
|
813
|
-
<span class="cline-any cline-yes">1</span>
|
|
814
|
-
<span class="cline-any cline-neutral"> </span>
|
|
815
|
-
<span class="cline-any cline-neutral"> </span>
|
|
816
|
-
<span class="cline-any cline-yes">1</span>
|
|
817
|
-
<span class="cline-any cline-yes">1</span>
|
|
818
|
-
<span class="cline-any cline-yes">1</span>
|
|
819
|
-
<span class="cline-any cline-yes">1</span>
|
|
820
|
-
<span class="cline-any cline-neutral"> </span>
|
|
821
|
-
<span class="cline-any cline-neutral"> </span>
|
|
822
|
-
<span class="cline-any cline-neutral"> </span>
|
|
823
|
-
<span class="cline-any cline-yes">1</span>
|
|
824
|
-
<span class="cline-any cline-yes">1</span>
|
|
825
|
-
<span class="cline-any cline-yes">1</span>
|
|
826
|
-
<span class="cline-any cline-yes">1</span>
|
|
827
|
-
<span class="cline-any cline-yes">1</span>
|
|
828
|
-
<span class="cline-any cline-neutral"> </span>
|
|
829
|
-
<span class="cline-any cline-neutral"> </span>
|
|
830
|
-
<span class="cline-any cline-yes">1</span>
|
|
831
|
-
<span class="cline-any cline-yes">1</span>
|
|
832
|
-
<span class="cline-any cline-yes">1</span>
|
|
833
|
-
<span class="cline-any cline-yes">1</span>
|
|
834
|
-
<span class="cline-any cline-neutral"> </span>
|
|
835
|
-
<span class="cline-any cline-neutral"> </span>
|
|
836
|
-
<span class="cline-any cline-yes">1</span>
|
|
837
|
-
<span class="cline-any cline-yes">1</span>
|
|
838
|
-
<span class="cline-any cline-yes">1</span>
|
|
839
|
-
<span class="cline-any cline-yes">1</span>
|
|
840
|
-
<span class="cline-any cline-neutral"> </span>
|
|
841
|
-
<span class="cline-any cline-neutral"> </span>
|
|
842
|
-
<span class="cline-any cline-yes">1</span>
|
|
843
|
-
<span class="cline-any cline-yes">1</span>
|
|
844
|
-
<span class="cline-any cline-yes">1</span>
|
|
845
|
-
<span class="cline-any cline-yes">1</span>
|
|
846
|
-
<span class="cline-any cline-yes">1</span>
|
|
847
|
-
<span class="cline-any cline-yes">1</span>
|
|
848
|
-
<span class="cline-any cline-yes">1</span>
|
|
849
|
-
<span class="cline-any cline-yes">1</span>
|
|
850
|
-
<span class="cline-any cline-yes">1</span>
|
|
851
|
-
<span class="cline-any cline-yes">1</span>
|
|
852
|
-
<span class="cline-any cline-yes">1</span>
|
|
853
|
-
<span class="cline-any cline-yes">1</span>
|
|
854
|
-
<span class="cline-any cline-yes">1</span>
|
|
855
|
-
<span class="cline-any cline-yes">1</span>
|
|
856
|
-
<span class="cline-any cline-yes">1</span>
|
|
857
|
-
<span class="cline-any cline-yes">1</span>
|
|
858
|
-
<span class="cline-any cline-yes">1</span>
|
|
859
|
-
<span class="cline-any cline-yes">1</span>
|
|
860
|
-
<span class="cline-any cline-yes">1</span>
|
|
861
|
-
<span class="cline-any cline-yes">1</span>
|
|
862
|
-
<span class="cline-any cline-yes">1</span>
|
|
863
|
-
<span class="cline-any cline-yes">1</span>
|
|
864
|
-
<span class="cline-any cline-yes">1</span>
|
|
865
|
-
<span class="cline-any cline-neutral"> </span>
|
|
866
|
-
<span class="cline-any cline-yes">1</span>
|
|
867
|
-
<span class="cline-any cline-yes">1</span>
|
|
868
|
-
<span class="cline-any cline-yes">1</span>
|
|
869
|
-
<span class="cline-any cline-yes">1</span>
|
|
870
|
-
<span class="cline-any cline-yes">1</span>
|
|
871
|
-
<span class="cline-any cline-neutral"> </span>
|
|
872
|
-
<span class="cline-any cline-neutral"> </span>
|
|
873
|
-
<span class="cline-any cline-yes">1</span>
|
|
874
|
-
<span class="cline-any cline-yes">1</span>
|
|
875
|
-
<span class="cline-any cline-yes">1</span>
|
|
876
|
-
<span class="cline-any cline-yes">1</span>
|
|
877
|
-
<span class="cline-any cline-neutral"> </span>
|
|
878
|
-
<span class="cline-any cline-neutral"> </span>
|
|
879
|
-
<span class="cline-any cline-yes">1</span>
|
|
880
|
-
<span class="cline-any cline-yes">1</span>
|
|
881
|
-
<span class="cline-any cline-yes">1</span>
|
|
882
|
-
<span class="cline-any cline-yes">1</span>
|
|
883
|
-
<span class="cline-any cline-neutral"> </span>
|
|
884
|
-
<span class="cline-any cline-neutral"> </span>
|
|
885
|
-
<span class="cline-any cline-yes">1</span>
|
|
886
|
-
<span class="cline-any cline-yes">1</span>
|
|
887
|
-
<span class="cline-any cline-yes">1</span>
|
|
888
|
-
<span class="cline-any cline-yes">1</span>
|
|
889
|
-
<span class="cline-any cline-neutral"> </span>
|
|
890
|
-
<span class="cline-any cline-neutral"> </span>
|
|
891
|
-
<span class="cline-any cline-yes">1</span>
|
|
892
|
-
<span class="cline-any cline-yes">1</span>
|
|
893
|
-
<span class="cline-any cline-yes">1</span>
|
|
894
|
-
<span class="cline-any cline-yes">1</span>
|
|
895
|
-
<span class="cline-any cline-neutral"> </span>
|
|
896
|
-
<span class="cline-any cline-neutral"> </span>
|
|
897
|
-
<span class="cline-any cline-yes">1</span>
|
|
898
|
-
<span class="cline-any cline-yes">1</span>
|
|
899
|
-
<span class="cline-any cline-neutral"> </span>
|
|
900
|
-
<span class="cline-any cline-neutral"> </span>
|
|
901
|
-
<span class="cline-any cline-yes">1</span>
|
|
902
|
-
<span class="cline-any cline-yes">1</span>
|
|
903
|
-
<span class="cline-any cline-yes">1</span>
|
|
904
|
-
<span class="cline-any cline-yes">1</span>
|
|
905
|
-
<span class="cline-any cline-neutral"> </span>
|
|
906
|
-
<span class="cline-any cline-yes">1</span>
|
|
907
|
-
<span class="cline-any cline-yes">1</span>
|
|
908
|
-
<span class="cline-any cline-yes">1</span>
|
|
909
|
-
<span class="cline-any cline-neutral"> </span>
|
|
910
|
-
<span class="cline-any cline-yes">1</span>
|
|
911
|
-
<span class="cline-any cline-yes">1</span>
|
|
912
|
-
<span class="cline-any cline-yes">1</span>
|
|
913
|
-
<span class="cline-any cline-neutral"> </span>
|
|
914
|
-
<span class="cline-any cline-neutral"> </span>
|
|
915
|
-
<span class="cline-any cline-yes">1</span>
|
|
916
|
-
<span class="cline-any cline-yes">1</span>
|
|
917
|
-
<span class="cline-any cline-neutral"> </span>
|
|
918
|
-
<span class="cline-any cline-neutral"> </span>
|
|
919
|
-
<span class="cline-any cline-yes">1</span>
|
|
920
|
-
<span class="cline-any cline-yes">1</span>
|
|
921
|
-
<span class="cline-any cline-yes">1</span>
|
|
922
|
-
<span class="cline-any cline-yes">1</span>
|
|
923
|
-
<span class="cline-any cline-neutral"> </span>
|
|
924
|
-
<span class="cline-any cline-neutral"> </span>
|
|
925
|
-
<span class="cline-any cline-yes">1</span>
|
|
926
|
-
<span class="cline-any cline-yes">1</span>
|
|
927
|
-
<span class="cline-any cline-yes">1</span>
|
|
928
|
-
<span class="cline-any cline-neutral"> </span>
|
|
929
|
-
<span class="cline-any cline-neutral"> </span>
|
|
930
|
-
<span class="cline-any cline-yes">1</span>
|
|
931
|
-
<span class="cline-any cline-yes">1</span>
|
|
932
|
-
<span class="cline-any cline-yes">1</span>
|
|
933
|
-
<span class="cline-any cline-neutral"> </span>
|
|
934
|
-
<span class="cline-any cline-neutral"> </span>
|
|
935
|
-
<span class="cline-any cline-yes">1</span>
|
|
936
|
-
<span class="cline-any cline-yes">1</span>
|
|
937
|
-
<span class="cline-any cline-yes">1</span>
|
|
938
|
-
<span class="cline-any cline-neutral"> </span>
|
|
939
|
-
<span class="cline-any cline-neutral"> </span>
|
|
940
|
-
<span class="cline-any cline-yes">1</span>
|
|
941
|
-
<span class="cline-any cline-yes">1</span>
|
|
942
|
-
<span class="cline-any cline-yes">1</span>
|
|
943
|
-
<span class="cline-any cline-neutral"> </span>
|
|
944
|
-
<span class="cline-any cline-neutral"> </span>
|
|
945
|
-
<span class="cline-any cline-neutral"> </span>
|
|
946
|
-
<span class="cline-any cline-neutral"> </span>
|
|
947
|
-
<span class="cline-any cline-neutral"> </span>
|
|
948
|
-
<span class="cline-any cline-neutral"> </span>
|
|
949
|
-
<span class="cline-any cline-neutral"> </span>
|
|
950
|
-
<span class="cline-any cline-yes">1</span>
|
|
951
|
-
<span class="cline-any cline-yes">1</span>
|
|
952
|
-
<span class="cline-any cline-yes">1</span>
|
|
953
|
-
<span class="cline-any cline-yes">1</span>
|
|
954
|
-
<span class="cline-any cline-yes">1</span>
|
|
955
|
-
<span class="cline-any cline-neutral"> </span>
|
|
956
|
-
<span class="cline-any cline-neutral"> </span>
|
|
957
|
-
<span class="cline-any cline-yes">1</span>
|
|
958
|
-
<span class="cline-any cline-yes">1</span>
|
|
959
|
-
<span class="cline-any cline-yes">1</span>
|
|
960
|
-
<span class="cline-any cline-yes">1</span>
|
|
961
|
-
<span class="cline-any cline-neutral"> </span>
|
|
962
|
-
<span class="cline-any cline-neutral"> </span>
|
|
963
|
-
<span class="cline-any cline-yes">1</span>
|
|
964
|
-
<span class="cline-any cline-yes">1</span>
|
|
965
|
-
<span class="cline-any cline-yes">1</span>
|
|
966
|
-
<span class="cline-any cline-yes">1</span>
|
|
967
|
-
<span class="cline-any cline-neutral"> </span>
|
|
968
|
-
<span class="cline-any cline-neutral"> </span>
|
|
969
|
-
<span class="cline-any cline-yes">1</span>
|
|
970
|
-
<span class="cline-any cline-yes">1</span>
|
|
971
|
-
<span class="cline-any cline-yes">1</span>
|
|
972
|
-
<span class="cline-any cline-yes">1</span>
|
|
973
|
-
<span class="cline-any cline-neutral"> </span>
|
|
974
|
-
<span class="cline-any cline-neutral"> </span>
|
|
975
|
-
<span class="cline-any cline-yes">1</span>
|
|
976
|
-
<span class="cline-any cline-yes">1</span>
|
|
977
|
-
<span class="cline-any cline-yes">1</span>
|
|
978
|
-
<span class="cline-any cline-neutral"> </span>
|
|
979
|
-
<span class="cline-any cline-neutral"> </span>
|
|
980
|
-
<span class="cline-any cline-yes">1</span>
|
|
981
|
-
<span class="cline-any cline-yes">1</span>
|
|
982
|
-
<span class="cline-any cline-yes">1</span>
|
|
983
|
-
<span class="cline-any cline-yes">1</span>
|
|
984
|
-
<span class="cline-any cline-neutral"> </span>
|
|
985
|
-
<span class="cline-any cline-neutral"> </span>
|
|
986
|
-
<span class="cline-any cline-yes">1</span>
|
|
987
|
-
<span class="cline-any cline-yes">1</span>
|
|
988
|
-
<span class="cline-any cline-yes">1</span>
|
|
989
|
-
<span class="cline-any cline-yes">1</span>
|
|
990
|
-
<span class="cline-any cline-neutral"> </span>
|
|
991
|
-
<span class="cline-any cline-neutral"> </span>
|
|
992
|
-
<span class="cline-any cline-yes">1</span>
|
|
993
|
-
<span class="cline-any cline-yes">1</span>
|
|
994
|
-
<span class="cline-any cline-yes">1</span>
|
|
995
|
-
<span class="cline-any cline-yes">1</span>
|
|
996
|
-
<span class="cline-any cline-neutral"> </span>
|
|
997
|
-
<span class="cline-any cline-neutral"> </span>
|
|
998
|
-
<span class="cline-any cline-yes">1</span>
|
|
999
|
-
<span class="cline-any cline-yes">1</span>
|
|
1000
|
-
<span class="cline-any cline-yes">1</span>
|
|
1001
|
-
<span class="cline-any cline-yes">1</span>
|
|
1002
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1003
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1004
|
-
<span class="cline-any cline-yes">1</span>
|
|
1005
|
-
<span class="cline-any cline-yes">1</span>
|
|
1006
|
-
<span class="cline-any cline-yes">1</span>
|
|
1007
|
-
<span class="cline-any cline-yes">1</span>
|
|
1008
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1009
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1010
|
-
<span class="cline-any cline-yes">1</span>
|
|
1011
|
-
<span class="cline-any cline-yes">1</span>
|
|
1012
|
-
<span class="cline-any cline-yes">1</span>
|
|
1013
|
-
<span class="cline-any cline-yes">1</span>
|
|
1014
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1015
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1016
|
-
<span class="cline-any cline-yes">1</span>
|
|
1017
|
-
<span class="cline-any cline-yes">1</span>
|
|
1018
|
-
<span class="cline-any cline-yes">1</span>
|
|
1019
|
-
<span class="cline-any cline-yes">1</span>
|
|
1020
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1021
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1022
|
-
<span class="cline-any cline-yes">1</span>
|
|
1023
|
-
<span class="cline-any cline-yes">1</span>
|
|
1024
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1025
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1026
|
-
<span class="cline-any cline-yes">1</span>
|
|
1027
|
-
<span class="cline-any cline-yes">1</span>
|
|
1028
|
-
<span class="cline-any cline-yes">1</span>
|
|
1029
|
-
<span class="cline-any cline-yes">1</span>
|
|
1030
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1031
|
-
<span class="cline-any cline-yes">1</span>
|
|
1032
|
-
<span class="cline-any cline-yes">1</span>
|
|
1033
|
-
<span class="cline-any cline-yes">1</span>
|
|
1034
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1035
|
-
<span class="cline-any cline-yes">1</span>
|
|
1036
|
-
<span class="cline-any cline-yes">1</span>
|
|
1037
|
-
<span class="cline-any cline-yes">1</span>
|
|
1038
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1039
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1040
|
-
<span class="cline-any cline-yes">1</span>
|
|
1041
|
-
<span class="cline-any cline-yes">1</span>
|
|
1042
|
-
<span class="cline-any cline-yes">1</span>
|
|
1043
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1044
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1045
|
-
<span class="cline-any cline-yes">1</span>
|
|
1046
|
-
<span class="cline-any cline-yes">1</span>
|
|
1047
|
-
<span class="cline-any cline-yes">1</span>
|
|
1048
|
-
<span class="cline-any cline-yes">1</span>
|
|
1049
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1050
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1051
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1052
|
-
<span class="cline-any cline-yes">1</span>
|
|
1053
|
-
<span class="cline-any cline-yes">1</span>
|
|
1054
|
-
<span class="cline-any cline-yes">1</span>
|
|
1055
|
-
<span class="cline-any cline-yes">1</span>
|
|
1056
|
-
<span class="cline-any cline-yes">1</span>
|
|
1057
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1058
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1059
|
-
<span class="cline-any cline-yes">1</span>
|
|
1060
|
-
<span class="cline-any cline-yes">1</span>
|
|
1061
|
-
<span class="cline-any cline-yes">1</span>
|
|
1062
|
-
<span class="cline-any cline-yes">1</span>
|
|
1063
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1064
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1065
|
-
<span class="cline-any cline-yes">1</span>
|
|
1066
|
-
<span class="cline-any cline-yes">1</span>
|
|
1067
|
-
<span class="cline-any cline-yes">1</span>
|
|
1068
|
-
<span class="cline-any cline-yes">1</span>
|
|
1069
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1070
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1071
|
-
<span class="cline-any cline-yes">1</span>
|
|
1072
|
-
<span class="cline-any cline-yes">1</span>
|
|
1073
|
-
<span class="cline-any cline-yes">1</span>
|
|
1074
|
-
<span class="cline-any cline-yes">1</span>
|
|
1075
|
-
<span class="cline-any cline-yes">1</span>
|
|
1076
|
-
<span class="cline-any cline-yes">1</span>
|
|
1077
|
-
<span class="cline-any cline-yes">1</span>
|
|
1078
|
-
<span class="cline-any cline-yes">1</span>
|
|
1079
|
-
<span class="cline-any cline-yes">1</span>
|
|
1080
|
-
<span class="cline-any cline-yes">1</span>
|
|
1081
|
-
<span class="cline-any cline-yes">1</span>
|
|
1082
|
-
<span class="cline-any cline-yes">1</span>
|
|
1083
|
-
<span class="cline-any cline-yes">1</span>
|
|
1084
|
-
<span class="cline-any cline-yes">1</span>
|
|
1085
|
-
<span class="cline-any cline-yes">1</span>
|
|
1086
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1087
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1088
|
-
<span class="cline-any cline-yes">1</span>
|
|
1089
|
-
<span class="cline-any cline-yes">1</span>
|
|
1090
|
-
<span class="cline-any cline-yes">1</span>
|
|
1091
|
-
<span class="cline-any cline-yes">1</span>
|
|
1092
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1093
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1094
|
-
<span class="cline-any cline-yes">1</span>
|
|
1095
|
-
<span class="cline-any cline-yes">1</span>
|
|
1096
|
-
<span class="cline-any cline-yes">1</span>
|
|
1097
|
-
<span class="cline-any cline-yes">1</span>
|
|
1098
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1099
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1100
|
-
<span class="cline-any cline-yes">1</span>
|
|
1101
|
-
<span class="cline-any cline-yes">1</span>
|
|
1102
|
-
<span class="cline-any cline-yes">1</span>
|
|
1103
|
-
<span class="cline-any cline-yes">1</span>
|
|
1104
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1105
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1106
|
-
<span class="cline-any cline-yes">1</span>
|
|
1107
|
-
<span class="cline-any cline-yes">1</span>
|
|
1108
|
-
<span class="cline-any cline-yes">1</span>
|
|
1109
|
-
<span class="cline-any cline-yes">1</span>
|
|
1110
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1111
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1112
|
-
<span class="cline-any cline-yes">1</span>
|
|
1113
|
-
<span class="cline-any cline-yes">1</span>
|
|
1114
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1115
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1116
|
-
<span class="cline-any cline-yes">1</span>
|
|
1117
|
-
<span class="cline-any cline-yes">1</span>
|
|
1118
|
-
<span class="cline-any cline-yes">1</span>
|
|
1119
|
-
<span class="cline-any cline-yes">1</span>
|
|
1120
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1121
|
-
<span class="cline-any cline-yes">1</span>
|
|
1122
|
-
<span class="cline-any cline-yes">1</span>
|
|
1123
|
-
<span class="cline-any cline-yes">1</span>
|
|
1124
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1125
|
-
<span class="cline-any cline-yes">1</span>
|
|
1126
|
-
<span class="cline-any cline-yes">1</span>
|
|
1127
|
-
<span class="cline-any cline-yes">1</span>
|
|
1128
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1129
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1130
|
-
<span class="cline-any cline-yes">1</span>
|
|
1131
|
-
<span class="cline-any cline-yes">1</span>
|
|
1132
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1133
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1134
|
-
<span class="cline-any cline-yes">1</span>
|
|
1135
|
-
<span class="cline-any cline-yes">1</span>
|
|
1136
|
-
<span class="cline-any cline-yes">1</span>
|
|
1137
|
-
<span class="cline-any cline-yes">1</span>
|
|
1138
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1139
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1140
|
-
<span class="cline-any cline-yes">1</span>
|
|
1141
|
-
<span class="cline-any cline-yes">1</span>
|
|
1142
|
-
<span class="cline-any cline-yes">1</span>
|
|
1143
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1144
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1145
|
-
<span class="cline-any cline-yes">1</span>
|
|
1146
|
-
<span class="cline-any cline-yes">1</span>
|
|
1147
|
-
<span class="cline-any cline-yes">1</span>
|
|
1148
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1149
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1150
|
-
<span class="cline-any cline-yes">1</span>
|
|
1151
|
-
<span class="cline-any cline-yes">1</span>
|
|
1152
|
-
<span class="cline-any cline-yes">1</span>
|
|
1153
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1154
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1155
|
-
<span class="cline-any cline-yes">1</span>
|
|
1156
|
-
<span class="cline-any cline-yes">1</span>
|
|
1157
|
-
<span class="cline-any cline-yes">1</span>
|
|
1158
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1159
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1160
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1161
|
-
<span class="cline-any cline-yes">1</span>
|
|
1162
|
-
<span class="cline-any cline-yes">1</span>
|
|
1163
|
-
<span class="cline-any cline-yes">1</span>
|
|
1164
|
-
<span class="cline-any cline-yes">1</span>
|
|
1165
|
-
<span class="cline-any cline-yes">1</span>
|
|
1166
|
-
<span class="cline-any cline-yes">1</span>
|
|
1167
|
-
<span class="cline-any cline-yes">1</span>
|
|
1168
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1169
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1170
|
-
<span class="cline-any cline-neutral"> </span>
|
|
1171
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">/*
|
|
1172
|
-
Copyright (c) 2012, Guillaume Marty
|
|
1173
|
-
|
|
1174
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1175
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1176
|
-
in the Software without restriction, including without limitation the rights
|
|
1177
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1178
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1179
|
-
furnished to do so, subject to the following conditions:
|
|
1180
|
-
|
|
1181
|
-
The above copyright notice and this permission notice shall be included in
|
|
1182
|
-
all copies or substantial portions of the Software.
|
|
1183
|
-
|
|
1184
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1185
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1186
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1187
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1188
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1189
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1190
|
-
THE SOFTWARE.
|
|
1191
|
-
*/
|
|
1192
|
-
|
|
1193
|
-
var NounInflector = require('../lib/natural/inflectors/fr/noun_inflector'),
|
|
1194
|
-
inflector = new NounInflector();
|
|
1195
|
-
|
|
1196
|
-
describe('NounInflector', function() {
|
|
1197
|
-
describe('.pluralize()', function() {
|
|
1198
|
-
describe('should pluralize exception nouns ending by -al', function() {
|
|
1199
|
-
expect(inflector.pluralize('carnaval')).toBe('carnavals');
|
|
1200
|
-
expect(inflector.pluralize('narval')).toBe('narvals');
|
|
1201
|
-
expect(inflector.pluralize('récital')).toBe('récitals');
|
|
1202
|
-
});
|
|
1203
|
-
|
|
1204
|
-
describe('should pluralize regular nouns ending by -al', function() {
|
|
1205
|
-
expect(inflector.pluralize('amiral')).toBe('amiraux');
|
|
1206
|
-
expect(inflector.pluralize('cheval')).toBe('chevaux');
|
|
1207
|
-
expect(inflector.pluralize('général')).toBe('généraux');
|
|
1208
|
-
});
|
|
1209
|
-
|
|
1210
|
-
describe('should pluralize exception nouns ending by -ail', function() {
|
|
1211
|
-
expect(inflector.pluralize('bail')).toBe('baux');
|
|
1212
|
-
expect(inflector.pluralize('vitrail')).toBe('vitraux');
|
|
1213
|
-
expect(inflector.pluralize('émail')).toBe('émaux');
|
|
1214
|
-
});
|
|
1215
|
-
|
|
1216
|
-
describe('should pluralize regular nouns ending by -ail', function() {
|
|
1217
|
-
expect(inflector.pluralize('détail')).toBe('détails');
|
|
1218
|
-
expect(inflector.pluralize('poitrail')).toBe('poitrails');
|
|
1219
|
-
expect(inflector.pluralize('chandail')).toBe('chandails');
|
|
1220
|
-
});
|
|
1221
|
-
|
|
1222
|
-
describe('should pluralize exception nouns ending by -il', function() {
|
|
1223
|
-
expect(inflector.pluralize('ciel')).toBe('cieux');
|
|
1224
|
-
expect(inflector.pluralize('œil')).toBe('yeux');
|
|
1225
|
-
});
|
|
1226
|
-
|
|
1227
|
-
describe('should pluralize exception nouns ending by -ou', function() {
|
|
1228
|
-
expect(inflector.pluralize('bijou')).toBe('bijoux');
|
|
1229
|
-
expect(inflector.pluralize('joujou')).toBe('joujoux');
|
|
1230
|
-
expect(inflector.pluralize('hibou')).toBe('hiboux');
|
|
1231
|
-
});
|
|
1232
|
-
|
|
1233
|
-
describe('should pluralize regular nouns ending by -ou', function() {
|
|
1234
|
-
expect(inflector.pluralize('trou')).toBe('trous');
|
|
1235
|
-
expect(inflector.pluralize('bambou')).toBe('bambous');
|
|
1236
|
-
expect(inflector.pluralize('toutou')).toBe('toutous');
|
|
1237
|
-
});
|
|
1238
|
-
|
|
1239
|
-
describe('should pluralize exception nouns ending by -au', function() {
|
|
1240
|
-
expect(inflector.pluralize('berimbau')).toBe('berimbaus');
|
|
1241
|
-
expect(inflector.pluralize('landau')).toBe('landaus');
|
|
1242
|
-
expect(inflector.pluralize('pilau')).toBe('pilaus');
|
|
1243
|
-
});
|
|
1244
|
-
|
|
1245
|
-
describe('should pluralize regular nouns ending by -au', function() {
|
|
1246
|
-
expect(inflector.pluralize('cadeau')).toBe('cadeaux');
|
|
1247
|
-
expect(inflector.pluralize('beau')).toBe('beaux');
|
|
1248
|
-
expect(inflector.pluralize('étau')).toBe('étaux');
|
|
1249
|
-
});
|
|
1250
|
-
|
|
1251
|
-
describe('should pluralize exception nouns ending by -eu', function() {
|
|
1252
|
-
expect(inflector.pluralize('bleu')).toBe('bleus');
|
|
1253
|
-
expect(inflector.pluralize('émeu')).toBe('émeus');
|
|
1254
|
-
expect(inflector.pluralize('pneu')).toBe('pneus');
|
|
1255
|
-
});
|
|
1256
|
-
|
|
1257
|
-
describe('should pluralize regular nouns ending by -eu', function() {
|
|
1258
|
-
expect(inflector.pluralize('pieu')).toBe('pieux');
|
|
1259
|
-
expect(inflector.pluralize('lieu')).toBe('lieux');
|
|
1260
|
-
expect(inflector.pluralize('feu')).toBe('feux');
|
|
1261
|
-
});
|
|
1262
|
-
|
|
1263
|
-
describe('should pluralize regular nouns ending by -eau', function() {
|
|
1264
|
-
expect(inflector.pluralize('eau')).toBe('eaux');
|
|
1265
|
-
expect(inflector.pluralize('manteau')).toBe('manteaux');
|
|
1266
|
-
expect(inflector.pluralize('arbrisseau')).toBe('arbrisseaux');
|
|
1267
|
-
});
|
|
1268
|
-
|
|
1269
|
-
describe('should pluralize regular nouns ending by -œu', function() {
|
|
1270
|
-
expect(inflector.pluralize('vœu')).toBe('vœux');
|
|
1271
|
-
});
|
|
1272
|
-
|
|
1273
|
-
describe('should pluralize regular nouns ending by -s, -x or -z', function() {
|
|
1274
|
-
expect(inflector.pluralize('os')).toBe('os');
|
|
1275
|
-
expect(inflector.pluralize('cas')).toBe('cas');
|
|
1276
|
-
expect(inflector.pluralize('rhinocéros')).toBe('rhinocéros');
|
|
1277
|
-
|
|
1278
|
-
expect(inflector.pluralize('houx')).toBe('houx');
|
|
1279
|
-
expect(inflector.pluralize('lynx')).toBe('lynx');
|
|
1280
|
-
expect(inflector.pluralize('roux')).toBe('roux');
|
|
1281
|
-
|
|
1282
|
-
expect(inflector.pluralize('gaz')).toBe('gaz');
|
|
1283
|
-
expect(inflector.pluralize('quartz')).toBe('quartz');
|
|
1284
|
-
expect(inflector.pluralize('quiz')).toBe('quiz');
|
|
1285
|
-
});
|
|
1286
|
-
|
|
1287
|
-
describe('should pluralize exception nouns', function() {
|
|
1288
|
-
expect(inflector.pluralize('ail')).toBe('aulx');
|
|
1289
|
-
expect(inflector.pluralize('bétail')).toBe('bestiaux');
|
|
1290
|
-
});
|
|
1291
|
-
|
|
1292
|
-
describe('should pluralize regular nouns', function() {
|
|
1293
|
-
expect(inflector.pluralize('chai')).toBe('chais');
|
|
1294
|
-
expect(inflector.pluralize('vérité')).toBe('vérités');
|
|
1295
|
-
expect(inflector.pluralize('orange')).toBe('oranges');
|
|
1296
|
-
});
|
|
1297
|
-
});
|
|
1298
|
-
|
|
1299
|
-
describe('.singularize()', function() {
|
|
1300
|
-
describe('should singularize regular nouns ending by -aux', function() {
|
|
1301
|
-
expect(inflector.singularize('amiraux')).toBe('amiral');
|
|
1302
|
-
expect(inflector.singularize('chevaux')).toBe('cheval');
|
|
1303
|
-
expect(inflector.singularize('généraux')).toBe('général');
|
|
1304
|
-
});
|
|
1305
|
-
|
|
1306
|
-
describe('should singularize exception nouns ending by -aux', function() {
|
|
1307
|
-
expect(inflector.singularize('baux')).toBe('bail');
|
|
1308
|
-
expect(inflector.singularize('vitraux')).toBe('vitrail');
|
|
1309
|
-
expect(inflector.singularize('émaux')).toBe('émail');
|
|
1310
|
-
});
|
|
1311
|
-
|
|
1312
|
-
describe('should singularize regular nouns ending by -aux', function() {
|
|
1313
|
-
expect(inflector.singularize('cadeaux')).toBe('cadeau');
|
|
1314
|
-
expect(inflector.singularize('beaux')).toBe('beau');
|
|
1315
|
-
expect(inflector.singularize('étaux')).toBe('étau');
|
|
1316
|
-
});
|
|
1317
|
-
|
|
1318
|
-
describe('should singularize nouns with multiple plural forms', function() {
|
|
1319
|
-
expect(inflector.singularize('ails')).toBe('ail');
|
|
1320
|
-
expect(inflector.singularize('aulx')).toBe('ail');
|
|
1321
|
-
expect(inflector.singularize('ciels')).toBe('ciel');
|
|
1322
|
-
expect(inflector.singularize('cieux')).toBe('ciel');
|
|
1323
|
-
expect(inflector.singularize('œils')).toBe('œil');
|
|
1324
|
-
expect(inflector.singularize('yeux')).toBe('œil');
|
|
1325
|
-
expect(inflector.singularize('aïeuls')).toBe('aïeul'); // Regular
|
|
1326
|
-
expect(inflector.singularize('aïeux')).toBe('aïeul');
|
|
1327
|
-
expect(inflector.singularize('bisaïeuls')).toBe('bisaïeul'); // Regular
|
|
1328
|
-
expect(inflector.singularize('bisaïeux')).toBe('bisaïeul');
|
|
1329
|
-
expect(inflector.singularize('craus')).toBe('crau');
|
|
1330
|
-
expect(inflector.singularize('craux')).toBe('crau');
|
|
1331
|
-
expect(inflector.singularize('graus')).toBe('grau');
|
|
1332
|
-
expect(inflector.singularize('graux')).toBe('grau');
|
|
1333
|
-
expect(inflector.singularize('sénaus')).toBe('sénau');
|
|
1334
|
-
expect(inflector.singularize('sénaux')).toBe('sénau');
|
|
1335
|
-
expect(inflector.singularize('tussaus')).toBe('tussau');
|
|
1336
|
-
expect(inflector.singularize('tussaux')).toBe('tussau');
|
|
1337
|
-
expect(inflector.singularize('emposieus')).toBe('emposieu');
|
|
1338
|
-
expect(inflector.singularize('emposieux')).toBe('emposieu');
|
|
1339
|
-
expect(inflector.singularize('richelieus')).toBe('richelieu');
|
|
1340
|
-
expect(inflector.singularize('richelieux')).toBe('richelieu');
|
|
1341
|
-
//expect(inflector.singularize('feus')).toBe('feu'); // This one is an adjective.
|
|
1342
|
-
expect(inflector.singularize('feux')).toBe('feu');
|
|
1343
|
-
expect(inflector.singularize('lieus')).toBe('lieu'); // Fish
|
|
1344
|
-
expect(inflector.singularize('lieux')).toBe('lieu');
|
|
1345
|
-
expect(inflector.singularize('corails')).toBe('corail');
|
|
1346
|
-
expect(inflector.singularize('coraux')).toBe('corail');
|
|
1347
|
-
});
|
|
1348
|
-
|
|
1349
|
-
describe('should singularize exception nouns ending by -oux', function() {
|
|
1350
|
-
expect(inflector.singularize('bijoux')).toBe('bijou');
|
|
1351
|
-
expect(inflector.singularize('joujoux')).toBe('joujou');
|
|
1352
|
-
expect(inflector.singularize('hiboux')).toBe('hibou');
|
|
1353
|
-
});
|
|
1354
|
-
|
|
1355
|
-
describe('should singularize exception nouns ending by -eus', function() {
|
|
1356
|
-
expect(inflector.singularize('bleus')).toBe('bleu');
|
|
1357
|
-
expect(inflector.singularize('émeus')).toBe('émeu');
|
|
1358
|
-
expect(inflector.singularize('pneus')).toBe('pneu');
|
|
1359
|
-
});
|
|
1360
|
-
|
|
1361
|
-
describe('should singularize regular nouns ending by -eux', function() {
|
|
1362
|
-
expect(inflector.singularize('pieux')).toBe('pieu');
|
|
1363
|
-
expect(inflector.singularize('lieux')).toBe('lieu');
|
|
1364
|
-
expect(inflector.singularize('feux')).toBe('feu');
|
|
1365
|
-
});
|
|
1366
|
-
|
|
1367
|
-
describe('should singularize regular nouns ending by -eaux', function() {
|
|
1368
|
-
expect(inflector.singularize('eaux')).toBe('eau');
|
|
1369
|
-
expect(inflector.singularize('manteaux')).toBe('manteau');
|
|
1370
|
-
expect(inflector.singularize('arbrisseaux')).toBe('arbrisseau');
|
|
1371
|
-
});
|
|
1372
|
-
|
|
1373
|
-
describe('should singularize regular nouns ending by -œux', function() {
|
|
1374
|
-
expect(inflector.singularize('vœux')).toBe('vœu');
|
|
1375
|
-
});
|
|
1376
|
-
|
|
1377
|
-
describe('should singularize regular nouns ending by -s, -x or -z', function() {
|
|
1378
|
-
expect(inflector.singularize('cas')).toBe('cas');
|
|
1379
|
-
expect(inflector.singularize('os')).toBe('os');
|
|
1380
|
-
expect(inflector.singularize('rhinocéros')).toBe('rhinocéros');
|
|
1381
|
-
|
|
1382
|
-
expect(inflector.singularize('houx')).toBe('houx');
|
|
1383
|
-
expect(inflector.singularize('lynx')).toBe('lynx');
|
|
1384
|
-
expect(inflector.singularize('roux')).toBe('roux');
|
|
1385
|
-
|
|
1386
|
-
expect(inflector.singularize('gaz')).toBe('gaz');
|
|
1387
|
-
expect(inflector.singularize('quartz')).toBe('quartz');
|
|
1388
|
-
expect(inflector.singularize('quiz')).toBe('quiz');
|
|
1389
|
-
});
|
|
1390
|
-
|
|
1391
|
-
describe('should singularize exception nouns', function() {
|
|
1392
|
-
expect(inflector.singularize('bestiaux')).toBe('bétail');
|
|
1393
|
-
});
|
|
1394
|
-
|
|
1395
|
-
describe('should singularize regular nouns', function() {
|
|
1396
|
-
expect(inflector.singularize('chais')).toBe('chai');
|
|
1397
|
-
expect(inflector.singularize('vérités')).toBe('vérité');
|
|
1398
|
-
expect(inflector.singularize('oranges')).toBe('orange');
|
|
1399
|
-
|
|
1400
|
-
// Exception nouns ending by -als
|
|
1401
|
-
expect(inflector.singularize('carnavals')).toBe('carnaval');
|
|
1402
|
-
expect(inflector.singularize('narvals')).toBe('narval');
|
|
1403
|
-
expect(inflector.singularize('récitals')).toBe('récital');
|
|
1404
|
-
|
|
1405
|
-
// Regular nouns ending by -ails
|
|
1406
|
-
expect(inflector.singularize('détails')).toBe('détail');
|
|
1407
|
-
expect(inflector.singularize('poitrails')).toBe('poitrail');
|
|
1408
|
-
expect(inflector.singularize('chandails')).toBe('chandail');
|
|
1409
|
-
|
|
1410
|
-
// Regular nouns ending by -ous
|
|
1411
|
-
expect(inflector.singularize('trous')).toBe('trou');
|
|
1412
|
-
expect(inflector.singularize('bambous')).toBe('bambou');
|
|
1413
|
-
expect(inflector.singularize('toutous')).toBe('toutou');
|
|
1414
|
-
|
|
1415
|
-
// Exception nouns ending by -aus
|
|
1416
|
-
expect(inflector.singularize('berimbaus')).toBe('berimbau');
|
|
1417
|
-
expect(inflector.singularize('landaus')).toBe('landau');
|
|
1418
|
-
expect(inflector.singularize('pilaus')).toBe('pilau');
|
|
1419
|
-
});
|
|
1420
|
-
});
|
|
1421
|
-
|
|
1422
|
-
/*
|
|
1423
|
-
These tests ensure pluralizing plurals or singularizing singulars
|
|
1424
|
-
won't lead to wrong results.
|
|
1425
|
-
*/
|
|
1426
|
-
describe('should pluralize exception nouns ending by -al', function() {
|
|
1427
|
-
describe('should pluralize exception nouns ending by -al', function() {
|
|
1428
|
-
expect(inflector.pluralize('carnavals')).toBe('carnavals');
|
|
1429
|
-
expect(inflector.pluralize('narvals')).toBe('narvals');
|
|
1430
|
-
expect(inflector.pluralize('récitals')).toBe('récitals');
|
|
1431
|
-
});
|
|
1432
|
-
|
|
1433
|
-
describe('should pluralize regular nouns ending by -al', function() {
|
|
1434
|
-
expect(inflector.pluralize('amiraux')).toBe('amiraux');
|
|
1435
|
-
expect(inflector.pluralize('chevaux')).toBe('chevaux');
|
|
1436
|
-
expect(inflector.pluralize('généraux')).toBe('généraux');
|
|
1437
|
-
});
|
|
1438
|
-
|
|
1439
|
-
describe('should pluralize exception nouns ending by -ail', function() {
|
|
1440
|
-
expect(inflector.pluralize('baux')).toBe('baux');
|
|
1441
|
-
expect(inflector.pluralize('vitraux')).toBe('vitraux');
|
|
1442
|
-
expect(inflector.pluralize('émaux')).toBe('émaux');
|
|
1443
|
-
});
|
|
1444
|
-
|
|
1445
|
-
describe('should pluralize regular nouns ending by -ail', function() {
|
|
1446
|
-
expect(inflector.pluralize('détails')).toBe('détails');
|
|
1447
|
-
expect(inflector.pluralize('poitrails')).toBe('poitrails');
|
|
1448
|
-
expect(inflector.pluralize('chandails')).toBe('chandails');
|
|
1449
|
-
});
|
|
1450
|
-
|
|
1451
|
-
describe('should pluralize exception nouns ending by -il', function() {
|
|
1452
|
-
expect(inflector.pluralize('cieux')).toBe('cieux');
|
|
1453
|
-
expect(inflector.pluralize('yeux')).toBe('yeux');
|
|
1454
|
-
});
|
|
1455
|
-
|
|
1456
|
-
describe('should pluralize exception nouns ending by -ou', function() {
|
|
1457
|
-
expect(inflector.pluralize('bijoux')).toBe('bijoux');
|
|
1458
|
-
expect(inflector.pluralize('joujoux')).toBe('joujoux');
|
|
1459
|
-
expect(inflector.pluralize('hiboux')).toBe('hiboux');
|
|
1460
|
-
});
|
|
1461
|
-
|
|
1462
|
-
describe('should pluralize regular nouns ending by -ou', function() {
|
|
1463
|
-
expect(inflector.pluralize('trous')).toBe('trous');
|
|
1464
|
-
expect(inflector.pluralize('bambous')).toBe('bambous');
|
|
1465
|
-
expect(inflector.pluralize('toutous')).toBe('toutous');
|
|
1466
|
-
});
|
|
1467
|
-
|
|
1468
|
-
describe('should pluralize exception nouns ending by -au', function() {
|
|
1469
|
-
expect(inflector.pluralize('berimbaus')).toBe('berimbaus');
|
|
1470
|
-
expect(inflector.pluralize('landaus')).toBe('landaus');
|
|
1471
|
-
expect(inflector.pluralize('pilaus')).toBe('pilaus');
|
|
1472
|
-
});
|
|
1473
|
-
|
|
1474
|
-
describe('should pluralize regular nouns ending by -au', function() {
|
|
1475
|
-
expect(inflector.pluralize('cadeaux')).toBe('cadeaux');
|
|
1476
|
-
expect(inflector.pluralize('beaux')).toBe('beaux');
|
|
1477
|
-
expect(inflector.pluralize('étaux')).toBe('étaux');
|
|
1478
|
-
});
|
|
1479
|
-
|
|
1480
|
-
describe('should pluralize exception nouns ending by -eu', function() {
|
|
1481
|
-
expect(inflector.pluralize('bleus')).toBe('bleus');
|
|
1482
|
-
expect(inflector.pluralize('émeus')).toBe('émeus');
|
|
1483
|
-
expect(inflector.pluralize('pneus')).toBe('pneus');
|
|
1484
|
-
});
|
|
1485
|
-
|
|
1486
|
-
describe('should pluralize regular nouns ending by -eu', function() {
|
|
1487
|
-
expect(inflector.pluralize('pieux')).toBe('pieux');
|
|
1488
|
-
expect(inflector.pluralize('lieux')).toBe('lieux');
|
|
1489
|
-
expect(inflector.pluralize('feux')).toBe('feux');
|
|
1490
|
-
});
|
|
1491
|
-
|
|
1492
|
-
describe('should pluralize regular nouns ending by -eau', function() {
|
|
1493
|
-
expect(inflector.pluralize('eaux')).toBe('eaux');
|
|
1494
|
-
expect(inflector.pluralize('manteaux')).toBe('manteaux');
|
|
1495
|
-
expect(inflector.pluralize('arbrisseaux')).toBe('arbrisseaux');
|
|
1496
|
-
});
|
|
1497
|
-
|
|
1498
|
-
describe('should pluralize regular nouns ending by -œu', function() {
|
|
1499
|
-
expect(inflector.pluralize('vœux')).toBe('vœux');
|
|
1500
|
-
});
|
|
1501
|
-
|
|
1502
|
-
describe('should pluralize regular nouns ending by -s, -x or -z', function() {
|
|
1503
|
-
expect(inflector.pluralize('os')).toBe('os');
|
|
1504
|
-
expect(inflector.pluralize('cas')).toBe('cas');
|
|
1505
|
-
expect(inflector.pluralize('rhinocéros')).toBe('rhinocéros');
|
|
1506
|
-
|
|
1507
|
-
expect(inflector.pluralize('houx')).toBe('houx');
|
|
1508
|
-
expect(inflector.pluralize('lynx')).toBe('lynx');
|
|
1509
|
-
expect(inflector.pluralize('roux')).toBe('roux');
|
|
1510
|
-
|
|
1511
|
-
expect(inflector.pluralize('gaz')).toBe('gaz');
|
|
1512
|
-
expect(inflector.pluralize('quartz')).toBe('quartz');
|
|
1513
|
-
expect(inflector.pluralize('quiz')).toBe('quiz');
|
|
1514
|
-
});
|
|
1515
|
-
|
|
1516
|
-
describe('should pluralize exception nouns', function() {
|
|
1517
|
-
expect(inflector.pluralize('aulx')).toBe('aulx');
|
|
1518
|
-
expect(inflector.pluralize('bestiaux')).toBe('bestiaux');
|
|
1519
|
-
});
|
|
1520
|
-
|
|
1521
|
-
describe('should pluralize regular nouns', function() {
|
|
1522
|
-
expect(inflector.pluralize('chais')).toBe('chais');
|
|
1523
|
-
expect(inflector.pluralize('vérités')).toBe('vérités');
|
|
1524
|
-
expect(inflector.pluralize('oranges')).toBe('oranges');
|
|
1525
|
-
});
|
|
1526
|
-
});
|
|
1527
|
-
|
|
1528
|
-
describe('.singularize()', function() {
|
|
1529
|
-
describe('should singularize regular nouns ending by -aux', function() {
|
|
1530
|
-
expect(inflector.singularize('amiral')).toBe('amiral');
|
|
1531
|
-
expect(inflector.singularize('cheval')).toBe('cheval');
|
|
1532
|
-
expect(inflector.singularize('général')).toBe('général');
|
|
1533
|
-
});
|
|
1534
|
-
|
|
1535
|
-
describe('should singularize exception nouns ending by -aux', function() {
|
|
1536
|
-
expect(inflector.singularize('bail')).toBe('bail');
|
|
1537
|
-
expect(inflector.singularize('vitrail')).toBe('vitrail');
|
|
1538
|
-
expect(inflector.singularize('émail')).toBe('émail');
|
|
1539
|
-
});
|
|
1540
|
-
|
|
1541
|
-
describe('should singularize regular nouns ending by -aux', function() {
|
|
1542
|
-
expect(inflector.singularize('cadeau')).toBe('cadeau');
|
|
1543
|
-
expect(inflector.singularize('beau')).toBe('beau');
|
|
1544
|
-
expect(inflector.singularize('étau')).toBe('étau');
|
|
1545
|
-
});
|
|
1546
|
-
|
|
1547
|
-
describe('should singularize nouns with multiple plural forms', function() {
|
|
1548
|
-
expect(inflector.singularize('ail')).toBe('ail');
|
|
1549
|
-
expect(inflector.singularize('ciel')).toBe('ciel');
|
|
1550
|
-
expect(inflector.singularize('œil')).toBe('œil');
|
|
1551
|
-
expect(inflector.singularize('aïeul')).toBe('aïeul');
|
|
1552
|
-
expect(inflector.singularize('bisaïeul')).toBe('bisaïeul');
|
|
1553
|
-
expect(inflector.singularize('crau')).toBe('crau');
|
|
1554
|
-
expect(inflector.singularize('grau')).toBe('grau');
|
|
1555
|
-
expect(inflector.singularize('sénau')).toBe('sénau');
|
|
1556
|
-
expect(inflector.singularize('tussau')).toBe('tussau');
|
|
1557
|
-
expect(inflector.singularize('emposieu')).toBe('emposieu');
|
|
1558
|
-
expect(inflector.singularize('richelieu')).toBe('richelieu');
|
|
1559
|
-
expect(inflector.singularize('feu')).toBe('feu');
|
|
1560
|
-
expect(inflector.singularize('lieu')).toBe('lieu'); // Fish
|
|
1561
|
-
expect(inflector.singularize('corail')).toBe('corail');
|
|
1562
|
-
});
|
|
1563
|
-
|
|
1564
|
-
describe('should singularize exception nouns ending by -oux', function() {
|
|
1565
|
-
expect(inflector.singularize('bijou')).toBe('bijou');
|
|
1566
|
-
expect(inflector.singularize('joujou')).toBe('joujou');
|
|
1567
|
-
expect(inflector.singularize('hibou')).toBe('hibou');
|
|
1568
|
-
});
|
|
1569
|
-
|
|
1570
|
-
describe('should singularize exception nouns ending by -eus', function() {
|
|
1571
|
-
expect(inflector.singularize('bleu')).toBe('bleu');
|
|
1572
|
-
expect(inflector.singularize('émeu')).toBe('émeu');
|
|
1573
|
-
expect(inflector.singularize('pneu')).toBe('pneu');
|
|
1574
|
-
});
|
|
1575
|
-
|
|
1576
|
-
describe('should singularize regular nouns ending by -eux', function() {
|
|
1577
|
-
expect(inflector.singularize('pieu')).toBe('pieu');
|
|
1578
|
-
expect(inflector.singularize('lieu')).toBe('lieu');
|
|
1579
|
-
expect(inflector.singularize('feu')).toBe('feu');
|
|
1580
|
-
});
|
|
1581
|
-
|
|
1582
|
-
describe('should singularize regular nouns ending by -eaux', function() {
|
|
1583
|
-
expect(inflector.singularize('eau')).toBe('eau');
|
|
1584
|
-
expect(inflector.singularize('manteau')).toBe('manteau');
|
|
1585
|
-
expect(inflector.singularize('arbrisseau')).toBe('arbrisseau');
|
|
1586
|
-
});
|
|
1587
|
-
|
|
1588
|
-
describe('should singularize regular nouns ending by -œux', function() {
|
|
1589
|
-
expect(inflector.singularize('vœu')).toBe('vœu');
|
|
1590
|
-
});
|
|
1591
|
-
|
|
1592
|
-
describe('should singularize regular nouns ending by -s, -x or -z', function() {
|
|
1593
|
-
expect(inflector.singularize('cas')).toBe('cas');
|
|
1594
|
-
expect(inflector.singularize('os')).toBe('os');
|
|
1595
|
-
expect(inflector.singularize('rhinocéros')).toBe('rhinocéros');
|
|
1596
|
-
|
|
1597
|
-
expect(inflector.singularize('houx')).toBe('houx');
|
|
1598
|
-
expect(inflector.singularize('lynx')).toBe('lynx');
|
|
1599
|
-
expect(inflector.singularize('roux')).toBe('roux');
|
|
1600
|
-
|
|
1601
|
-
expect(inflector.singularize('gaz')).toBe('gaz');
|
|
1602
|
-
expect(inflector.singularize('quartz')).toBe('quartz');
|
|
1603
|
-
expect(inflector.singularize('quiz')).toBe('quiz');
|
|
1604
|
-
});
|
|
1605
|
-
|
|
1606
|
-
describe('should singularize exception nouns', function() {
|
|
1607
|
-
expect(inflector.singularize('bétail')).toBe('bétail');
|
|
1608
|
-
});
|
|
1609
|
-
|
|
1610
|
-
describe('should singularize regular nouns', function() {
|
|
1611
|
-
expect(inflector.singularize('chai')).toBe('chai');
|
|
1612
|
-
expect(inflector.singularize('vérité')).toBe('vérité');
|
|
1613
|
-
expect(inflector.singularize('orange')).toBe('orange');
|
|
1614
|
-
|
|
1615
|
-
// Exception nouns ending by -als
|
|
1616
|
-
expect(inflector.singularize('carnaval')).toBe('carnaval');
|
|
1617
|
-
expect(inflector.singularize('narval')).toBe('narval');
|
|
1618
|
-
expect(inflector.singularize('récital')).toBe('récital');
|
|
1619
|
-
|
|
1620
|
-
// Regular nouns ending by -ails
|
|
1621
|
-
expect(inflector.singularize('détail')).toBe('détail');
|
|
1622
|
-
expect(inflector.singularize('poitrail')).toBe('poitrail');
|
|
1623
|
-
expect(inflector.singularize('chandail')).toBe('chandail');
|
|
1624
|
-
|
|
1625
|
-
// Regular nouns ending by -ous
|
|
1626
|
-
expect(inflector.singularize('trou')).toBe('trou');
|
|
1627
|
-
expect(inflector.singularize('bambou')).toBe('bambou');
|
|
1628
|
-
expect(inflector.singularize('toutou')).toBe('toutou');
|
|
1629
|
-
|
|
1630
|
-
// Exception nouns ending by -aus
|
|
1631
|
-
expect(inflector.singularize('berimbau')).toBe('berimbau');
|
|
1632
|
-
expect(inflector.singularize('landau')).toBe('landau');
|
|
1633
|
-
expect(inflector.singularize('pilau')).toBe('pilau');
|
|
1634
|
-
});
|
|
1635
|
-
});
|
|
1636
|
-
|
|
1637
|
-
describe('.attach()', function() {
|
|
1638
|
-
describe('should attach new methods to String', function() {
|
|
1639
|
-
inflector.attach();
|
|
1640
|
-
expect('corail'.pluralizeNoun()).toBe('coraux');
|
|
1641
|
-
expect('coraux'.singularizeNoun()).toBe('corail');
|
|
1642
|
-
expect('récital'.pluralizeNoun()).toBe('récitals');
|
|
1643
|
-
expect('récitals'.singularizeNoun()).toBe('récital');
|
|
1644
|
-
});
|
|
1645
|
-
});
|
|
1646
|
-
});
|
|
1647
|
-
</pre></td></tr>
|
|
1648
|
-
</table></pre>
|
|
1649
|
-
|
|
1650
|
-
</div>
|
|
1651
|
-
<div class="footer">
|
|
1652
|
-
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Mon Dec 22 2014 18:17:21 GMT-0500 (EST)</div>
|
|
1653
|
-
</div>
|
|
1654
|
-
|
|
1655
|
-
<script src="../prettify.js"></script>
|
|
1656
|
-
|
|
1657
|
-
<script src="https://yui-s.yahooapis.com/3.6.0/build/yui/yui-min.js"></script>
|
|
1658
|
-
<script>
|
|
1659
|
-
|
|
1660
|
-
YUI().use('datatable', function (Y) {
|
|
1661
|
-
|
|
1662
|
-
var formatters = {
|
|
1663
|
-
pct: function (o) {
|
|
1664
|
-
o.className += o.record.get('classes')[o.column.key];
|
|
1665
|
-
try {
|
|
1666
|
-
return o.value.toFixed(2) + '%';
|
|
1667
|
-
} catch (ex) { return o.value + '%'; }
|
|
1668
|
-
},
|
|
1669
|
-
html: function (o) {
|
|
1670
|
-
o.className += o.record.get('classes')[o.column.key];
|
|
1671
|
-
return o.record.get(o.column.key + '_html');
|
|
1672
|
-
}
|
|
1673
|
-
},
|
|
1674
|
-
defaultFormatter = function (o) {
|
|
1675
|
-
o.className += o.record.get('classes')[o.column.key];
|
|
1676
|
-
return o.value;
|
|
1677
|
-
};
|
|
1678
|
-
|
|
1679
|
-
function getColumns(theadNode) {
|
|
1680
|
-
var colNodes = theadNode.all('tr th'),
|
|
1681
|
-
cols = [],
|
|
1682
|
-
col;
|
|
1683
|
-
colNodes.each(function (colNode) {
|
|
1684
|
-
col = {
|
|
1685
|
-
key: colNode.getAttribute('data-col'),
|
|
1686
|
-
label: colNode.get('innerHTML') || ' ',
|
|
1687
|
-
sortable: !colNode.getAttribute('data-nosort'),
|
|
1688
|
-
className: colNode.getAttribute('class'),
|
|
1689
|
-
type: colNode.getAttribute('data-type'),
|
|
1690
|
-
allowHTML: colNode.getAttribute('data-html') === 'true' || colNode.getAttribute('data-fmt') === 'html'
|
|
1691
|
-
};
|
|
1692
|
-
col.formatter = formatters[colNode.getAttribute('data-fmt')] || defaultFormatter;
|
|
1693
|
-
cols.push(col);
|
|
1694
|
-
});
|
|
1695
|
-
return cols;
|
|
1696
|
-
}
|
|
1697
|
-
|
|
1698
|
-
function getRowData(trNode, cols) {
|
|
1699
|
-
var tdNodes = trNode.all('td'),
|
|
1700
|
-
i,
|
|
1701
|
-
row = { classes: {} },
|
|
1702
|
-
node,
|
|
1703
|
-
name;
|
|
1704
|
-
for (i = 0; i < cols.length; i += 1) {
|
|
1705
|
-
name = cols[i].key;
|
|
1706
|
-
node = tdNodes.item(i);
|
|
1707
|
-
row[name] = node.getAttribute('data-value') || node.get('innerHTML');
|
|
1708
|
-
row[name + '_html'] = node.get('innerHTML');
|
|
1709
|
-
row.classes[name] = node.getAttribute('class');
|
|
1710
|
-
//Y.log('Name: ' + name + '; Value: ' + row[name]);
|
|
1711
|
-
if (cols[i].type === 'number') { row[name] = row[name] * 1; }
|
|
1712
|
-
}
|
|
1713
|
-
//Y.log(row);
|
|
1714
|
-
return row;
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
function getData(tbodyNode, cols) {
|
|
1718
|
-
var data = [];
|
|
1719
|
-
tbodyNode.all('tr').each(function (trNode) {
|
|
1720
|
-
data.push(getRowData(trNode, cols));
|
|
1721
|
-
});
|
|
1722
|
-
return data;
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1725
|
-
function replaceTable(node) {
|
|
1726
|
-
if (!node) { return; }
|
|
1727
|
-
var cols = getColumns(node.one('thead')),
|
|
1728
|
-
data = getData(node.one('tbody'), cols),
|
|
1729
|
-
table,
|
|
1730
|
-
parent = node.get('parentNode');
|
|
1731
|
-
|
|
1732
|
-
table = new Y.DataTable({
|
|
1733
|
-
columns: cols,
|
|
1734
|
-
data: data,
|
|
1735
|
-
sortBy: 'file'
|
|
1736
|
-
});
|
|
1737
|
-
parent.set('innerHTML', '');
|
|
1738
|
-
table.render(parent);
|
|
1739
|
-
}
|
|
1740
|
-
|
|
1741
|
-
Y.on('domready', function () {
|
|
1742
|
-
replaceTable(Y.one('div.coverage-summary table'));
|
|
1743
|
-
if (typeof prettyPrint === 'function') {
|
|
1744
|
-
prettyPrint();
|
|
1745
|
-
}
|
|
1746
|
-
});
|
|
1747
|
-
});
|
|
1748
|
-
</script>
|
|
1749
|
-
</body>
|
|
1750
|
-
</html>
|