- macOS 10.13.6
- Xcode 10.1 (10B61)
いつの間にかビルドがうまく出来なくなったので対処。
#!/usr/bin/sh | |
git clone --depth=1 -b patch https://github.com/humem/cabocha /tmp/cabocha | |
cd /tmp/cabocha | |
./configure --with-charset=utf8 | |
make | |
make install | |
pip install git+https://github.com/taku910/cabocha.git#subdirectory=python |
import re | |
import sqlite3 | |
import time | |
import requests | |
DB_PATH = 'wnjpn.db' | |
SWN_PATH = 'SentiWordNet_3.0.0_20130122.txt' | |
URL = 'https://script.google.com/macros/s/Please_write_here/exec?text=%s&source=en&target=ja' | |
RESULT_PATH = 'result.csv' |
#include <stdio.h> | |
#include <stdlib.h> | |
#define NUM_PATTERN 5 | |
#define MAX_LENGTH 255 | |
char user_input; | |
int idx; | |
char response[NUM_PATTERN][MAX_LENGTH]={ | |
{"さすがですね!"}, |
import os | |
import time | |
import urllib.request | |
import zipfile | |
import pandas as pd | |
from pandarallel import pandarallel | |
URL = "https://www.post.japanpost.jp/zipcode/dl/utf/zip/utf_ken_all.zip" | |
ZIP_FILE_NAME = URL.split("/")[-1] |
files: ^backend/.*$ | |
repos: | |
- repo: https://github.com/astral-sh/ruff-pre-commit | |
# Ruff version. | |
rev: v0.3.7 | |
hooks: | |
# Run the linter. | |
- id: ruff | |
types_or: [python, pyi, jupyter] | |
args: [--fix] |