<commit_before># phpbb_to_flarum
Script that will export the phpbb forum to a sql file that can be used to import the data into flaurm  see https://discuss.flarum.org/d/phpbb-migrate-script-updated-for-0-3-and-other-improvements for discussion
Thanks to viruxe https://github.com/viruxe for his updated script

##Usage Instructions 
For anyone who wants to use the script here are the steps I use
1. Create a fresh forum using the standard install instructions 
2. when you create the forum make sure the email is different to the one in phbb otherwise there will be some conflicts 
3. run the my script with the correct database parameters for you. (make sure that the script is executable and the directory writable) 
4. after the script has run you will see a file called flaurm.sql  import that file into your database and all your content will be migrated. <commit_msg>Formatting changes to the readme<commit_after># phpbb_to_flarum
Script that will export the phpbb forum to a sql file that can be used to import the data into flaurm  see https://discuss.flarum.org/d/phpbb-migrate-script-updated-for-0-3-and-other-improvements for discussion
Thanks to viruxe https://github.com/viruxe for his updated script



##Usage Instructions 
For anyone who wants to use the script here are the steps I use

1. Create a fresh forum using the standard install instructions 
2. when you create the forum make sure the email is different to the one in phbb otherwise there will be some conflicts 
3. run the my script with the correct database parameters for you. (make sure that the script is executable and the directory writable) 
4. after the script has run you will see a file called flaurm.sql  import that file into your database and all your content will be migrated. 
{'fraction_non_alphanumeric': 0.04067796610169491, 'fraction_numerical': 0.006779661016949152, 'mean_word_length': 4.208823529411765, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3644704', 'n_tokens_mistral': 475, 'n_tokens_neox': 452, 'n_words': 270}