Last active
April 11, 2017 18:07
-
-
Save LucaRosaldi/073daf8aef59d4fe839d to your computer and use it in GitHub Desktop.
PHP: Italian Prepositions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* A list of italian prepositions. | |
* Useful for excluding stopwords from slugs and/or search queries. | |
*/ | |
return [ | |
'il', 'lo', 'la', 'i', 'gli', 'le', | |
'di', 'del', 'dello', 'della', 'dei', 'degli', 'delle', | |
'a', 'al', 'allo', 'alla', 'ai', 'agli', 'alle', | |
'da', 'dal', 'dallo', 'dalla', 'dai', 'dagli', 'dalle', | |
'in', 'nel', 'nello', 'nella', 'nei', 'negli', 'nelle', | |
'con', 'col', 'coi', | |
'su', 'sul', 'sullo', 'sulla', 'sui', 'sugli', 'sulle', | |
'per' | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment