From df1890817eb0dfe5200ffaeabbbf052b99984cb2 Mon Sep 17 00:00:00 2001 From: mmatera Date: Fri, 31 Jan 2025 18:33:44 -0300 Subject: [PATCH] fix dd fields --- pymathics/natlang/linguistic_data.py | 18 +++++++++--------- pymathics/natlang/manipulate.py | 2 +- pymathics/natlang/normalization.py | 18 +++++++++--------- pymathics/natlang/textual_analysis.py | 18 +++++++++--------- pymathics/natlang/translation.py | 2 +- 5 files changed, 29 insertions(+), 29 deletions(-) diff --git a/pymathics/natlang/linguistic_data.py b/pymathics/natlang/linguistic_data.py index ab65658..f9c6451 100644 --- a/pymathics/natlang/linguistic_data.py +++ b/pymathics/natlang/linguistic_data.py @@ -53,10 +53,10 @@ class DictionaryLookup(_WordListBuiltin): https://reference.wolfram.com/language/ref/DictionaryLookup.html
-
'DictionaryLookup[$word$]' +
'DictionaryLookup'[$word$]
lookup words that match the given $word$ or pattern. -
'DictionaryLookup[$word$, $n$]' +
'DictionaryLookup'[$word$, $n$]
lookup first $n$ words that match the given $word$ or pattern.
@@ -121,7 +121,7 @@ class DictionaryWordQ(_WordNetBuiltin): https://reference.wolfram.com/language/ref/DictionaryWordQ.html
-
'DictionaryWordQ[$word$]' +
'DictionaryWordQ'[$word$]
returns True if $word$ is a word usually found in dictionaries, and False otherwise.
@@ -157,10 +157,10 @@ class RandomWord(_WordListBuiltin):
'RandomWord[]'
returns a random word. -
'RandomWord[$type$]' +
'RandomWord'[$type$]
returns a random word of the given $type$, e.g. of type "Noun" or "Adverb". -
'RandomWord[$type$, $n$]' +
'RandomWord'[$type$, $n$]
returns $n$ random words of the given $type$. @@ -208,10 +208,10 @@ class WordData(_WordListBuiltin): https://reference.wolfram.com/language/ref/WordData.html
-
'WordData[$word$]' +
'WordData'[$word$]
returns a list of possible senses of a word. -
'WordData[$word$, $property$]' +
'WordData'[$word$, $property$]
returns detailed information about a word regarding $property$, e.g. "Definitions" or "Examples".
@@ -374,7 +374,7 @@ class WordDefinition(_WordNetBuiltin): https://reference.wolfram.com/language/ref/WordDefinition.html
-
'WordDefinition[$word$]' +
'WordDefinition'[$word$]
returns a definition of $word$ or Missing["Available"] if $word$ is not known.
@@ -406,7 +406,7 @@ class WordList(_WordListBuiltin):
'WordList[]'
returns a list of common words. -
'WordList[$type$]' +
'WordList'[$type$]
returns a list of common words of type $type$. diff --git a/pymathics/natlang/manipulate.py b/pymathics/natlang/manipulate.py index 207208a..e089dfc 100644 --- a/pymathics/natlang/manipulate.py +++ b/pymathics/natlang/manipulate.py @@ -20,7 +20,7 @@ class Pluralize(Builtin): https://reference.wolfram.com/language/ref/Pluralize.html
-
'Pluralize[$word$]' +
'Pluralize'[$word$]
returns the plural form of $word$.
diff --git a/pymathics/natlang/normalization.py b/pymathics/natlang/normalization.py index 74ddd99..3bb7a62 100644 --- a/pymathics/natlang/normalization.py +++ b/pymathics/natlang/normalization.py @@ -32,10 +32,10 @@ class DeleteStopwords(_SpacyBuiltin): )
-
'DeleteStopwords[$list$]' +
'DeleteStopwords'[$list$]
returns the words in $list$ without stopwords. -
'DeleteStopwords[$string$]' +
'DeleteStopwords'[$string$]
returns $string$ without stopwords.
@@ -88,7 +88,7 @@ class TextCases(_SpacyBuiltin): https://reference.wolfram.com/language/ref/TextCases.html
-
'TextCases[$text$, $form$]' +
'TextCases'[$text$, $form$]
returns all elements of type $form$ in $text$ in order of their appearance.
@@ -132,7 +132,7 @@ class TextPosition(_SpacyBuiltin): https://reference.wolfram.com/language/ref/TextPosition.html
-
'TextPosition[$text$, $form$]' +
'TextPosition'[$text$, $form$]
returns the positions of elements of type $form$ in $text$ in order of their appearance.
@@ -170,10 +170,10 @@ class TextSentences(_SpacyBuiltin):
-
'TextSentences[$string$]' +
'TextSentences'[$string$]
returns the sentences in $string$. -
'TextSentences[$string$, $n$]' +
'TextSentences'[$string$, $n$]
returns the first $n$ sentences in $string$
@@ -210,7 +210,7 @@ class TextStructure(_SpacyBuiltin): https://reference.wolfram.com/language/ref/TextStructure.html
-
'TextStructure[$text$, $form$]' +
'TextStructure'[$text$, $form$]
returns the grammatical structure of $text$ as $form$.
@@ -272,10 +272,10 @@ class TextWords(_SpacyBuiltin): https://reference.wolfram.com/language/ref/TextWords.html
-
'TextWords[$string$]' +
'TextWords'[$string$]
returns the words in $string$. -
'TextWords[$string$, $n$]' +
'TextWords'[$string$, $n$]
returns the first $n$ words in $string$
diff --git a/pymathics/natlang/textual_analysis.py b/pymathics/natlang/textual_analysis.py index ee5e856..faa380e 100644 --- a/pymathics/natlang/textual_analysis.py +++ b/pymathics/natlang/textual_analysis.py @@ -34,7 +34,7 @@ class Containing(Builtin): https://reference.wolfram.com/language/ref/Containing.html
-
'Containing[$outer$, $inner$]' +
'Containing'[$outer$, $inner$]
represents an object of the type outer containing objects\ of type inner.
@@ -65,7 +65,7 @@ class SpellingCorrectionList(Builtin): https://reference.wolfram.com/language/ref/SpellingCorrectionList.html
-
'SpellingCorrectionList[$word$]' +
'SpellingCorrectionList'[$word$]
returns a list of suggestions for spelling corrected versions of $word$.
@@ -125,7 +125,7 @@ class WordCount(_SpacyBuiltin): https://reference.wolfram.com/language/ref/WordCount.html
-
'WordCount[$string$]' +
'WordCount'[$string$]
returns the number of words in $string$.
@@ -149,7 +149,7 @@ class WordFrequency(_SpacyBuiltin): https://reference.wolfram.com/language/ref/WordFrequency.html
-
'WordFrequency[$text$, $word$]' +
'WordFrequency'[$text$, $word$]
returns the relative frequency of $word$ in $text$.
@@ -206,13 +206,13 @@ class WordSimilarity(_SpacyBuiltin): https://reference.wolfram.com/language/ref/WordSimilarity.html
-
'WordSimilarity[$text1$, $text2$]' +
'WordSimilarity'[$text_1$, $text_2$]
returns a real-valued measure of semantic similarity of two texts or words. -
'WordSimilarity[{$text1$, $i1$}, {$text2$, $j1$}]' +
'WordSimilarity'[{$text_1$, $i1$}, {$text_2$, $j_1$}]
returns a measure of similarity of two words within two texts. -
'WordSimilarity[{$text1$, {$i1$, $i2$, ...}}, {$text2$, {$j1$, $j2$, ...}}]' +
'WordSimilarity'[{$text_1$, {$i1$, $i2$, ...}}, {$text_2$, {$j_1$, $j_2$, ...}}]
returns a measure of similarity of multiple words within two texts.
@@ -300,10 +300,10 @@ class WordStem(Builtin): https://reference.wolfram.com/language/ref/WordStem.html
-
'WordStem[$word$]' +
'WordStem'[$word$]
returns a stemmed form of $word$, thereby reducing an inflected form to its root. -
'WordStem[{$word1$, $word2$, ...}]' +
'WordStem'[{$word_1$, $word_2$, ...}]
returns a stemmed form for list of $word$, thereby reducing an inflected form to its root.
diff --git a/pymathics/natlang/translation.py b/pymathics/natlang/translation.py index 3bc6c5b..94486c2 100644 --- a/pymathics/natlang/translation.py +++ b/pymathics/natlang/translation.py @@ -32,7 +32,7 @@ class LanguageIdentify(Builtin): https://reference.wolfram.com/language/ref/LanguageIdentify.html
-
'LanguageIdentify[$text$]' +
'LanguageIdentify'[$text$]
returns the name of the language used in $text$.