summaryrefslogtreecommitdiff
path: root/venv/lib/python3.11/site-packages/faker/providers/company/fil_PH
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2024-04-03 03:17:55 -0400
committercyfraeviolae <cyfraeviolae>2024-04-03 03:17:55 -0400
commit12cf076118570eebbff08c6b3090e0d4798447a1 (patch)
tree3ba25e17e3c3a5e82316558ba3864b955919ff72 /venv/lib/python3.11/site-packages/faker/providers/company/fil_PH
parentc45662ff3923b34614ddcc8feb9195541166dcc5 (diff)
no venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/providers/company/fil_PH')
-rw-r--r--venv/lib/python3.11/site-packages/faker/providers/company/fil_PH/__init__.py94
-rw-r--r--venv/lib/python3.11/site-packages/faker/providers/company/fil_PH/__pycache__/__init__.cpython-311.pycbin3816 -> 0 bytes
2 files changed, 0 insertions, 94 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/providers/company/fil_PH/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/company/fil_PH/__init__.py
deleted file mode 100644
index 01319b3..0000000
--- a/venv/lib/python3.11/site-packages/faker/providers/company/fil_PH/__init__.py
+++ /dev/null
@@ -1,94 +0,0 @@
-from collections import OrderedDict
-from typing import Sequence
-
-from ..en_PH import Provider as EnPhProvider
-
-
-class Provider(EnPhProvider):
- """
- Provider for company names for fil_PH locale
-
- Companies in the Philippines rarely have Filipino names, and when they do, the English name is usually used way more
- frequently by the locals. In some cases, the Filipino names are more like in Taglish, so for the purposes of this
- provider, only English company names will be generated for this locale.
-
- Company and brand taglines in pure Filipino, however, are much more common, so this provider will generate catch
- phrases in pure Filipino randomly alongside the English ones.
- """
-
- catch_phrase_formats = OrderedDict(
- [
- ("{{english_catch_phrase}}", 0.64),
- (
- "Ang {{random_noun_ish_good_trait}} ng {{random_object_of_concern}}!",
- 0.12,
- ),
- (
- "Serbisyong {{random_good_service_adjective}} para sa {{random_object_of_concern}}!",
- 0.12,
- ),
- ("Kahit kailan, {{random_good_service_adjective_chain}}!", 0.12),
- ]
- )
- noun_ish_good_traits = (
- "bida",
- "ginhawa",
- "haligi",
- "karangalan",
- "lingkod",
- "liwanag",
- "numero uno",
- "pag-asa",
- "tulay",
- )
- good_service_adjectives = (
- "bida",
- "dekalidad",
- "hindi umaatras",
- "kakaiba",
- "maasahan",
- "magaling",
- "mapatitiwalaan",
- "numero uno",
- "panalo",
- "tagumpay",
- "tama",
- "tapat",
- "totoo",
- "tunay",
- "walang kapantay",
- "walang katulad",
- "walang tatalo",
- )
- objects_of_concern = [
- "Filipino",
- "Pilipinas",
- "Pilipino",
- "Pinoy",
- "bahay",
- "bansa",
- "bayan",
- "buhay",
- "mamamayan",
- "mundo",
- "tahanan",
- ]
-
- def random_noun_ish_good_trait(self) -> str:
- return self.random_element(self.noun_ish_good_traits)
-
- def random_good_service_adjective(self) -> str:
- return self.random_element(self.good_service_adjectives)
-
- def random_good_service_adjective_chain(self) -> str:
- adjectives: Sequence[str] = self.random_elements(self.good_service_adjectives, length=2, unique=True)
- return " at ".join(adjectives)
-
- def random_object_of_concern(self) -> str:
- return self.random_element(self.objects_of_concern)
-
- def english_catch_phrase(self) -> str:
- return super().catch_phrase()
-
- def catch_phrase(self) -> str:
- return self.random_element(self.catch_phrase_formats)
diff --git a/venv/lib/python3.11/site-packages/faker/providers/company/fil_PH/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/company/fil_PH/__pycache__/__init__.cpython-311.pyc
deleted file mode 100644
index 372e00f..0000000
--- a/venv/lib/python3.11/site-packages/faker/providers/company/fil_PH/__pycache__/__init__.cpython-311.pyc
+++ /dev/null
Binary files differ