A tool to replace all words with antonymsHow to work on annotating AND sentence-aligning parallel texts?Is there a computational method to syllabify English words?sentiment analyticsTool for building a corpus by crawling the web?finding the language stem of vowelless HebrewIPA to plain simple English translator
Size Does Matter (at least referring to bottles)
What color is a wolf's coat?
How to translate "cocotte en papier" in English?
Plot the Pascalian triangle
Can a Tiefling be born from two human parents?
Minipage misalign horizontally 2 long side-by-side tables and cause them to overlap, even though plenty of space free
A novel about helpful woodlice aliens who eventually end up destroying every civilization they try to help
The lecturer supposed to grade my presentation fell asleep while I held it. Should I complain?
Where do I put nobles/royalty in a science fiction military?
What's the difference between "can't move" and "speed becomes 0"?
Responding to social invitations with autism
Can I land my aircraft on the grass next to the runway at a public airport?
Produce the random variable for an asset from a uniformly distributed random varible
What is the maximum distance you can cause damage from?
What is the relationship between taxes and annual liquidation of the markets?
What to do when the professor does not stand up to cheating?
In TDD, should I add unit tests to refactored code?
What happens when a ceramic bypass or decoupling capacitor goes bad?
I'm from Mumbai, India. I want to travel to Europe as a tourist but my salary is low ( €190/month)
Water Jug Problem in AI
Are there any (natural) scientists in Middle-earth?
Why can "bubo" ("owl") be feminine or masculine?
Hanging string lights from stone
Did any astronauts on a mission complain about waking up?
A tool to replace all words with antonyms
How to work on annotating AND sentence-aligning parallel texts?Is there a computational method to syllabify English words?sentiment analyticsTool for building a corpus by crawling the web?finding the language stem of vowelless HebrewIPA to plain simple English translator
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
.everyonelovesstackoverflowposition:absolute;height:1px;width:1px;opacity:0;top:0;left:0;pointer-events:none;
Are there a site or a tool, which can go through a big text and replace every word with an antonym of it?
If there are none, then a tool, which translates into a hand-made language would help. I.e translator, which takes a custom dictionary as an input.
computational-linguistics tools antonymy
|
show 2 more comments
Are there a site or a tool, which can go through a big text and replace every word with an antonym of it?
If there are none, then a tool, which translates into a hand-made language would help. I.e translator, which takes a custom dictionary as an input.
computational-linguistics tools antonymy
8
Words don't just simple antonyms, they're contextual, with some words having more than one antonym, and many words having none. To do this would require a very strong AI, more than I think probably exists yet.
– curiousdannii
Aug 11 at 10:00
2
@curiousdannii, words are complex, this is obvious, but how does this relate to my question? where do you see me asking for something, which works perfectly? The same you said could be said about a translation program before it started to exist. And very first auto-translators were disgusting, but still they helped people in a way. I have a specific question, which has a specific answer, please, don't add to my question something which was not there.
– klm123
Aug 11 at 11:11
3
It's not a matter of doing it imperfectly, it's a matter of being able to do it at all. Though I get your point about machine translation, which would be comparably inaccurate. So maybe an incredibly crude auto-antonym program would be possible.
– curiousdannii
Aug 11 at 11:31
1
You want a natural way to leave no silence as its synonym?
– Luke Sawczak
Aug 11 at 12:04
5
To those voting to close this question as "language-specific grammar or usage question": it is not one.
– LjL
Aug 11 at 14:58
|
show 2 more comments
Are there a site or a tool, which can go through a big text and replace every word with an antonym of it?
If there are none, then a tool, which translates into a hand-made language would help. I.e translator, which takes a custom dictionary as an input.
computational-linguistics tools antonymy
Are there a site or a tool, which can go through a big text and replace every word with an antonym of it?
If there are none, then a tool, which translates into a hand-made language would help. I.e translator, which takes a custom dictionary as an input.
computational-linguistics tools antonymy
computational-linguistics tools antonymy
edited Aug 12 at 9:47
jknappen - Reinstate Monica
14.2k2 gold badges34 silver badges63 bronze badges
14.2k2 gold badges34 silver badges63 bronze badges
asked Aug 11 at 9:26
klm123klm123
1215 bronze badges
1215 bronze badges
8
Words don't just simple antonyms, they're contextual, with some words having more than one antonym, and many words having none. To do this would require a very strong AI, more than I think probably exists yet.
– curiousdannii
Aug 11 at 10:00
2
@curiousdannii, words are complex, this is obvious, but how does this relate to my question? where do you see me asking for something, which works perfectly? The same you said could be said about a translation program before it started to exist. And very first auto-translators were disgusting, but still they helped people in a way. I have a specific question, which has a specific answer, please, don't add to my question something which was not there.
– klm123
Aug 11 at 11:11
3
It's not a matter of doing it imperfectly, it's a matter of being able to do it at all. Though I get your point about machine translation, which would be comparably inaccurate. So maybe an incredibly crude auto-antonym program would be possible.
– curiousdannii
Aug 11 at 11:31
1
You want a natural way to leave no silence as its synonym?
– Luke Sawczak
Aug 11 at 12:04
5
To those voting to close this question as "language-specific grammar or usage question": it is not one.
– LjL
Aug 11 at 14:58
|
show 2 more comments
8
Words don't just simple antonyms, they're contextual, with some words having more than one antonym, and many words having none. To do this would require a very strong AI, more than I think probably exists yet.
– curiousdannii
Aug 11 at 10:00
2
@curiousdannii, words are complex, this is obvious, but how does this relate to my question? where do you see me asking for something, which works perfectly? The same you said could be said about a translation program before it started to exist. And very first auto-translators were disgusting, but still they helped people in a way. I have a specific question, which has a specific answer, please, don't add to my question something which was not there.
– klm123
Aug 11 at 11:11
3
It's not a matter of doing it imperfectly, it's a matter of being able to do it at all. Though I get your point about machine translation, which would be comparably inaccurate. So maybe an incredibly crude auto-antonym program would be possible.
– curiousdannii
Aug 11 at 11:31
1
You want a natural way to leave no silence as its synonym?
– Luke Sawczak
Aug 11 at 12:04
5
To those voting to close this question as "language-specific grammar or usage question": it is not one.
– LjL
Aug 11 at 14:58
8
8
Words don't just simple antonyms, they're contextual, with some words having more than one antonym, and many words having none. To do this would require a very strong AI, more than I think probably exists yet.
– curiousdannii
Aug 11 at 10:00
Words don't just simple antonyms, they're contextual, with some words having more than one antonym, and many words having none. To do this would require a very strong AI, more than I think probably exists yet.
– curiousdannii
Aug 11 at 10:00
2
2
@curiousdannii, words are complex, this is obvious, but how does this relate to my question? where do you see me asking for something, which works perfectly? The same you said could be said about a translation program before it started to exist. And very first auto-translators were disgusting, but still they helped people in a way. I have a specific question, which has a specific answer, please, don't add to my question something which was not there.
– klm123
Aug 11 at 11:11
@curiousdannii, words are complex, this is obvious, but how does this relate to my question? where do you see me asking for something, which works perfectly? The same you said could be said about a translation program before it started to exist. And very first auto-translators were disgusting, but still they helped people in a way. I have a specific question, which has a specific answer, please, don't add to my question something which was not there.
– klm123
Aug 11 at 11:11
3
3
It's not a matter of doing it imperfectly, it's a matter of being able to do it at all. Though I get your point about machine translation, which would be comparably inaccurate. So maybe an incredibly crude auto-antonym program would be possible.
– curiousdannii
Aug 11 at 11:31
It's not a matter of doing it imperfectly, it's a matter of being able to do it at all. Though I get your point about machine translation, which would be comparably inaccurate. So maybe an incredibly crude auto-antonym program would be possible.
– curiousdannii
Aug 11 at 11:31
1
1
You want a natural way to leave no silence as its synonym?
– Luke Sawczak
Aug 11 at 12:04
You want a natural way to leave no silence as its synonym?
– Luke Sawczak
Aug 11 at 12:04
5
5
To those voting to close this question as "language-specific grammar or usage question": it is not one.
– LjL
Aug 11 at 14:58
To those voting to close this question as "language-specific grammar or usage question": it is not one.
– LjL
Aug 11 at 14:58
|
show 2 more comments
1 Answer
1
active
oldest
votes
from nltk.corpus import wordnet
try:
wordnet.synsets('test')
except LookupError:
import nltk
nltk.download('wordnet')
# For more information see: https://www.nltk.org/data.html
def anti(word, fallback=None):
for i in wordnet.synsets(word):
for j in i.lemmas():
for k in j.antonyms():
return k.name()
return fallback or word
def wordmap(text, morph=anti):
out = []
bits = [i.isalpha() for i in text]
diff = [0] + [j-i for i, j in zip(bits[:-1], bits[1:])]
pos = 0
while True:
end = diff.index(-1, pos)
word = text[pos:end]
out.append(morph(word))
try:
pos = diff.index(1, end)
except ValueError:
break
out.append(text[end:pos])
out.append(text[end:])
return ''.join(out)
if __name__ == '__main__':
import sys
assert len(sys.argv) == 2, "Provide a text to be translated."
print(wordmap(sys.argv[1]))
% python main.py 'At length it was so enormous that by itself it filled a whole cart, and two oxen were required to draw it, and the farmer had not the least idea what he was to do with the turnip, or whether it would be a fortune to him or a misfortune. At last he thought, "If thou sellest it, what wilt thou get for it that is of any importance, and if thou eatest it thyself, why the small turnips would do thee just as much good; it would be better to take it to the King, and make him a present of it.'
At length it was so enormous that by itself it filled a whole cart, and two oxen were required to draw it, and the farmer had not the least idea what he was to do with the turnip, or whether it would be a fortune to him or a misfortune. At last he thought, "If thou sellest it, what wilt thou get for it that is of any importance, and if thou eatest it thyself, why the small turnips would do thee just as much good; it would be better to take it to the King, and make him a present of it.
At length it differ so enormous that by itself it empty a fractional cart, and two oxen differ obviate to push it, and the farmer lack not the most idea what he differ to unmake with the turnip, or whether it would differ a fortune to him or a good_fortune. At first he forget, "If thou sellest it, what wilt thou leave for it that differ of any unimportance, and if thou eatest it thyself, why the large turnips would unmake thee unjust as little evil; it would differ worsen to give it to the queen, and unmake him a future of it.
1
Could make it marginally less crude (less "differ"ent?) by excluding stopwords from the process.
– Luke Sawczak
Aug 11 at 13:43
4
+1 for Oxen pushing a fractional cart, large turnips would unmake thee unjust as little evil and unmake him a future of it.
– David Vogt
Aug 11 at 14:53
Wouldn't if be better to read input from stdin/file?
– val
Aug 12 at 12:06
@val Sure, but that's a trivial change (just usefileinput.input()
).
– Draconis
Aug 12 at 19:56
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "312"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2flinguistics.stackexchange.com%2fquestions%2f32139%2fa-tool-to-replace-all-words-with-antonyms%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
from nltk.corpus import wordnet
try:
wordnet.synsets('test')
except LookupError:
import nltk
nltk.download('wordnet')
# For more information see: https://www.nltk.org/data.html
def anti(word, fallback=None):
for i in wordnet.synsets(word):
for j in i.lemmas():
for k in j.antonyms():
return k.name()
return fallback or word
def wordmap(text, morph=anti):
out = []
bits = [i.isalpha() for i in text]
diff = [0] + [j-i for i, j in zip(bits[:-1], bits[1:])]
pos = 0
while True:
end = diff.index(-1, pos)
word = text[pos:end]
out.append(morph(word))
try:
pos = diff.index(1, end)
except ValueError:
break
out.append(text[end:pos])
out.append(text[end:])
return ''.join(out)
if __name__ == '__main__':
import sys
assert len(sys.argv) == 2, "Provide a text to be translated."
print(wordmap(sys.argv[1]))
% python main.py 'At length it was so enormous that by itself it filled a whole cart, and two oxen were required to draw it, and the farmer had not the least idea what he was to do with the turnip, or whether it would be a fortune to him or a misfortune. At last he thought, "If thou sellest it, what wilt thou get for it that is of any importance, and if thou eatest it thyself, why the small turnips would do thee just as much good; it would be better to take it to the King, and make him a present of it.'
At length it was so enormous that by itself it filled a whole cart, and two oxen were required to draw it, and the farmer had not the least idea what he was to do with the turnip, or whether it would be a fortune to him or a misfortune. At last he thought, "If thou sellest it, what wilt thou get for it that is of any importance, and if thou eatest it thyself, why the small turnips would do thee just as much good; it would be better to take it to the King, and make him a present of it.
At length it differ so enormous that by itself it empty a fractional cart, and two oxen differ obviate to push it, and the farmer lack not the most idea what he differ to unmake with the turnip, or whether it would differ a fortune to him or a good_fortune. At first he forget, "If thou sellest it, what wilt thou leave for it that differ of any unimportance, and if thou eatest it thyself, why the large turnips would unmake thee unjust as little evil; it would differ worsen to give it to the queen, and unmake him a future of it.
1
Could make it marginally less crude (less "differ"ent?) by excluding stopwords from the process.
– Luke Sawczak
Aug 11 at 13:43
4
+1 for Oxen pushing a fractional cart, large turnips would unmake thee unjust as little evil and unmake him a future of it.
– David Vogt
Aug 11 at 14:53
Wouldn't if be better to read input from stdin/file?
– val
Aug 12 at 12:06
@val Sure, but that's a trivial change (just usefileinput.input()
).
– Draconis
Aug 12 at 19:56
add a comment
|
from nltk.corpus import wordnet
try:
wordnet.synsets('test')
except LookupError:
import nltk
nltk.download('wordnet')
# For more information see: https://www.nltk.org/data.html
def anti(word, fallback=None):
for i in wordnet.synsets(word):
for j in i.lemmas():
for k in j.antonyms():
return k.name()
return fallback or word
def wordmap(text, morph=anti):
out = []
bits = [i.isalpha() for i in text]
diff = [0] + [j-i for i, j in zip(bits[:-1], bits[1:])]
pos = 0
while True:
end = diff.index(-1, pos)
word = text[pos:end]
out.append(morph(word))
try:
pos = diff.index(1, end)
except ValueError:
break
out.append(text[end:pos])
out.append(text[end:])
return ''.join(out)
if __name__ == '__main__':
import sys
assert len(sys.argv) == 2, "Provide a text to be translated."
print(wordmap(sys.argv[1]))
% python main.py 'At length it was so enormous that by itself it filled a whole cart, and two oxen were required to draw it, and the farmer had not the least idea what he was to do with the turnip, or whether it would be a fortune to him or a misfortune. At last he thought, "If thou sellest it, what wilt thou get for it that is of any importance, and if thou eatest it thyself, why the small turnips would do thee just as much good; it would be better to take it to the King, and make him a present of it.'
At length it was so enormous that by itself it filled a whole cart, and two oxen were required to draw it, and the farmer had not the least idea what he was to do with the turnip, or whether it would be a fortune to him or a misfortune. At last he thought, "If thou sellest it, what wilt thou get for it that is of any importance, and if thou eatest it thyself, why the small turnips would do thee just as much good; it would be better to take it to the King, and make him a present of it.
At length it differ so enormous that by itself it empty a fractional cart, and two oxen differ obviate to push it, and the farmer lack not the most idea what he differ to unmake with the turnip, or whether it would differ a fortune to him or a good_fortune. At first he forget, "If thou sellest it, what wilt thou leave for it that differ of any unimportance, and if thou eatest it thyself, why the large turnips would unmake thee unjust as little evil; it would differ worsen to give it to the queen, and unmake him a future of it.
1
Could make it marginally less crude (less "differ"ent?) by excluding stopwords from the process.
– Luke Sawczak
Aug 11 at 13:43
4
+1 for Oxen pushing a fractional cart, large turnips would unmake thee unjust as little evil and unmake him a future of it.
– David Vogt
Aug 11 at 14:53
Wouldn't if be better to read input from stdin/file?
– val
Aug 12 at 12:06
@val Sure, but that's a trivial change (just usefileinput.input()
).
– Draconis
Aug 12 at 19:56
add a comment
|
from nltk.corpus import wordnet
try:
wordnet.synsets('test')
except LookupError:
import nltk
nltk.download('wordnet')
# For more information see: https://www.nltk.org/data.html
def anti(word, fallback=None):
for i in wordnet.synsets(word):
for j in i.lemmas():
for k in j.antonyms():
return k.name()
return fallback or word
def wordmap(text, morph=anti):
out = []
bits = [i.isalpha() for i in text]
diff = [0] + [j-i for i, j in zip(bits[:-1], bits[1:])]
pos = 0
while True:
end = diff.index(-1, pos)
word = text[pos:end]
out.append(morph(word))
try:
pos = diff.index(1, end)
except ValueError:
break
out.append(text[end:pos])
out.append(text[end:])
return ''.join(out)
if __name__ == '__main__':
import sys
assert len(sys.argv) == 2, "Provide a text to be translated."
print(wordmap(sys.argv[1]))
% python main.py 'At length it was so enormous that by itself it filled a whole cart, and two oxen were required to draw it, and the farmer had not the least idea what he was to do with the turnip, or whether it would be a fortune to him or a misfortune. At last he thought, "If thou sellest it, what wilt thou get for it that is of any importance, and if thou eatest it thyself, why the small turnips would do thee just as much good; it would be better to take it to the King, and make him a present of it.'
At length it was so enormous that by itself it filled a whole cart, and two oxen were required to draw it, and the farmer had not the least idea what he was to do with the turnip, or whether it would be a fortune to him or a misfortune. At last he thought, "If thou sellest it, what wilt thou get for it that is of any importance, and if thou eatest it thyself, why the small turnips would do thee just as much good; it would be better to take it to the King, and make him a present of it.
At length it differ so enormous that by itself it empty a fractional cart, and two oxen differ obviate to push it, and the farmer lack not the most idea what he differ to unmake with the turnip, or whether it would differ a fortune to him or a good_fortune. At first he forget, "If thou sellest it, what wilt thou leave for it that differ of any unimportance, and if thou eatest it thyself, why the large turnips would unmake thee unjust as little evil; it would differ worsen to give it to the queen, and unmake him a future of it.
from nltk.corpus import wordnet
try:
wordnet.synsets('test')
except LookupError:
import nltk
nltk.download('wordnet')
# For more information see: https://www.nltk.org/data.html
def anti(word, fallback=None):
for i in wordnet.synsets(word):
for j in i.lemmas():
for k in j.antonyms():
return k.name()
return fallback or word
def wordmap(text, morph=anti):
out = []
bits = [i.isalpha() for i in text]
diff = [0] + [j-i for i, j in zip(bits[:-1], bits[1:])]
pos = 0
while True:
end = diff.index(-1, pos)
word = text[pos:end]
out.append(morph(word))
try:
pos = diff.index(1, end)
except ValueError:
break
out.append(text[end:pos])
out.append(text[end:])
return ''.join(out)
if __name__ == '__main__':
import sys
assert len(sys.argv) == 2, "Provide a text to be translated."
print(wordmap(sys.argv[1]))
% python main.py 'At length it was so enormous that by itself it filled a whole cart, and two oxen were required to draw it, and the farmer had not the least idea what he was to do with the turnip, or whether it would be a fortune to him or a misfortune. At last he thought, "If thou sellest it, what wilt thou get for it that is of any importance, and if thou eatest it thyself, why the small turnips would do thee just as much good; it would be better to take it to the King, and make him a present of it.'
At length it was so enormous that by itself it filled a whole cart, and two oxen were required to draw it, and the farmer had not the least idea what he was to do with the turnip, or whether it would be a fortune to him or a misfortune. At last he thought, "If thou sellest it, what wilt thou get for it that is of any importance, and if thou eatest it thyself, why the small turnips would do thee just as much good; it would be better to take it to the King, and make him a present of it.
At length it differ so enormous that by itself it empty a fractional cart, and two oxen differ obviate to push it, and the farmer lack not the most idea what he differ to unmake with the turnip, or whether it would differ a fortune to him or a good_fortune. At first he forget, "If thou sellest it, what wilt thou leave for it that differ of any unimportance, and if thou eatest it thyself, why the large turnips would unmake thee unjust as little evil; it would differ worsen to give it to the queen, and unmake him a future of it.
edited Aug 12 at 11:39
Community♦
1
1
answered Aug 11 at 13:17
Joel SjögrenJoel Sjögren
3361 silver badge4 bronze badges
3361 silver badge4 bronze badges
1
Could make it marginally less crude (less "differ"ent?) by excluding stopwords from the process.
– Luke Sawczak
Aug 11 at 13:43
4
+1 for Oxen pushing a fractional cart, large turnips would unmake thee unjust as little evil and unmake him a future of it.
– David Vogt
Aug 11 at 14:53
Wouldn't if be better to read input from stdin/file?
– val
Aug 12 at 12:06
@val Sure, but that's a trivial change (just usefileinput.input()
).
– Draconis
Aug 12 at 19:56
add a comment
|
1
Could make it marginally less crude (less "differ"ent?) by excluding stopwords from the process.
– Luke Sawczak
Aug 11 at 13:43
4
+1 for Oxen pushing a fractional cart, large turnips would unmake thee unjust as little evil and unmake him a future of it.
– David Vogt
Aug 11 at 14:53
Wouldn't if be better to read input from stdin/file?
– val
Aug 12 at 12:06
@val Sure, but that's a trivial change (just usefileinput.input()
).
– Draconis
Aug 12 at 19:56
1
1
Could make it marginally less crude (less "differ"ent?) by excluding stopwords from the process.
– Luke Sawczak
Aug 11 at 13:43
Could make it marginally less crude (less "differ"ent?) by excluding stopwords from the process.
– Luke Sawczak
Aug 11 at 13:43
4
4
+1 for Oxen pushing a fractional cart, large turnips would unmake thee unjust as little evil and unmake him a future of it.
– David Vogt
Aug 11 at 14:53
+1 for Oxen pushing a fractional cart, large turnips would unmake thee unjust as little evil and unmake him a future of it.
– David Vogt
Aug 11 at 14:53
Wouldn't if be better to read input from stdin/file?
– val
Aug 12 at 12:06
Wouldn't if be better to read input from stdin/file?
– val
Aug 12 at 12:06
@val Sure, but that's a trivial change (just use
fileinput.input()
).– Draconis
Aug 12 at 19:56
@val Sure, but that's a trivial change (just use
fileinput.input()
).– Draconis
Aug 12 at 19:56
add a comment
|
Thanks for contributing an answer to Linguistics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2flinguistics.stackexchange.com%2fquestions%2f32139%2fa-tool-to-replace-all-words-with-antonyms%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
8
Words don't just simple antonyms, they're contextual, with some words having more than one antonym, and many words having none. To do this would require a very strong AI, more than I think probably exists yet.
– curiousdannii
Aug 11 at 10:00
2
@curiousdannii, words are complex, this is obvious, but how does this relate to my question? where do you see me asking for something, which works perfectly? The same you said could be said about a translation program before it started to exist. And very first auto-translators were disgusting, but still they helped people in a way. I have a specific question, which has a specific answer, please, don't add to my question something which was not there.
– klm123
Aug 11 at 11:11
3
It's not a matter of doing it imperfectly, it's a matter of being able to do it at all. Though I get your point about machine translation, which would be comparably inaccurate. So maybe an incredibly crude auto-antonym program would be possible.
– curiousdannii
Aug 11 at 11:31
1
You want a natural way to leave no silence as its synonym?
– Luke Sawczak
Aug 11 at 12:04
5
To those voting to close this question as "language-specific grammar or usage question": it is not one.
– LjL
Aug 11 at 14:58