I tried to make a "fucking big literary converter"

What I made for the time being

https://kusodeka.v-to-i.com

Try using it! !!

Overview

Needless to say, it is an application that makes you look like "Kusodeka Rashomon" when you enter text.

How are you doing

The code isn't publicly available, and the text conversion isn't very accurate, so I'll just give you a quick overview here. It's a very crude algorithm because I wanted to make it quickly for the time being.

  1. From the difference between Koshideka Rashomon and Rashomon, make a dictionary (Koshideka dictionary) of what kind of word is preceded by a word like "Koshideka" (let's call it Koshideka word) (Example: "Rashomon": [ "Big at the level of doubting sanity", "Fucking big", "Fucking big", "Tochi crazy fucking big"])
  2. Use Mecab for morphological analysis to identify the part of speech of a word in the input text.
  3. Insert a fucking deca word before a word with a specific part of speech, such as a general noun. At this time, select and insert the value of the key that has the closest similarity to the input word from the fucking deca dictionary (using gensim).
  4. Finally, evaluate the naturalness of the output text with the language model and check for any strange parts (not very well).
  5. The web app is made with flask.

Finally

I would like you to play around with it, but I would be very grateful if you could comment on things like "This will make things work better!" And "Why don't you add this kind of function?" As for my impressions, I enjoyed being able to easily create my own web application, and I'm glad that I was able to put the NLP I was studying in the classroom into practice.

Recommended Posts

I tried to make a "fucking big literary converter"
I tried to make a Web API
I tried to make a ○ ✕ game using TensorFlow
I tried to make a stopwatch using tkinter in python
I tried to make a simple text editor using PyQt
I tried to create a linebot (implementation)
[5th] I tried to make a certain authenticator-like tool with python
I tried to make a system that fetches only deleted tweets
I tried to create a linebot (preparation)
[2nd] I tried to make a certain authenticator-like tool with python
I tried to make a regular expression of "amount" using Python
[Python] I tried to implement stable sorting, so make a note
I tried to make a regular expression of "time" using Python
[3rd] I tried to make a certain authenticator-like tool with python
I tried to make a regular expression of "date" using Python
I tried to make a periodical process with Selenium and Python
I tried to make a 2channel post notification application with Python
I tried to make a todo application using bottle with python
[4th] I tried to make a certain authenticator-like tool with python
[1st] I tried to make a certain authenticator-like tool with python
I tried to make a strange quote for Jojo with LSTM
I tried to make a mechanism of exclusive control with Go
Python: I tried to make a flat / flat_map just right with a generator
I tried to make a face diagnosis AI for a female professional golfer ①
I tried to make a face diagnosis AI for a female professional golfer ②
I tried to make a calculator with Tkinter so I will write it
I tried to make "Sakurai-san" a LINE BOT with API Gateway + Lambda
I tried to make a traffic light-like with Raspberry Pi 4 (Python edition)
I tried to make a skill that Alexa will return as cold
I tried to make a url shortening service serverless with AWS CDK
I want to make matplotlib a dark theme
I tried to build a super-resolution method / ESPCN
I tried to build a super-resolution method / SRCNN ①
I want to make a game with Python
I tried to make AI for Smash Bros.
I read "How to make a hacking lab"
I tried to generate a random character string
I tried to build a super-resolution method / SRCNN ③
I tried to build a super-resolution method / SRCNN ②
I tried to debug.
I tried to paste
I tried to make a periodical process with CentOS7, Selenium, Python and Chrome
I tried to make a simple mail sending application with tkinter of Python
When I tried to make a VPC with AWS CDK but couldn't make it
[Patent analysis] I tried to make a patent map with Python without spending money
I tried to make a castle search API with Elasticsearch + Sudachi + Go + echo
[Python] I tried to make a Shiritori AI that enhances vocabulary through battles
I tried to make a translation BOT that works on Discord using googletrans
I tried to make a dictionary function that does not distinguish between cases
I tried to make a suspicious person MAP quickly using Geolonia address data
I tried to make a simple image recognition API with Fast API and Tensorflow
I tried to create a table only with Django
I tried to draw a route map with Python
I tried to implement a pseudo pachislot in Python
Continuation ・ I tried to make Slackbot after studying Python3
I tried to implement a recommendation system (content-based filtering)
[Go + Gin] I tried to build a Docker environment
[Python] I want to make a nested list a tuple
I tried to automatically generate a password with Python3
I tried to make an OCR application with PySimpleGUI
I tried to draw a configuration diagram using Diagrams