You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+43-13Lines changed: 43 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,31 @@ Consider for example the following scenario: *D1* and *D2* represent two documen
11
11
12
12
To prevent AA and AV methods from focusing on the topic and instead force them to concentrate on linguistic patterns such as function words or punctuation marks (which are closely related to writing style), topic masking approaches can be used, where POSNoise is one such approach...
# Fitzgerald made her first tour of Australia in July 1954 for the Australian-based American promoter Lee Gordon.
65
+
text_en ="The original dataset contains two partitions comprising sockpuppets and non-sockpuppets cases."
66
+
text_de ="Schöneberg ist ein Ortsteil im Berliner Bezirk Tempelhof-Schöneberg."
40
67
41
-
print(posnoised_doc)
42
-
#§ made her first # of § in § µ for the §-Ø @ # § §.
68
+
print(posnoise_en.pos_noise(text_en))
69
+
#The @ # Ø two # Ø # and @@@ #.
43
70
71
+
print(posnoise_de.pos_noise(text_de))
72
+
# § ist ein # im @ # §.
44
73
```
45
74
46
75
All part-of-speech (POS) placeholders used in POSNoise to replace topic-related words or tokens are listed below:
@@ -61,7 +90,8 @@ _Source_: [POSNoise: An Effective Countermeasure Against Topic Biases in Authors
61
90
62
91
## Features
63
92
- Effective way to mask topic-relatd content with **custom POS placeholders**
64
-
-**Automatic NLP pipeline creation** (loads and installs the spaCy models on demand, while providing feedback)
93
+
-**Multilingual support** (currently available in English and German)
94
+
-**Automatic NLP pipeline creation** (loads and installs the spaCy models on demand, while providing installation feedback)
65
95
-**No API dependency** (after downloading the spaCy models, POSNoise can be used completely **offline**)
66
96
-**Documented** source code
67
97
@@ -89,4 +119,4 @@ The POSNoise package is released under the Apache-2.0 license. See <a href="http
89
119
90
120
91
121
## Last Remarks
92
-
As is usual with open source projects, we developers do not earn any money with what we do, but are primarily interested in giving something back to the community with fun, passion and joy. Nevertheless, we would be very happy if you rewarded all the time that has gone into the project with just a small star 🤗
122
+
As is usual with open source projects, we developers do not earn any money with what we do, but are primarily interested in giving something back to the community with fun, passion and joy. Nevertheless, we would be very happy if you rewarded all the time that has gone into the project with just a small star 🤗
0 commit comments