[First scraping] I tried to make a VIP character of Smash Bros. [Beautiful Soup] [Data analysis]
# background After a little scraping, I felt that I could make a VIP character rank for Super Smash Bros., so I decided to scrape it. This is the strategy. Kumamate Tool, a volunteer who loves Sm
The simplest AWS Lambda implementation
# Introduction This article is for people who want to experience AWS Lambda for the time being. There are many articles for beginners such as "In cooperation with S3", There were few people who pos
100 language processing knocks (2020): 22
```py """ 22.Extraction of category name Extract the article category names (by name, not line by line). """ import json import re def get_uk_text(path): with open(path) as f: for line
100 language processing knocks (2020): 26
```py """ 26.Removal of highlighted markup At the time of processing 25, remove MediaWiki's emphasis markup (all weak emphasis, emphasis, strong emphasis) from the template value and convert it to tex
100 language processing knocks (2020): 34
```py """ 33."A's B" Permalink Extract a noun phrase in which two nouns are connected by "no" [[{'surface': '', 'base': '*', 'pos': 'BOS/EOS', 'pos1': '*'}, {'surface': 'one', 'base': 'one', 'pos':
The first step in the constraint satisfaction problem in Python
TL;DR ――Learn the basic definition of what a constraint satisfaction problem is. ――I will try to solve a very simple problem by writing code in Python. # What is the constraint satisfaction probl
Declaratively manage your environment with Nix and home-manager
Once you have your Nix package manager in place, you definitely want to have home-manager. home-manager is a tool for declaratively managing user environment using nix. --Packages to install --C
100 Language Processing Knock (2020): 28
```py """ 28.MediaWiki markup removal In addition to the 27 processes, remove MediaWiki markup from the template values as much as possible and format the basic country information. """ import json i
About axis = 0, axis = 1
This time I will talk about axis in Python (numpy and pandas). ## ■ Basic rules of axis axis = 0: Row direction (direction from row 01 to 02) → Vertical direction axis = 1: Column direction (dire
100 language processing knocks (2020): 42
```py """ 42.Display of the phrase of the person in charge and the person in charge Extract all the text of the original clause and the text of the clause in the tab-delimited format. However, do not
Notes on how to use pywinauto
Notes on how to use pywinauto # Check the operation with Notepad ## Launch the app (Notepad) ```python c:\ python Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD6
Linux practice
2020-09-30 env_centos7_virtualbox Show only port number well-known On Linux, a list of port numbers and services is listed in / etc / services. Only the port numbers (0-1023, well-known ports) use
Try debugging Python on Raspberry Pi with Visual Studio.
## So that you can make Python as easily as possible Both Raspberry Pi and Python have just started, and it's quite tough. So, I tried it from the earnest desire to debug Python on Visual Studio.
What is klass?
When I look at the source code of the library with python or ruby, it comes up a little. The keyword `klass`. Although I was sensuously thinking "There is no such word in English ...", I went thro
100 language processing knocks (2020): 29
```py """ 29.Get the URL of the national flag image Use the contents of the template to get the URL of the national flag image. (Hint:Call imageinfo of MediaWiki API to convert file reference to URL)
Get the SQL executed by dataset (Python OR mapper)
## Overview Get the SQL executed by dataset (Python OR mapper). dataset: 1.3.2 mysqlclient: 1.4.6 [dataset official](https://dataset.readthedocs.io/en/latest/index.html) ## Implementation ### P
100 language processing knocks (2020): 49
```py """ ## 49.Extraction of dependency paths between nouns[Permalink](https://nlp100.github.io/ja/ch05.html#49-Extractionofdependencypathsbetweennouns) Extract the shortest dependency path that con
Deep learning 1 Practice of deep learning
[Aidemy](https://aidemy.net/) 2020/9/30 # Introduction Hello, it is Yope! I am a liberal arts student, but I was interested in the possibilities of AI, so I went to the AI-specialized school "Aidemy"
100 language processing knocks (2020): 43
```py """ 43.Extract clauses containing nouns related to clauses containing verbs When clauses containing nouns relate to clauses containing verbs, extract them in tab-delimited format. However, do no
100 language processing knocks (2020): 24
```py """ 24.Extracting file references Extract all the media files referenced in the article. """ import json import re def get_uk_text(path): with open(path) as f: for line in f:
Static analysis of Python programs
# Introduction We have summarized the simple usage of the following useful tools available in Python. - pipenv - black - flake8 - isort - mypy # What is pipenv It makes it easy to manage packages
Linux directory structure
Since I was just studying Linux, I will easily summarize the directory structure. |directory|role| |:-:|:-:| | /bin |Contains the most important commands needed to run a Linux system| | /dev |
100 language processing knocks (2020): 45
```py """ ## 45.Extraction of verb case patterns[Permalink](https://nlp100.github.io/ja/ch05.html#45-Extractionofverbcasepatterns) I would like to consider the sentence used this time as a corpus an
Create a large text file with shellscript
# Create a large text file with shellscript I needed a text file of the specified size for testing, so I checked the command to create. ### 1MB text file ``` cat /dev/urandom | base64 | head -c 10
Apply the error propagation formula to the standard error
# Apply error propagation formula to standard error There is something called an error propagation formula. Below is a description of the error propagation formula. Since COV (a, b) is a covariance
I made a Twitter Bot with Go x Qiita API x Lambda
# Introduction I'm studying Go, but when I go looking for information from myself, it's natural, but I can only get the information I want. I think it is necessary to read various articles in order t
100 language processing knocks (2020): 10-19
# Chapter 2: UNIX Commands ## 10. Counting the number of lines ```bash wc popular-names.txt # 2780 11120 55026 popular-names.txt wc -l popular-names.txt # 2780 popular-names.txt ```
Get the number of visits to each page with ReportingAPI + Cloud Functions
# Purpose Describes how to get the number of visits to each page using ReportingAPI + Cloud Functions. Reporting API v4 (google-api-python-client) is used to acquire data from Google Analytics. # e
100 language processing knocks (2020): 30
```py """ 30.Reading morphological analysis results Permalink Morphological analysis result (neko.txt.Implement a program that reads mecab). However, each morpheme is stored in a mapping type with
About WOL port forwarding
# When using WOL with port forwarding In [Previous article](https://qiita.com/kazu314159265/items/8b85cd47dcc8cc881d76), when I actually sent a magic packet from the WAN to the VPN server, the comput