char sets and lack of unique labels due to errors in id

Get help with your data
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
JonteVe
Posts:6
Joined:16 Dec 2016 14:14
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
char sets and lack of unique labels due to errors in id

Post by JonteVe » 16 Dec 2016 15:11

Two related issues:

Gephi is not very good at special characters (trema, tilde, cedilha etc), so often the same node are imported with different names (exact set of chars).
What is a good charset to use to handle such characters?
UTF-8 apparently is not good, nor any of the UTFs listed in GEPHI.

You can somewhat remedy that by giving the node ID with misspellings the same label, but that does not always work.
Doing my first graphs I see that some labels are repeated, I would have hoped if the label is the same it should be treated as the same node, but does not seem to work for all.

JonteVe
Posts:6
Joined:16 Dec 2016 14:14
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: char sets and lack of unique labels due to errors in id

Post by JonteVe » 16 Dec 2016 15:14

forgot to mention that I am trying to import csv files (one for nodes and one for edges)

Some doubles might be "self-loops" since they are linked to each other.

Also, may labels in graphs lack some of its characters.

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: char sets and lack of unique labels due to errors in id

Post by eduramiba » 16 Dec 2016 16:00

Can you show a sample of your file?

Anyway, ids of nodes must be unique and exactly the same, similar characters are not treated as the same character.
Source and target also need to match the exact node id.

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable