Перепись слов синонимов на зеркале

Переписать слова на синонимы в входящих страницах с хоста домена на зеркало архиватор

От 0% до 100%замена слов синонимов

Английский язык

Если есть слово кпримеру he runS, jumpS, etc

Найти синоним и заменить find word run or jump and replace it with synonym + S eg runS->sprintS, jumpS -> leapS

бд https://wordnet.princeton.edu/

http://stackoverflow.com/questions/6332254/calling-wordnet-from-php-wordnet-class-or-api-for-php

https://github.com/Josiah/WordNet

word computer

 wn computer -hypen

Synonyms/Hypernyms (Ordered by Estimated Frequency) of noun computer

2 senses of computer                                                    

Sense 1

computer, computing machine, computing device, data processor, electronic computer, information processing system

       => machine

           => device

               => instrumentality, instrumentation

                   => artifact, artefact

                       => whole, unit

                           => object, physical object

                               => physical entity

                                   => entity

Sense 2

calculator, reckoner, figurer, estimator, computer

       => expert

           => person, individual, someone, somebody, mortal, soul

               => organism, being

                   => living thing, animate thing

                       => whole, unit

                           => object, physical object

                               => physical entity

                                   => entity

               => causal agent, cause, causal agency

                   => physical entity

                       => entity

gin@ubuntu:~$

select first replacing word most frequent

Sense 1

computer, computing machine, computing device, data processor, electronic computer, information processing system

       => machine

           => device

               => instrumentality, instrumentation

                   => artifact, artefact

computer => computing machine

then next word computer => computing device

then 3rd word computer => data processor

3 computing machine, computing device, data processor words computer =>

заменяем слова по частоте

wn computer -hypen

ведь во входящем тексте с хоста могут приходить много одних слов типа компутер

если слова компутер очень много то иди по кругу computer, computing machine, computing device, data processor, electronic computer, information processing system

ротация

и добавь в конфиг от 0 до 100% замена слов

0 никаких замен - оригинал, 100% полная каша ноль оригинала

буду использовать может быть 30-50%

и эту замену храним в каше на диске

чтобы не было постонной смены текста

и всё

8 лет назад
makarivan2015
Иван 
42 года
10 лет в сервисе
Был
8 лет назад
6 отзывов(-1)

Заявки фрилансеров

Нет заявок фрилансеров