We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP v8 support?
I tried on php v8.0, v8.1, v8.2 It fails when I'm trying to run
RUN wget https://github.com/nihongodera/php-mecab/archive/master.zip \ && unzip master.zip \ && cd php-mecab-master/mecab \ && phpize \ && ./configure \ && make \ && make install
I'm getting these errors php v8 errors.txt
The text was updated successfully, but these errors were encountered:
For those who are looking to install php-mecab on php8.0:
git clone https://github.com/ranvis/php-mecab.git \ && cd php-mecab/mecab \ && phpize \ && ./configure --with-mecab=/usr/local/bin/mecab-config \ && make \ && make install
curl -L https://github.com/taku910/mecab/archive/master.zip -o mecab.zip \ && unzip mecab.zip \ && cd mecab-master/mecab \ && ./configure \ && make \ && make install
curl -L https://drive.google.com/uc?id=0B4y35FiV1wh7MWVlSDBCSXZMTXM -o mecab-ipadic-utf8.tar.gz \ && tar zxfv mecab-ipadic-utf8.tar.gz \ && cd mecab-ipadic-2.7.0-20070801 \ && ./configure --with-charset=utf8 \ && make \ && make install
echo "extension=mecab.so" > /usr/local/etc/php/conf.d/mecab.ini
composer require nihongodera/limelight
$limelight = new \Limelight\Limelight(); $results = $limelight->parse('立命館大学农笠キャンパス前'); echo 'Romaji: ' . $results->string('romaji', ' ') . "\n";
Result: Romaji: Ritsumeikandaigaku kyanpasu mae
Sorry, something went wrong.
No branches or pull requests
PHP v8 support?
I tried on php v8.0, v8.1, v8.2
It fails when I'm trying to run
RUN wget https://github.com/nihongodera/php-mecab/archive/master.zip \ && unzip master.zip \ && cd php-mecab-master/mecab \ && phpize \ && ./configure \ && make \ && make install
I'm getting these errors
php v8 errors.txt
The text was updated successfully, but these errors were encountered: