axyseo 2.0.0-alpha.2 → 2.1.0
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/build/config/diacritics.js +1 -7
- package/build/config/diacritics.js.map +1 -1
- package/build/config/getTransliterations.js +6 -14
- package/build/config/getTransliterations.js.map +1 -1
- package/build/config/transliterationsWPstyle.js +5 -12
- package/build/config/transliterationsWPstyle.js.map +1 -1
- package/build/config/wordBoundaries.js +1 -7
- package/build/config/wordBoundaries.js.map +1 -1
- package/build/config/wordBoundariesWithoutPunctuation.js +2 -8
- package/build/config/wordBoundariesWithoutPunctuation.js.map +1 -1
- package/build/const/analysis.js +32 -11
- package/build/const/analysis.js.map +1 -1
- package/build/errors/invalidType.js +1 -8
- package/build/errors/invalidType.js.map +1 -1
- package/build/errors/missingArgument.js +1 -8
- package/build/errors/missingArgument.js.map +1 -1
- package/build/helpers/createMeasurementElement.js +1 -8
- package/build/helpers/createMeasurementElement.js.map +1 -1
- package/build/helpers/domManipulation.js +3 -8
- package/build/helpers/domManipulation.js.map +1 -1
- package/build/helpers/errors.js +5 -10
- package/build/helpers/errors.js.map +1 -1
- package/build/helpers/factory.js +7 -13
- package/build/helpers/factory.js.map +1 -1
- package/build/helpers/formatNumber.js +1 -7
- package/build/helpers/formatNumber.js.map +1 -1
- package/build/helpers/formatString.js +4 -9
- package/build/helpers/formatString.js.map +1 -1
- package/build/helpers/getLanguagesWithWordComplexity.js +1 -7
- package/build/helpers/getLanguagesWithWordComplexity.js.map +1 -1
- package/build/helpers/getLanguagesWithWordFormSupport.js +1 -7
- package/build/helpers/getLanguagesWithWordFormSupport.js.map +1 -1
- package/build/helpers/getWordComplexityConfig.js +9 -15
- package/build/helpers/getWordComplexityConfig.js.map +1 -1
- package/build/helpers/getWordComplexityHelper.js +9 -15
- package/build/helpers/getWordComplexityHelper.js.map +1 -1
- package/build/helpers/htmlEntities.js +6 -11
- package/build/helpers/htmlEntities.js.map +1 -1
- package/build/helpers/includesAny.js +3 -8
- package/build/helpers/includesAny.js.map +1 -1
- package/build/helpers/index.js +30 -72
- package/build/helpers/index.js.map +1 -1
- package/build/helpers/shortlinker/Shortlinker.js +1 -8
- package/build/helpers/shortlinker/Shortlinker.js.map +1 -1
- package/build/helpers/shortlinker/index.js +1 -16
- package/build/helpers/shortlinker/index.js.map +1 -1
- package/build/helpers/shortlinker/singleton.js +5 -13
- package/build/helpers/shortlinker/singleton.js.map +1 -1
- package/build/helpers/types.js +2 -9
- package/build/helpers/types.js.map +1 -1
- package/build/index.js +25 -87
- package/build/index.js.map +1 -1
- package/build/languageProcessing/AbstractResearcher.js +88 -95
- package/build/languageProcessing/AbstractResearcher.js.map +1 -1
- package/build/languageProcessing/helpers/highlighting/getMarkingsInSentence.js +3 -10
- package/build/languageProcessing/helpers/highlighting/getMarkingsInSentence.js.map +1 -1
- package/build/languageProcessing/helpers/html/getFieldsToMark.js +6 -11
- package/build/languageProcessing/helpers/html/getFieldsToMark.js.map +1 -1
- package/build/languageProcessing/helpers/html/getSubheadingTexts.js +3 -8
- package/build/languageProcessing/helpers/html/getSubheadingTexts.js.map +1 -1
- package/build/languageProcessing/helpers/html/getSubheadings.js +2 -12
- package/build/languageProcessing/helpers/html/getSubheadings.js.map +1 -1
- package/build/languageProcessing/helpers/html/html.js +9 -17
- package/build/languageProcessing/helpers/html/html.js.map +1 -1
- package/build/languageProcessing/helpers/html/htmlParser.js +3 -10
- package/build/languageProcessing/helpers/html/htmlParser.js.map +1 -1
- package/build/languageProcessing/helpers/html/matchParagraphs.js +7 -12
- package/build/languageProcessing/helpers/html/matchParagraphs.js.map +1 -1
- package/build/languageProcessing/helpers/html/normalizeHTML.js +4 -10
- package/build/languageProcessing/helpers/html/normalizeHTML.js.map +1 -1
- package/build/languageProcessing/helpers/image/getAltAttribute.js +3 -9
- package/build/languageProcessing/helpers/image/getAltAttribute.js.map +1 -1
- package/build/languageProcessing/helpers/image/getImagesInTree.js +1 -7
- package/build/languageProcessing/helpers/image/getImagesInTree.js.map +1 -1
- package/build/languageProcessing/helpers/image/imageInText.js +5 -12
- package/build/languageProcessing/helpers/image/imageInText.js.map +1 -1
- package/build/languageProcessing/helpers/index.js +5 -40
- package/build/languageProcessing/helpers/index.js.map +1 -1
- package/build/languageProcessing/helpers/language/getLanguage.js +1 -7
- package/build/languageProcessing/helpers/language/getLanguage.js.map +1 -1
- package/build/languageProcessing/helpers/link/checkNofollow.js +3 -10
- package/build/languageProcessing/helpers/link/checkNofollow.js.map +1 -1
- package/build/languageProcessing/helpers/link/getAnchorsFromText.js +1 -7
- package/build/languageProcessing/helpers/link/getAnchorsFromText.js.map +1 -1
- package/build/languageProcessing/helpers/link/getLinkType.js +7 -13
- package/build/languageProcessing/helpers/link/getLinkType.js.map +1 -1
- package/build/languageProcessing/helpers/match/findKeywordFormsInString.js +10 -17
- package/build/languageProcessing/helpers/match/findKeywordFormsInString.js.map +1 -1
- package/build/languageProcessing/helpers/match/isDoubleQuoted.js +4 -10
- package/build/languageProcessing/helpers/match/isDoubleQuoted.js.map +1 -1
- package/build/languageProcessing/helpers/match/matchTextWithArray.js +6 -12
- package/build/languageProcessing/helpers/match/matchTextWithArray.js.map +1 -1
- package/build/languageProcessing/helpers/match/matchTextWithTransliteration.js +16 -22
- package/build/languageProcessing/helpers/match/matchTextWithTransliteration.js.map +1 -1
- package/build/languageProcessing/helpers/match/matchTextWithWord.js +17 -23
- package/build/languageProcessing/helpers/match/matchTextWithWord.js.map +1 -1
- package/build/languageProcessing/helpers/match/matchWordFormsWithSentence.js +7 -15
- package/build/languageProcessing/helpers/match/matchWordFormsWithSentence.js.map +1 -1
- package/build/languageProcessing/helpers/match/processExactMatchRequest.js +3 -9
- package/build/languageProcessing/helpers/match/processExactMatchRequest.js.map +1 -1
- package/build/languageProcessing/helpers/morphology/baseStemmer.js +1 -7
- package/build/languageProcessing/helpers/morphology/baseStemmer.js.map +1 -1
- package/build/languageProcessing/helpers/morphology/buildFormRule.js +1 -7
- package/build/languageProcessing/helpers/morphology/buildFormRule.js.map +1 -1
- package/build/languageProcessing/helpers/morphology/buildTopicStems.js +13 -23
- package/build/languageProcessing/helpers/morphology/buildTopicStems.js.map +1 -1
- package/build/languageProcessing/helpers/morphology/createRulesFromArrays.js +2 -9
- package/build/languageProcessing/helpers/morphology/createRulesFromArrays.js.map +1 -1
- package/build/languageProcessing/helpers/morphology/exceptionListHelpers.js +5 -13
- package/build/languageProcessing/helpers/morphology/exceptionListHelpers.js.map +1 -1
- package/build/languageProcessing/helpers/morphology/findMatchingEndingInArray.js +1 -7
- package/build/languageProcessing/helpers/morphology/findMatchingEndingInArray.js.map +1 -1
- package/build/languageProcessing/helpers/morphology/flattenSortLength.js +3 -8
- package/build/languageProcessing/helpers/morphology/flattenSortLength.js.map +1 -1
- package/build/languageProcessing/helpers/morphology/getAllWordsFromPaper.js +12 -18
- package/build/languageProcessing/helpers/morphology/getAllWordsFromPaper.js.map +1 -1
- package/build/languageProcessing/helpers/morphology/regexHelpers.js +3 -11
- package/build/languageProcessing/helpers/morphology/regexHelpers.js.map +1 -1
- package/build/languageProcessing/helpers/morphology/stemHelpers.js +2 -9
- package/build/languageProcessing/helpers/morphology/stemHelpers.js.map +1 -1
- package/build/languageProcessing/helpers/morphology/stemPrefixedFunctionWords.js +1 -7
- package/build/languageProcessing/helpers/morphology/stemPrefixedFunctionWords.js.map +1 -1
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/directPrecedenceException.js +5 -11
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/directPrecedenceException.js.map +1 -1
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/freeAuxiliaryParticipleOrder/getClausesSplitOnStopWords.js +9 -15
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/freeAuxiliaryParticipleOrder/getClausesSplitOnStopWords.js.map +1 -1
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/freeAuxiliaryParticipleOrder/nonDirectParticiplePrecedenceException.js +9 -15
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/freeAuxiliaryParticipleOrder/nonDirectParticiplePrecedenceException.js.map +1 -1
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/getClauses.js +28 -34
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/getClauses.js.map +1 -1
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/getIndicesWithRegex.js +1 -7
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/getIndicesWithRegex.js.map +1 -1
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/matchRegularParticiples.js +3 -8
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/matchRegularParticiples.js.map +1 -1
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/precedenceException.js +5 -11
- package/build/languageProcessing/helpers/passiveVoice/periphrastic/precedenceException.js.map +1 -1
- package/build/languageProcessing/helpers/prominentWords/determineProminentWords.js +16 -28
- package/build/languageProcessing/helpers/prominentWords/determineProminentWords.js.map +1 -1
- package/build/languageProcessing/helpers/regex/createRegexFromArray.js +10 -16
- package/build/languageProcessing/helpers/regex/createRegexFromArray.js.map +1 -1
- package/build/languageProcessing/helpers/regex/createRegexFromDoubleArray.js +4 -10
- package/build/languageProcessing/helpers/regex/createRegexFromDoubleArray.js.map +1 -1
- package/build/languageProcessing/helpers/regex/createWordRegex.js +12 -18
- package/build/languageProcessing/helpers/regex/createWordRegex.js.map +1 -1
- package/build/languageProcessing/helpers/regex/matchStringWithRegex.js +1 -7
- package/build/languageProcessing/helpers/regex/matchStringWithRegex.js.map +1 -1
- package/build/languageProcessing/helpers/regex/searchAndReplaceWithOneRegex.js +1 -7
- package/build/languageProcessing/helpers/regex/searchAndReplaceWithOneRegex.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/doubleQuotes.js +1 -7
- package/build/languageProcessing/helpers/sanitize/doubleQuotes.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/filterShortcodesFromTree.js +3 -11
- package/build/languageProcessing/helpers/sanitize/filterShortcodesFromTree.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/mergeListItems.js +1 -7
- package/build/languageProcessing/helpers/sanitize/mergeListItems.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/parseSynonyms.js +5 -11
- package/build/languageProcessing/helpers/sanitize/parseSynonyms.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/quotes.js +4 -12
- package/build/languageProcessing/helpers/sanitize/quotes.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/removeEmailAddresses.js +1 -7
- package/build/languageProcessing/helpers/sanitize/removeEmailAddresses.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/removePunctuation.js +7 -13
- package/build/languageProcessing/helpers/sanitize/removePunctuation.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/removePunctuationExceptQuotes.js +1 -7
- package/build/languageProcessing/helpers/sanitize/removePunctuationExceptQuotes.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/removeSentenceTerminators.js +1 -7
- package/build/languageProcessing/helpers/sanitize/removeSentenceTerminators.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/removeURLs.js +1 -7
- package/build/languageProcessing/helpers/sanitize/removeURLs.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/sanitizeLineBreakTag.js +1 -7
- package/build/languageProcessing/helpers/sanitize/sanitizeLineBreakTag.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/sanitizeString.js +5 -10
- package/build/languageProcessing/helpers/sanitize/sanitizeString.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/stripHTMLTags.js +7 -16
- package/build/languageProcessing/helpers/sanitize/stripHTMLTags.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/stripNonTextTags.js +4 -10
- package/build/languageProcessing/helpers/sanitize/stripNonTextTags.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/stripNumbers.js +4 -10
- package/build/languageProcessing/helpers/sanitize/stripNumbers.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/stripSpaces.js +1 -7
- package/build/languageProcessing/helpers/sanitize/stripSpaces.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/stripWordBoundaries.js +2 -10
- package/build/languageProcessing/helpers/sanitize/stripWordBoundaries.js.map +1 -1
- package/build/languageProcessing/helpers/sanitize/unifyWhitespace.js +2 -11
- package/build/languageProcessing/helpers/sanitize/unifyWhitespace.js.map +1 -1
- package/build/languageProcessing/helpers/sentence/SentenceTokenizer.js +22 -29
- package/build/languageProcessing/helpers/sentence/SentenceTokenizer.js.map +1 -1
- package/build/languageProcessing/helpers/sentence/countSentences.js +4 -10
- package/build/languageProcessing/helpers/sentence/countSentences.js.map +1 -1
- package/build/languageProcessing/helpers/sentence/getSentences.js +13 -20
- package/build/languageProcessing/helpers/sentence/getSentences.js.map +1 -1
- package/build/languageProcessing/helpers/sentence/getSentencesFromTree.js +2 -9
- package/build/languageProcessing/helpers/sentence/getSentencesFromTree.js.map +1 -1
- package/build/languageProcessing/helpers/sentence/memoizedSentenceTokenizer.js +4 -10
- package/build/languageProcessing/helpers/sentence/memoizedSentenceTokenizer.js.map +1 -1
- package/build/languageProcessing/helpers/sentence/sentencesLength.js +7 -13
- package/build/languageProcessing/helpers/sentence/sentencesLength.js.map +1 -1
- package/build/languageProcessing/helpers/syllables/DeviationFragment.js +5 -11
- package/build/languageProcessing/helpers/syllables/DeviationFragment.js.map +1 -1
- package/build/languageProcessing/helpers/syllables/countSyllables.js +23 -30
- package/build/languageProcessing/helpers/syllables/countSyllables.js.map +1 -1
- package/build/languageProcessing/helpers/syllables/syllableCountIterator.js +7 -14
- package/build/languageProcessing/helpers/syllables/syllableCountIterator.js.map +1 -1
- package/build/languageProcessing/helpers/syllables/syllableCountStep.js +5 -12
- package/build/languageProcessing/helpers/syllables/syllableCountStep.js.map +1 -1
- package/build/languageProcessing/helpers/transform/transformWordsWithHyphens.js +1 -7
- package/build/languageProcessing/helpers/transform/transformWordsWithHyphens.js.map +1 -1
- package/build/languageProcessing/helpers/transliterate/replaceDiacritics.js +4 -10
- package/build/languageProcessing/helpers/transliterate/replaceDiacritics.js.map +1 -1
- package/build/languageProcessing/helpers/transliterate/specialCharacterMappings.js +12 -23
- package/build/languageProcessing/helpers/transliterate/specialCharacterMappings.js.map +1 -1
- package/build/languageProcessing/helpers/transliterate/transliterate.js +3 -9
- package/build/languageProcessing/helpers/transliterate/transliterate.js.map +1 -1
- package/build/languageProcessing/helpers/transliterate/transliterateWPstyle.js +3 -9
- package/build/languageProcessing/helpers/transliterate/transliterateWPstyle.js.map +1 -1
- package/build/languageProcessing/helpers/url/parseSlug.js +1 -7
- package/build/languageProcessing/helpers/url/parseSlug.js.map +1 -1
- package/build/languageProcessing/helpers/url/url.js +7 -13
- package/build/languageProcessing/helpers/url/url.js.map +1 -1
- package/build/languageProcessing/helpers/word/addWordboundary.js +1 -7
- package/build/languageProcessing/helpers/word/addWordboundary.js.map +1 -1
- package/build/languageProcessing/helpers/word/areWordsInSentence.js +4 -10
- package/build/languageProcessing/helpers/word/areWordsInSentence.js.map +1 -1
- package/build/languageProcessing/helpers/word/countMetaDescriptionLength.js +1 -7
- package/build/languageProcessing/helpers/word/countMetaDescriptionLength.js.map +1 -1
- package/build/languageProcessing/helpers/word/countWords.js +4 -10
- package/build/languageProcessing/helpers/word/countWords.js.map +1 -1
- package/build/languageProcessing/helpers/word/createPunctuationTokens.js +5 -10
- package/build/languageProcessing/helpers/word/createPunctuationTokens.js.map +1 -1
- package/build/languageProcessing/helpers/word/filterWordsFromArray.js +4 -9
- package/build/languageProcessing/helpers/word/filterWordsFromArray.js.map +1 -1
- package/build/languageProcessing/helpers/word/followsIndex.js +5 -10
- package/build/languageProcessing/helpers/word/followsIndex.js.map +1 -1
- package/build/languageProcessing/helpers/word/getAllWordsFromTree.js +7 -13
- package/build/languageProcessing/helpers/word/getAllWordsFromTree.js.map +1 -1
- package/build/languageProcessing/helpers/word/getWords.js +9 -19
- package/build/languageProcessing/helpers/word/getWords.js.map +1 -1
- package/build/languageProcessing/helpers/word/includesIndex.js +5 -10
- package/build/languageProcessing/helpers/word/includesIndex.js.map +1 -1
- package/build/languageProcessing/helpers/word/indices.js +14 -25
- package/build/languageProcessing/helpers/word/indices.js.map +1 -1
- package/build/languageProcessing/helpers/word/markWordsInSentences.js +23 -35
- package/build/languageProcessing/helpers/word/markWordsInSentences.js.map +1 -1
- package/build/languageProcessing/helpers/word/matchWordInSentence.js +8 -15
- package/build/languageProcessing/helpers/word/matchWordInSentence.js.map +1 -1
- package/build/languageProcessing/helpers/word/splitIntoTokens.js +3 -9
- package/build/languageProcessing/helpers/word/splitIntoTokens.js.map +1 -1
- package/build/languageProcessing/index.js +41 -282
- package/build/languageProcessing/index.js.map +1 -1
- package/build/languageProcessing/languages/_default/Researcher.js +5 -13
- package/build/languageProcessing/languages/_default/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/_default/helpers/getStemmer.js +3 -9
- package/build/languageProcessing/languages/_default/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/ar/Researcher.js +19 -27
- package/build/languageProcessing/languages/ar/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/ar/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/ar/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/ar/config/functionWords.js +7 -13
- package/build/languageProcessing/languages/ar/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/ar/config/internal/passiveVerbsWithLongVowel.js +1 -7
- package/build/languageProcessing/languages/ar/config/internal/passiveVerbsWithLongVowel.js.map +1 -1
- package/build/languageProcessing/languages/ar/config/prefixedFunctionWords.js +2 -8
- package/build/languageProcessing/languages/ar/config/prefixedFunctionWords.js.map +1 -1
- package/build/languageProcessing/languages/ar/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/ar/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/ar/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/ar/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/ar/helpers/createBasicWordForms.js +6 -11
- package/build/languageProcessing/languages/ar/helpers/createBasicWordForms.js.map +1 -1
- package/build/languageProcessing/languages/ar/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/ar/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/ar/helpers/internal/stem.js +1 -7
- package/build/languageProcessing/languages/ar/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/ar/helpers/isPassiveSentence.js +5 -12
- package/build/languageProcessing/languages/ar/helpers/isPassiveSentence.js.map +1 -1
- package/build/languageProcessing/languages/ca/Researcher.js +11 -19
- package/build/languageProcessing/languages/ca/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/ca/config/sentenceLength.js +1 -7
- package/build/languageProcessing/languages/ca/config/sentenceLength.js.map +1 -1
- package/build/languageProcessing/languages/ca/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/ca/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/ca/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/ca/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/ca/helpers/getStemmer.js +3 -9
- package/build/languageProcessing/languages/ca/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/cs/Researcher.js +17 -25
- package/build/languageProcessing/languages/cs/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/cs/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/cs/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/cs/config/functionWords.js +4 -10
- package/build/languageProcessing/languages/cs/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/cs/config/internal/passiveVoiceAuxiliaries.js +2 -8
- package/build/languageProcessing/languages/cs/config/internal/passiveVoiceAuxiliaries.js.map +1 -1
- package/build/languageProcessing/languages/cs/config/internal/passiveVoiceEndings.js +2 -8
- package/build/languageProcessing/languages/cs/config/internal/passiveVoiceEndings.js.map +1 -1
- package/build/languageProcessing/languages/cs/config/stopWords.js +1 -7
- package/build/languageProcessing/languages/cs/config/stopWords.js.map +1 -1
- package/build/languageProcessing/languages/cs/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/cs/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/cs/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/cs/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/cs/helpers/getClauses.js +9 -16
- package/build/languageProcessing/languages/cs/helpers/getClauses.js.map +1 -1
- package/build/languageProcessing/languages/cs/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/cs/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/cs/helpers/internal/getParticiples.js +6 -12
- package/build/languageProcessing/languages/cs/helpers/internal/getParticiples.js.map +1 -1
- package/build/languageProcessing/languages/cs/helpers/internal/stem.js +1 -7
- package/build/languageProcessing/languages/cs/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/cs/values/Clause.js +5 -12
- package/build/languageProcessing/languages/cs/values/Clause.js.map +1 -1
- package/build/languageProcessing/languages/de/Researcher.js +27 -35
- package/build/languageProcessing/languages/de/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/de/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/de/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/de/config/functionWords.js +11 -19
- package/build/languageProcessing/languages/de/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/de/config/internal/exceptionsParticiplesActive.js +1 -7
- package/build/languageProcessing/languages/de/config/internal/exceptionsParticiplesActive.js.map +1 -1
- package/build/languageProcessing/languages/de/config/internal/passiveVoiceAuxiliaries.js +4 -10
- package/build/languageProcessing/languages/de/config/internal/passiveVoiceAuxiliaries.js.map +1 -1
- package/build/languageProcessing/languages/de/config/internal/passiveVoiceIrregulars.js +1 -7
- package/build/languageProcessing/languages/de/config/internal/passiveVoiceIrregulars.js.map +1 -1
- package/build/languageProcessing/languages/de/config/internal/passiveVoiceRegex.js +1 -7
- package/build/languageProcessing/languages/de/config/internal/passiveVoiceRegex.js.map +1 -1
- package/build/languageProcessing/languages/de/config/keyphraseLength.js +1 -7
- package/build/languageProcessing/languages/de/config/keyphraseLength.js.map +1 -1
- package/build/languageProcessing/languages/de/config/stopWords.js +1 -7
- package/build/languageProcessing/languages/de/config/stopWords.js.map +1 -1
- package/build/languageProcessing/languages/de/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/de/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/de/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/de/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/de/config/wordComplexity.js +1 -7
- package/build/languageProcessing/languages/de/config/wordComplexity.js.map +1 -1
- package/build/languageProcessing/languages/de/helpers/calculateFleschReadingScore.js +3 -9
- package/build/languageProcessing/languages/de/helpers/calculateFleschReadingScore.js.map +1 -1
- package/build/languageProcessing/languages/de/helpers/checkIfWordIsComplex.js +1 -7
- package/build/languageProcessing/languages/de/helpers/checkIfWordIsComplex.js.map +1 -1
- package/build/languageProcessing/languages/de/helpers/checkIfWordIsFunction.js +3 -8
- package/build/languageProcessing/languages/de/helpers/checkIfWordIsFunction.js.map +1 -1
- package/build/languageProcessing/languages/de/helpers/getClauses.js +9 -16
- package/build/languageProcessing/languages/de/helpers/getClauses.js.map +1 -1
- package/build/languageProcessing/languages/de/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/de/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/de/helpers/internal/SentenceTokenizer.js +4 -11
- package/build/languageProcessing/languages/de/helpers/internal/SentenceTokenizer.js.map +1 -1
- package/build/languageProcessing/languages/de/helpers/internal/detectAndStemRegularParticiple.js +4 -10
- package/build/languageProcessing/languages/de/helpers/internal/detectAndStemRegularParticiple.js.map +1 -1
- package/build/languageProcessing/languages/de/helpers/internal/determineStem.js +10 -16
- package/build/languageProcessing/languages/de/helpers/internal/determineStem.js.map +1 -1
- package/build/languageProcessing/languages/de/helpers/internal/getParticiples.js +9 -16
- package/build/languageProcessing/languages/de/helpers/internal/getParticiples.js.map +1 -1
- package/build/languageProcessing/languages/de/helpers/internal/stem.js +1 -7
- package/build/languageProcessing/languages/de/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/de/helpers/memoizedSentenceTokenizer.js +4 -10
- package/build/languageProcessing/languages/de/helpers/memoizedSentenceTokenizer.js.map +1 -1
- package/build/languageProcessing/languages/de/values/Clause.js +11 -18
- package/build/languageProcessing/languages/de/values/Clause.js.map +1 -1
- package/build/languageProcessing/languages/el/Researcher.js +18 -26
- package/build/languageProcessing/languages/el/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/el/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/el/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/el/config/functionWords.js +4 -10
- package/build/languageProcessing/languages/el/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/el/config/internal/auxiliaries.js +1 -7
- package/build/languageProcessing/languages/el/config/internal/auxiliaries.js.map +1 -1
- package/build/languageProcessing/languages/el/config/internal/morphologicalPassiveSuffixes.js +1 -7
- package/build/languageProcessing/languages/el/config/internal/morphologicalPassiveSuffixes.js.map +1 -1
- package/build/languageProcessing/languages/el/config/internal/nonPassiveVerbStems.js +1 -7
- package/build/languageProcessing/languages/el/config/internal/nonPassiveVerbStems.js.map +1 -1
- package/build/languageProcessing/languages/el/config/stopWords.js +1 -7
- package/build/languageProcessing/languages/el/config/stopWords.js.map +1 -1
- package/build/languageProcessing/languages/el/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/el/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/el/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/el/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/el/helpers/getClauses.js +9 -16
- package/build/languageProcessing/languages/el/helpers/getClauses.js.map +1 -1
- package/build/languageProcessing/languages/el/helpers/getStemmer.js +7 -14
- package/build/languageProcessing/languages/el/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/el/helpers/internal/getParticiples.js +3 -9
- package/build/languageProcessing/languages/el/helpers/internal/getParticiples.js.map +1 -1
- package/build/languageProcessing/languages/el/helpers/internal/stem.js +4 -13
- package/build/languageProcessing/languages/el/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/el/helpers/isPassiveSentence.js +7 -14
- package/build/languageProcessing/languages/el/helpers/isPassiveSentence.js.map +1 -1
- package/build/languageProcessing/languages/el/values/Clause.js +6 -12
- package/build/languageProcessing/languages/el/values/Clause.js.map +1 -1
- package/build/languageProcessing/languages/en/Researcher.js +21 -29
- package/build/languageProcessing/languages/en/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/en/config/abbreviations.js +2 -8
- package/build/languageProcessing/languages/en/config/abbreviations.js.map +1 -1
- package/build/languageProcessing/languages/en/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/en/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/en/config/functionWords.js +11 -18
- package/build/languageProcessing/languages/en/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/en/config/internal/passiveVoiceAuxiliaries.js +6 -12
- package/build/languageProcessing/languages/en/config/internal/passiveVoiceAuxiliaries.js.map +1 -1
- package/build/languageProcessing/languages/en/config/internal/passiveVoiceIrregulars.js +1 -7
- package/build/languageProcessing/languages/en/config/internal/passiveVoiceIrregulars.js.map +1 -1
- package/build/languageProcessing/languages/en/config/internal/passiveVoiceNonVerbEndingEd.js +1 -7
- package/build/languageProcessing/languages/en/config/internal/passiveVoiceNonVerbEndingEd.js.map +1 -1
- package/build/languageProcessing/languages/en/config/regularParticiplesRegex.js +1 -7
- package/build/languageProcessing/languages/en/config/regularParticiplesRegex.js.map +1 -1
- package/build/languageProcessing/languages/en/config/stopWords.js +1 -7
- package/build/languageProcessing/languages/en/config/stopWords.js.map +1 -1
- package/build/languageProcessing/languages/en/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/en/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/en/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/en/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/en/config/wordComplexity.js +1 -7
- package/build/languageProcessing/languages/en/config/wordComplexity.js.map +1 -1
- package/build/languageProcessing/languages/en/helpers/calculateFleschReadingScore.js +3 -9
- package/build/languageProcessing/languages/en/helpers/calculateFleschReadingScore.js.map +1 -1
- package/build/languageProcessing/languages/en/helpers/checkIfWordIsComplex.js +4 -10
- package/build/languageProcessing/languages/en/helpers/checkIfWordIsComplex.js.map +1 -1
- package/build/languageProcessing/languages/en/helpers/getClauses.js +15 -22
- package/build/languageProcessing/languages/en/helpers/getClauses.js.map +1 -1
- package/build/languageProcessing/languages/en/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/en/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/en/helpers/internal/determineStem.js +21 -32
- package/build/languageProcessing/languages/en/helpers/internal/determineStem.js.map +1 -1
- package/build/languageProcessing/languages/en/helpers/internal/getAdjectiveStem.js +6 -13
- package/build/languageProcessing/languages/en/helpers/internal/getAdjectiveStem.js.map +1 -1
- package/build/languageProcessing/languages/en/helpers/internal/getParticiples.js +8 -14
- package/build/languageProcessing/languages/en/helpers/internal/getParticiples.js.map +1 -1
- package/build/languageProcessing/languages/en/helpers/internal/getVerbStem.js +6 -16
- package/build/languageProcessing/languages/en/helpers/internal/getVerbStem.js.map +1 -1
- package/build/languageProcessing/languages/en/values/Clause.js +10 -17
- package/build/languageProcessing/languages/en/values/Clause.js.map +1 -1
- package/build/languageProcessing/languages/es/Researcher.js +23 -31
- package/build/languageProcessing/languages/es/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/es/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/es/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/es/config/functionWords.js +11 -17
- package/build/languageProcessing/languages/es/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/es/config/internal/passiveVoiceAuxiliaries.js +1 -7
- package/build/languageProcessing/languages/es/config/internal/passiveVoiceAuxiliaries.js.map +1 -1
- package/build/languageProcessing/languages/es/config/internal/passiveVoiceParticiples.js +1 -7
- package/build/languageProcessing/languages/es/config/internal/passiveVoiceParticiples.js.map +1 -1
- package/build/languageProcessing/languages/es/config/sentenceLength.js +1 -7
- package/build/languageProcessing/languages/es/config/sentenceLength.js.map +1 -1
- package/build/languageProcessing/languages/es/config/stopWords.js +1 -7
- package/build/languageProcessing/languages/es/config/stopWords.js.map +1 -1
- package/build/languageProcessing/languages/es/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/es/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/es/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/es/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/es/config/wordComplexity.js +1 -7
- package/build/languageProcessing/languages/es/config/wordComplexity.js.map +1 -1
- package/build/languageProcessing/languages/es/helpers/calculateFleschReadingScore.js +3 -9
- package/build/languageProcessing/languages/es/helpers/calculateFleschReadingScore.js.map +1 -1
- package/build/languageProcessing/languages/es/helpers/checkIfWordIsComplex.js +1 -7
- package/build/languageProcessing/languages/es/helpers/checkIfWordIsComplex.js.map +1 -1
- package/build/languageProcessing/languages/es/helpers/getClauses.js +10 -17
- package/build/languageProcessing/languages/es/helpers/getClauses.js.map +1 -1
- package/build/languageProcessing/languages/es/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/es/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/es/helpers/internal/checkVerbStemModifications.js +7 -13
- package/build/languageProcessing/languages/es/helpers/internal/checkVerbStemModifications.js.map +1 -1
- package/build/languageProcessing/languages/es/helpers/internal/getParticiples.js +6 -12
- package/build/languageProcessing/languages/es/helpers/internal/getParticiples.js.map +1 -1
- package/build/languageProcessing/languages/es/helpers/internal/stem.js +5 -13
- package/build/languageProcessing/languages/es/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/es/values/Clause.js +7 -14
- package/build/languageProcessing/languages/es/values/Clause.js.map +1 -1
- package/build/languageProcessing/languages/fa/Researcher.js +19 -27
- package/build/languageProcessing/languages/fa/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/fa/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/fa/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/fa/config/functionWords.js +4 -10
- package/build/languageProcessing/languages/fa/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/fa/config/internal/participles.js +1 -7
- package/build/languageProcessing/languages/fa/config/internal/participles.js.map +1 -1
- package/build/languageProcessing/languages/fa/config/sentenceLength.js +1 -7
- package/build/languageProcessing/languages/fa/config/sentenceLength.js.map +1 -1
- package/build/languageProcessing/languages/fa/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/fa/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/fa/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/fa/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/fa/helpers/createBasicWordForms.js +3 -9
- package/build/languageProcessing/languages/fa/helpers/createBasicWordForms.js.map +1 -1
- package/build/languageProcessing/languages/fa/helpers/getStemmer.js +3 -9
- package/build/languageProcessing/languages/fa/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/fa/helpers/isPassiveSentence.js +6 -12
- package/build/languageProcessing/languages/fa/helpers/isPassiveSentence.js.map +1 -1
- package/build/languageProcessing/languages/fr/Researcher.js +21 -29
- package/build/languageProcessing/languages/fr/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/fr/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/fr/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/fr/config/functionWords.js +11 -17
- package/build/languageProcessing/languages/fr/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/fr/config/internal/exceptionsParticiplesActive.js +4 -9
- package/build/languageProcessing/languages/fr/config/internal/exceptionsParticiplesActive.js.map +1 -1
- package/build/languageProcessing/languages/fr/config/internal/passiveVoiceAuxiliaries.js +1 -7
- package/build/languageProcessing/languages/fr/config/internal/passiveVoiceAuxiliaries.js.map +1 -1
- package/build/languageProcessing/languages/fr/config/internal/passiveVoiceIrregulars.js +4 -9
- package/build/languageProcessing/languages/fr/config/internal/passiveVoiceIrregulars.js.map +1 -1
- package/build/languageProcessing/languages/fr/config/stopWords.js +1 -7
- package/build/languageProcessing/languages/fr/config/stopWords.js.map +1 -1
- package/build/languageProcessing/languages/fr/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/fr/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/fr/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/fr/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/fr/config/wordComplexity.js +1 -7
- package/build/languageProcessing/languages/fr/config/wordComplexity.js.map +1 -1
- package/build/languageProcessing/languages/fr/helpers/calculateFleschReadingScore.js +3 -9
- package/build/languageProcessing/languages/fr/helpers/calculateFleschReadingScore.js.map +1 -1
- package/build/languageProcessing/languages/fr/helpers/checkIfWordIsComplex.js +3 -9
- package/build/languageProcessing/languages/fr/helpers/checkIfWordIsComplex.js.map +1 -1
- package/build/languageProcessing/languages/fr/helpers/getClauses.js +10 -17
- package/build/languageProcessing/languages/fr/helpers/getClauses.js.map +1 -1
- package/build/languageProcessing/languages/fr/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/fr/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/fr/helpers/internal/getParticiples.js +11 -16
- package/build/languageProcessing/languages/fr/helpers/internal/getParticiples.js.map +1 -1
- package/build/languageProcessing/languages/fr/helpers/internal/stem.js +3 -10
- package/build/languageProcessing/languages/fr/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/fr/values/Clause.js +14 -20
- package/build/languageProcessing/languages/fr/values/Clause.js.map +1 -1
- package/build/languageProcessing/languages/he/Researcher.js +21 -29
- package/build/languageProcessing/languages/he/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/he/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/he/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/he/config/functionWords.js +4 -11
- package/build/languageProcessing/languages/he/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/he/config/internal/regularRootsHufal.js +1 -7
- package/build/languageProcessing/languages/he/config/internal/regularRootsHufal.js.map +1 -1
- package/build/languageProcessing/languages/he/config/internal/regularRootsNifal.js +1 -7
- package/build/languageProcessing/languages/he/config/internal/regularRootsNifal.js.map +1 -1
- package/build/languageProcessing/languages/he/config/internal/regularRootsPual.js +1 -7
- package/build/languageProcessing/languages/he/config/internal/regularRootsPual.js.map +1 -1
- package/build/languageProcessing/languages/he/config/passiveVoice/regularRootsHufal.js +1 -7
- package/build/languageProcessing/languages/he/config/passiveVoice/regularRootsHufal.js.map +1 -1
- package/build/languageProcessing/languages/he/config/passiveVoice/regularRootsNifal.js +1 -7
- package/build/languageProcessing/languages/he/config/passiveVoice/regularRootsNifal.js.map +1 -1
- package/build/languageProcessing/languages/he/config/passiveVoice/regularRootsPual.js +1 -7
- package/build/languageProcessing/languages/he/config/passiveVoice/regularRootsPual.js.map +1 -1
- package/build/languageProcessing/languages/he/config/prefixedFunctionWords.js +2 -8
- package/build/languageProcessing/languages/he/config/prefixedFunctionWords.js.map +1 -1
- package/build/languageProcessing/languages/he/config/sentenceLength.js +1 -7
- package/build/languageProcessing/languages/he/config/sentenceLength.js.map +1 -1
- package/build/languageProcessing/languages/he/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/he/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/he/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/he/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/he/helpers/createBasicWordForms.js +6 -11
- package/build/languageProcessing/languages/he/helpers/createBasicWordForms.js.map +1 -1
- package/build/languageProcessing/languages/he/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/he/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/he/helpers/internal/stem.js +1 -7
- package/build/languageProcessing/languages/he/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/he/helpers/isPassiveSentence.js +10 -16
- package/build/languageProcessing/languages/he/helpers/isPassiveSentence.js.map +1 -1
- package/build/languageProcessing/languages/he/helpers/stem.js +1 -7
- package/build/languageProcessing/languages/he/helpers/stem.js.map +1 -1
- package/build/languageProcessing/languages/hu/Researcher.js +19 -27
- package/build/languageProcessing/languages/hu/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/hu/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/hu/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/hu/config/functionWords.js +4 -10
- package/build/languageProcessing/languages/hu/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/hu/config/internal/auxiliaries.js +1 -7
- package/build/languageProcessing/languages/hu/config/internal/auxiliaries.js.map +1 -1
- package/build/languageProcessing/languages/hu/config/internal/morphologicalPassiveAffixes.js +3 -9
- package/build/languageProcessing/languages/hu/config/internal/morphologicalPassiveAffixes.js.map +1 -1
- package/build/languageProcessing/languages/hu/config/internal/nonPassivesInVaAndVe.js +2 -7
- package/build/languageProcessing/languages/hu/config/internal/nonPassivesInVaAndVe.js.map +1 -1
- package/build/languageProcessing/languages/hu/config/internal/odikVerbs.js +1 -7
- package/build/languageProcessing/languages/hu/config/internal/odikVerbs.js.map +1 -1
- package/build/languageProcessing/languages/hu/config/internal/participles.js +2 -7
- package/build/languageProcessing/languages/hu/config/internal/participles.js.map +1 -1
- package/build/languageProcessing/languages/hu/config/stopWords.js +2 -7
- package/build/languageProcessing/languages/hu/config/stopWords.js.map +1 -1
- package/build/languageProcessing/languages/hu/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/hu/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/hu/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/hu/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/hu/helpers/getClauses.js +9 -16
- package/build/languageProcessing/languages/hu/helpers/getClauses.js.map +1 -1
- package/build/languageProcessing/languages/hu/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/hu/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/hu/helpers/internal/getParticiples.js +6 -12
- package/build/languageProcessing/languages/hu/helpers/internal/getParticiples.js.map +1 -1
- package/build/languageProcessing/languages/hu/helpers/internal/stem.js +1 -7
- package/build/languageProcessing/languages/hu/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/hu/helpers/isPassiveSentence.js +9 -15
- package/build/languageProcessing/languages/hu/helpers/isPassiveSentence.js.map +1 -1
- package/build/languageProcessing/languages/hu/values/Clause.js +8 -14
- package/build/languageProcessing/languages/hu/values/Clause.js.map +1 -1
- package/build/languageProcessing/languages/id/Researcher.js +17 -25
- package/build/languageProcessing/languages/id/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/id/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/id/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/id/config/functionWords.js +8 -16
- package/build/languageProcessing/languages/id/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/id/config/internal/nonPassiveVerbsStartingDi.js +1 -7
- package/build/languageProcessing/languages/id/config/internal/nonPassiveVerbsStartingDi.js.map +1 -1
- package/build/languageProcessing/languages/id/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/id/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/id/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/id/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/id/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/id/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/id/helpers/internal/stem.js +29 -34
- package/build/languageProcessing/languages/id/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/id/helpers/internal/stemHelpers.js +5 -13
- package/build/languageProcessing/languages/id/helpers/internal/stemHelpers.js.map +1 -1
- package/build/languageProcessing/languages/id/helpers/isPassiveSentence.js +5 -12
- package/build/languageProcessing/languages/id/helpers/isPassiveSentence.js.map +1 -1
- package/build/languageProcessing/languages/id/helpers/splitIntoTokensCustom.js +3 -9
- package/build/languageProcessing/languages/id/helpers/splitIntoTokensCustom.js.map +1 -1
- package/build/languageProcessing/languages/it/Researcher.js +23 -31
- package/build/languageProcessing/languages/it/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/it/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/it/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/it/config/functionWords.js +11 -17
- package/build/languageProcessing/languages/it/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/it/config/internal/passiveVoiceAuxiliaries.js +1 -7
- package/build/languageProcessing/languages/it/config/internal/passiveVoiceAuxiliaries.js.map +1 -1
- package/build/languageProcessing/languages/it/config/internal/passiveVoiceParticiples.js +1 -7
- package/build/languageProcessing/languages/it/config/internal/passiveVoiceParticiples.js.map +1 -1
- package/build/languageProcessing/languages/it/config/sentenceLength.js +1 -7
- package/build/languageProcessing/languages/it/config/sentenceLength.js.map +1 -1
- package/build/languageProcessing/languages/it/config/stopWords.js +1 -7
- package/build/languageProcessing/languages/it/config/stopWords.js.map +1 -1
- package/build/languageProcessing/languages/it/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/it/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/it/config/twoPartTransitionWords.js +1 -7
- package/build/languageProcessing/languages/it/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/it/helpers/calculateFleschReadingScore.js +3 -9
- package/build/languageProcessing/languages/it/helpers/calculateFleschReadingScore.js.map +1 -1
- package/build/languageProcessing/languages/it/helpers/getClauses.js +10 -17
- package/build/languageProcessing/languages/it/helpers/getClauses.js.map +1 -1
- package/build/languageProcessing/languages/it/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/it/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/it/helpers/internal/getParticiples.js +6 -12
- package/build/languageProcessing/languages/it/helpers/internal/getParticiples.js.map +1 -1
- package/build/languageProcessing/languages/it/helpers/internal/stem.js +3 -9
- package/build/languageProcessing/languages/it/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/it/values/Clause.js +7 -14
- package/build/languageProcessing/languages/it/values/Clause.js.map +1 -1
- package/build/languageProcessing/languages/ja/Researcher.js +51 -59
- package/build/languageProcessing/languages/ja/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/ja/config/assessmentApplicabilityCharacterCount.js +1 -7
- package/build/languageProcessing/languages/ja/config/assessmentApplicabilityCharacterCount.js.map +1 -1
- package/build/languageProcessing/languages/ja/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/ja/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/ja/config/functionWords.js +1 -7
- package/build/languageProcessing/languages/ja/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/ja/config/keyphraseLength.js +1 -7
- package/build/languageProcessing/languages/ja/config/keyphraseLength.js.map +1 -1
- package/build/languageProcessing/languages/ja/config/metaDescriptionLength.js +1 -7
- package/build/languageProcessing/languages/ja/config/metaDescriptionLength.js.map +1 -1
- package/build/languageProcessing/languages/ja/config/paragraphLength.js +1 -7
- package/build/languageProcessing/languages/ja/config/paragraphLength.js.map +1 -1
- package/build/languageProcessing/languages/ja/config/sentenceLength.js +1 -7
- package/build/languageProcessing/languages/ja/config/sentenceLength.js.map +1 -1
- package/build/languageProcessing/languages/ja/config/subheadingsTooLong.js +1 -7
- package/build/languageProcessing/languages/ja/config/subheadingsTooLong.js.map +1 -1
- package/build/languageProcessing/languages/ja/config/textLength.js +1 -7
- package/build/languageProcessing/languages/ja/config/textLength.js.map +1 -1
- package/build/languageProcessing/languages/ja/config/topicLength.js +1 -7
- package/build/languageProcessing/languages/ja/config/topicLength.js.map +1 -1
- package/build/languageProcessing/languages/ja/config/transitionWords.js +2 -7
- package/build/languageProcessing/languages/ja/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/ja/customResearches/findKeyphraseInSEOTitle.js +16 -22
- package/build/languageProcessing/languages/ja/customResearches/findKeyphraseInSEOTitle.js.map +1 -1
- package/build/languageProcessing/languages/ja/customResearches/getKeyphraseLength.js +5 -11
- package/build/languageProcessing/languages/ja/customResearches/getKeyphraseLength.js.map +1 -1
- package/build/languageProcessing/languages/ja/customResearches/getWordForms.js +11 -17
- package/build/languageProcessing/languages/ja/customResearches/getWordForms.js.map +1 -1
- package/build/languageProcessing/languages/ja/customResearches/textLength.js +3 -9
- package/build/languageProcessing/languages/ja/customResearches/textLength.js.map +1 -1
- package/build/languageProcessing/languages/ja/helpers/countCharacters.js +6 -12
- package/build/languageProcessing/languages/ja/helpers/countCharacters.js.map +1 -1
- package/build/languageProcessing/languages/ja/helpers/customGetStemmer.js +8 -14
- package/build/languageProcessing/languages/ja/helpers/customGetStemmer.js.map +1 -1
- package/build/languageProcessing/languages/ja/helpers/getContentWords.js +5 -11
- package/build/languageProcessing/languages/ja/helpers/getContentWords.js.map +1 -1
- package/build/languageProcessing/languages/ja/helpers/getWords.js +8 -15
- package/build/languageProcessing/languages/ja/helpers/getWords.js.map +1 -1
- package/build/languageProcessing/languages/ja/helpers/internal/SentenceTokenizer.js +6 -13
- package/build/languageProcessing/languages/ja/helpers/internal/SentenceTokenizer.js.map +1 -1
- package/build/languageProcessing/languages/ja/helpers/internal/createWordForms.js +4 -9
- package/build/languageProcessing/languages/ja/helpers/internal/createWordForms.js.map +1 -1
- package/build/languageProcessing/languages/ja/helpers/internal/determineStem.js +3 -9
- package/build/languageProcessing/languages/ja/helpers/internal/determineStem.js.map +1 -1
- package/build/languageProcessing/languages/ja/helpers/matchTextWithWord.js +7 -13
- package/build/languageProcessing/languages/ja/helpers/matchTextWithWord.js.map +1 -1
- package/build/languageProcessing/languages/ja/helpers/matchTransitionWords.js +3 -9
- package/build/languageProcessing/languages/ja/helpers/matchTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/ja/helpers/memoizedSentenceTokenizer.js +4 -10
- package/build/languageProcessing/languages/ja/helpers/memoizedSentenceTokenizer.js.map +1 -1
- package/build/languageProcessing/languages/ja/helpers/splitIntoTokensCustom.js +5 -11
- package/build/languageProcessing/languages/ja/helpers/splitIntoTokensCustom.js.map +1 -1
- package/build/languageProcessing/languages/ja/helpers/wordsCharacterCount.js +1 -7
- package/build/languageProcessing/languages/ja/helpers/wordsCharacterCount.js.map +1 -1
- package/build/languageProcessing/languages/nb/Researcher.js +17 -25
- package/build/languageProcessing/languages/nb/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/nb/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/nb/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/nb/config/functionWords.js +5 -11
- package/build/languageProcessing/languages/nb/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/nb/config/internal/participles.js +2 -7
- package/build/languageProcessing/languages/nb/config/internal/participles.js.map +1 -1
- package/build/languageProcessing/languages/nb/config/internal/passiveVoiceAuxiliaries.js +1 -7
- package/build/languageProcessing/languages/nb/config/internal/passiveVoiceAuxiliaries.js.map +1 -1
- package/build/languageProcessing/languages/nb/config/stopWords.js +1 -7
- package/build/languageProcessing/languages/nb/config/stopWords.js.map +1 -1
- package/build/languageProcessing/languages/nb/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/nb/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/nb/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/nb/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/nb/helpers/getClauses.js +11 -18
- package/build/languageProcessing/languages/nb/helpers/getClauses.js.map +1 -1
- package/build/languageProcessing/languages/nb/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/nb/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/nb/helpers/internal/getParticiples.js +8 -14
- package/build/languageProcessing/languages/nb/helpers/internal/getParticiples.js.map +1 -1
- package/build/languageProcessing/languages/nb/helpers/internal/stem.js +1 -7
- package/build/languageProcessing/languages/nb/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/nb/values/Clause.js +8 -14
- package/build/languageProcessing/languages/nb/values/Clause.js.map +1 -1
- package/build/languageProcessing/languages/nl/Researcher.js +23 -31
- package/build/languageProcessing/languages/nl/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/nl/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/nl/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/nl/config/functionWords.js +10 -16
- package/build/languageProcessing/languages/nl/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/nl/config/internal/nonParticiples.js +1 -7
- package/build/languageProcessing/languages/nl/config/internal/nonParticiples.js.map +1 -1
- package/build/languageProcessing/languages/nl/config/internal/passiveVoiceAuxiliaries.js +1 -7
- package/build/languageProcessing/languages/nl/config/internal/passiveVoiceAuxiliaries.js.map +1 -1
- package/build/languageProcessing/languages/nl/config/internal/passiveVoiceIrregulars.js +1 -7
- package/build/languageProcessing/languages/nl/config/internal/passiveVoiceIrregulars.js.map +1 -1
- package/build/languageProcessing/languages/nl/config/keyphraseLength.js +1 -7
- package/build/languageProcessing/languages/nl/config/keyphraseLength.js.map +1 -1
- package/build/languageProcessing/languages/nl/config/stopWords.js +1 -7
- package/build/languageProcessing/languages/nl/config/stopWords.js.map +1 -1
- package/build/languageProcessing/languages/nl/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/nl/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/nl/config/twoPartTransitionWords.js +1 -7
- package/build/languageProcessing/languages/nl/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/nl/helpers/calculateFleschReadingScore.js +3 -9
- package/build/languageProcessing/languages/nl/helpers/calculateFleschReadingScore.js.map +1 -1
- package/build/languageProcessing/languages/nl/helpers/getClauses.js +9 -16
- package/build/languageProcessing/languages/nl/helpers/getClauses.js.map +1 -1
- package/build/languageProcessing/languages/nl/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/nl/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/nl/helpers/internal/checkExceptionsWithFullForms.js +7 -13
- package/build/languageProcessing/languages/nl/helpers/internal/checkExceptionsWithFullForms.js.map +1 -1
- package/build/languageProcessing/languages/nl/helpers/internal/detectAndStemRegularParticiple.js +8 -14
- package/build/languageProcessing/languages/nl/helpers/internal/detectAndStemRegularParticiple.js.map +1 -1
- package/build/languageProcessing/languages/nl/helpers/internal/detectAndStemSuffixes.js +10 -15
- package/build/languageProcessing/languages/nl/helpers/internal/detectAndStemSuffixes.js.map +1 -1
- package/build/languageProcessing/languages/nl/helpers/internal/determineStem.js +10 -16
- package/build/languageProcessing/languages/nl/helpers/internal/determineStem.js.map +1 -1
- package/build/languageProcessing/languages/nl/helpers/internal/getParticiples.js +7 -13
- package/build/languageProcessing/languages/nl/helpers/internal/getParticiples.js.map +1 -1
- package/build/languageProcessing/languages/nl/helpers/internal/getStemWordsWithTAndDEnding.js +7 -12
- package/build/languageProcessing/languages/nl/helpers/internal/getStemWordsWithTAndDEnding.js.map +1 -1
- package/build/languageProcessing/languages/nl/helpers/internal/stem.js +17 -23
- package/build/languageProcessing/languages/nl/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/nl/helpers/internal/stemModificationHelpers.js +4 -11
- package/build/languageProcessing/languages/nl/helpers/internal/stemModificationHelpers.js.map +1 -1
- package/build/languageProcessing/languages/nl/helpers/internal/stemTOrDFromEndOfWord.js +8 -14
- package/build/languageProcessing/languages/nl/helpers/internal/stemTOrDFromEndOfWord.js.map +1 -1
- package/build/languageProcessing/languages/nl/values/Clause.js +10 -16
- package/build/languageProcessing/languages/nl/values/Clause.js.map +1 -1
- package/build/languageProcessing/languages/pl/Researcher.js +19 -27
- package/build/languageProcessing/languages/pl/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/pl/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/pl/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/pl/config/functionWords.js +9 -16
- package/build/languageProcessing/languages/pl/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/pl/config/internal/auxiliaries.js +1 -7
- package/build/languageProcessing/languages/pl/config/internal/auxiliaries.js.map +1 -1
- package/build/languageProcessing/languages/pl/config/internal/participles.js +1 -7
- package/build/languageProcessing/languages/pl/config/internal/participles.js.map +1 -1
- package/build/languageProcessing/languages/pl/config/sentenceLength.js +1 -7
- package/build/languageProcessing/languages/pl/config/sentenceLength.js.map +1 -1
- package/build/languageProcessing/languages/pl/config/stopWords.js +1 -7
- package/build/languageProcessing/languages/pl/config/stopWords.js.map +1 -1
- package/build/languageProcessing/languages/pl/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/pl/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/pl/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/pl/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/pl/helpers/getClauses.js +9 -16
- package/build/languageProcessing/languages/pl/helpers/getClauses.js.map +1 -1
- package/build/languageProcessing/languages/pl/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/pl/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/pl/helpers/internal/getParticiples.js +7 -13
- package/build/languageProcessing/languages/pl/helpers/internal/getParticiples.js.map +1 -1
- package/build/languageProcessing/languages/pl/helpers/internal/stem.js +1 -7
- package/build/languageProcessing/languages/pl/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/pl/values/Clause.js +8 -14
- package/build/languageProcessing/languages/pl/values/Clause.js.map +1 -1
- package/build/languageProcessing/languages/pt/Researcher.js +23 -31
- package/build/languageProcessing/languages/pt/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/pt/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/pt/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/pt/config/functionWords.js +10 -16
- package/build/languageProcessing/languages/pt/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/pt/config/internal/passiveVoiceAuxiliaries.js +1 -7
- package/build/languageProcessing/languages/pt/config/internal/passiveVoiceAuxiliaries.js.map +1 -1
- package/build/languageProcessing/languages/pt/config/internal/passiveVoiceParticiples.js +1 -7
- package/build/languageProcessing/languages/pt/config/internal/passiveVoiceParticiples.js.map +1 -1
- package/build/languageProcessing/languages/pt/config/sentenceLength.js +1 -7
- package/build/languageProcessing/languages/pt/config/sentenceLength.js.map +1 -1
- package/build/languageProcessing/languages/pt/config/stopWords.js +1 -7
- package/build/languageProcessing/languages/pt/config/stopWords.js.map +1 -1
- package/build/languageProcessing/languages/pt/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/pt/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/pt/config/twoPartTransitionWords.js +1 -7
- package/build/languageProcessing/languages/pt/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/pt/helpers/calculateFleschReadingScore.js +3 -9
- package/build/languageProcessing/languages/pt/helpers/calculateFleschReadingScore.js.map +1 -1
- package/build/languageProcessing/languages/pt/helpers/getClauses.js +10 -17
- package/build/languageProcessing/languages/pt/helpers/getClauses.js.map +1 -1
- package/build/languageProcessing/languages/pt/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/pt/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/pt/helpers/internal/getParticiples.js +6 -12
- package/build/languageProcessing/languages/pt/helpers/internal/getParticiples.js.map +1 -1
- package/build/languageProcessing/languages/pt/helpers/internal/stem.js +3 -9
- package/build/languageProcessing/languages/pt/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/pt/values/Clause.js +7 -14
- package/build/languageProcessing/languages/pt/values/Clause.js.map +1 -1
- package/build/languageProcessing/languages/ru/Researcher.js +23 -31
- package/build/languageProcessing/languages/ru/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/ru/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/ru/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/ru/config/fleschReadingEaseScores.js +1 -7
- package/build/languageProcessing/languages/ru/config/fleschReadingEaseScores.js.map +1 -1
- package/build/languageProcessing/languages/ru/config/functionWords.js +8 -14
- package/build/languageProcessing/languages/ru/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/ru/config/internal/participlesShortenedList.js +2 -8
- package/build/languageProcessing/languages/ru/config/internal/participlesShortenedList.js.map +1 -1
- package/build/languageProcessing/languages/ru/config/internal/passiveVoiceParticiples.js +1 -7
- package/build/languageProcessing/languages/ru/config/internal/passiveVoiceParticiples.js.map +1 -1
- package/build/languageProcessing/languages/ru/config/sentenceLength.js +1 -7
- package/build/languageProcessing/languages/ru/config/sentenceLength.js.map +1 -1
- package/build/languageProcessing/languages/ru/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/ru/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/ru/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/ru/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/ru/helpers/calculateFleschReadingScore.js +3 -9
- package/build/languageProcessing/languages/ru/helpers/calculateFleschReadingScore.js.map +1 -1
- package/build/languageProcessing/languages/ru/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/ru/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/ru/helpers/internal/stem.js +1 -7
- package/build/languageProcessing/languages/ru/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/ru/helpers/isPassiveSentence.js +6 -12
- package/build/languageProcessing/languages/ru/helpers/isPassiveSentence.js.map +1 -1
- package/build/languageProcessing/languages/sk/Researcher.js +17 -25
- package/build/languageProcessing/languages/sk/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/sk/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/sk/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/sk/config/functionWords.js +5 -11
- package/build/languageProcessing/languages/sk/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/sk/config/internal/nonPassives.js +1 -7
- package/build/languageProcessing/languages/sk/config/internal/nonPassives.js.map +1 -1
- package/build/languageProcessing/languages/sk/config/internal/passiveVoiceAuxiliaries.js +2 -8
- package/build/languageProcessing/languages/sk/config/internal/passiveVoiceAuxiliaries.js.map +1 -1
- package/build/languageProcessing/languages/sk/config/stopWords.js +1 -7
- package/build/languageProcessing/languages/sk/config/stopWords.js.map +1 -1
- package/build/languageProcessing/languages/sk/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/sk/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/sk/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/sk/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/sk/helpers/getClauses.js +9 -16
- package/build/languageProcessing/languages/sk/helpers/getClauses.js.map +1 -1
- package/build/languageProcessing/languages/sk/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/sk/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/sk/helpers/internal/getParticiples.js +3 -9
- package/build/languageProcessing/languages/sk/helpers/internal/getParticiples.js.map +1 -1
- package/build/languageProcessing/languages/sk/helpers/internal/stem.js +1 -7
- package/build/languageProcessing/languages/sk/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/sk/values/Clause.js +8 -14
- package/build/languageProcessing/languages/sk/values/Clause.js.map +1 -1
- package/build/languageProcessing/languages/sv/Researcher.js +17 -25
- package/build/languageProcessing/languages/sv/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/sv/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/sv/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/sv/config/functionWords.js +7 -13
- package/build/languageProcessing/languages/sv/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/sv/config/internal/passiveVerbs.js +2 -7
- package/build/languageProcessing/languages/sv/config/internal/passiveVerbs.js.map +1 -1
- package/build/languageProcessing/languages/sv/config/keyphraseLength.js +1 -7
- package/build/languageProcessing/languages/sv/config/keyphraseLength.js.map +1 -1
- package/build/languageProcessing/languages/sv/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/sv/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/sv/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/sv/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/sv/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/sv/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/sv/helpers/internal/stem.js +1 -7
- package/build/languageProcessing/languages/sv/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/sv/helpers/isPassiveSentence.js +6 -12
- package/build/languageProcessing/languages/sv/helpers/isPassiveSentence.js.map +1 -1
- package/build/languageProcessing/languages/tr/Researcher.js +17 -25
- package/build/languageProcessing/languages/tr/Researcher.js.map +1 -1
- package/build/languageProcessing/languages/tr/config/firstWordExceptions.js +1 -7
- package/build/languageProcessing/languages/tr/config/firstWordExceptions.js.map +1 -1
- package/build/languageProcessing/languages/tr/config/functionWords.js +4 -10
- package/build/languageProcessing/languages/tr/config/functionWords.js.map +1 -1
- package/build/languageProcessing/languages/tr/config/internal/nonPassiveExceptions.js +3 -8
- package/build/languageProcessing/languages/tr/config/internal/nonPassiveExceptions.js.map +1 -1
- package/build/languageProcessing/languages/tr/config/internal/passiveEndings.js +1 -7
- package/build/languageProcessing/languages/tr/config/internal/passiveEndings.js.map +1 -1
- package/build/languageProcessing/languages/tr/config/sentenceLength.js +1 -7
- package/build/languageProcessing/languages/tr/config/sentenceLength.js.map +1 -1
- package/build/languageProcessing/languages/tr/config/transitionWords.js +4 -10
- package/build/languageProcessing/languages/tr/config/transitionWords.js.map +1 -1
- package/build/languageProcessing/languages/tr/config/twoPartTransitionWords.js +2 -7
- package/build/languageProcessing/languages/tr/config/twoPartTransitionWords.js.map +1 -1
- package/build/languageProcessing/languages/tr/helpers/getStemmer.js +8 -14
- package/build/languageProcessing/languages/tr/helpers/getStemmer.js.map +1 -1
- package/build/languageProcessing/languages/tr/helpers/internal/stem.js +3 -9
- package/build/languageProcessing/languages/tr/helpers/internal/stem.js.map +1 -1
- package/build/languageProcessing/languages/tr/helpers/isPassiveSentence.js +9 -15
- package/build/languageProcessing/languages/tr/helpers/isPassiveSentence.js.map +1 -1
- package/build/languageProcessing/researches/altTagCount.js +10 -16
- package/build/languageProcessing/researches/altTagCount.js.map +1 -1
- package/build/languageProcessing/researches/checkRelatedKeywords.js +72 -0
- package/build/languageProcessing/researches/checkRelatedKeywords.js.map +1 -0
- package/build/languageProcessing/researches/countSentencesFromText.js +9 -15
- package/build/languageProcessing/researches/countSentencesFromText.js.map +1 -1
- package/build/languageProcessing/researches/findKeyphraseInSEOTitle.js +19 -26
- package/build/languageProcessing/researches/findKeyphraseInSEOTitle.js.map +1 -1
- package/build/languageProcessing/researches/findKeywordInFirstParagraph.js +17 -23
- package/build/languageProcessing/researches/findKeywordInFirstParagraph.js.map +1 -1
- package/build/languageProcessing/researches/findTransitionWords.js +16 -23
- package/build/languageProcessing/researches/findTransitionWords.js.map +1 -1
- package/build/languageProcessing/researches/functionWordsInKeyphrase.js +10 -16
- package/build/languageProcessing/researches/functionWordsInKeyphrase.js.map +1 -1
- package/build/languageProcessing/researches/getAnchorsWithKeyphrase.js +21 -28
- package/build/languageProcessing/researches/getAnchorsWithKeyphrase.js.map +1 -1
- package/build/languageProcessing/researches/getFleschReadingScore.js +18 -25
- package/build/languageProcessing/researches/getFleschReadingScore.js.map +1 -1
- package/build/languageProcessing/researches/getKeywordDensity.js +7 -14
- package/build/languageProcessing/researches/getKeywordDensity.js.map +1 -1
- package/build/languageProcessing/researches/getLinkStatistics.js +7 -13
- package/build/languageProcessing/researches/getLinkStatistics.js.map +1 -1
- package/build/languageProcessing/researches/getLinks.js +7 -13
- package/build/languageProcessing/researches/getLinks.js.map +1 -1
- package/build/languageProcessing/researches/getLongCenterAlignedTexts.js +1 -7
- package/build/languageProcessing/researches/getLongCenterAlignedTexts.js.map +1 -1
- package/build/languageProcessing/researches/getParagraphLength.js +15 -21
- package/build/languageProcessing/researches/getParagraphLength.js.map +1 -1
- package/build/languageProcessing/researches/getParagraphs.js +4 -9
- package/build/languageProcessing/researches/getParagraphs.js.map +1 -1
- package/build/languageProcessing/researches/getPassiveVoiceResult.js +21 -30
- package/build/languageProcessing/researches/getPassiveVoiceResult.js.map +1 -1
- package/build/languageProcessing/researches/getProminentWordsForInsights.js +12 -18
- package/build/languageProcessing/researches/getProminentWordsForInsights.js.map +1 -1
- package/build/languageProcessing/researches/getProminentWordsForInternalLinking.js +20 -26
- package/build/languageProcessing/researches/getProminentWordsForInternalLinking.js.map +1 -1
- package/build/languageProcessing/researches/getSentenceBeginnings.js +30 -36
- package/build/languageProcessing/researches/getSentenceBeginnings.js.map +1 -1
- package/build/languageProcessing/researches/getSubheadingTextLengths.js +12 -18
- package/build/languageProcessing/researches/getSubheadingTextLengths.js.map +1 -1
- package/build/languageProcessing/researches/getWordForms.js +13 -19
- package/build/languageProcessing/researches/getWordForms.js.map +1 -1
- package/build/languageProcessing/researches/h1s.js +1 -7
- package/build/languageProcessing/researches/h1s.js.map +1 -1
- package/build/languageProcessing/researches/imageCount.js +4 -10
- package/build/languageProcessing/researches/imageCount.js.map +1 -1
- package/build/languageProcessing/researches/index.js +4 -27
- package/build/languageProcessing/researches/index.js.map +1 -1
- package/build/languageProcessing/researches/keyphraseDistribution.js +22 -32
- package/build/languageProcessing/researches/keyphraseDistribution.js.map +1 -1
- package/build/languageProcessing/researches/keyphraseLength.js +1 -7
- package/build/languageProcessing/researches/keyphraseLength.js.map +1 -1
- package/build/languageProcessing/researches/keywordCount.js +30 -39
- package/build/languageProcessing/researches/keywordCount.js.map +1 -1
- package/build/languageProcessing/researches/keywordCountInUrl.js +8 -16
- package/build/languageProcessing/researches/keywordCountInUrl.js.map +1 -1
- package/build/languageProcessing/researches/matchKeywordInSubheadings.js +15 -20
- package/build/languageProcessing/researches/matchKeywordInSubheadings.js.map +1 -1
- package/build/languageProcessing/researches/metaDescriptionKeyword.js +6 -12
- package/build/languageProcessing/researches/metaDescriptionKeyword.js.map +1 -1
- package/build/languageProcessing/researches/metaDescriptionLength.js +3 -9
- package/build/languageProcessing/researches/metaDescriptionLength.js.map +1 -1
- package/build/languageProcessing/researches/pageTitleWidth.js +1 -7
- package/build/languageProcessing/researches/pageTitleWidth.js.map +1 -1
- package/build/languageProcessing/researches/readingTime.js +7 -13
- package/build/languageProcessing/researches/readingTime.js.map +1 -1
- package/build/languageProcessing/researches/sentences.js +7 -13
- package/build/languageProcessing/researches/sentences.js.map +1 -1
- package/build/languageProcessing/researches/videoCount.js +1 -7
- package/build/languageProcessing/researches/videoCount.js.map +1 -1
- package/build/languageProcessing/researches/wordComplexity.js +15 -21
- package/build/languageProcessing/researches/wordComplexity.js.map +1 -1
- package/build/languageProcessing/researches/wordCountInText.js +10 -15
- package/build/languageProcessing/researches/wordCountInText.js.map +1 -1
- package/build/languageProcessing/values/Clause.js +1 -7
- package/build/languageProcessing/values/Clause.js.map +1 -1
- package/build/languageProcessing/values/ProminentWord.js +1 -7
- package/build/languageProcessing/values/ProminentWord.js.map +1 -1
- package/build/languageProcessing/values/Sentence.js +1 -7
- package/build/languageProcessing/values/Sentence.js.map +1 -1
- package/build/languageProcessing/values/index.js +4 -27
- package/build/languageProcessing/values/index.js.map +1 -1
- package/build/markers/addMark.js +1 -7
- package/build/markers/addMark.js.map +1 -1
- package/build/markers/addMarkSingleWord.js +7 -12
- package/build/markers/addMarkSingleWord.js.map +1 -1
- package/build/markers/index.js +3 -20
- package/build/markers/index.js.map +1 -1
- package/build/markers/removeDuplicateMarks.js +3 -8
- package/build/markers/removeDuplicateMarks.js.map +1 -1
- package/build/markers/removeMarks.js +1 -7
- package/build/markers/removeMarks.js.map +1 -1
- package/build/parse/build/build.js +17 -25
- package/build/parse/build/build.js.map +1 -1
- package/build/parse/build/index.js +7 -12
- package/build/parse/build/index.js.map +1 -1
- package/build/parse/build/private/adapt.js +15 -21
- package/build/parse/build/private/adapt.js.map +1 -1
- package/build/parse/build/private/adaptAttributes.js +3 -9
- package/build/parse/build/private/adaptAttributes.js.map +1 -1
- package/build/parse/build/private/alwaysFilterElements.js +9 -14
- package/build/parse/build/private/alwaysFilterElements.js.map +1 -1
- package/build/parse/build/private/combineIntoImplicitParagraphs.js +12 -18
- package/build/parse/build/private/combineIntoImplicitParagraphs.js.map +1 -1
- package/build/parse/build/private/filterBeforeTokenizing.js +5 -10
- package/build/parse/build/private/filterBeforeTokenizing.js.map +1 -1
- package/build/parse/build/private/filterHelpers.js +3 -11
- package/build/parse/build/private/filterHelpers.js.map +1 -1
- package/build/parse/build/private/filterTree.js +3 -8
- package/build/parse/build/private/filterTree.js.map +1 -1
- package/build/parse/build/private/getTextElementPositions.js +5 -10
- package/build/parse/build/private/getTextElementPositions.js.map +1 -1
- package/build/parse/build/private/helpers/parseClassAttribute.js +1 -7
- package/build/parse/build/private/helpers/parseClassAttribute.js.map +1 -1
- package/build/parse/build/private/isPhrasingContent.js +1 -7
- package/build/parse/build/private/isPhrasingContent.js.map +1 -1
- package/build/parse/build/private/parseBlocks.js +4 -11
- package/build/parse/build/private/parseBlocks.js.map +1 -1
- package/build/parse/build/private/tokenize.js +8 -14
- package/build/parse/build/private/tokenize.js.map +1 -1
- package/build/parse/language/LanguageProcessor.js +8 -15
- package/build/parse/language/LanguageProcessor.js.map +1 -1
- package/build/parse/structure/Heading.js +3 -9
- package/build/parse/structure/Heading.js.map +1 -1
- package/build/parse/structure/Node.js +8 -14
- package/build/parse/structure/Node.js.map +1 -1
- package/build/parse/structure/Paragraph.js +3 -9
- package/build/parse/structure/Paragraph.js.map +1 -1
- package/build/parse/structure/Sentence.js +1 -7
- package/build/parse/structure/Sentence.js.map +1 -1
- package/build/parse/structure/SourceCodeLocation.js +1 -7
- package/build/parse/structure/SourceCodeLocation.js.map +1 -1
- package/build/parse/structure/Text.js +3 -10
- package/build/parse/structure/Text.js.map +1 -1
- package/build/parse/structure/Token.js +3 -8
- package/build/parse/structure/Token.js.map +1 -1
- package/build/parse/structure/index.js +10 -33
- package/build/parse/structure/index.js.map +1 -1
- package/build/parse/traverse/findAllInTree.js +1 -7
- package/build/parse/traverse/findAllInTree.js.map +1 -1
- package/build/parse/traverse/index.js +8 -19
- package/build/parse/traverse/index.js.map +1 -1
- package/build/parse/traverse/innerText.js +3 -8
- package/build/parse/traverse/innerText.js.map +1 -1
- package/build/parsedPaper/ParsedPaper.js +1 -8
- package/build/parsedPaper/ParsedPaper.js.map +1 -1
- package/build/parsedPaper/assess/TreeAssessor.js +6 -12
- package/build/parsedPaper/assess/TreeAssessor.js.map +1 -1
- package/build/parsedPaper/assess/assessmentListFactories.js +1 -11
- package/build/parsedPaper/assess/assessmentListFactories.js.map +1 -1
- package/build/parsedPaper/assess/assessments/Assessment.js +15 -9
- package/build/parsedPaper/assess/assessments/Assessment.js.map +1 -1
- package/build/parsedPaper/assess/assessments/index.js +6 -13
- package/build/parsedPaper/assess/assessments/index.js.map +1 -1
- package/build/parsedPaper/assess/assessorFactories.js +16 -24
- package/build/parsedPaper/assess/assessorFactories.js.map +1 -1
- package/build/parsedPaper/assess/cornerstone/assessmentListFactories.js +1 -9
- package/build/parsedPaper/assess/cornerstone/assessmentListFactories.js.map +1 -1
- package/build/parsedPaper/assess/cornerstone/index.js +2 -10
- package/build/parsedPaper/assess/cornerstone/index.js.map +1 -1
- package/build/parsedPaper/assess/index.js +13 -29
- package/build/parsedPaper/assess/index.js.map +1 -1
- package/build/parsedPaper/build/PaperParser.js +5 -11
- package/build/parsedPaper/build/PaperParser.js.map +1 -1
- package/build/parsedPaper/build/linguisticParsing/Sentence.js +1 -7
- package/build/parsedPaper/build/linguisticParsing/Sentence.js.map +1 -1
- package/build/parsedPaper/build/linguisticParsing/SentenceTokenizer.js +16 -23
- package/build/parsedPaper/build/linguisticParsing/SentenceTokenizer.js.map +1 -1
- package/build/parsedPaper/build/linguisticParsing/parseText.js +3 -9
- package/build/parsedPaper/build/linguisticParsing/parseText.js.map +1 -1
- package/build/parsedPaper/build/tree/TreeBuilder.js +3 -9
- package/build/parsedPaper/build/tree/TreeBuilder.js.map +1 -1
- package/build/parsedPaper/build/tree/cleanup/calculateTextIndices.js +5 -10
- package/build/parsedPaper/build/tree/cleanup/calculateTextIndices.js.map +1 -1
- package/build/parsedPaper/build/tree/cleanup/getElementContent.js +1 -7
- package/build/parsedPaper/build/tree/cleanup/getElementContent.js.map +1 -1
- package/build/parsedPaper/build/tree/cleanup/postParsing.js +5 -11
- package/build/parsedPaper/build/tree/cleanup/postParsing.js.map +1 -1
- package/build/parsedPaper/build/tree/html/HTMLTreeConverter.js +21 -27
- package/build/parsedPaper/build/tree/html/HTMLTreeConverter.js.map +1 -1
- package/build/parsedPaper/build/tree/html/buildTree.js +7 -13
- package/build/parsedPaper/build/tree/html/buildTree.js.map +1 -1
- package/build/parsedPaper/build/tree/html/htmlConstants.js +4 -9
- package/build/parsedPaper/build/tree/html/htmlConstants.js.map +1 -1
- package/build/parsedPaper/build/tree/index.js +3 -8
- package/build/parsedPaper/build/tree/index.js.map +1 -1
- package/build/parsedPaper/build/tree/metadata/buildTree.js +12 -18
- package/build/parsedPaper/build/tree/metadata/buildTree.js.map +1 -1
- package/build/parsedPaper/research/TreeResearcher.js +4 -9
- package/build/parsedPaper/research/TreeResearcher.js.map +1 -1
- package/build/parsedPaper/research/index.js +10 -12
- package/build/parsedPaper/research/index.js.map +1 -1
- package/build/parsedPaper/research/researches/Headings.js +5 -11
- package/build/parsedPaper/research/researches/Headings.js.map +1 -1
- package/build/parsedPaper/research/researches/LinkStatistics.js +6 -12
- package/build/parsedPaper/research/researches/LinkStatistics.js.map +1 -1
- package/build/parsedPaper/research/researches/Research.js +5 -10
- package/build/parsedPaper/research/researches/Research.js.map +1 -1
- package/build/parsedPaper/research/researches/index.js +1 -13
- package/build/parsedPaper/research/researches/index.js.map +1 -1
- package/build/parsedPaper/structure/tree/FormattingElement.js +3 -9
- package/build/parsedPaper/structure/tree/FormattingElement.js.map +1 -1
- package/build/parsedPaper/structure/tree/SourceCodeLocation.js +1 -7
- package/build/parsedPaper/structure/tree/SourceCodeLocation.js.map +1 -1
- package/build/parsedPaper/structure/tree/TextContainer.js +5 -10
- package/build/parsedPaper/structure/tree/TextContainer.js.map +1 -1
- package/build/parsedPaper/structure/tree/index.js +9 -74
- package/build/parsedPaper/structure/tree/index.js.map +1 -1
- package/build/parsedPaper/structure/tree/nodes/Heading.js +3 -9
- package/build/parsedPaper/structure/tree/nodes/Heading.js.map +1 -1
- package/build/parsedPaper/structure/tree/nodes/LeafNode.js +5 -12
- package/build/parsedPaper/structure/tree/nodes/LeafNode.js.map +1 -1
- package/build/parsedPaper/structure/tree/nodes/List.js +5 -11
- package/build/parsedPaper/structure/tree/nodes/List.js.map +1 -1
- package/build/parsedPaper/structure/tree/nodes/ListItem.js +3 -10
- package/build/parsedPaper/structure/tree/nodes/ListItem.js.map +1 -1
- package/build/parsedPaper/structure/tree/nodes/MetadataMiscellaneous.js +3 -9
- package/build/parsedPaper/structure/tree/nodes/MetadataMiscellaneous.js.map +1 -1
- package/build/parsedPaper/structure/tree/nodes/MetadataText.js +3 -9
- package/build/parsedPaper/structure/tree/nodes/MetadataText.js.map +1 -1
- package/build/parsedPaper/structure/tree/nodes/Node.js +6 -12
- package/build/parsedPaper/structure/tree/nodes/Node.js.map +1 -1
- package/build/parsedPaper/structure/tree/nodes/Paragraph.js +3 -9
- package/build/parsedPaper/structure/tree/nodes/Paragraph.js.map +1 -1
- package/build/parsedPaper/structure/tree/nodes/StructuredNode.js +3 -10
- package/build/parsedPaper/structure/tree/nodes/StructuredNode.js.map +1 -1
- package/build/parsedPaper/structure/tree/nodes/index.js +10 -69
- package/build/parsedPaper/structure/tree/nodes/index.js.map +1 -1
- package/build/scoring/assessments/assessment.js +17 -15
- package/build/scoring/assessments/assessment.js.map +1 -1
- package/build/scoring/assessments/index.js +53 -56
- package/build/scoring/assessments/index.js.map +1 -1
- package/build/scoring/assessments/readability/ParagraphTooLongAssessment.js +30 -47
- package/build/scoring/assessments/readability/ParagraphTooLongAssessment.js.map +1 -1
- package/build/scoring/assessments/readability/RelatedKeywordsAssessment.js +98 -0
- package/build/scoring/assessments/readability/RelatedKeywordsAssessment.js.map +1 -0
- package/build/scoring/assessments/readability/SentenceBeginningsAssessment.js +22 -35
- package/build/scoring/assessments/readability/SentenceBeginningsAssessment.js.map +1 -1
- package/build/scoring/assessments/readability/SentenceLengthInTextAssessment.js +24 -39
- package/build/scoring/assessments/readability/SentenceLengthInTextAssessment.js.map +1 -1
- package/build/scoring/assessments/readability/TransitionWordsAssessment.js +29 -47
- package/build/scoring/assessments/readability/TransitionWordsAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/FAQsAssessment.js +162 -0
- package/build/scoring/assessments/seo/FAQsAssessment.js.map +1 -0
- package/build/scoring/assessments/seo/ImageCountAssessment.js +17 -33
- package/build/scoring/assessments/seo/ImageCountAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/InternalLinksAssessment.js +21 -35
- package/build/scoring/assessments/seo/InternalLinksAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/IntroductionKeywordAssessment.js +20 -34
- package/build/scoring/assessments/seo/IntroductionKeywordAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/KeyphraseAssessment.js +18 -32
- package/build/scoring/assessments/seo/KeyphraseAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/KeyphraseLengthAssessment.js +21 -34
- package/build/scoring/assessments/seo/KeyphraseLengthAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/KeywordDensityAssessment.js +26 -40
- package/build/scoring/assessments/seo/KeywordDensityAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/MetaDescriptionKeywordAssessment.js +23 -42
- package/build/scoring/assessments/seo/MetaDescriptionKeywordAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/MetaDescriptionLengthAssessment.js +19 -34
- package/build/scoring/assessments/seo/MetaDescriptionLengthAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/MetaTitleKeywordAssessment.js +25 -41
- package/build/scoring/assessments/seo/MetaTitleKeywordAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/NumberInMetaTitleAssessment.js +16 -30
- package/build/scoring/assessments/seo/NumberInMetaTitleAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/OutboundLinksAssessment.js +21 -40
- package/build/scoring/assessments/seo/OutboundLinksAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/PageTitleWidthAssessment.js +17 -31
- package/build/scoring/assessments/seo/PageTitleWidthAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/SchemaAssessment.js +95 -0
- package/build/scoring/assessments/seo/SchemaAssessment.js.map +1 -0
- package/build/scoring/assessments/seo/SingleH1Assessment.js +20 -33
- package/build/scoring/assessments/seo/SingleH1Assessment.js.map +1 -1
- package/build/scoring/assessments/seo/SingleTitleAssessment.js +20 -33
- package/build/scoring/assessments/seo/SingleTitleAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/SubHeadingsKeywordAssessment.js +18 -35
- package/build/scoring/assessments/seo/SubHeadingsKeywordAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/TextImagesAssessment.js +20 -36
- package/build/scoring/assessments/seo/TextImagesAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/TextLengthAssessment.js +21 -37
- package/build/scoring/assessments/seo/TextLengthAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/UrlKeywordAssessment.js +20 -36
- package/build/scoring/assessments/seo/UrlKeywordAssessment.js.map +1 -1
- package/build/scoring/assessments/seo/UrlLengthAssessment.js +19 -33
- package/build/scoring/assessments/seo/UrlLengthAssessment.js.map +1 -1
- package/build/scoring/assessors/assessor.js +53 -33
- package/build/scoring/assessors/assessor.js.map +1 -1
- package/build/scoring/assessors/avadaAssessor.js +37 -17
- package/build/scoring/assessors/avadaAssessor.js.map +1 -1
- package/build/scoring/assessors/contentAssessor.js +16 -22
- package/build/scoring/assessors/contentAssessor.js.map +1 -1
- package/build/scoring/assessors/index.js +4 -34
- package/build/scoring/assessors/index.js.map +1 -1
- package/build/scoring/assessors/seoAssessor.js +27 -32
- package/build/scoring/assessors/seoAssessor.js.map +1 -1
- package/build/scoring/helpers/assessments/checkForTooLongSentences.js +3 -8
- package/build/scoring/helpers/assessments/checkForTooLongSentences.js.map +1 -1
- package/build/scoring/helpers/assessments/inRange.js +2 -10
- package/build/scoring/helpers/assessments/inRange.js.map +1 -1
- package/build/scoring/helpers/assessments/keyphraseLengthFactor.js +1 -7
- package/build/scoring/helpers/assessments/keyphraseLengthFactor.js.map +1 -1
- package/build/scoring/helpers/assessments/recommendedKeywordCount.js +5 -11
- package/build/scoring/helpers/assessments/recommendedKeywordCount.js.map +1 -1
- package/build/scoring/helpers/index.js +27 -18
- package/build/scoring/helpers/index.js.map +1 -1
- package/build/scoring/interpreters/index.js +2 -13
- package/build/scoring/interpreters/index.js.map +1 -1
- package/build/scoring/interpreters/scoreToRating.js +1 -7
- package/build/scoring/interpreters/scoreToRating.js.map +1 -1
- package/build/scoring/renderers/AssessorPresenter.js +12 -18
- package/build/scoring/renderers/AssessorPresenter.js.map +1 -1
- package/build/scoring/scoreAggregators/ReadabilityScoreAggregator.js +8 -14
- package/build/scoring/scoreAggregators/ReadabilityScoreAggregator.js.map +1 -1
- package/build/scoring/scoreAggregators/SEOScoreAggregator.js +3 -9
- package/build/scoring/scoreAggregators/SEOScoreAggregator.js.map +1 -1
- package/build/scoring/scoreAggregators/ScoreAggregator.js +1 -7
- package/build/scoring/scoreAggregators/ScoreAggregator.js.map +1 -1
- package/build/scoring/scoreAggregators/index.js +3 -27
- package/build/scoring/scoreAggregators/index.js.map +1 -1
- package/build/values/AssessmentResult.js +31 -57
- package/build/values/AssessmentResult.js.map +1 -1
- package/build/values/Mark.js +9 -15
- package/build/values/Mark.js.map +1 -1
- package/build/values/Paper.js +115 -16
- package/build/values/Paper.js.map +1 -1
- package/build/values/index.js +4 -27
- package/build/values/index.js.map +1 -1
- package/build/vendor/turkishStemmer.js +1 -7
- package/build/vendor/turkishStemmer.js.map +1 -1
- package/package.json +10 -2
- package/build/bundledPlugins/index.js +0 -14
- package/build/bundledPlugins/index.js.map +0 -1
- package/build/bundledPlugins/previouslyUsedKeywords.js +0 -171
- package/build/bundledPlugins/previouslyUsedKeywords.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regularRootsPual.js","names":[
|
|
1
|
+
{"version":3,"file":"regularRootsPual.js","names":[],"sources":["../../../../../../src/languageProcessing/languages/he/config/passiveVoice/regularRootsPual.js"],"sourcesContent":["/**\n * Returns a list of roots following the binyan pu'al.\n *\n * @returns {string[]} Hebrew roots following the binyan pu'al.\n */\nexport default function() {\n\treturn [\n\t\t\"אכל\",\n\t\t\"דבר\",\n\t\t\"עבר\",\n\t\t\"שלח\",\n\t\t\"בקש\",\n\t\t\"ברך\",\n\t\t\"חזק\",\n\t\t\"חטא\",\n\t\t\"כתב\",\n\t\t\"נצל\",\n\t\t\"עבר\",\n\t\t\"פקד\",\n\t\t\"רום\",\n\t\t\"שמר\",\n\t\t\"אבד\",\n\t\t\"אמן\",\n\t\t\"בטח\",\n\t\t\"גדל\",\n\t\t\"הלל\",\n\t\t\"חלל\",\n\t\t\"חשב\",\n\t\t\"טמא\",\n\t\t\"יתר\",\n\t\t\"כבד\",\n\t\t\"כסה\",\n\t\t\"כפר\",\n\t\t\"לחם\",\n\t\t\"לכד\",\n\t\t\"נבא\",\n\t\t\"נגע\",\n\t\t\"סבב\",\n\t\t\"ספר\",\n\t\t\"קבץ\",\n\t\t\"קדש\",\n\t\t\"קרב\",\n\t\t\"שמח\",\n\t\t\"שבר\",\n\t\t\"שכן\",\n\t\t\"שלם\",\n\t\t\"שרת\",\n\t\t\"בער\",\n\t\t\"בקע\",\n\t\t\"ברא\",\n\t\t\"חלק\",\n\t\t\"חנן\",\n\t\t\"טהר\",\n\t\t\"כבס\",\n\t\t\"למד\",\n\t\t\"מרר\",\n\t\t\"מהר\",\n\t\t\"מלט\",\n\t\t\"נכר\",\n\t\t\"נצח\",\n\t\t\"פלל\",\n\t\t\"פרש\",\n\t\t\"צפה\",\n\t\t\"קלל\",\n\t\t\"רחם\",\n\t\t\"רחק\",\n\t\t\"רנן\",\n\t\t\"רפא\",\n\t\t\"שמר\",\n\t\t\"בדל\",\n\t\t\"בצר\",\n\t\t\"בשל\",\n\t\t\"גרש\",\n\t\t\"דמם\",\n\t\t\"זמר\",\n\t\t\"חבר\",\n\t\t\"מאן\",\n\t\t\"נשק\",\n\t\t\"נתץ\",\n\t\t\"נתק\",\n\t\t\"ספר\",\n\t\t\"ערב\",\n\t\t\"פשט\",\n\t\t\"צרף\",\n\t\t\"קדם\",\n\t\t\"קנא\",\n\t\t\"קצר\",\n\t\t\"קשר\",\n\t\t\"רגל\",\n\t\t\"שחק\",\n\t\t\"בצע\",\n\t\t\"ברר\",\n\t\t\"בשר\",\n\t\t\"גדר\",\n\t\t\"גלל\",\n\t\t\"דכא\",\n\t\t\"דשן\",\n\t\t\"חבל\",\n\t\t\"חבק\",\n\t\t\"חמם\",\n\t\t\"חפש\",\n\t\t\"חשק\",\n\t\t\"כהן\",\n\t\t\"כזב\",\n\t\t\"כנס\",\n\t\t\"מסס\",\n\t\t\"מעט\",\n\t\t\"מרר\",\n\t\t\"נגן\",\n\t\t\"נדב\",\n\t\t\"נהל\",\n\t\t\"נחש\",\n\t\t\"נער\",\n\t\t\"נפח\",\n\t\t\"נפץ\",\n\t\t\"נשך\",\n\t\t\"סכך\",\n\t\t\"סכן\",\n\t\t\"סקל\",\n\t\t\"עלל\",\n\t\t\"ענג\",\n\t\t\"עצב\",\n\t\t\"פאר\",\n\t\t\"פזר\",\n\t\t\"פצה\",\n\t\t\"פקח\",\n\t\t\"פרק\",\n\t\t\"פתה\",\n\t\t\"קבל\",\n\t\t\"קדד\",\n\t\t\"קצץ\",\n\t\t\"רמה\",\n\t\t\"רצץ\",\n\t\t\"רקע\",\n\t\t\"שבח\",\n\t\t\"שבר\",\n\t\t\"שנה\",\n\t\t\"שקר\",\n\t\t\"שקף\",\n\t\t\"תכן\",\n\t\t\"תעב\",\n\t\t\"ברכ\",\n\t\t\"נשכ\",\n\t\t\"סככ\",\n\t\t\"אמנ\",\n\t\t\"שכנ\",\n\t\t\"חננ\",\n\t\t\"רננ\",\n\t\t\"מאנ\",\n\t\t\"דשנ\",\n\t\t\"כהנ\",\n\t\t\"נגנ\",\n\t\t\"סכנ\",\n\t\t\"תכנ\",\n\t\t\"רומ\",\n\t\t\"לחמ\",\n\t\t\"שלמ\",\n\t\t\"רחמ\",\n\t\t\"דממ\",\n\t\t\"קדמ\",\n\t\t\"חממ\",\n\t\t\"צרפ\",\n\t\t\"שקפ\",\n\t\t\"קבצ\",\n\t\t\"נתצ\",\n\t\t\"קצצ\",\n\t\t\"רצצ\",\n\t\t\"נפצ\",\n\t];\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA,eAAe,YAAW;EACzB,OAAO,CACN,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,MAAM,EACN,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,EACL,KAAK,CACL;AACF","ignoreList":[]}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.PREFIXED_FUNCTION_WORDS_REGEX = exports.PREFIXED_FUNCTION_WORDS = void 0;
|
|
7
|
-
const PREFIXED_FUNCTION_WORDS = exports.PREFIXED_FUNCTION_WORDS = ["ב", "ה", "ו", "כ", "ל", "מ", "ש"];
|
|
8
|
-
const PREFIXED_FUNCTION_WORDS_REGEX = exports.PREFIXED_FUNCTION_WORDS_REGEX = new RegExp(`^(${PREFIXED_FUNCTION_WORDS.join("|")})`);
|
|
1
|
+
export const PREFIXED_FUNCTION_WORDS = ["ב", "ה", "ו", "כ", "ל", "מ", "ש"];
|
|
2
|
+
export const PREFIXED_FUNCTION_WORDS_REGEX = new RegExp(`^(${PREFIXED_FUNCTION_WORDS.join("|")})`);
|
|
9
3
|
//# sourceMappingURL=prefixedFunctionWords.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prefixedFunctionWords.js","names":["PREFIXED_FUNCTION_WORDS","
|
|
1
|
+
{"version":3,"file":"prefixedFunctionWords.js","names":["PREFIXED_FUNCTION_WORDS","PREFIXED_FUNCTION_WORDS_REGEX","RegExp","join"],"sources":["../../../../../src/languageProcessing/languages/he/config/prefixedFunctionWords.js"],"sourcesContent":["export const PREFIXED_FUNCTION_WORDS = [ \"ב\", \"ה\", \"ו\", \"כ\", \"ל\", \"מ\", \"ש\" ];\nexport const PREFIXED_FUNCTION_WORDS_REGEX = new RegExp( `^(${PREFIXED_FUNCTION_WORDS.join( \"|\" )})` );\n"],"mappings":"AAAA,OAAO,MAAMA,uBAAuB,GAAG,CAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAE;AAC5E,OAAO,MAAMC,6BAA6B,GAAG,IAAIC,MAAM,CAAE,KAAKF,uBAAuB,CAACG,IAAI,CAAE,GAAI,CAAC,GAAI,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sentenceLength.js","names":["recommendedLength"],"sources":["../../../../../src/languageProcessing/languages/he/config/sentenceLength.js"],"sourcesContent":["export default {\n\trecommendedLength: 15,\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"sentenceLength.js","names":["recommendedLength"],"sources":["../../../../../src/languageProcessing/languages/he/config/sentenceLength.js"],"sourcesContent":["export default {\n\trecommendedLength: 15,\n};\n"],"mappings":"AAAA,eAAe;EACdA,iBAAiB,EAAE;AACpB,CAAC","ignoreList":[]}
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.singleWords = exports.multipleWords = exports.default = exports.allWords = void 0;
|
|
7
1
|
/** @module config/transitionWords */
|
|
8
2
|
|
|
9
|
-
const singleWords =
|
|
10
|
-
const multipleWords =
|
|
11
|
-
const allWords =
|
|
12
|
-
|
|
3
|
+
export const singleWords = ["לכן", "משום", "בגלל", "מפני", "אחרי", "לפני", "חוץ", "בזכות", "כתוצאה", "הודות", "בשביל", "למרות", "בשל", "ו", "או", "אבל", "אולם", "אך", "אם", "גם", "רק", "אכן", "אלא", "עדיין", "כאשר", "אז", "לכן", "כבר", "לאחר", "אפילו", "אף", "כך", "כדי", "על", "עד", "בשנת", "כמו", "שני", "באופן", "במהלך", "במקום", "וכן", "בעיקר", "מאז", " בינתיים", "במקום", "תחת", "מתוך", "מול", "כגון", "באמצעות", "מכן", "במשך", "ואף", "ועל", "לעתים", "בנוסף", "בעקבות", "לפי", "בקרב", "כי", "ראשית", "שנית", "תחילה", "לבסוף", "הבא", "ברם", "ואילו", "להפך", "כנגד", "מנגד", "אמנם", "אדרבא", "לחילופין", "בייחוד", "במיוחד", "ודאי", "ואפילו", "לו", "אילו", "לולא", "אלמלא", "אילולא", "מאחורי", "בקרבת", "כאן", "שם", "כן", "למעט", "בלבד", "מלבד", "שוב", "כלומר", "דהיינו", "לאמור", "כאמור", "כידוע", "כש", "אחר-כך", "כעבור", "לאחרונה", "בטרם", "עכשיו", "עתה", "מלכתחילה", "למען", "פן", "לבל", "שמא", "עקב", "לרגל", "מפאת", "בגין", "בהתאם", "לפיכך", "למשל", "לדוגמה", "כדוגמת", "לסיכום", "בהתחשב", "בקיצור", "בקצרה", "חרף"];
|
|
4
|
+
export const multipleWords = ["כתוצאה מכך", "כתוצאה מ", "בעקבות ה", "בעקבות זאת", "לעומת זאת", "אלא אם כן", "בזמן ש", "מתי ש", "אף על פי ש", "אף על פי", "חוץ מ", "אחרי ש", "לפני ש", "בעוד ש", "בגלל ה", "הודות ל", "בניגוד ל", "מפני ש", "אלא ש", "קודם כל", "והחשוב ביותר", "לפני כן", "לאחר מכן", "אחר כך", "שלב ראשון", "בניגוד לכך", "ראוי לציין", "יש להדגיש", "ללא ספק", "קל וחומר", "אין ספק ש", "לא כל שכן", "בתנאי ש", "בדומה ל", "כשם ש", "כפי ש", "כך גם", "יחסית ל", "בהשוואה ל", "לשם כך", "במקביל ל", "במידה ש", "במקום ש", "על יד", "בסמוך ל", "במרחק מה", "אל אשר", "מעבר ל", "כמו כן", "יתר על כן", "זאת ועוד", "נוסף על כך", "פרט ל", "למעלה מכך", "פנים נוספות לעניין", "יתרה מכך", "אך ורק", "מעבר לכך", "זאת אומרת", "במילים אחרות", "רוצה לומר", "הווה אומר", "משתמע מזאת", "הוא אשר", "ללמד ש", "פירושו של דבר", "לשון אחרת", "בהקשר זה", "דרך אגב", "כדי ש", "כנזכר לעיל", "בקשר לכך", "במסגרת זו", "עד ש", "בשעה ש", "כל זמן ש", "לפי שעה", "בזמן האחרון", "עד כה", "בו בזמן", "כל אימת ש", "על מנת", "לתכלית זו", "במטרה ל", "מחמת ה", "הואיל ו", "מאחר ש", "היות ש", "כיוון ש", "יען כי", "באופן ש", "בצורה ש", "כמו ש", "אם כן", "אפוא", "על כן", "משום כך", "עקב כך", "בשל כך", "אי לכך", "נובע מכך", "הודות לכך", "כמו למשל", "סיכומו של דבר", "מכל האמור ניתן לומר", "בסך הכול", "בכל מקרה", "בסיכום כולל", "לטווח ארוך", "על כל פנים", "אף על פי כן", "על אף ש", "על אף זאת", "אף ש", "למרות זאת", "בכל אופן", "עם זאת", "אם כי", "גם אם"];
|
|
5
|
+
export const allWords = singleWords.concat(multipleWords);
|
|
6
|
+
export default allWords;
|
|
13
7
|
//# sourceMappingURL=transitionWords.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transitionWords.js","names":["singleWords","
|
|
1
|
+
{"version":3,"file":"transitionWords.js","names":["singleWords","multipleWords","allWords","concat"],"sources":["../../../../../src/languageProcessing/languages/he/config/transitionWords.js"],"sourcesContent":["/** @module config/transitionWords */\n\nexport const singleWords = [ \"לכן\", \"משום\", \"בגלל\", \"מפני\", \"אחרי\", \"לפני\", \"חוץ\", \"בזכות\", \"כתוצאה\", \"הודות\", \"בשביל\", \"למרות\",\n\t\"בשל\", \"ו\", \"או\", \"אבל\", \"אולם\", \"אך\", \"אם\", \"גם\", \"רק\", \"אכן\", \"אלא\", \"עדיין\", \"כאשר\", \"אז\", \"לכן\", \"כבר\", \"לאחר\",\n\t\"אפילו\", \"אף\", \"כך\", \"כדי\", \"על\", \"עד\", \"בשנת\", \"כמו\", \"שני\", \"באופן\", \"במהלך\", \"במקום\", \"וכן\", \"בעיקר\", \"מאז\", \" בינתיים\",\n\t\"במקום\", \"תחת\", \"מתוך\", \"מול\", \"כגון\", \"באמצעות\", \"מכן\", \"במשך\", \"ואף\", \"ועל\", \"לעתים\", \"בנוסף\", \"בעקבות\",\n\t\"לפי\", \"בקרב\", \"כי\", \"ראשית\", \"שנית\", \"תחילה\", \"לבסוף\", \"הבא\", \"ברם\", \"ואילו\", \"להפך\", \"כנגד\", \"מנגד\", \"אמנם\",\n\t\"אדרבא\", \"לחילופין\", \"בייחוד\", \"במיוחד\", \"ודאי\", \"ואפילו\", \"לו\", \"אילו\", \"לולא\", \"אלמלא\", \"אילולא\", \"מאחורי\", \"בקרבת\", \"כאן\",\n\t\"שם\", \"כן\", \"למעט\", \"בלבד\", \"מלבד\", \"שוב\", \"כלומר\", \"דהיינו\", \"לאמור\", \"כאמור\", \"כידוע\", \"כש\", \"אחר-כך\", \"כעבור\",\n\t\"לאחרונה\", \"בטרם\", \"עכשיו\", \"עתה\", \"מלכתחילה\", \"למען\", \"פן\", \"לבל\", \"שמא\", \"עקב\", \"לרגל\", \"מפאת\", \"בגין\", \"בהתאם\",\n\t\"לפיכך\", \"למשל\", \"לדוגמה\", \"כדוגמת\", \"לסיכום\", \"בהתחשב\", \"בקיצור\", \"בקצרה\", \"חרף\" ];\nexport const multipleWords = [ \"כתוצאה מכך\", \"כתוצאה מ\", \"בעקבות ה\", \"בעקבות זאת\", \"לעומת זאת\", \"אלא אם כן\", \"בזמן ש\", \"מתי ש\",\n\t\"אף על פי ש\", \"אף על פי\", \"חוץ מ\", \"אחרי ש\", \"לפני ש\", \"בעוד ש\", \"בגלל ה\", \"הודות ל\", \"בניגוד ל\", \"מפני ש\", \"אלא ש\",\n\t\"קודם כל\", \"והחשוב ביותר\", \"לפני כן\", \"לאחר מכן\", \"אחר כך\", \"שלב ראשון\", \"בניגוד לכך\", \"ראוי לציין\", \"יש להדגיש\", \"ללא ספק\",\n\t\"קל וחומר\", \"אין ספק ש\", \"לא כל שכן\", \"בתנאי ש\", \"בדומה ל\", \"כשם ש\", \"כפי ש\", \"כך גם\", \"יחסית ל\", \"בהשוואה ל\", \"לשם כך\",\n\t\"במקביל ל\", \"במידה ש\", \"במקום ש\", \"על יד\", \"בסמוך ל\", \"במרחק מה\", \"אל אשר\", \"מעבר ל\", \"כמו כן\", \"יתר על כן\", \"זאת ועוד\",\n\t\"נוסף על כך\", \"פרט ל\", \"למעלה מכך\", \"פנים נוספות לעניין\", \"יתרה מכך\", \"אך ורק\", \"מעבר לכך\", \"זאת אומרת\", \"במילים אחרות\",\n\t\"רוצה לומר\", \"הווה אומר\", \"משתמע מזאת\", \"הוא אשר\", \"ללמד ש\", \"פירושו של דבר\", \"לשון אחרת\", \"בהקשר זה\", \"דרך אגב\", \"כדי ש\",\n\t\"כנזכר לעיל\", \"בקשר לכך\", \"במסגרת זו\", \"עד ש\", \"בשעה ש\", \"כל זמן ש\", \"לפי שעה\", \"בזמן האחרון\", \"עד כה\", \"בו בזמן\", \"כל אימת ש\",\n\t\"על מנת\", \"לתכלית זו\", \"במטרה ל\", \"מחמת ה\", \"הואיל ו\", \"מאחר ש\", \"היות ש\", \"כיוון ש\", \"יען כי\", \"באופן ש\", \"בצורה ש\", \"כמו ש\",\n\t\"אם כן\", \"אפוא\", \"על כן\", \"משום כך\", \"עקב כך\", \"בשל כך\", \"אי לכך\", \"נובע מכך\", \"הודות לכך\", \"כמו למשל\", \"סיכומו של דבר\",\n\t\"מכל האמור ניתן לומר\", \"בסך הכול\", \"בכל מקרה\", \"בסיכום כולל\", \"לטווח ארוך\", \"על כל פנים\", \"אף על פי כן\", \"על אף ש\", \"על אף זאת\",\n\t\"אף ש\", \"למרות זאת\", \"בכל אופן\", \"עם זאת\", \"אם כי\", \"גם אם\" ];\n\n\nexport const allWords = singleWords.concat( multipleWords );\n\nexport default allWords;\n"],"mappings":"AAAA;;AAEA,OAAO,MAAMA,WAAW,GAAG,CAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAChI,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EACnH,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAC1H,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EACzG,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAC7G,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAC5H,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAChH,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EACjH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,CAAE;AACpF,OAAO,MAAMC,aAAa,GAAG,CAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAC7H,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EACnH,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,SAAS,EAC3H,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EACvH,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EACvH,YAAY,EAAE,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EACvH,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EACzH,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAC9H,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAC7H,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,eAAe,EACvH,qBAAqB,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,WAAW,EAC/H,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAE;AAG9D,OAAO,MAAMC,QAAQ,GAAGF,WAAW,CAACG,MAAM,CAAEF,aAAc,CAAC;AAE3D,eAAeC,QAAQ","ignoreList":[]}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
1
|
/** @module config/twoPartTransitionWords */
|
|
2
|
+
|
|
8
3
|
/**
|
|
9
4
|
* Returns an array with two-part transition words to be used by the assessments.
|
|
10
5
|
* @returns {Array} The array filled with two-part transition words.
|
|
11
6
|
*/
|
|
12
|
-
|
|
7
|
+
export default [["או", "או"], ["אין", "אלא"], ["לא", "אלא"], ["מצד אחד", "מצד אחר"], ["מחד גיסא", "מאידך גיסא"], ["ראשית", "שנית"], ["תחילה", "לבסוף"], ["משום ש", "מפני ש"], ["לכאורה", "אך"]];
|
|
13
8
|
//# sourceMappingURL=twoPartTransitionWords.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"twoPartTransitionWords.js","names":[
|
|
1
|
+
{"version":3,"file":"twoPartTransitionWords.js","names":[],"sources":["../../../../../src/languageProcessing/languages/he/config/twoPartTransitionWords.js"],"sourcesContent":["/** @module config/twoPartTransitionWords */\n\n/**\n * Returns an array with two-part transition words to be used by the assessments.\n * @returns {Array} The array filled with two-part transition words.\n */\nexport default [ [ \"או\", \"או\" ], [ \"אין\", \"אלא\" ], [ \"לא\", \"אלא\" ], [ \"מצד אחד\", \"מצד אחר\" ], [ \"מחד גיסא\", \"מאידך גיסא\" ],\n\t[ \"ראשית\", \"שנית\" ], [ \"תחילה\", \"לבסוף\" ], [ \"משום ש\", \"מפני ש\" ], [ \"לכאורה\", \"אך\" ] ];\n"],"mappings":"AAAA;;AAEA;AACA;AACA;AACA;AACA,eAAgB,CAAE,CAAE,IAAI,EAAE,IAAI,CAAE,EAAE,CAAE,KAAK,EAAE,KAAK,CAAE,EAAE,CAAE,IAAI,EAAE,KAAK,CAAE,EAAE,CAAE,SAAS,EAAE,SAAS,CAAE,EAAE,CAAE,UAAU,EAAE,YAAY,CAAE,EAC1H,CAAE,OAAO,EAAE,MAAM,CAAE,EAAE,CAAE,OAAO,EAAE,OAAO,CAAE,EAAE,CAAE,QAAQ,EAAE,QAAQ,CAAE,EAAE,CAAE,QAAQ,EAAE,IAAI,CAAE,CAAE","ignoreList":[]}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { stemPrefixedFunctionWords } from "../../../helpers/morphology/stemPrefixedFunctionWords.js";
|
|
2
|
+
import { PREFIXED_FUNCTION_WORDS, PREFIXED_FUNCTION_WORDS_REGEX } from "../config/prefixedFunctionWords.js";
|
|
2
3
|
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.createBasicWordForms = createBasicWordForms;
|
|
7
|
-
var _stemPrefixedFunctionWords = require("../../../helpers/morphology/stemPrefixedFunctionWords.js");
|
|
8
|
-
var _prefixedFunctionWords = require("../config/prefixedFunctionWords.js");
|
|
9
4
|
/**
|
|
10
5
|
* Creates basic word forms for a given Hebrew word.
|
|
11
6
|
*
|
|
@@ -13,7 +8,7 @@ var _prefixedFunctionWords = require("../config/prefixedFunctionWords.js");
|
|
|
13
8
|
*
|
|
14
9
|
* @returns {string[]} Prefixed and de-prefixed variations of a word.
|
|
15
10
|
*/
|
|
16
|
-
function createBasicWordForms(word) {
|
|
11
|
+
export function createBasicWordForms(word) {
|
|
17
12
|
const forms = [];
|
|
18
13
|
|
|
19
14
|
/*
|
|
@@ -21,7 +16,7 @@ function createBasicWordForms(word) {
|
|
|
21
16
|
* beginning with a prefix-like letter might be exceptions where this is the
|
|
22
17
|
* actual first letter of the word.
|
|
23
18
|
*/
|
|
24
|
-
forms.push(...
|
|
19
|
+
forms.push(...PREFIXED_FUNCTION_WORDS.map(basicPrefix => basicPrefix + word));
|
|
25
20
|
|
|
26
21
|
/*
|
|
27
22
|
* If a word starts with one of the prefixes, we strip it and create all possible
|
|
@@ -30,10 +25,10 @@ function createBasicWordForms(word) {
|
|
|
30
25
|
const {
|
|
31
26
|
stem,
|
|
32
27
|
prefix
|
|
33
|
-
} =
|
|
28
|
+
} = stemPrefixedFunctionWords(word, PREFIXED_FUNCTION_WORDS_REGEX);
|
|
34
29
|
if (prefix !== "") {
|
|
35
30
|
forms.push(stem);
|
|
36
|
-
forms.push(...
|
|
31
|
+
forms.push(...PREFIXED_FUNCTION_WORDS.map(basicPrefix => basicPrefix + stem));
|
|
37
32
|
}
|
|
38
33
|
return forms;
|
|
39
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createBasicWordForms.js","names":["
|
|
1
|
+
{"version":3,"file":"createBasicWordForms.js","names":["stemPrefixedFunctionWords","PREFIXED_FUNCTION_WORDS","PREFIXED_FUNCTION_WORDS_REGEX","createBasicWordForms","word","forms","push","map","basicPrefix","stem","prefix"],"sources":["../../../../../src/languageProcessing/languages/he/helpers/createBasicWordForms.js"],"sourcesContent":["import { stemPrefixedFunctionWords } from \"../../../helpers/morphology/stemPrefixedFunctionWords.js\";\nimport { PREFIXED_FUNCTION_WORDS, PREFIXED_FUNCTION_WORDS_REGEX } from \"../config/prefixedFunctionWords.js\";\n\n/**\n * Creates basic word forms for a given Hebrew word.\n *\n * @param {string} word The word for which to create basic word forms.\n *\n * @returns {string[]} Prefixed and de-prefixed variations of a word.\n */\nexport function createBasicWordForms( word ) {\n\tconst forms = [];\n\n\t/*\n\t * Add prefixes to the input word. We always do this, since some words\n\t * beginning with a prefix-like letter might be exceptions where this is the\n\t * actual first letter of the word.\n\t */\n\tforms.push( ...PREFIXED_FUNCTION_WORDS.map( basicPrefix => basicPrefix + word ) );\n\n\t/*\n\t * If a word starts with one of the prefixes, we strip it and create all possible\n\t * prefixed forms based on this stem.\n\t */\n\tconst { stem, prefix } = stemPrefixedFunctionWords( word, PREFIXED_FUNCTION_WORDS_REGEX );\n\n\tif ( prefix !== \"\" ) {\n\t\tforms.push( stem );\n\t\tforms.push( ...PREFIXED_FUNCTION_WORDS.map( basicPrefix => basicPrefix + stem ) );\n\t}\n\n\treturn forms;\n}\n"],"mappings":"AAAA,SAASA,yBAAyB;AAClC,SAASC,uBAAuB,EAAEC,6BAA6B;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,oBAAoBA,CAAEC,IAAI,EAAG;EAC5C,MAAMC,KAAK,GAAG,EAAE;;EAEhB;AACD;AACA;AACA;AACA;EACCA,KAAK,CAACC,IAAI,CAAE,GAAGL,uBAAuB,CAACM,GAAG,CAAEC,WAAW,IAAIA,WAAW,GAAGJ,IAAK,CAAE,CAAC;;EAEjF;AACD;AACA;AACA;EACC,MAAM;IAAEK,IAAI;IAAEC;EAAO,CAAC,GAAGV,yBAAyB,CAAEI,IAAI,EAAEF,6BAA8B,CAAC;EAEzF,IAAKQ,MAAM,KAAK,EAAE,EAAG;IACpBL,KAAK,CAACC,IAAI,CAAEG,IAAK,CAAC;IAClBJ,KAAK,CAACC,IAAI,CAAE,GAAGL,uBAAuB,CAACM,GAAG,CAAEC,WAAW,IAAIA,WAAW,GAAGC,IAAK,CAAE,CAAC;EAClF;EAEA,OAAOJ,KAAK;AACb","ignoreList":[]}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = getStemmer;
|
|
7
|
-
var _lodash = require("lodash");
|
|
8
|
-
var _index = require("../../../index");
|
|
9
|
-
var _stem = _interopRequireDefault(require("./internal/stem"));
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
1
|
+
import { get } from 'lodash';
|
|
2
|
+
import { languageProcessing } from "../../../../index.js";
|
|
11
3
|
const {
|
|
12
4
|
baseStemmer
|
|
13
|
-
} =
|
|
5
|
+
} = languageProcessing;
|
|
6
|
+
import stem from "./internal/stem";
|
|
7
|
+
|
|
14
8
|
/**
|
|
15
9
|
* Returns the stemmer for a researcher.
|
|
16
10
|
*
|
|
@@ -18,10 +12,10 @@ const {
|
|
|
18
12
|
*
|
|
19
13
|
* @returns {Function} The stemmer.
|
|
20
14
|
*/
|
|
21
|
-
function getStemmer(researcher) {
|
|
22
|
-
const morphologyData =
|
|
15
|
+
export default function getStemmer(researcher) {
|
|
16
|
+
const morphologyData = get(researcher.getData('morphology'), 'he', false);
|
|
23
17
|
if (morphologyData) {
|
|
24
|
-
return word => (
|
|
18
|
+
return word => stem(word, morphologyData);
|
|
25
19
|
}
|
|
26
20
|
return baseStemmer;
|
|
27
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStemmer.js","names":["
|
|
1
|
+
{"version":3,"file":"getStemmer.js","names":["get","languageProcessing","baseStemmer","stem","getStemmer","researcher","morphologyData","getData","word"],"sources":["../../../../../src/languageProcessing/languages/he/helpers/getStemmer.js"],"sourcesContent":["import {get} from 'lodash';\nimport {languageProcessing} from '@axyseo/index.js';\nconst {baseStemmer} = languageProcessing;\n\nimport stem from './internal/stem';\n\n/**\n * Returns the stemmer for a researcher.\n *\n * @param {Researcher} researcher The researcher.\n *\n * @returns {Function} The stemmer.\n */\nexport default function getStemmer(researcher) {\n const morphologyData = get(researcher.getData('morphology'), 'he', false);\n\n if (morphologyData) {\n return word => stem(word, morphologyData);\n }\n\n return baseStemmer;\n}\n"],"mappings":"AAAA,SAAQA,GAAG,QAAO,QAAQ;AAC1B,SAAQC,kBAAkB;AAC1B,MAAM;EAACC;AAAW,CAAC,GAAGD,kBAAkB;AAExC,OAAOE,IAAI;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAASC,UAAUA,CAACC,UAAU,EAAE;EAC7C,MAAMC,cAAc,GAAGN,GAAG,CAACK,UAAU,CAACE,OAAO,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC;EAEzE,IAAID,cAAc,EAAE;IAClB,OAAOE,IAAI,IAAIL,IAAI,CAACK,IAAI,EAAEF,cAAc,CAAC;EAC3C;EAEA,OAAOJ,WAAW;AACpB","ignoreList":[]}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = stem;
|
|
7
1
|
/**
|
|
8
2
|
*
|
|
9
3
|
* If the word starts with one of the prefixes "ב" "ה", "ו", "כ", "ל", "מ", "ש" it should be stemmed as the dictionary
|
|
@@ -29,7 +23,7 @@ const removePrefix = function (word, prefixes) {
|
|
|
29
23
|
*
|
|
30
24
|
* @returns {string} The stemmed word or the original word if no stem was found.
|
|
31
25
|
*/
|
|
32
|
-
function stem(word, morphologyData) {
|
|
26
|
+
export default function stem(word, morphologyData) {
|
|
33
27
|
const dictionaryStemmer = morphologyData.dictionary;
|
|
34
28
|
|
|
35
29
|
// Check if the word exists in the dictionary stemmer. If yes, return base form of the word specified in the dictionary.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stem.js","names":["removePrefix","word","prefixes","some","prefix","startsWith","slice","stem","morphologyData","dictionaryStemmer","dictionary","stemmedWord","wordAfterRemovingPrefix","wordAfterRemovingSecondPrefix"],"sources":["../../../../../../src/languageProcessing/languages/he/helpers/internal/stem.js"],"sourcesContent":["/**\n *\n * If the word starts with one of the prefixes \"ב\" \"ה\", \"ו\", \"כ\", \"ל\", \"מ\", \"ש\" it should be stemmed as the dictionary\n * does not contain forms with those prefixes.\n *\n * @param {string} \t\tword\t\tThe word to check for a prefix.\n * @param {string[]} \tprefixes\tThe prefixes that should be stemmed before checking the dictionary.\n *\n * @returns {string} Word without the prefix or the original word if no prefix was found\n */\nconst removePrefix = function( word, prefixes ) {\n\tif ( prefixes.some( prefix => word.startsWith( prefix ) ) ) {\n\t\treturn word.slice( 1 );\n\t}\n\treturn word;\n};\n\n/**\n * Stems Hebrew words (removes possible prefixes and returns lemma if found in the dictionary).\n *\n * @param {string}\tword\t\t\tThe word to stem.\n * @param {Object}\tmorphologyData\tThe Hebrew morphology data.\n *\n * @returns {string} The stemmed word or the original word if no stem was found.\n */\nexport default function stem( word, morphologyData ) {\n\tconst dictionaryStemmer = morphologyData.dictionary;\n\n\t// Check if the word exists in the dictionary stemmer. If yes, return base form of the word specified in the dictionary.\n\tlet stemmedWord = dictionaryStemmer[ word ];\n\tif ( stemmedWord ) {\n\t\treturn stemmedWord;\n\t}\n\n\t// If the word was not found in the dictionary, try to remove a prefix from the word and see whether the deprefixed word is found.\n\tconst wordAfterRemovingPrefix = removePrefix( word, morphologyData.prefixes );\n\tif ( wordAfterRemovingPrefix !== word ) {\n\t\tstemmedWord = dictionaryStemmer[ wordAfterRemovingPrefix ];\n\t\tif ( stemmedWord ) {\n\t\t\treturn stemmedWord;\n\t\t}\n\t\t// If a prefix was removed but the word was still not found, try removing another prefix and search in the dictionary again.\n\t\tconst wordAfterRemovingSecondPrefix = removePrefix( wordAfterRemovingPrefix, morphologyData.prefixes );\n\t\tif ( wordAfterRemovingSecondPrefix !== wordAfterRemovingPrefix ) {\n\t\t\tstemmedWord = dictionaryStemmer[ wordAfterRemovingSecondPrefix ];\n\t\t\tif ( stemmedWord ) {\n\t\t\t\treturn stemmedWord;\n\t\t\t}\n\t\t}\n\t}\n\treturn word;\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"stem.js","names":["removePrefix","word","prefixes","some","prefix","startsWith","slice","stem","morphologyData","dictionaryStemmer","dictionary","stemmedWord","wordAfterRemovingPrefix","wordAfterRemovingSecondPrefix"],"sources":["../../../../../../src/languageProcessing/languages/he/helpers/internal/stem.js"],"sourcesContent":["/**\n *\n * If the word starts with one of the prefixes \"ב\" \"ה\", \"ו\", \"כ\", \"ל\", \"מ\", \"ש\" it should be stemmed as the dictionary\n * does not contain forms with those prefixes.\n *\n * @param {string} \t\tword\t\tThe word to check for a prefix.\n * @param {string[]} \tprefixes\tThe prefixes that should be stemmed before checking the dictionary.\n *\n * @returns {string} Word without the prefix or the original word if no prefix was found\n */\nconst removePrefix = function( word, prefixes ) {\n\tif ( prefixes.some( prefix => word.startsWith( prefix ) ) ) {\n\t\treturn word.slice( 1 );\n\t}\n\treturn word;\n};\n\n/**\n * Stems Hebrew words (removes possible prefixes and returns lemma if found in the dictionary).\n *\n * @param {string}\tword\t\t\tThe word to stem.\n * @param {Object}\tmorphologyData\tThe Hebrew morphology data.\n *\n * @returns {string} The stemmed word or the original word if no stem was found.\n */\nexport default function stem( word, morphologyData ) {\n\tconst dictionaryStemmer = morphologyData.dictionary;\n\n\t// Check if the word exists in the dictionary stemmer. If yes, return base form of the word specified in the dictionary.\n\tlet stemmedWord = dictionaryStemmer[ word ];\n\tif ( stemmedWord ) {\n\t\treturn stemmedWord;\n\t}\n\n\t// If the word was not found in the dictionary, try to remove a prefix from the word and see whether the deprefixed word is found.\n\tconst wordAfterRemovingPrefix = removePrefix( word, morphologyData.prefixes );\n\tif ( wordAfterRemovingPrefix !== word ) {\n\t\tstemmedWord = dictionaryStemmer[ wordAfterRemovingPrefix ];\n\t\tif ( stemmedWord ) {\n\t\t\treturn stemmedWord;\n\t\t}\n\t\t// If a prefix was removed but the word was still not found, try removing another prefix and search in the dictionary again.\n\t\tconst wordAfterRemovingSecondPrefix = removePrefix( wordAfterRemovingPrefix, morphologyData.prefixes );\n\t\tif ( wordAfterRemovingSecondPrefix !== wordAfterRemovingPrefix ) {\n\t\t\tstemmedWord = dictionaryStemmer[ wordAfterRemovingSecondPrefix ];\n\t\t\tif ( stemmedWord ) {\n\t\t\t\treturn stemmedWord;\n\t\t\t}\n\t\t}\n\t}\n\treturn word;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,YAAY,GAAG,SAAAA,CAAUC,IAAI,EAAEC,QAAQ,EAAG;EAC/C,IAAKA,QAAQ,CAACC,IAAI,CAAEC,MAAM,IAAIH,IAAI,CAACI,UAAU,CAAED,MAAO,CAAE,CAAC,EAAG;IAC3D,OAAOH,IAAI,CAACK,KAAK,CAAE,CAAE,CAAC;EACvB;EACA,OAAOL,IAAI;AACZ,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAASM,IAAIA,CAAEN,IAAI,EAAEO,cAAc,EAAG;EACpD,MAAMC,iBAAiB,GAAGD,cAAc,CAACE,UAAU;;EAEnD;EACA,IAAIC,WAAW,GAAGF,iBAAiB,CAAER,IAAI,CAAE;EAC3C,IAAKU,WAAW,EAAG;IAClB,OAAOA,WAAW;EACnB;;EAEA;EACA,MAAMC,uBAAuB,GAAGZ,YAAY,CAAEC,IAAI,EAAEO,cAAc,CAACN,QAAS,CAAC;EAC7E,IAAKU,uBAAuB,KAAKX,IAAI,EAAG;IACvCU,WAAW,GAAGF,iBAAiB,CAAEG,uBAAuB,CAAE;IAC1D,IAAKD,WAAW,EAAG;MAClB,OAAOA,WAAW;IACnB;IACA;IACA,MAAME,6BAA6B,GAAGb,YAAY,CAAEY,uBAAuB,EAAEJ,cAAc,CAACN,QAAS,CAAC;IACtG,IAAKW,6BAA6B,KAAKD,uBAAuB,EAAI;MACjED,WAAW,GAAGF,iBAAiB,CAAEI,6BAA6B,CAAE;MAChE,IAAKF,WAAW,EAAG;QAClB,OAAOA,WAAW;MACnB;IACD;EACD;EACA,OAAOV,IAAI;AACZ","ignoreList":[]}
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = isPassiveSentence;
|
|
7
|
-
var _index = require("../../../index");
|
|
8
|
-
var _regularRootsHufal = _interopRequireDefault(require("../config/internal/regularRootsHufal"));
|
|
9
|
-
var _regularRootsNifal = _interopRequireDefault(require("../config/internal/regularRootsNifal"));
|
|
10
|
-
var _regularRootsPual = _interopRequireDefault(require("../config/internal/regularRootsPual"));
|
|
11
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
1
|
+
import { languageProcessing } from "../../../../index.js";
|
|
12
2
|
const {
|
|
13
3
|
getWords
|
|
14
|
-
} =
|
|
4
|
+
} = languageProcessing;
|
|
5
|
+
import regularRootsHufal from "../config/internal/regularRootsHufal";
|
|
6
|
+
import regularRootsNifal from "../config/internal/regularRootsNifal";
|
|
7
|
+
import regularRootsPual from "../config/internal/regularRootsPual";
|
|
8
|
+
|
|
15
9
|
/**
|
|
16
10
|
* Checks if the input word's root is in the Hebrew verb roots list.
|
|
17
11
|
*
|
|
@@ -35,7 +29,7 @@ const checkHebrewVerbRootsList = function (word, verbRootsList, affixesList) {
|
|
|
35
29
|
*
|
|
36
30
|
* @returns {Boolean} Whether the sentence contains Hebrew passive voice.
|
|
37
31
|
*/
|
|
38
|
-
function isPassiveSentence(sentence) {
|
|
32
|
+
export default function isPassiveSentence(sentence) {
|
|
39
33
|
const words = getWords(sentence);
|
|
40
34
|
for (const word of words) {
|
|
41
35
|
// The list of prefixes and suffixes for nif'al.
|
|
@@ -54,7 +48,7 @@ function isPassiveSentence(sentence) {
|
|
|
54
48
|
}];
|
|
55
49
|
|
|
56
50
|
// Check if the root is in nif'al.
|
|
57
|
-
const nifalPassive = checkHebrewVerbRootsList(word,
|
|
51
|
+
const nifalPassive = checkHebrewVerbRootsList(word, regularRootsNifal, nifalAffixes);
|
|
58
52
|
if (nifalPassive) {
|
|
59
53
|
return true;
|
|
60
54
|
}
|
|
@@ -85,7 +79,7 @@ function isPassiveSentence(sentence) {
|
|
|
85
79
|
const pualInfix = 'ו';
|
|
86
80
|
|
|
87
81
|
// Check if the root is in pu'al.
|
|
88
|
-
const pualPassive =
|
|
82
|
+
const pualPassive = regularRootsPual.some(root => pualAffixes.some(function (affixes) {
|
|
89
83
|
const pualPattern = new RegExp('^' + affixes.prefix + root[0] + pualInfix + root[1] + root[2] + affixes.suffix + '$');
|
|
90
84
|
return pualPattern.test(word);
|
|
91
85
|
}));
|
|
@@ -112,7 +106,7 @@ function isPassiveSentence(sentence) {
|
|
|
112
106
|
}];
|
|
113
107
|
|
|
114
108
|
// Check if the root is in huf'al.
|
|
115
|
-
const hufalPassive = checkHebrewVerbRootsList(word,
|
|
109
|
+
const hufalPassive = checkHebrewVerbRootsList(word, regularRootsHufal, hufalAffixes);
|
|
116
110
|
if (hufalPassive) {
|
|
117
111
|
return true;
|
|
118
112
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isPassiveSentence.js","names":["
|
|
1
|
+
{"version":3,"file":"isPassiveSentence.js","names":["languageProcessing","getWords","regularRootsHufal","regularRootsNifal","regularRootsPual","checkHebrewVerbRootsList","word","verbRootsList","affixesList","some","root","affixes","pattern","RegExp","prefix","suffix","test","isPassiveSentence","sentence","words","nifalAffixes","nifalPassive","pualAffixes","pualInfix","pualPassive","pualPattern","hufalAffixes","hufalPassive"],"sources":["../../../../../src/languageProcessing/languages/he/helpers/isPassiveSentence.js"],"sourcesContent":["import {languageProcessing} from '@axyseo/index.js';\nconst {getWords} = languageProcessing;\n\nimport regularRootsHufal from '../config/internal/regularRootsHufal';\nimport regularRootsNifal from '../config/internal/regularRootsNifal';\nimport regularRootsPual from '../config/internal/regularRootsPual';\n\n/**\n * Checks if the input word's root is in the Hebrew verb roots list.\n *\n * @param {string} word The word to check.\n * @param {string[]} verbRootsList The Hebrew verb roots list.\n * @param {Object[]} affixesList The list of prefixes and suffixes.\n *\n * @returns {Boolean} Returns true if the root of the input word is in the list.\n */\nconst checkHebrewVerbRootsList = function(word, verbRootsList, affixesList) {\n return verbRootsList.some(root =>\n affixesList.some(function(affixes) {\n const pattern = new RegExp('^' + affixes.prefix + root + affixes.suffix + '$');\n return pattern.test(word);\n })\n );\n};\n\n/**\n * Checks the passed sentence to see if it contains Hebrew passive verb-forms.\n *\n * @param {string} sentence The sentence to match against.\n *\n * @returns {Boolean} Whether the sentence contains Hebrew passive voice.\n */\nexport default function isPassiveSentence(sentence) {\n const words = getWords(sentence);\n for (const word of words) {\n // The list of prefixes and suffixes for nif'al.\n const nifalAffixes = [\n {prefix: '(נ|אי|תי|הי|יי|ני|להי)', suffix: ''},\n {prefix: '(תי|הי)', suffix: '(י|ו|נה)'},\n {prefix: 'נ', suffix: '(ים|ת|ות|תי|ה|נו|תם|תן|ו)'},\n {prefix: 'יי', suffix: 'ו'}\n ];\n\n // Check if the root is in nif'al.\n const nifalPassive = checkHebrewVerbRootsList(word, regularRootsNifal, nifalAffixes);\n\n if (nifalPassive) {\n return true;\n }\n\n // The list of prefixes and suffixes for pu'al.\n const pualAffixes = [\n {prefix: '(מ|א|ת|י|נ)', suffix: ''},\n {prefix: 'תי', suffix: 'נה'},\n {prefix: 'מ', suffix: '(ת|ים|ות)'},\n {prefix: 'ת', suffix: '(י|ו|נה)'},\n {prefix: 'י', suffix: 'ו'},\n {prefix: '', suffix: '(תי|ת|ה|נו|תם|תן|ו)'},\n {prefix: '', suffix: ''}\n ];\n const pualInfix = 'ו';\n\n // Check if the root is in pu'al.\n const pualPassive = regularRootsPual.some(root =>\n pualAffixes.some(function(affixes) {\n const pualPattern = new RegExp(\n '^' + affixes.prefix + root[0] + pualInfix + root[1] + root[2] + affixes.suffix + '$'\n );\n\n return pualPattern.test(word);\n })\n );\n\n if (pualPassive) {\n return true;\n }\n\n // The list of prefixes and suffixes for huf'al.\n const hufalAffixes = [\n {prefix: '(מו|הו|או|תו|יו|נו)', suffix: ''},\n {prefix: 'מו', suffix: '(ת|ים|ות)'},\n {prefix: 'הו', suffix: '(תי|ת|ית|ה|נו|תם|תן|ו)'},\n {prefix: 'תו', suffix: '(ו|נה|י)'},\n {prefix: 'יו', suffix: 'ו'}\n ];\n\n // Check if the root is in huf'al.\n const hufalPassive = checkHebrewVerbRootsList(word, regularRootsHufal, hufalAffixes);\n\n if (hufalPassive) {\n return true;\n }\n }\n\n return false;\n}\n"],"mappings":"AAAA,SAAQA,kBAAkB;AAC1B,MAAM;EAACC;AAAQ,CAAC,GAAGD,kBAAkB;AAErC,OAAOE,iBAAiB;AACxB,OAAOC,iBAAiB;AACxB,OAAOC,gBAAgB;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,wBAAwB,GAAG,SAAAA,CAASC,IAAI,EAAEC,aAAa,EAAEC,WAAW,EAAE;EAC1E,OAAOD,aAAa,CAACE,IAAI,CAACC,IAAI,IAC5BF,WAAW,CAACC,IAAI,CAAC,UAASE,OAAO,EAAE;IACjC,MAAMC,OAAO,GAAG,IAAIC,MAAM,CAAC,GAAG,GAAGF,OAAO,CAACG,MAAM,GAAGJ,IAAI,GAAGC,OAAO,CAACI,MAAM,GAAG,GAAG,CAAC;IAC9E,OAAOH,OAAO,CAACI,IAAI,CAACV,IAAI,CAAC;EAC3B,CAAC,CACH,CAAC;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAASW,iBAAiBA,CAACC,QAAQ,EAAE;EAClD,MAAMC,KAAK,GAAGlB,QAAQ,CAACiB,QAAQ,CAAC;EAChC,KAAK,MAAMZ,IAAI,IAAIa,KAAK,EAAE;IACxB;IACA,MAAMC,YAAY,GAAG,CACnB;MAACN,MAAM,EAAE,wBAAwB;MAAEC,MAAM,EAAE;IAAE,CAAC,EAC9C;MAACD,MAAM,EAAE,SAAS;MAAEC,MAAM,EAAE;IAAU,CAAC,EACvC;MAACD,MAAM,EAAE,GAAG;MAAEC,MAAM,EAAE;IAA2B,CAAC,EAClD;MAACD,MAAM,EAAE,IAAI;MAAEC,MAAM,EAAE;IAAG,CAAC,CAC5B;;IAED;IACA,MAAMM,YAAY,GAAGhB,wBAAwB,CAACC,IAAI,EAAEH,iBAAiB,EAAEiB,YAAY,CAAC;IAEpF,IAAIC,YAAY,EAAE;MAChB,OAAO,IAAI;IACb;;IAEA;IACA,MAAMC,WAAW,GAAG,CAClB;MAACR,MAAM,EAAE,aAAa;MAAEC,MAAM,EAAE;IAAE,CAAC,EACnC;MAACD,MAAM,EAAE,IAAI;MAAEC,MAAM,EAAE;IAAI,CAAC,EAC5B;MAACD,MAAM,EAAE,GAAG;MAAEC,MAAM,EAAE;IAAW,CAAC,EAClC;MAACD,MAAM,EAAE,GAAG;MAAEC,MAAM,EAAE;IAAU,CAAC,EACjC;MAACD,MAAM,EAAE,GAAG;MAAEC,MAAM,EAAE;IAAG,CAAC,EAC1B;MAACD,MAAM,EAAE,EAAE;MAAEC,MAAM,EAAE;IAAqB,CAAC,EAC3C;MAACD,MAAM,EAAE,EAAE;MAAEC,MAAM,EAAE;IAAE,CAAC,CACzB;IACD,MAAMQ,SAAS,GAAG,GAAG;;IAErB;IACA,MAAMC,WAAW,GAAGpB,gBAAgB,CAACK,IAAI,CAACC,IAAI,IAC5CY,WAAW,CAACb,IAAI,CAAC,UAASE,OAAO,EAAE;MACjC,MAAMc,WAAW,GAAG,IAAIZ,MAAM,CAC5B,GAAG,GAAGF,OAAO,CAACG,MAAM,GAAGJ,IAAI,CAAC,CAAC,CAAC,GAAGa,SAAS,GAAGb,IAAI,CAAC,CAAC,CAAC,GAAGA,IAAI,CAAC,CAAC,CAAC,GAAGC,OAAO,CAACI,MAAM,GAAG,GACpF,CAAC;MAED,OAAOU,WAAW,CAACT,IAAI,CAACV,IAAI,CAAC;IAC/B,CAAC,CACH,CAAC;IAED,IAAIkB,WAAW,EAAE;MACf,OAAO,IAAI;IACb;;IAEA;IACA,MAAME,YAAY,GAAG,CACnB;MAACZ,MAAM,EAAE,qBAAqB;MAAEC,MAAM,EAAE;IAAE,CAAC,EAC3C;MAACD,MAAM,EAAE,IAAI;MAAEC,MAAM,EAAE;IAAW,CAAC,EACnC;MAACD,MAAM,EAAE,IAAI;MAAEC,MAAM,EAAE;IAAwB,CAAC,EAChD;MAACD,MAAM,EAAE,IAAI;MAAEC,MAAM,EAAE;IAAU,CAAC,EAClC;MAACD,MAAM,EAAE,IAAI;MAAEC,MAAM,EAAE;IAAG,CAAC,CAC5B;;IAED;IACA,MAAMY,YAAY,GAAGtB,wBAAwB,CAACC,IAAI,EAAEJ,iBAAiB,EAAEwB,YAAY,CAAC;IAEpF,IAAIC,YAAY,EAAE;MAChB,OAAO,IAAI;IACb;EACF;EAEA,OAAO,KAAK;AACd","ignoreList":[]}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = stem;
|
|
7
1
|
/**
|
|
8
2
|
*
|
|
9
3
|
* If the word starts with one of the prefixes "ב" "ה", "ו", "כ", "ל", "מ", "ש" it should be stemmed as the dictionary
|
|
@@ -29,7 +23,7 @@ const removePrefix = function (word, prefixes) {
|
|
|
29
23
|
*
|
|
30
24
|
* @returns {string} The stemmed word or the original word if no stem was found.
|
|
31
25
|
*/
|
|
32
|
-
function stem(word, morphologyData) {
|
|
26
|
+
export default function stem(word, morphologyData) {
|
|
33
27
|
const dictionaryStemmer = morphologyData.dictionary;
|
|
34
28
|
|
|
35
29
|
// Check if the word exists in the dictionary stemmer. If yes, return base form of the word specified in the dictionary.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stem.js","names":["removePrefix","word","prefixes","some","prefix","startsWith","slice","stem","morphologyData","dictionaryStemmer","dictionary","stemmedWord","wordAfterRemovingPrefix","wordAfterRemovingSecondPrefix"],"sources":["../../../../../src/languageProcessing/languages/he/helpers/stem.js"],"sourcesContent":["/**\n *\n * If the word starts with one of the prefixes \"ב\" \"ה\", \"ו\", \"כ\", \"ל\", \"מ\", \"ש\" it should be stemmed as the dictionary\n * does not contain forms with those prefixes.\n *\n * @param {string} \t\tword\t\tThe word to check for a prefix.\n * @param {string[]} \tprefixes\tThe prefixes that should be stemmed before checking the dictionary.\n *\n * @returns {string} Word without the prefix or the original word if no prefix was found\n */\nconst removePrefix = function( word, prefixes ) {\n\tif ( prefixes.some( prefix => word.startsWith( prefix ) ) ) {\n\t\treturn word.slice( 1 );\n\t}\n\treturn word;\n};\n\n/**\n * Stems Hebrew words (removes possible prefixes and returns lemma if found in the dictionary).\n *\n * @param {string}\tword\t\t\tThe word to stem.\n * @param {Object}\tmorphologyData\tThe Hebrew morphology data.\n *\n * @returns {string} The stemmed word or the original word if no stem was found.\n */\nexport default function stem( word, morphologyData ) {\n\tconst dictionaryStemmer = morphologyData.dictionary;\n\n\t// Check if the word exists in the dictionary stemmer. If yes, return base form of the word specified in the dictionary.\n\tlet stemmedWord = dictionaryStemmer[ word ];\n\tif ( stemmedWord ) {\n\t\treturn stemmedWord;\n\t}\n\n\t// If the word was not found in the dictionary, try to remove a prefix from the word and see whether the deprefixed word is found.\n\tconst wordAfterRemovingPrefix = removePrefix( word, morphologyData.prefixes );\n\tif ( wordAfterRemovingPrefix !== word ) {\n\t\tstemmedWord = dictionaryStemmer[ wordAfterRemovingPrefix ];\n\t\tif ( stemmedWord ) {\n\t\t\treturn stemmedWord;\n\t\t}\n\t\t// If a prefix was removed but the word was still not found, try removing another prefix and search in the dictionary again.\n\t\tconst wordAfterRemovingSecondPrefix = removePrefix( wordAfterRemovingPrefix, morphologyData.prefixes );\n\t\tif ( wordAfterRemovingSecondPrefix !== wordAfterRemovingPrefix ) {\n\t\t\tstemmedWord = dictionaryStemmer[ wordAfterRemovingSecondPrefix ];\n\t\t\tif ( stemmedWord ) {\n\t\t\t\treturn stemmedWord;\n\t\t\t}\n\t\t}\n\t}\n\treturn word;\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"stem.js","names":["removePrefix","word","prefixes","some","prefix","startsWith","slice","stem","morphologyData","dictionaryStemmer","dictionary","stemmedWord","wordAfterRemovingPrefix","wordAfterRemovingSecondPrefix"],"sources":["../../../../../src/languageProcessing/languages/he/helpers/stem.js"],"sourcesContent":["/**\n *\n * If the word starts with one of the prefixes \"ב\" \"ה\", \"ו\", \"כ\", \"ל\", \"מ\", \"ש\" it should be stemmed as the dictionary\n * does not contain forms with those prefixes.\n *\n * @param {string} \t\tword\t\tThe word to check for a prefix.\n * @param {string[]} \tprefixes\tThe prefixes that should be stemmed before checking the dictionary.\n *\n * @returns {string} Word without the prefix or the original word if no prefix was found\n */\nconst removePrefix = function( word, prefixes ) {\n\tif ( prefixes.some( prefix => word.startsWith( prefix ) ) ) {\n\t\treturn word.slice( 1 );\n\t}\n\treturn word;\n};\n\n/**\n * Stems Hebrew words (removes possible prefixes and returns lemma if found in the dictionary).\n *\n * @param {string}\tword\t\t\tThe word to stem.\n * @param {Object}\tmorphologyData\tThe Hebrew morphology data.\n *\n * @returns {string} The stemmed word or the original word if no stem was found.\n */\nexport default function stem( word, morphologyData ) {\n\tconst dictionaryStemmer = morphologyData.dictionary;\n\n\t// Check if the word exists in the dictionary stemmer. If yes, return base form of the word specified in the dictionary.\n\tlet stemmedWord = dictionaryStemmer[ word ];\n\tif ( stemmedWord ) {\n\t\treturn stemmedWord;\n\t}\n\n\t// If the word was not found in the dictionary, try to remove a prefix from the word and see whether the deprefixed word is found.\n\tconst wordAfterRemovingPrefix = removePrefix( word, morphologyData.prefixes );\n\tif ( wordAfterRemovingPrefix !== word ) {\n\t\tstemmedWord = dictionaryStemmer[ wordAfterRemovingPrefix ];\n\t\tif ( stemmedWord ) {\n\t\t\treturn stemmedWord;\n\t\t}\n\t\t// If a prefix was removed but the word was still not found, try removing another prefix and search in the dictionary again.\n\t\tconst wordAfterRemovingSecondPrefix = removePrefix( wordAfterRemovingPrefix, morphologyData.prefixes );\n\t\tif ( wordAfterRemovingSecondPrefix !== wordAfterRemovingPrefix ) {\n\t\t\tstemmedWord = dictionaryStemmer[ wordAfterRemovingSecondPrefix ];\n\t\t\tif ( stemmedWord ) {\n\t\t\t\treturn stemmedWord;\n\t\t\t}\n\t\t}\n\t}\n\treturn word;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,YAAY,GAAG,SAAAA,CAAUC,IAAI,EAAEC,QAAQ,EAAG;EAC/C,IAAKA,QAAQ,CAACC,IAAI,CAAEC,MAAM,IAAIH,IAAI,CAACI,UAAU,CAAED,MAAO,CAAE,CAAC,EAAG;IAC3D,OAAOH,IAAI,CAACK,KAAK,CAAE,CAAE,CAAC;EACvB;EACA,OAAOL,IAAI;AACZ,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAASM,IAAIA,CAAEN,IAAI,EAAEO,cAAc,EAAG;EACpD,MAAMC,iBAAiB,GAAGD,cAAc,CAACE,UAAU;;EAEnD;EACA,IAAIC,WAAW,GAAGF,iBAAiB,CAAER,IAAI,CAAE;EAC3C,IAAKU,WAAW,EAAG;IAClB,OAAOA,WAAW;EACnB;;EAEA;EACA,MAAMC,uBAAuB,GAAGZ,YAAY,CAAEC,IAAI,EAAEO,cAAc,CAACN,QAAS,CAAC;EAC7E,IAAKU,uBAAuB,KAAKX,IAAI,EAAG;IACvCU,WAAW,GAAGF,iBAAiB,CAAEG,uBAAuB,CAAE;IAC1D,IAAKD,WAAW,EAAG;MAClB,OAAOA,WAAW;IACnB;IACA;IACA,MAAME,6BAA6B,GAAGb,YAAY,CAAEY,uBAAuB,EAAEJ,cAAc,CAACN,QAAS,CAAC;IACtG,IAAKW,6BAA6B,KAAKD,uBAAuB,EAAI;MACjED,WAAW,GAAGF,iBAAiB,CAAEI,6BAA6B,CAAE;MAChE,IAAKF,WAAW,EAAG;QAClB,OAAOA,WAAW;MACnB;IACD;EACD;EACA,OAAOV,IAAI;AACZ","ignoreList":[]}
|
|
@@ -1,31 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _index = require("../../../index");
|
|
8
|
-
var _functionWords = _interopRequireDefault(require("./config/functionWords"));
|
|
9
|
-
var _transitionWords = _interopRequireDefault(require("./config/transitionWords"));
|
|
10
|
-
var _twoPartTransitionWords = _interopRequireDefault(require("./config/twoPartTransitionWords"));
|
|
11
|
-
var _firstWordExceptions = _interopRequireDefault(require("./config/firstWordExceptions"));
|
|
12
|
-
var _stopWords = _interopRequireDefault(require("./config/stopWords"));
|
|
13
|
-
var _getStemmer = _interopRequireDefault(require("./helpers/getStemmer"));
|
|
14
|
-
var _getClauses = _interopRequireDefault(require("./helpers/getClauses"));
|
|
15
|
-
var _isPassiveSentence = _interopRequireDefault(require("./helpers/isPassiveSentence"));
|
|
16
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
1
|
+
import { languageProcessing } from "../../../index.js";
|
|
17
2
|
const {
|
|
18
3
|
AbstractResearcher
|
|
19
|
-
} =
|
|
4
|
+
} = languageProcessing;
|
|
20
5
|
|
|
21
6
|
// All config
|
|
7
|
+
import functionWords from "./config/functionWords";
|
|
8
|
+
import transitionWords from "./config/transitionWords";
|
|
9
|
+
import twoPartTransitionWords from "./config/twoPartTransitionWords";
|
|
10
|
+
import firstWordExceptions from "./config/firstWordExceptions";
|
|
11
|
+
import stopWords from "./config/stopWords";
|
|
22
12
|
|
|
23
13
|
// All helpers
|
|
14
|
+
import getStemmer from "./helpers/getStemmer";
|
|
15
|
+
import getClauses from "./helpers/getClauses";
|
|
16
|
+
import isPassiveSentence from "./helpers/isPassiveSentence";
|
|
24
17
|
|
|
25
18
|
/**
|
|
26
19
|
* The researcher contains all the researches, helpers, data, and config.
|
|
27
20
|
*/
|
|
28
|
-
class Researcher extends AbstractResearcher {
|
|
21
|
+
export default class Researcher extends AbstractResearcher {
|
|
29
22
|
/**
|
|
30
23
|
* Constructor
|
|
31
24
|
* @param {Paper} paper The Paper object that is needed within the researches.
|
|
@@ -40,18 +33,17 @@ class Researcher extends AbstractResearcher {
|
|
|
40
33
|
Object.assign(this.config, {
|
|
41
34
|
language: 'hu',
|
|
42
35
|
passiveConstructionType: 'morphologicalAndPeriphrastic',
|
|
43
|
-
functionWords
|
|
44
|
-
transitionWords
|
|
45
|
-
twoPartTransitionWords
|
|
46
|
-
firstWordExceptions
|
|
47
|
-
stopWords
|
|
36
|
+
functionWords,
|
|
37
|
+
transitionWords,
|
|
38
|
+
twoPartTransitionWords,
|
|
39
|
+
firstWordExceptions,
|
|
40
|
+
stopWords
|
|
48
41
|
});
|
|
49
42
|
Object.assign(this.helpers, {
|
|
50
|
-
getStemmer
|
|
51
|
-
getClauses
|
|
52
|
-
isPassiveSentence
|
|
43
|
+
getStemmer,
|
|
44
|
+
getClauses,
|
|
45
|
+
isPassiveSentence
|
|
53
46
|
});
|
|
54
47
|
}
|
|
55
48
|
}
|
|
56
|
-
exports.default = Researcher;
|
|
57
49
|
//# sourceMappingURL=Researcher.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Researcher.js","names":["
|
|
1
|
+
{"version":3,"file":"Researcher.js","names":["languageProcessing","AbstractResearcher","functionWords","transitionWords","twoPartTransitionWords","firstWordExceptions","stopWords","getStemmer","getClauses","isPassiveSentence","Researcher","constructor","paper","defaultResearches","getFleschReadingScore","Object","assign","config","language","passiveConstructionType","helpers"],"sources":["../../../../src/languageProcessing/languages/hu/Researcher.js"],"sourcesContent":["import {languageProcessing} from '@axyseo/index.js';\nconst {AbstractResearcher} = languageProcessing;\n\n// All config\nimport functionWords from './config/functionWords';\nimport transitionWords from './config/transitionWords';\nimport twoPartTransitionWords from './config/twoPartTransitionWords';\nimport firstWordExceptions from './config/firstWordExceptions';\nimport stopWords from './config/stopWords';\n\n// All helpers\nimport getStemmer from './helpers/getStemmer';\nimport getClauses from './helpers/getClauses';\nimport isPassiveSentence from './helpers/isPassiveSentence';\n\n/**\n * The researcher contains all the researches, helpers, data, and config.\n */\nexport default class Researcher extends AbstractResearcher {\n /**\n * Constructor\n * @param {Paper} paper The Paper object that is needed within the researches.\n * @constructor\n */\n constructor(paper) {\n super(paper);\n\n // Deletes researches that are currently not available in Hungarian.\n // When the research is available, this line should be removed.\n delete this.defaultResearches.getFleschReadingScore;\n\n Object.assign(this.config, {\n language: 'hu',\n passiveConstructionType: 'morphologicalAndPeriphrastic',\n functionWords,\n transitionWords,\n twoPartTransitionWords,\n firstWordExceptions,\n stopWords\n });\n\n Object.assign(this.helpers, {\n getStemmer,\n getClauses,\n isPassiveSentence\n });\n }\n}\n"],"mappings":"AAAA,SAAQA,kBAAkB;AAC1B,MAAM;EAACC;AAAkB,CAAC,GAAGD,kBAAkB;;AAE/C;AACA,OAAOE,aAAa;AACpB,OAAOC,eAAe;AACtB,OAAOC,sBAAsB;AAC7B,OAAOC,mBAAmB;AAC1B,OAAOC,SAAS;;AAEhB;AACA,OAAOC,UAAU;AACjB,OAAOC,UAAU;AACjB,OAAOC,iBAAiB;;AAExB;AACA;AACA;AACA,eAAe,MAAMC,UAAU,SAAST,kBAAkB,CAAC;EACzD;AACF;AACA;AACA;AACA;EACEU,WAAWA,CAACC,KAAK,EAAE;IACjB,KAAK,CAACA,KAAK,CAAC;;IAEZ;IACA;IACA,OAAO,IAAI,CAACC,iBAAiB,CAACC,qBAAqB;IAEnDC,MAAM,CAACC,MAAM,CAAC,IAAI,CAACC,MAAM,EAAE;MACzBC,QAAQ,EAAE,IAAI;MACdC,uBAAuB,EAAE,8BAA8B;MACvDjB,aAAa;MACbC,eAAe;MACfC,sBAAsB;MACtBC,mBAAmB;MACnBC;IACF,CAAC,CAAC;IAEFS,MAAM,CAACC,MAAM,CAAC,IAAI,CAACI,OAAO,EAAE;MAC1Bb,UAAU;MACVC,UAAU;MACVC;IACF,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
|