Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81331874
PhutilRealnameContextFreeGrammar.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Sep 5, 09:42
Size
2 KB
Mime Type
text/x-php
Expires
Sat, Sep 7, 09:42 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
20552004
Attached To
rPHU libphutil
PhutilRealnameContextFreeGrammar.php
View Options
<?php
final
class
PhutilRealnameContextFreeGrammar
extends
PhutilContextFreeGrammar
{
protected
function
getRules
()
{
return
array
(
'start'
=>
array
(
'[first] [last]'
,
'[first] [last]'
,
'[first] [last]'
,
'[first] [last]'
,
'[first] [last]'
,
'[first] [last]'
,
'[first] [last]'
,
'[first] [last]'
,
'[first] [last]-[last]'
,
'[first] [middle] [last]'
,
'[first] "[nick]" [last]'
,
'[first] [particle] [particle] [particle]'
,
),
'first'
=>
array
(
'Mohamed'
,
'Youssef'
,
'Ahmed'
,
'Mahmoud'
,
'Mustafa'
,
'Fatma'
,
'Aya'
,
'Noam'
,
'Adam'
,
'Lucas'
,
'Noah'
,
'Jakub'
,
'Victor'
,
'Harry'
,
'Rasmus'
,
'Nathan'
,
'Emil'
,
'Charlie'
,
'Leon'
,
'Dylan'
,
'Alexander'
,
'Emma'
,
'Marie'
,
'Lea'
,
'Amelia'
,
'Hanna'
,
'Emily'
,
'Sofia'
,
'Julia'
,
'Santiago'
,
'Sebastian'
,
'Olivia'
,
'Madison'
,
'Isabella'
,
'Esther'
,
'Anya'
,
'Camila'
,
'Jack'
,
'Oliver'
,
),
'nick'
=>
array
(
'Buzz'
,
'Juggernaut'
,
'Haze'
,
'Hawk'
,
'Iceman'
,
'Killer'
,
'Apex'
,
'Ocelot'
,
),
'middle'
=>
array
(
'Rose'
,
'Grace'
,
'Jane'
,
'Louise'
,
'Jade'
,
'James'
,
'John'
,
'William'
,
'Thomas'
,
'Alexander'
,
),
'last'
=>
array
(
'[termlast]'
,
'[termlast]'
,
'[termlast]'
,
'[termlast]'
,
'[termlast]'
,
'[termlast]'
,
'[termlast]'
,
'[termlast]'
,
'O
\'
[termlast]'
,
'Mc[termlast]'
,
),
'termlast'
=>
array
(
'Smith'
,
'Johnson'
,
'Williams'
,
'Jones'
,
'Brown'
,
'Davis'
,
'Miller'
,
'Wilson'
,
'Moore'
,
'Taylor'
,
'Anderson'
,
'Thomas'
,
'Jackson'
,
'White'
,
'Harris'
,
'Martin'
,
'Thompson'
,
'Garcia'
,
'Marinez'
,
'Robinson'
,
'Clark'
,
'Rodrigues'
,
'Lewis'
,
'Lee'
,
'Walker'
,
'Hall'
,
'Allen'
,
'Young'
,
'Hernandex'
,
'King'
,
'Wang'
,
'Li'
,
'Zhang'
,
'Liu'
,
'Chen'
,
'Yang'
,
'Huang'
,
'Zhao'
,
'Wu'
,
'Zhou'
,
'Xu'
,
'Sun'
,
'Ma'
,
),
'particle'
=>
array
(
'Wu'
,
'Xu'
,
'Ma'
,
'Li'
,
'Liu'
,
'Shao'
,
'Lin'
,
'Khan'
,
),
);
}
}
Event Timeline
Log In to Comment