• 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 195

Backtrace:

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/views/question.php
Line: 195
Function: _error_handler

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/controllers/Questions.php
Line: 416
Function: view

File: /home/u125378470/domains/lawhelpguru.org/public_html/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

count words in string (multi langauge) [closed]

hello guys I want to count the number of common words in a string but it shd be multi language
For example:
English: New World Library 14 Pamaron Way Novato, CA 94949 Revised Edition ©1998 Shakti Gawain and Laurel King Original Edition ©1986 Shakti Gawain and Laurel King Cover Art: Nicholas Wilton Cover Design: Michele Wetherbee Back Cover Photograph: Max O’Neill All rights reserved. Library of Congress-in-Publication Data Gawain, Shakti, 1948 — Living in the light : a guide to personal and planetary transformation / Shakti Gawain, with Laurel King. — Completely rev. and updated. p. cm. ISBN 1-57731-046-2 (alk. paper) 1. Self-actualization (Psychology). 2. Meditation. BF637.S4G392 1998 158. 1 — dc21 I. King, Laurel. II. Title. First Printing, September 1998 Printed in Canada on acid-free paper ISBN 1-57731-046-2 Distributed to the trade by Publishers Group West 10 9 8 7 6 5 4 3 2 1 98-38364 CIP

Italian: Lo sarà speciale. Ho fatto io. Lo sarà speciale. Ho fatto io. Lo sarà speciale. Ho fatto io.

Polish: Szczęście że wróciliście. Szczęście że wróciliście. Szczęście że wróciliście. Byłam wczoraj u lekarza. Byłam wczoraj u lekarza. Byłam wczoraj u lekarza. Byłam wczoraj u dentysty. U dentysty ja nie byłem. U dentysty ja nie byłem. U dentysty ja nie byłem.

and some other language like chinese etc

Expected result is tht I want clean words without / ' " , . these characters. and I dont want to count numeric characters in string. I only want to catch the words and how many times the repeated in this string

kindly can u provide any solution in PHP or javascript