Skip to content

Commit 9282e0f

Browse files
authored
fix dd fields (#31)
1 parent 9695fc8 commit 9282e0f

File tree

5 files changed

+29
-29
lines changed

5 files changed

+29
-29
lines changed

pymathics/natlang/linguistic_data.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ class DictionaryLookup(_WordListBuiltin):
5353
https://reference.wolfram.com/language/ref/DictionaryLookup.html</url>
5454
5555
<dl>
56-
<dt>'DictionaryLookup[$word$]'
56+
<dt>'DictionaryLookup'[$word$]
5757
<dd>lookup words that match the given $word$ or pattern.
5858
59-
<dt>'DictionaryLookup[$word$, $n$]'
59+
<dt>'DictionaryLookup'[$word$, $n$]
6060
<dd>lookup first $n$ words that match the given $word$ or pattern.
6161
</dl>
6262
@@ -121,7 +121,7 @@ class DictionaryWordQ(_WordNetBuiltin):
121121
https://reference.wolfram.com/language/ref/DictionaryWordQ.html</url>
122122
123123
<dl>
124-
<dt>'DictionaryWordQ[$word$]'
124+
<dt>'DictionaryWordQ'[$word$]
125125
<dd>returns True if $word$ is a word usually found in dictionaries, and False otherwise.
126126
</dl>
127127
@@ -157,10 +157,10 @@ class RandomWord(_WordListBuiltin):
157157
<dt>'RandomWord[]'
158158
<dd>returns a random word.
159159
160-
<dt>'RandomWord[$type$]'
160+
<dt>'RandomWord'[$type$]
161161
<dd>returns a random word of the given $type$, e.g. of type "Noun" or "Adverb".
162162
163-
<dt>'RandomWord[$type$, $n$]'
163+
<dt>'RandomWord'[$type$, $n$]
164164
<dd>returns $n$ random words of the given $type$.
165165
</dl>
166166
@@ -208,10 +208,10 @@ class WordData(_WordListBuiltin):
208208
https://reference.wolfram.com/language/ref/WordData.html</url>
209209
210210
<dl>
211-
<dt>'WordData[$word$]'
211+
<dt>'WordData'[$word$]
212212
<dd>returns a list of possible senses of a word.
213213
214-
<dt>'WordData[$word$, $property$]'
214+
<dt>'WordData'[$word$, $property$]
215215
<dd>returns detailed information about a word regarding $property$, e.g. "Definitions" or "Examples".
216216
</dl>
217217
@@ -374,7 +374,7 @@ class WordDefinition(_WordNetBuiltin):
374374
https://reference.wolfram.com/language/ref/WordDefinition.html</url>
375375
376376
<dl>
377-
<dt>'WordDefinition[$word$]'
377+
<dt>'WordDefinition'[$word$]
378378
<dd>returns a definition of $word$ or Missing["Available"] if $word$ is not known.
379379
</dl>
380380
@@ -406,7 +406,7 @@ class WordList(_WordListBuiltin):
406406
<dt>'WordList[]'
407407
<dd>returns a list of common words.
408408
409-
<dt>'WordList[$type$]'
409+
<dt>'WordList'[$type$]
410410
<dd>returns a list of common words of type $type$.
411411
</dl>
412412

pymathics/natlang/manipulate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Pluralize(Builtin):
2020
https://reference.wolfram.com/language/ref/Pluralize.html</url>
2121
2222
<dl>
23-
<dt>'Pluralize[$word$]'
23+
<dt>'Pluralize'[$word$]
2424
<dd>returns the plural form of $word$.
2525
</dl>
2626

pymathics/natlang/normalization.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ class DeleteStopwords(_SpacyBuiltin):
3232
)
3333
3434
<dl>
35-
<dt>'DeleteStopwords[$list$]'
35+
<dt>'DeleteStopwords'[$list$]
3636
<dd>returns the words in $list$ without stopwords.
3737
38-
<dt>'DeleteStopwords[$string$]'
38+
<dt>'DeleteStopwords'[$string$]
3939
<dd>returns $string$ without stopwords.
4040
</dl>
4141
@@ -88,7 +88,7 @@ class TextCases(_SpacyBuiltin):
8888
https://reference.wolfram.com/language/ref/TextCases.html</url>
8989
9090
<dl>
91-
<dt>'TextCases[$text$, $form$]'
91+
<dt>'TextCases'[$text$, $form$]
9292
<dd>returns all elements of type $form$ in $text$ in order of their appearance.
9393
</dl>
9494
@@ -132,7 +132,7 @@ class TextPosition(_SpacyBuiltin):
132132
https://reference.wolfram.com/language/ref/TextPosition.html</url>
133133
134134
<dl>
135-
<dt>'TextPosition[$text$, $form$]'
135+
<dt>'TextPosition'[$text$, $form$]
136136
<dd>returns the positions of elements of type $form$ in $text$ in order of their appearance.
137137
</dl>
138138
@@ -170,10 +170,10 @@ class TextSentences(_SpacyBuiltin):
170170
171171
172172
<dl>
173-
<dt>'TextSentences[$string$]'
173+
<dt>'TextSentences'[$string$]
174174
<dd>returns the sentences in $string$.
175175
176-
<dt>'TextSentences[$string$, $n$]'
176+
<dt>'TextSentences'[$string$, $n$]
177177
<dd>returns the first $n$ sentences in $string$
178178
</dl>
179179
@@ -210,7 +210,7 @@ class TextStructure(_SpacyBuiltin):
210210
https://reference.wolfram.com/language/ref/TextStructure.html</url>
211211
212212
<dl>
213-
<dt>'TextStructure[$text$, $form$]'
213+
<dt>'TextStructure'[$text$, $form$]
214214
<dd>returns the grammatical structure of $text$ as $form$.
215215
</dl>
216216
@@ -272,10 +272,10 @@ class TextWords(_SpacyBuiltin):
272272
https://reference.wolfram.com/language/ref/TextWords.html</url>
273273
274274
<dl>
275-
<dt>'TextWords[$string$]'
275+
<dt>'TextWords'[$string$]
276276
<dd>returns the words in $string$.
277277
278-
<dt>'TextWords[$string$, $n$]'
278+
<dt>'TextWords'[$string$, $n$]
279279
<dd>returns the first $n$ words in $string$
280280
</dl>
281281

pymathics/natlang/textual_analysis.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Containing(Builtin):
3434
https://reference.wolfram.com/language/ref/Containing.html</url>
3535
3636
<dl>
37-
<dt>'Containing[$outer$, $inner$]'
37+
<dt>'Containing'[$outer$, $inner$]
3838
<dd>represents an object of the type outer containing objects\
3939
of type inner.
4040
</dl>
@@ -65,7 +65,7 @@ class SpellingCorrectionList(Builtin):
6565
https://reference.wolfram.com/language/ref/SpellingCorrectionList.html</url>
6666
6767
<dl>
68-
<dt>'SpellingCorrectionList[$word$]'
68+
<dt>'SpellingCorrectionList'[$word$]
6969
<dd>returns a list of suggestions for spelling corrected versions of $word$.
7070
</dl>
7171
@@ -125,7 +125,7 @@ class WordCount(_SpacyBuiltin):
125125
https://reference.wolfram.com/language/ref/WordCount.html</url>
126126
127127
<dl>
128-
<dt>'WordCount[$string$]'
128+
<dt>'WordCount'[$string$]
129129
<dd>returns the number of words in $string$.
130130
</dl>
131131
@@ -149,7 +149,7 @@ class WordFrequency(_SpacyBuiltin):
149149
https://reference.wolfram.com/language/ref/WordFrequency.html</url>
150150
151151
<dl>
152-
<dt>'WordFrequency[$text$, $word$]'
152+
<dt>'WordFrequency'[$text$, $word$]
153153
<dd>returns the relative frequency of $word$ in $text$.
154154
</dl>
155155
@@ -206,13 +206,13 @@ class WordSimilarity(_SpacyBuiltin):
206206
https://reference.wolfram.com/language/ref/WordSimilarity.html</url>
207207
208208
<dl>
209-
<dt>'WordSimilarity[$text1$, $text2$]'
209+
<dt>'WordSimilarity'[$text_1$, $text_2$]
210210
<dd>returns a real-valued measure of semantic similarity of two texts or words.
211211
212-
<dt>'WordSimilarity[{$text1$, $i1$}, {$text2$, $j1$}]'
212+
<dt>'WordSimilarity'[{$text_1$, $i1$}, {$text_2$, $j_1$}]
213213
<dd>returns a measure of similarity of two words within two texts.
214214
215-
<dt>'WordSimilarity[{$text1$, {$i1$, $i2$, ...}}, {$text2$, {$j1$, $j2$, ...}}]'
215+
<dt>'WordSimilarity'[{$text_1$, {$i1$, $i2$, ...}}, {$text_2$, {$j_1$, $j_2$, ...}}]
216216
<dd>returns a measure of similarity of multiple words within two texts.
217217
</dl>
218218
@@ -300,10 +300,10 @@ class WordStem(Builtin):
300300
https://reference.wolfram.com/language/ref/WordStem.html</url>
301301
302302
<dl>
303-
<dt>'WordStem[$word$]'
303+
<dt>'WordStem'[$word$]
304304
<dd>returns a stemmed form of $word$, thereby reducing an inflected form to its root.
305305
306-
<dt>'WordStem[{$word1$, $word2$, ...}]'
306+
<dt>'WordStem'[{$word_1$, $word_2$, ...}]
307307
<dd>returns a stemmed form for list of $word$, thereby reducing an inflected form to its root.
308308
</dl>
309309

pymathics/natlang/translation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class LanguageIdentify(Builtin):
3232
https://reference.wolfram.com/language/ref/LanguageIdentify.html</url>
3333
3434
<dl>
35-
<dt>'LanguageIdentify[$text$]'
35+
<dt>'LanguageIdentify'[$text$]
3636
<dd>returns the name of the language used in $text$.
3737
</dl>
3838

0 commit comments

Comments
 (0)